Comments (4)
Hi @nimble thanks for reaching out and for your patience here. The GetServiceQuota API is used in both the get-service-quota (CLI) and get_service_quota (Boto3) commands. So if there's an API issue here then we may need to escalate this to the Service Quotas team.
However, upon testing this command aws service-quotas get-service-quota --service-code 'connect' --quota-code 'L-20CD02F7'
, I do receive the following response:
{
"Quota": {
"ServiceCode": "connect",
"ServiceName": "Amazon Connect",
"QuotaArn": "arn:aws:servicequotas:us-west-2:<account-id>:connect/L-20CD02F7",
"QuotaCode": "L-20CD02F7",
"QuotaName": "Hours of operation per instance",
"Value": 100.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false,
"QuotaAppliedAtLevel": "ACCOUNT",
"QuotaContext": {
"ContextScope": "RESOURCE",
"ContextScopeType": "AWS::Connect::Instance",
"ContextId": "*"
}
}
}
So I think the issue here may be specifically with the --context-id
parameter used. When I passed my account ID as this parameter then the command also ran successfully.
I also noticed that you are using an older version of the CLI. We recommend using a more recent version in order to have access to the latest updates (which sometimes also helps resolve issues like these.) We recommend migrating to v2 of the CLI if you can, otherwise here is the v1 CHANGELOG where you can reference the latest versions in v1.
from aws-cli.
Hey @tim-finnigan,
Thanks for replying (I did end up updating my CLI; this cleared some few issues I was having). But anyways, I've proposed the following to Amazon:
I propose an enhancement to the Service Quotas API where, instead of immediately returning an error when a resource-specific quota isn't found, it could automatically fallback to return the next available quota value in the hierarchy (i.e., resource quota value, account quota value, and then AWS default quota value).
Thanks.
from aws-cli.
Thanks for following up and sharing your proposal. Changes to service API behavior are generally rare because of the need to retain backwards compatibility with existing scripts. That being said, maybe there's an opportunity to improve the documentation here regarding the curent behavior. In which case I'd recommend using the Provide feedback at the bottom of the API documentation page, and any documentation updates would automatically get reflected in the CLI docs. Otherwise if you'd like to expand on your proposed feature request further you can reach out through AWS Support or create an issue in our cross-SDK repository.
from aws-cli.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
from aws-cli.
Related Issues (20)
- CLI - Redshift: Example broken & text incorrect HOT 3
- old cloudwatch logs are not visible HOT 1
- Extend the AWS CodeArtifact login command to support multiple namespaces HOT 2
- Ambiguous JSON object required for `ecr put-image` HOT 2
- Error when trying to update stage variable HOT 1
- get-resource-lf-tags shows list-lf-tags example HOT 1
- WPS Note Inheririting party of the Corporation showing the LLC grantor Misty Dawn Hilton in the US Treasury Department of the Google LLC Grantor and the right website is the SAM HOT 2
- Tests of TestCLITimestampParser failing, maybe due to DST HOT 6
- Auto-update functionality for the AWS CLI MSI installer for Windows (64-bit) HOT 2
- The --boot-mode is lacking "uefi-preferred" option HOT 4
- Local environment variables interfere with tests HOT 1
- create fsx lustre file system is not working HOT 4
- AWS Chatbot commands not working yet? Could not connect to the endpoint URL HOT 5
- "aws ecr describe-image-scan-findings --max-items" does not work for enhanced image scan configuration HOT 4
- aws s3 recursive copy errors out HOT 2
- Packaging of AWS::CloudFormation::Stackset resource using AWS CLI clouformation package command HOT 2
- sso_region is ignored when region differs in profile HOT 3
- aws ecr describe-image-scan-findings with no recommendations HOT 3
- sso-region incorrect HOT 1
- Alpine 3.20 release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-cli.