GithubHelp home page GithubHelp logo

solarisneko / aws-doc-sdk-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from awsdocs/aws-doc-sdk-examples

0.0 1.0 0.0 85.1 MB

Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.rst file below.

License: Apache License 2.0

Shell 0.52% Java 27.86% Ruby 4.28% CMake 0.36% C++ 4.78% Go 10.79% C# 10.47% Makefile 0.03% Python 14.39% PHP 6.98% JavaScript 8.29% HTML 1.95% TypeScript 0.59% Dockerfile 0.01% Batchfile 0.01% PowerShell 0.01% CSS 0.23% C 0.04% Rust 2.13% Kotlin 6.29%

aws-doc-sdk-examples's Introduction

NOTICE

We have changed the default branch for this repo from master to main.

If the parent branch of your fork or branch is master, the following instructions tell you how to change the parent branch to main.

To show the parent branch, where BRANCH is the name of your branch:

  1. Navigate to the root of your branch or fork.
  2. Make sure your branch is the current branch (git checkout BRANCH).
  3. Run git branch --contains.

Changing a branch parent branch from master to main

To change the parent branch for your branch to main, navigate to the root of your branch and enter the following commands, where BRANCH is the name of your branch:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
git remote update --prune

Changing a fork's default branch from master to main

GitHub will notify you when a parent branch has changed. To change your fork's default branch to main:

  1. Navigate to main web page of your fork.
  2. You should see a "The default branch on the parent repository has been renamed" message.
  3. Select the branch settings link.
  4. Change master to main.

Questions or Issues?

If you have any questions, or run across any issue retargeting your branch or fork, open an issue and give us as much detail as possible.

Welcome

This is the repository for various code examples used in the public AWS documentation. For more information, see Tools to Build on AWS.

Finding code examples

The code examples are organized by AWS SDK or AWS programming tool. For example, among the top-level folders:

  • cpp for the latest version of the AWS SDK for C++ (version 1)
  • dotnetv3 for the latest version of the AWS SDK for .NET (version 3.5 and later)
  • gov2 for the latest version of the AWS SDK for Go (version 2)
  • javav2 for the latest version of the AWS SDK for Java (version 2)
  • javascriptv3 for the latest version of the AWS SDK for JavaScript (version 3)
  • php for the latest version of the AWS SDK for PHP (version 3)
  • python for the latest version of the AWS SDK for Python (Boto3)
  • ruby for the latest version of the AWS SDK for Ruby (version 3)

We also have code examples for two SDKs currently in alpha, DO NOT USE THIS EXAMPLE CODE IN PRODUCTION:

  • .kotlin_alpha for the alpha version of the AWS SDK for Kotlin.
  • rust_dev_preview for the developer preview version of the AWS SDK for Rust.

Code examples for older AWS SDK versions are archived in this repository but no longer maintained. These include:

  • dotnet for versions of the AWS SDK for .NET prior to version 3.5
  • go for AWS SDK for Go version 1
  • java for AWS SDK for Java version 1
  • javascript for AWS SDK for JavaScript version 2

As AWS SDK major version numbers increment, this repository will begin to more consistently reflect their version numbers among these folders to make these distinctions clearer. For example, if and when the AWS SDK for Ruby moves to a version 4, a new rubyv4 folder will be added. Then when AWS officially announces that AWS SDK for Ruby version 3 has been deprecated, the ruby folder will be deleted.

Other top-level folders include:

  • aws-cli for script examples for use with the AWS Command Line Interface (AWS CLI).
  • cloudformation for example templates for use with AWS CloudFormation.
  • iam_policies for example policy documents for use with AWS Identity and Access Management (IAM).
  • lambda_functions for example function code for use with AWS Lambda.
  • typescript for TypeScript-based code examples for use with the AWS Cloud Development Kit (CDK), and other AWS services. (For TypeScript-based code examples for use with the AWS SDK for JavaScript, see the javascriptv3 folder.)

Note that the scripts folder contains scripts that the AWS documentation team uses internally to build the code examples into various AWS documentation sets.

Building and running code examples

Inside each language-specific directory, we include a README file that explains how to build and run the examples in the directory.

The example code in the language-specific directories is organized by the AWS service command in the AWS Command Line Interface (AWS CLI) Command Reference (s3 for Amazon S3 examples, and so on).

Proposing new code examples

To propose a new code example for the AWS documentation team to consider working on, create a request.

Note that the AWS documentation team prefers to produce code examples that cover broader scenarios and use cases, versus simple code snippets that cover only individual API calls.

Submitting code examples for use in AWS documentation

If you plan to contribute examples for use in the documentation (the purpose of this repository), read this section carefully so that we can work together effectively. For process instructions and additional guidance, see the Guidelines for contributing.

Copyright and License

All content in this repository, unless otherwise stated, is Copyright © Amazon Web Services, Inc. or its affiliates. All rights reserved.

Except where otherwise noted, all examples in this collection are licensed under the Apache license, version 2.0 (the "License"). The full license text is provided in the LICENSE file accompanying this repository.

aws-doc-sdk-examples's People

Contributors

annapan-aws avatar awschris avatar beckandros avatar beqqrry-aws avatar bisdavid avatar brentataws avatar brmur avatar carey-aws avatar daviddeyo avatar dghale avatar doug-aws avatar ebattalio avatar eronhennessey avatar fararmin avatar imshashank avatar irenepsmith avatar jschwarzwalder avatar laren-aws avatar mouahm avatar nprajilesh avatar paul-b-aws avatar pccornel avatar scalwas avatar scmacdon avatar seashman avatar singku avatar soo-aws avatar tapaswenipathak avatar xibz avatar zachjonesnoel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.