diff --git a/aws-cli/bash-linux/ec2/change-ec2-instance-type/test_change_ec2_instance_type.sh b/aws-cli/bash-linux/ec2/change-ec2-instance-type/test_change_ec2_instance_type.sh index 0a4aef24c8d..e66903238fe 100755 --- a/aws-cli/bash-linux/ec2/change-ec2-instance-type/test_change_ec2_instance_type.sh +++ b/aws-cli/bash-linux/ec2/change-ec2-instance-type/test_change_ec2_instance_type.sh @@ -65,7 +65,7 @@ if [ "$INTERACTIVE" == "true" ]; then iecho "Tests running in interactive mode." iecho "" iecho "***************SETUP STEPS******************" - # First, get the AMI ID for the one running the latest Amazon Linix 2. + # First, get the AMI ID for the one running the latest Amazon Linux 2. iecho -n "Retrieving the AMI ID for the latest Amazon Linux 2 AMI..." AMI_ID=$(aws ec2 describe-images \ --owners 'amazon' \ diff --git a/cloudformation/codepipeline/template-codepipeline-codecommit-events-json.json b/cloudformation/codepipeline/template-codepipeline-codecommit-events-json.json index b4cb97e0558..4e8ed886fdb 100644 --- a/cloudformation/codepipeline/template-codepipeline-codecommit-events-json.json +++ b/cloudformation/codepipeline/template-codepipeline-codecommit-events-json.json @@ -28,7 +28,7 @@ "Default": "master" }, "RepositoryName": { - "Description": "CodeComit repository name", + "Description": "CodeCommit repository name", "Type": "String", "Default": "myrepo" }, diff --git a/cloudformation/codepipeline/template-codepipeline-codecommit-events-yaml.yml b/cloudformation/codepipeline/template-codepipeline-codecommit-events-yaml.yml index 4433e7bbd2d..ddfd43cead4 100644 --- a/cloudformation/codepipeline/template-codepipeline-codecommit-events-yaml.yml +++ b/cloudformation/codepipeline/template-codepipeline-codecommit-events-yaml.yml @@ -26,7 +26,7 @@ Parameters: Type: String Default: master RepositoryName: - Description: CodeComit repository name + Description: CodeCommit repository name Type: String Default: myrepo ApplicationName: diff --git a/cloudformation/codepipeline/template-codepipeline-s3-cloudtrail-yaml.yml b/cloudformation/codepipeline/template-codepipeline-s3-cloudtrail-yaml.yml index 286f5ac3c3a..a260ec1569d 100644 --- a/cloudformation/codepipeline/template-codepipeline-s3-cloudtrail-yaml.yml +++ b/cloudformation/codepipeline/template-codepipeline-s3-cloudtrail-yaml.yml @@ -22,7 +22,7 @@ ################################################################################### # Prerequisites: -# - S3 SoureBucket and SourceObjectKey must exist +# - S3 SourceBucket and SourceObjectKey must exist ################################################################################### Parameters: diff --git a/cpp/example_code/neptune/describe_db_clusters.cpp b/cpp/example_code/neptune/describe_db_clusters.cpp index 2a3635ee6e6..e8085411bf2 100644 --- a/cpp/example_code/neptune/describe_db_clusters.cpp +++ b/cpp/example_code/neptune/describe_db_clusters.cpp @@ -1,5 +1,5 @@ -//snippet-sourcedescription:[describe_db_clusers.cpp demonstrates how to retrieve information about Amazon Neptune provisioned DB clusters.] +//snippet-sourcedescription:[describe_db_clusters.cpp demonstrates how to retrieve information about Amazon Neptune provisioned DB clusters.] //snippet-keyword:[C++] //snippet-sourcesyntax:[cpp] //snippet-keyword:[Code Sample] diff --git a/cpp/example_code/s3/get_put_bucket_acl.cpp b/cpp/example_code/s3/get_put_bucket_acl.cpp index 7eb3c082801..7242b1d1d55 100644 --- a/cpp/example_code/s3/get_put_bucket_acl.cpp +++ b/cpp/example_code/s3/get_put_bucket_acl.cpp @@ -92,7 +92,7 @@ * Prerequisites: An existing bucket. * * Inputs: - * - bucketName: The name of the bucket to get ACL informaton for. For example, + * - bucketName: The name of the bucket to get ACL information for. For example, * "my-bucket". * - region: The AWS Region identifier for the bucket. For example, "us-east-1". * diff --git a/cpp/example_code/s3encryption/s3Encryption.cpp b/cpp/example_code/s3encryption/s3Encryption.cpp index f36b0f34ede..a75726c6423 100644 --- a/cpp/example_code/s3encryption/s3Encryption.cpp +++ b/cpp/example_code/s3encryption/s3Encryption.cpp @@ -332,7 +332,7 @@ int main(int argc, char** argv) Aws::String objectKey(OBJECT_KEY_PREFIX); AwsDoc::S3Encryption::KMSWithContextEncryptionMaterialsExample(BUCKET, (objectKey + "-kms-with-context-encryption-materials").c_str(), MASTER_KEY_ID); std::cout << std::endl; - AwsDoc::S3Encryption::SimpleEncryptionMaterialsWithGCMAADExample(BUCKET, (objectKey + "-simplie-encryption-materials-with-gcm-aad").c_str()); + AwsDoc::S3Encryption::SimpleEncryptionMaterialsWithGCMAADExample(BUCKET, (objectKey + "-simple-encryption-materials-with-gcm-aad").c_str()); std::cout << std::endl; AwsDoc::S3Encryption::DecryptObjectsEncryptedWithLegacyEncryptionExample(BUCKET, (objectKey + "-decrypt-objects-encrypted-with-legacy-encryption").c_str()); std::cout << std::endl; diff --git a/cpp/example_code/s3encryption/tests/test_s3Encryption.cpp b/cpp/example_code/s3encryption/tests/test_s3Encryption.cpp index 60ae3e8b557..17b7f4b1d7c 100644 --- a/cpp/example_code/s3encryption/tests/test_s3Encryption.cpp +++ b/cpp/example_code/s3encryption/tests/test_s3Encryption.cpp @@ -162,7 +162,7 @@ int main() return 1; } std::cout << std::endl; - if (!AwsDoc::S3Encryption::SimpleEncryptionMaterialsWithGCMAADExample(bucketName.c_str(), (objectKey + "simplie-encryption-materials-with-gcm-aad").c_str())) + if (!AwsDoc::S3Encryption::SimpleEncryptionMaterialsWithGCMAADExample(bucketName.c_str(), (objectKey + "simple-encryption-materials-with-gcm-aad").c_str())) { return 1; } diff --git a/cpp/example_code/transfer-manager/transferOnStream.cpp b/cpp/example_code/transfer-manager/transferOnStream.cpp index 7c27d0a873e..6213f233be6 100644 --- a/cpp/example_code/transfer-manager/transferOnStream.cpp +++ b/cpp/example_code/transfer-manager/transferOnStream.cpp @@ -58,7 +58,7 @@ int main(int argc, char** argv) { if (argc < 4) { - std::cout << "This program is used to demostrate how transfer manager transfers large object in memory without copying it to a local file." << std::endl + std::cout << "This program is used to demonstrate how transfer manager transfers large object in memory without copying it to a local file." << std::endl << "It first uploads [LocalFilePath] to your S3 [Bucket] with object name [Key], then downloads the object to memory." << std::endl << "To verify the correctness of the file content in memory, we will dump the data to a local file [LocalFilePath]_copy." << std::endl << "You can use md5sum [LocalFilePath] [LocalFilePath]_copy to verify they have the same content." << std::endl diff --git a/dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/06_UpdatingItem.cs b/dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/06_UpdatingItem.cs index 7b4d4ffd63b..296a0235d5b 100644 --- a/dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/06_UpdatingItem.cs +++ b/dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/06_UpdatingItem.cs @@ -61,7 +61,7 @@ public static async Task UpdatingMovie_async( UpdateItemRequest updateRequ } if( report ) { - Console.WriteLine( " Here is the updated movie informtion:" ); + Console.WriteLine( " Here is the updated movie information:" ); Console.WriteLine( movieAttributesToJson( updateResponse.Attributes ) ); } operationSucceeded = true; @@ -70,4 +70,4 @@ public static async Task UpdatingMovie_async( UpdateItemRequest updateRequ } } -// snippet-end:[dynamodb.dotNET.CodeExample.06_UpdatingItem] \ No newline at end of file +// snippet-end:[dynamodb.dotNET.CodeExample.06_UpdatingItem] diff --git a/dotnet/example_code_legacy/CloudWatch/AwsCloudWatchSample1/Program.cs b/dotnet/example_code_legacy/CloudWatch/AwsCloudWatchSample1/Program.cs index be55f5708c9..90da0e5abc0 100644 --- a/dotnet/example_code_legacy/CloudWatch/AwsCloudWatchSample1/Program.cs +++ b/dotnet/example_code_legacy/CloudWatch/AwsCloudWatchSample1/Program.cs @@ -99,7 +99,7 @@ public static void PutEventExample() { "RESOURCE_ARN" }, - Source = "com.compnay.myapp" + Source = "com.company.myapp" } } }; diff --git a/dotnet/example_code_legacy/IAM/AwsInstanceProfile1/Program.cs b/dotnet/example_code_legacy/IAM/AwsInstanceProfile1/Program.cs index 50385c146a7..db55de7b72b 100644 --- a/dotnet/example_code_legacy/IAM/AwsInstanceProfile1/Program.cs +++ b/dotnet/example_code_legacy/IAM/AwsInstanceProfile1/Program.cs @@ -308,7 +308,7 @@ public static void UpdateCertificate() request.NewServerCertificateName = "NEW_Certificate_NAME"; var response = iamClient.UpdateServerCertificate(request); if (response.HttpStatusCode.ToString() == "OK") - Console.WriteLine("Update succesful"); + Console.WriteLine("Update successful"); else Console.WriteLine("HTTpStatusCode returned = " + response.HttpStatusCode.ToString()); } diff --git a/go/cloudtrail/cloudtrailOps.go b/go/cloudtrail/cloudtrailOps.go index 526d45eac08..f26c7a7cd9d 100644 --- a/go/cloudtrail/cloudtrailOps.go +++ b/go/cloudtrail/cloudtrailOps.go @@ -265,7 +265,7 @@ func listTrailEvents(sess *session.Session, trailName string, userName string) e fmt.Println("ID: ", aws.StringValue(event.EventId)) fmt.Println("Time: ", aws.TimeValue(event.EventTime)) - fmt.Println("Resourcs:") + fmt.Println("Resources:") for _, resource := range event.Resources { fmt.Println(" Name:", aws.StringValue(resource.ResourceName)) diff --git a/go/cloudtrail/cloudtrailOps_test.go b/go/cloudtrail/cloudtrailOps_test.go index 431ebf9780b..85037e81a1f 100644 --- a/go/cloudtrail/cloudtrailOps_test.go +++ b/go/cloudtrail/cloudtrailOps_test.go @@ -172,7 +172,7 @@ func showEvents(t *testing.T, sess *session.Session, trailName string, userName t.Log("Time: ", aws.TimeValue(event.EventTime)) } - t.Log("Resourcs:") + t.Log("Resources:") for _, resource := range event.Resources { if nil != resource.ResourceName { diff --git a/go/cloudwatch/CreateTarget/CreateTarget.go b/go/cloudwatch/CreateTarget/CreateTarget.go index 5d6599a7c20..77ca7ff8845 100644 --- a/go/cloudwatch/CreateTarget/CreateTarget.go +++ b/go/cloudwatch/CreateTarget/CreateTarget.go @@ -28,7 +28,7 @@ import ( // Inputs: // sess is the current session, which provides configuration for the SDK's service clients // rule is the name of the rule -// lammbdaARN is the ARN of the Lambda function that is invoked +// lambdaARN is the ARN of the Lambda function that is invoked // targetID is the identifier for the target // Output: // If successful, a PutTargetsOutput and nil diff --git a/go/dynamodb/ScanItems/ScanItems.go b/go/dynamodb/ScanItems/ScanItems.go index 3e11592f23c..cb3d6c6a3de 100644 --- a/go/dynamodb/ScanItems/ScanItems.go +++ b/go/dynamodb/ScanItems/ScanItems.go @@ -99,7 +99,7 @@ func ScanTableItems(sess *session.Session, year *int, table *string, minRating * func main() { // snippet-start:[dynamodb.go.scan_table_items.args] tableName := flag.String("t", "", "The name of the table") - minRating := flag.Float64("r", -1.0, "The minumum rating of the movies to retrieve") + minRating := flag.Float64("r", -1.0, "The minimum rating of the movies to retrieve") year := flag.Int("y", -1, "The year the movies to retrieve were released") flag.Parse() diff --git a/go/ec2/CreateImage/CreateImage.go b/go/ec2/CreateImage/CreateImage.go index de52c33aa50..cfbbb82ebc8 100644 --- a/go/ec2/CreateImage/CreateImage.go +++ b/go/ec2/CreateImage/CreateImage.go @@ -78,7 +78,7 @@ func main() { resp, err := MakeImage(svc, description, instanceID, name) if err != nil { - fmt.Println("Got an error createing image:") + fmt.Println("Got an error creating image:") fmt.Println(err) return } diff --git a/go/ec2/DescribeInstances/DescribeInstances.go b/go/ec2/DescribeInstances/DescribeInstances.go index 534ae1058db..ffe8f8b5881 100644 --- a/go/ec2/DescribeInstances/DescribeInstances.go +++ b/go/ec2/DescribeInstances/DescribeInstances.go @@ -17,7 +17,7 @@ import ( // sess is the current session, which provides configuration for the SDK's service clients // Output: // If success, a list of Amazon EC2 instances and nil -// Otherwise, nil and an error from the call to DescibeInstances +// Otherwise, nil and an error from the call to DescribeInstances func GetInstances(sess *session.Session) (*ec2.DescribeInstancesOutput, error) { // snippet-start:[ec2.go.describe_instances.call] svc := ec2.New(sess) diff --git a/go/example_code/cloudformation/CfnCrudOps_test.go b/go/example_code/cloudformation/CfnCrudOps_test.go index dbed0b539cc..6c132d5084b 100644 --- a/go/example_code/cloudformation/CfnCrudOps_test.go +++ b/go/example_code/cloudformation/CfnCrudOps_test.go @@ -31,7 +31,7 @@ type Config struct { var configFileName = "config.json" -// Gloval variable for configuration set in config.json +// Global variable for configuration set in config.json var globalConfig Config func PopulateConfiguration() error { diff --git a/go/example_code/cloudtrail/lookup_events.go b/go/example_code/cloudtrail/lookup_events.go index 3e8808ee50e..0de5529a056 100644 --- a/go/example_code/cloudtrail/lookup_events.go +++ b/go/example_code/cloudtrail/lookup_events.go @@ -81,7 +81,7 @@ func main() { fmt.Println("Time: ", aws.TimeValue(event.EventTime)) fmt.Println("User: ", aws.StringValue(event.Username)) - fmt.Println("Resourcs:") + fmt.Println("Resources:") for _, resource := range event.Resources { fmt.Println(" Name:", aws.StringValue(resource.ResourceName)) diff --git a/go/example_code/iam/iam_updateuser.go b/go/example_code/iam/iam_updateuser.go index 75876689832..700a52d3cd2 100644 --- a/go/example_code/iam/iam_updateuser.go +++ b/go/example_code/iam/iam_updateuser.go @@ -1,6 +1,6 @@ // snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] // snippet-sourceauthor:[Doug-AWS] -// snippet-sourcedescription:[Udates an IAM user.] +// snippet-sourcedescription:[Updates an IAM user.] // snippet-keyword:[AWS Identity and Access Management] // snippet-keyword:[UpdateUser function] // snippet-keyword:[Go] diff --git a/go/example_code/rds/rds_copy_snapshot_to_s3.go b/go/example_code/rds/rds_copy_snapshot_to_s3.go index f279f9d2515..b6b7616e293 100644 --- a/go/example_code/rds/rds_copy_snapshot_to_s3.go +++ b/go/example_code/rds/rds_copy_snapshot_to_s3.go @@ -65,7 +65,7 @@ func main() { IndentifierSanpshotTime := currentTime.Format("20060102") exportIdentifier := exportRDSSnapshotName + IndentifierSanpshotTime - // Getting latest snapsnot from rds snapshot list + // Getting latest snapshot from rds snapshot list for _, s := range result.DBSnapshots { if strings.Contains(*s.DBSnapshotArn, rdsSnapshot) { diff --git a/go/lambda/RunFunction/RunFunction.go b/go/lambda/RunFunction/RunFunction.go index 0f529f168e1..9264a654124 100644 --- a/go/lambda/RunFunction/RunFunction.go +++ b/go/lambda/RunFunction/RunFunction.go @@ -98,7 +98,7 @@ func main() { result, err := CallFunction(svc, maxItems, function) if err != nil { - fmt.Println("Got drror calling " + *function + ":") + fmt.Println("Got error calling " + *function + ":") fmt.Println(err) return } diff --git a/go/polly/SynthesizeSpeech/SynthesizeSpeech.go b/go/polly/SynthesizeSpeech/SynthesizeSpeech.go index 0e84110655e..b9587426596 100644 --- a/go/polly/SynthesizeSpeech/SynthesizeSpeech.go +++ b/go/polly/SynthesizeSpeech/SynthesizeSpeech.go @@ -49,7 +49,7 @@ func MakeSpeech(svc pollyiface.PollyAPI, fileName *string) (*polly.SynthesizeSpe func main() { // snippet-start:[polly.go.synthesize_speech.args] - fileName := flag.String("f", "", "The file to tranlate into speech") + fileName := flag.String("f", "", "The file to translate into speech") flag.Parse() if *fileName == "" { diff --git a/go/rds/CreateClusterSnapshot/CreateClusterSnapshot.go b/go/rds/CreateClusterSnapshot/CreateClusterSnapshot.go index 122f9570442..5102bfd2490 100644 --- a/go/rds/CreateClusterSnapshot/CreateClusterSnapshot.go +++ b/go/rds/CreateClusterSnapshot/CreateClusterSnapshot.go @@ -62,7 +62,7 @@ func main() { err := MakeClusterSnapshot(svc, clusterID) if err != nil { - fmt.Println("Got an error creating snapshop for cluster " + *clusterID) + fmt.Println("Got an error creating snapshot for cluster " + *clusterID) return } @@ -75,7 +75,7 @@ func main() { }) // snippet-end:[rds.go.create_db_cluster_snapshot.wait] if err != nil { - fmt.Println("Got an error waiting for snapshop for cluster " + *clusterID) + fmt.Println("Got an error waiting for snapshot for cluster " + *clusterID) return } diff --git a/go/rds/ListInstanceSnapshots/ListInstanceSnapshots.go b/go/rds/ListInstanceSnapshots/ListInstanceSnapshots.go index 8433a23e4ce..b74cfb7b378 100644 --- a/go/rds/ListInstanceSnapshots/ListInstanceSnapshots.go +++ b/go/rds/ListInstanceSnapshots/ListInstanceSnapshots.go @@ -16,7 +16,7 @@ import ( // Inputs: // sess is the current session, which provides configuration for the SDK's service clients // Output: -// If success, the list of snapshopts and nil +// If success, the list of snapshots and nil // Otherwise, nil and an error from the call to DescribeDBSnapshots func GetInstanceSnapShots(sess *session.Session) (*rds.DescribeDBSnapshotsOutput, error) { svc := rds.New(sess) diff --git a/java/example_code/guardduty/src/main/java/aws/example/guardduty/ListDetectors.java b/java/example_code/guardduty/src/main/java/aws/example/guardduty/ListDetectors.java index ae2491cba9e..1682acc62a8 100644 --- a/java/example_code/guardduty/src/main/java/aws/example/guardduty/ListDetectors.java +++ b/java/example_code/guardduty/src/main/java/aws/example/guardduty/ListDetectors.java @@ -47,7 +47,7 @@ public static void main(String[] args) { } } catch (AmazonServiceException ase) { System.out.println("Caught Exception: " + ase.getMessage()); - System.out.println("Reponse Status Code: " + ase.getStatusCode()); + System.out.println("Response Status Code: " + ase.getStatusCode()); System.out.println("Error Code: " + ase.getErrorCode()); System.out.println("Request ID: " + ase.getRequestId()); } diff --git a/java/example_code/guardduty/src/main/java/aws/example/guardduty/ListFindingsWithFindingCriteria.java b/java/example_code/guardduty/src/main/java/aws/example/guardduty/ListFindingsWithFindingCriteria.java index 9e80abf5a29..bdbd2b3d61b 100644 --- a/java/example_code/guardduty/src/main/java/aws/example/guardduty/ListFindingsWithFindingCriteria.java +++ b/java/example_code/guardduty/src/main/java/aws/example/guardduty/ListFindingsWithFindingCriteria.java @@ -63,7 +63,7 @@ public static void main(String[] args) { } } catch (AmazonServiceException ase) { System.out.println("Caught Exception: " + ase.getMessage()); - System.out.println("Reponse Status Code: " + ase.getStatusCode()); + System.out.println("Response Status Code: " + ase.getStatusCode()); System.out.println("Error Code: " + ase.getErrorCode()); System.out.println("Request ID: " + ase.getRequestId()); } diff --git a/java/example_code/lambda/src/main/java/com/example/lambda/DeleteFunction.java b/java/example_code/lambda/src/main/java/com/example/lambda/DeleteFunction.java index bdfc4884aab..ae80718ba94 100644 --- a/java/example_code/lambda/src/main/java/com/example/lambda/DeleteFunction.java +++ b/java/example_code/lambda/src/main/java/com/example/lambda/DeleteFunction.java @@ -54,7 +54,7 @@ public static void main(String[] args) { DeleteFunctionRequest delFunc = new DeleteFunctionRequest(); delFunc.withFunctionName(functionName); - //Delete the functiom + //Delete the function awsLambda.deleteFunction(delFunc); System.out.println("The function is deleted"); diff --git a/java/example_code/pinpoint/src/main/java/com/example/pinpoint/ImportSegment.java b/java/example_code/pinpoint/src/main/java/com/example/pinpoint/ImportSegment.java index 0805c50b0be..0df123437f9 100644 --- a/java/example_code/pinpoint/src/main/java/com/example/pinpoint/ImportSegment.java +++ b/java/example_code/pinpoint/src/main/java/com/example/pinpoint/ImportSegment.java @@ -39,7 +39,7 @@ public static void main(String[] args) { "Usage: ImportSegment \n\n" + "Where:\n" + " appId - the ID the application to create a segment for.\n\n" + - " bucket - name of the s3 bucket that contains the segment definitons.\n\n" + + " bucket - name of the s3 bucket that contains the segment definitions.\n\n" + " key - key of the s3 object " + " roleArn - ARN of the role that allows pinpoint to access S3"; diff --git a/java/example_code/redshift/CreateAndDescribeSnapshot.java b/java/example_code/redshift/CreateAndDescribeSnapshot.java index 7aac5593c7c..c879560b3c6 100644 --- a/java/example_code/redshift/CreateAndDescribeSnapshot.java +++ b/java/example_code/redshift/CreateAndDescribeSnapshot.java @@ -108,7 +108,7 @@ private static void printResultSnapshots(DescribeClusterSnapshotsResult result) private static Boolean waitForSnapshotAvailable(String snapshotId) throws InterruptedException { Boolean snapshotAvailable = false; - System.out.println("Wating for snapshot to become available."); + System.out.println("Waiting for snapshot to become available."); while (!snapshotAvailable) { DescribeClusterSnapshotsResult result = client.describeClusterSnapshots(new DescribeClusterSnapshotsRequest() .withSnapshotIdentifier(snapshotId)); @@ -125,4 +125,4 @@ private static Boolean waitForSnapshotAvailable(String snapshotId) throws Interr } } -// snippet-end:[redshift.java.CreateAndDescribeSnapshot.complete] \ No newline at end of file +// snippet-end:[redshift.java.CreateAndDescribeSnapshot.complete] diff --git a/java/example_code/redshift/CreateAndModifyCluster.java b/java/example_code/redshift/CreateAndModifyCluster.java index a12e60c60b8..77ca8be5073 100644 --- a/java/example_code/redshift/CreateAndModifyCluster.java +++ b/java/example_code/redshift/CreateAndModifyCluster.java @@ -105,7 +105,7 @@ private static void printResult(DescribeClustersResult result) private static void waitForClusterReady() throws InterruptedException { Boolean clusterReady = false; - System.out.println("Wating for cluster to become available."); + System.out.println("Waiting for cluster to become available."); while (!clusterReady) { DescribeClustersResult result = client.describeClusters(new DescribeClustersRequest() .withClusterIdentifier(clusterIdentifier)); diff --git a/javascript/example_code/cognito/cognito_getcreds.html b/javascript/example_code/cognito/cognito_getcreds.html index 070b8867379..d5fb4352ef5 100755 --- a/javascript/example_code/cognito/cognito_getcreds.html +++ b/javascript/example_code/cognito/cognito_getcreds.html @@ -32,7 +32,7 @@ -Amazon Cognito Credenials Example +Amazon Cognito Credentials Example diff --git a/javascript/example_code/ec2/ec2_describeregionsandzones.js b/javascript/example_code/ec2/ec2_describeregionsandzones.js index 68073d3a37d..df662fda0b2 100755 --- a/javascript/example_code/ec2/ec2_describeregionsandzones.js +++ b/javascript/example_code/ec2/ec2_describeregionsandzones.js @@ -12,7 +12,7 @@ * specific language governing permissions and limitations under the License. */ -//snippet-sourcedescription:[ec2_describeresionsandzones.js demonstrates how to retrieve information about Amazon EC2 regions and availability zones.] +//snippet-sourcedescription:[ec2_describeregionsandzones.js demonstrates how to retrieve information about Amazon EC2 regions and availability zones.] //snippet-service:[ec2] //snippet-keyword:[JavaScript] //snippet-sourcesyntax:[javascript] diff --git a/javascriptv3/example_code/cognito/getCredentials/src/cognito_getcreds.html b/javascriptv3/example_code/cognito/getCredentials/src/cognito_getcreds.html index c02efcb1d5d..b54365e8782 100644 --- a/javascriptv3/example_code/cognito/getCredentials/src/cognito_getcreds.html +++ b/javascriptv3/example_code/cognito/getCredentials/src/cognito_getcreds.html @@ -18,7 +18,7 @@ - Amazon Cognito credenials example + Amazon Cognito credentials example