4,484 questions
1 vote
1 answer
76 views
How to programmatically determine AWS invoice payment status / outstanding balance?
I'm looking to programatically determine which of my AWS invoices are unpaid. The AWS Billing Console clearly shows which invoices are already paid vs. currently outstanding, but I cannot find any API ...
0 votes
0 answers
235 views
How to force refresh of AWS SSO loging "refresh"?
I use metaflow with S3. In order to access S3, I need to login with AWS CLI single sign on (aws sso login). The problem is that I have no way to force "refresh" (not sure about correct ...
0 votes
1 answer
74 views
AWS CLI remove object for specific folder range name
Currently I am able to remove objects under 1 folder WO123456 using single AWS CLI line. aws s3 rm "s3://<bucket-name>/WO123456/" --recursive --profile <profile-name> How can I ...
0 votes
1 answer
147 views
How to develop and test AWS Lambda written in Go locally without SAM?
I tried to run an AWS Lambda written in Go locally. I used function handlers in Go and did this: Initialized a project with go mod init aws-example-go Created the file main.go and copy pasted the ...
1 vote
1 answer
120 views
S3 signed link expiration differs with ruby sdk and aws cli -- the cli is apparently not subject to session expiration?
I'm running on an amazon linux instance which has been granted an instance profile, to a iam role with a maximum session duration of 12 hours. According to the documentation, I shouldn't be able to ...
0 votes
1 answer
261 views
How do you use aws cli --query to filter items using JMESPath functions?
I've been reading the documentation at https://docs.aws.amazon.com/cli/v1/userguide/cli-usage-filter.html and https://jmespath.org/specification.html but it doesn't work. For example, I want to use ...
0 votes
1 answer
103 views
Multiple AWS cli profiles active at once
I have configured two distinct AWS cli profiles inside ~/.aws/credentials mentioning in the two profiles two different couples of: AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY With profile 1 I can access a ...
0 votes
1 answer
210 views
AWS Credentials not loading for one user in Java
Our team has created a Java command-line utility that connects to AWS S3. We aren't specifying a particular credentials source, we're just using S3Client.builder().region(region).build() and allowing ...
1 vote
1 answer
246 views
Querying INTELLIGENT_TIERING AWS S3 objects for actual tier status?
Is there a way to get more granularity about the status of an object in an AWS S3 bucket, which is in the INTELLIGENT_TIERING storage class? Specifically, I would like to use a command-line query to ...
0 votes
1 answer
74 views
AWS CLI error with delete objects recursively using include, exclude
I have various sub-directories inside my s3 bucket which contain 2 files, namely: pavement_suitability_final_result.gpkg Intermediate_Part1_output.gpkg I wish to delete only the files named as ...
4 votes
1 answer
331 views
Access denied to AWS Secrets Manager API for BatchGetSecretValue, while GetSecretValue works
I have configured an AWS IAM policy to allow all access to secretsmanager on all resources: { "Version": "2012-10-17", "Statement": [ { "...
-1 votes
1 answer
130 views
How do I handle dependency projects whith .Net8 AOT Publish to AWS Lambda? MSB4018 error
How can i deploy my .Net 8 AOT AWS Lambda project when the project has a dependency? aws-extensions-for-dotnet-cli discussions: https://github.com/aws/aws-extensions-for-dotnet-cli/discussions/364 ...
0 votes
0 answers
95 views
AWS CLI : How to get the VPC_LINK associated to an API Resource
I need to run a query to establish which VPC_LINK (id or name) that each of our API Resources are associated with .. We have hundreds of API's defined, each with multiple resources, and I need to ...
0 votes
0 answers
97 views
Syncing AWS Buckets without overwriting contents
We are using a s3 bucket as a shared server for assets for a creative team. We are migrating to a new bucket and would like to move over folders. The new bucket is already in use. Is there a way to ...
0 votes
0 answers
98 views
IAM aws-cli commands having issues in gov?
I have an account in us-gov-west-1 region. Inside the AWS console cloudshell, I'm trying to run aws-cli commands. It looks like IAM calls fail, but others work. Every time I'm trying to run a IAM ...