Trending questions in AWS

0 votes
1 answer

How to change the default branch for a repository in AWS CodeCommit?

Hi@akhtar, You can set or change the default branch name ...READ MORE

Nov 24, 2020 in AWS by MD
• 95,040 points
108 views
0 votes
1 answer

How to change the name of a repository in AWS CodeCommit?

Hi@akhtar, You can rename a repository. The repository name ...READ MORE

Nov 25, 2020 in AWS by MD
• 95,040 points
90 views
0 votes
1 answer

List All AWS EC2 Instances using boto3.

Hi@MD, You need to import the boto3 module ...READ MORE

Oct 7, 2020 in AWS by akhtar
• 38,170 points
2,180 views
0 votes
1 answer

How to delete a file from a branch in AWS CodeCommit?

Hi@akhtar, The following delete-file example demonstrates how to ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,040 points
123 views
0 votes
1 answer

How to add AWS tags to an existing repository in AWS CodeCommit?

Hi@akhtar, You can add or update tags for a resource ...READ MORE

Nov 25, 2020 in AWS by MD
• 95,040 points
52 views
0 votes
1 answer

How to view a list of repositories in AWS CodeCommit?

Hi@akhtar, You can lists all AWS CodeCommit repositories ...READ MORE

Nov 24, 2020 in AWS by MD
• 95,040 points
61 views
0 votes
1 answer

How to add or update a trigger in a repository in AWS CodeCommit?

Hi@akhtar, The below example demonstrates how to update triggers ...READ MORE

Nov 25, 2020 in AWS by MD
• 95,040 points
38 views
0 votes
1 answer

How to update a comment on a commit in AWS CodeCommit?

Hi@akhtar, You can replace the contents of a comment. The ...READ MORE

Nov 24, 2020 in AWS by MD
• 95,040 points
45 views
0 votes
1 answer

A characteristic of edge locations is

Hi@anjali, An edge location is where end-users access services located ...READ MORE

Nov 19, 2020 in AWS by MD
• 95,040 points
261 views
0 votes
1 answer

How to create a branch in an AWS CodeCommit repository?

Hi@akhtar, This example creates a branch in an ...READ MORE

Nov 22, 2020 in AWS by MD
• 95,040 points
106 views
0 votes
1 answer

How to get information about differences for a commit specifier in a repository in AWS CodeCommit?

Hi@akhtar, You can get information about the differences ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,040 points
63 views
0 votes
1 answer

How to delete a repository in AWS CodeCommit?

Hi@akhtar, You can delete a repository in AWS CodeCommit. ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,040 points
58 views
0 votes
1 answer

How to merge two branches using the fast-forward merge strategy in AWS CodeCommit?

Hi@akhtar, The following merge-branches-by-fast-forward example merges the specified ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,040 points
54 views
0 votes
1 answer

How to view information about a commit in a repository in AWS CodeCommit?

Hi@akhtar, You can get information about a commit, ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,040 points
48 views
0 votes
1 answer

How to get information about a repository in AWS CodeCommit?

Hi@akhtar, You can get all the information about ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,040 points
47 views
0 votes
1 answer

How to view a list of branch names in AWS CodeCommit?

Hi@akhtar, You can get information about one or more ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,040 points
46 views
0 votes
1 answer

How to get information about a branch in AWS CodeCommit?

Hi@akhtar, You can get information about a repository ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,040 points
46 views
0 votes
1 answer

How to delete a branch in AWS CodeCommit?

Hi@akhtar, You can delete a branch from a repository ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,040 points
59 views
0 votes
1 answer

How to create a new, empty repository in AWS CodeCommit?

Hi@akhtar, You can create a repository and associate it with ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,040 points
54 views
0 votes
1 answer

How to create a commit in AWS CodeCommit?

Hi@akhtar, The following create-commit example demonstrates how to create an ...READ MORE

Nov 22, 2020 in AWS by MD
• 95,040 points
56 views
0 votes
1 answer

How to view information about multiple commits in AWS CodeCommit?

Hi@akhtar, The following batch-get-commits example displays details about the specified ...READ MORE

Nov 22, 2020 in AWS by MD
• 95,040 points
46 views
0 votes
1 answer

How to disable actions for an alarm in AWS?

Hi@akhtar, You can disable the actions for the specified ...READ MORE

Nov 18, 2020 in AWS by MD
• 95,040 points
222 views
0 votes
1 answer

ImportError: No module named boto3

Hi@akhtar, I think boto3 module is missing from ...READ MORE

Apr 28, 2020 in AWS by MD
• 95,040 points
9,015 views
0 votes
1 answer

How to clear the credentials in AWS Configure?

Hi@akhtar, You need to remove the configuration file ...READ MORE

Nov 17, 2020 in AWS by MD
• 95,040 points
229 views
0 votes
1 answer

How to download the public key of an asymmetric CMK in AWS KMS?

Hi@akhtar, The following get-public-key example downloads the public key of ...READ MORE

Nov 20, 2020 in AWS by MD
• 95,040 points
57 views
0 votes
1 answer

How to enable a customer managed CMK in AWS KMS?

Hi@akhtar, You can set the key state of a ...READ MORE

Nov 20, 2020 in AWS by MD
• 95,040 points
56 views
0 votes
1 answer

How to create a grant in AWS KMS?

Hi@akhtar, You can add a grant to a customer ...READ MORE

Nov 19, 2020 in AWS by MD
• 95,040 points
81 views
0 votes
1 answer

How to delete a file from S3 bucket using boto3?

You can delete the file from S3 ...READ MORE

Nov 30, 2018 in AWS by Aniket
31,159 views
0 votes
1 answer

How to create a custom key store in AWS KMS?

Hi@akhtar, AWS Key Management Service (KMS) makes it easy ...READ MORE

Nov 18, 2020 in AWS by MD
• 95,040 points
92 views
0 votes
1 answer

How to temporarily change the state of an alarm in CloudWatch?

Hi@akhtar, You can temporarily set the state of ...READ MORE

Nov 18, 2020 in AWS by MD
• 95,040 points
74 views
0 votes
1 answer

How to delete an alarm in AWS?

Hi@akhtar, You can delete the specified alarms. You can ...READ MORE

Nov 17, 2020 in AWS by MD
• 95,040 points
60 views
0 votes
1 answer

How to create a trail in AWS?

Hi@akhtar, You can create a trail that specifies the ...READ MORE

Nov 17, 2020 in AWS by MD
• 95,040 points
57 views
0 votes
1 answer

How to describe a trail in AWS?

Hi@akhtar, You can retrieves settings for one or ...READ MORE

Nov 17, 2020 in AWS by MD
• 95,040 points
30 views
0 votes
1 answer

How to add tags to trail in AWS?

Hi@akhtar, You can add one or more tags to ...READ MORE

Nov 17, 2020 in AWS by MD
• 95,040 points
32 views
0 votes
1 answer

Unable to import module 'lambda_function': No module named 'pymongo' for mongodb with python in aws lambda.

Hi@pradip, I think you need to import some ...READ MORE

Nov 3, 2020 in AWS by MD
• 95,040 points
631 views
0 votes
1 answer

S3 bucket activity using cloudtrail.

Hi@Vijay, I am not able to understand your use ...READ MORE

Nov 16, 2020 in AWS by MD
• 95,040 points
38 views
0 votes
1 answer

Unable to connect to S3 when running Talend job as lambda.

Hi@richa, I think you didn't make your S3 ...READ MORE

Nov 11, 2020 in AWS by MD
• 95,040 points
81 views
0 votes
1 answer

How to update a CloudFront origin access identity?

Hi@akhtar, The following example updates the origin access ...READ MORE

Nov 2, 2020 in AWS by MD
• 95,040 points
445 views
+1 vote
2 answers

Read file content from S3 bucket with boto3

s3_client=boto3.resource('s3') bucket = s3_client.Bucket('test') for obj in bucket.objects.all(): contents=obj.get()['Body'].read().decode(encoding="utf-8",errors="ignore") for line ...READ MORE

Jul 3, 2019 in AWS by reddy

edited Jul 4, 2019 by Kalgi 26,904 views
0 votes
1 answer

How to describe a ECS cluster with AWS CLI?

Hi@akhtar, You can describe your clusters from the ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,040 points
174 views
0 votes
1 answer

How to create a new service in ECS cluster behind a load balancer?

Hi@akhtar, The following create-service example shows how to create a ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,040 points
106 views
0 votes
1 answer

How to configure AWS CLI on top of Docker?

Hi@akhtar, The official AWS CLI version 2 Docker ...READ MORE

Nov 6, 2020 in AWS by MD
• 95,040 points
172 views
0 votes
1 answer

How to delete an empty ECS cluster using AWS CLI?

Hi@akhtar, You can delete the specified ECS cluster. The ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,040 points
77 views
0 votes
1 answer

Create a service that uses an external deployment controller.

Hi@akhtar, The following create-service example creates a service that uses ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,040 points
68 views
0 votes
1 answer

How to create an ECS cluster using AWS CLI?

Hi@akhtar, You can create a new Amazon ECS cluster. ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,040 points
68 views
0 votes
1 answer

Create a task set in a service in ECS Cluster.

Hi@akhtar, You can create a task set in ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,040 points
55 views
0 votes
1 answer

How to create a customer managed CMK in AWS KMS?

Hi@akhtar, You can create a unique customer-managed customer master key (CMK) ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,040 points
47 views
0 votes
1 answer

How to create a service with a Fargate task?

Hi@akhtar, You can create a service with a Fargate ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,040 points
37 views
0 votes
1 answer

How to create a service using the EC2 launch type?

Hi@akhtar, The following create-service example shows how to create a ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,040 points
36 views
0 votes
1 answer

How to download a file from S3 buckets using boto3?

Hi@akhtar, Boto3 supports upload_file() and download_file() APIs to ...READ MORE

Oct 7, 2020 in AWS by MD
• 95,040 points
1,376 views