Example: biology

AWS SDK for Java

AWS SDK for JavaDeveloper GuideAWS SDK for java : Developer GuideCopyright 2019 Amazon Web Services, Inc. and/or its affiliates. All rights SDK for java Developer GuideAmazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any mannerthat is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks notowned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored SDK for java Developer GuideTable of ContentsAWS SDK for java Developer Guide.

AWS SDK for Java Developer Guide Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner

Tags:

  Java, Aws sdk for java

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of AWS SDK for Java

1 AWS SDK for JavaDeveloper GuideAWS SDK for java : Developer GuideCopyright 2019 Amazon Web Services, Inc. and/or its affiliates. All rights SDK for java Developer GuideAmazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any mannerthat is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks notowned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored SDK for java Developer GuideTable of ContentsAWS SDK for java Developer Guide.

2 1 aws sdk for java .. 1 Additional Documentation and Resources .. 1 Eclipse IDE Support .. 1 Developing AWS Applications for Android .. 1 Viewing the SDK's Revision History .. 2 Building java Reference Documentation for Earlier SDK versions .. 2 Getting Started .. 3 Sign Up for AWS and Create an IAM User .. 3 Set up the aws sdk for java .. 4 Prerequisites .. 4 Including the SDK in your project .. 4 Downloading and extracting the SDK .. 4 Installing previous versions of the SDK .. 5 Installing a java Development Environment .. 5 Set up AWS Credentials and Region for Development.

3 6 Setting AWS Credentials .. 6 Setting the AWS Region .. 7 Using the SDK with Apache Maven .. 7 Create a new Maven package .. 8 Configure the SDK as a Maven dependency .. 8 Build your project .. 9 Build the SDK with Maven .. 9 Using the SDK with Gradle.. 9 Enabling AWS SDK Metrics for Enterprise Support .. 11 Enable SDK Metrics for the aws sdk for java .. 11 Update a CloudWatch Agent .. 13 Disable SDK Metrics.. 14 Definitions for SDK Metrics.. 14 Using the aws sdk for java .. 17 Best Practices for AWS Development with the aws sdk for java .

4 17 Amazon S3 .. 17 Creating Service Clients .. 18 Obtaining a Client Builder.. 18 Creating Async Clients .. 19 Using DefaultClient.. 19 Client Lifecycle .. 19 Working with AWS Credentials .. 20 Using the Default Credential Provider Chain .. 20 Specifying a Credential Provider or Provider Chain .. 22 Explicitly Specifying Credentials .. 23 More Info .. 23 AWS Region Selection .. 23 Checking for Service Availability in an AWS Region .. 23 Choosing a Region .. 24 Choosing a Specific Endpoint.. 24 Automatically Determine the AWS Region from the Environment.

5 24 Exception Handling .. 25 Why Unchecked Exceptions? .. 25 AmazonServiceException (and Subclasses) .. 26 AmazonClientException .. 26 Asynchronous Programming .. 26 java Futures .. 27 Asynchronous Callbacks .. 28iiiAWS SDK for java Developer GuideBest Practices .. 29 Logging aws sdk for java Calls .. 29 Download the Log4J JAR .. 29 Setting the Classpath .. 30 Service-Specific Errors and Warnings .. 30 Request/Response Summary Logging .. 30 Verbose Wire Logging .. 31 Latency Metrics Logging .. 31 Client Configuration.. 32 Proxy Configuration.

6 32 HTTP Transport Configuration .. 32 TCP Socket Buffer Size Hints .. 33 Access Control Policies .. 34 Amazon S3 Example .. 34 Amazon SQS Example .. 34 Amazon SNS Example .. 35 Setting the JVM TTL for DNS Name Lookups .. 35 How to Set the JVM TTL .. 35 Enabling Metrics for the aws sdk for java .. 36 How to Enable aws sdk for java Metric Generation .. 36 Available Metric Types .. 37 More Information .. 39 Code Examples.. 40 SDK Code Samples.. 40 How to Get the Samples .. 40 Building and Running the Samples Using the Command Line.. 40 Building and Running the Samples Using the Eclipse IDE.

7 41 Amazon CloudWatch Examples .. 42 Getting Metrics from CloudWatch .. 42 Publishing Custom Metric Data.. 43 Working with CloudWatch Alarms .. 44 Using Alarm Actions in CloudWatch .. 46 Sending Events to CloudWatch .. 47 Amazon DynamoDB Examples .. 49 Working with Tables in DynamoDB .. 50 Working with Items in DynamoDB .. 54 Amazon EC2 Examples .. 57 Tutorial: Starting an EC2 Instance .. 57 Using IAM Roles to Grant Access to AWS Resources on Amazon EC2 .. 61 Tutorial: Amazon EC2 Spot Instances .. 65 Tutorial: Advanced Amazon EC2 Spot Request Management.

8 72 Managing Amazon EC2 Instances .. 83 Using Elastic IP Addresses in Amazon EC2 .. 87 Using Regions and Availability Zones .. 89 Working with Amazon EC2 Key Pairs .. 90 Working with Security Groups in Amazon EC2 .. 92 AWS Identity and Access Management (IAM) Examples .. 94 Managing IAM Access Keys .. 95 Managing IAM Users.. 98 Using IAM Account Aliases .. 100 Working with IAM Policies .. 102 Working with IAM Server Certificates .. 105 Amazon Pinpoint Examples .. 108 Creating and Deleting Apps in Amazon Pinpoint .. 108 Creating Endpoints in Amazon Pinpoint.

9 109 Creating Segments in Amazon Pinpoint .. 111 Creating Campaigns in Amazon Pinpoint .. 112ivAWS SDK for java Developer GuideUpdating Channels in Amazon Pinpoint .. 113 Amazon S3 Examples .. 114 Creating, Listing, and Deleting Amazon S3 Buckets .. 114 Performing Operations on Amazon S3 Objects .. 118 Managing Amazon S3 Access Permissions for Buckets and Objects .. 122 Managing Access to Amazon S3 Buckets Using Bucket Policies .. 124 Using TransferManager for Amazon S3 Operations .. 127 Configuring an Amazon S3 Bucket as a Website .. 134 Using Amazon S3 Client-Side Encryption.

10 136 Amazon SQS Examples .. 142 Working with Amazon SQS Message Queues .. 143 Sending, Receiving, and Deleting Amazon SQS Messages .. 145 Enabling Long Polling for Amazon SQS Message Queues .. 147 Setting Visibility Timeout in Amazon SQS .. 148 Using Dead Letter Queues in Amazon SQS .. 150 Getting Temporary Credentials with AWS STS .. 151(Optional) Activate and use an AWS STS region .. 152 Retrieve temporary security credentials from AWS STS .. 152 Use the temporary credentials to access AWS resources .. 153 For more information .. 153 Amazon SWF Examples .. 154 Amazon SWF Basics.


Related search queries