• 沒有找到結果。

Service Quotas

N/A
N/A
Protected

Academic year: 2022

Share "Service Quotas"

Copied!
74
0
0

加載中.... (立即查看全文)

全文

(1)

Service Quotas

API Reference

API Version 2019-06-24

(2)

Service Quotas: API Reference

Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved.

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 that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon.

(3)

Table of Contents

Welcome ... 1

Actions ... 2

AssociateServiceQuotaTemplate ... 3

Response Elements ... 3

Errors ... 3

See Also ... 4

DeleteServiceQuotaIncreaseRequestFromTemplate ... 5

Request Syntax ... 5

Request Parameters ... 5

Response Elements ... 5

Errors ... 6

See Also ... 6

DisassociateServiceQuotaTemplate ... 8

Response Elements ... 8

Errors ... 8

See Also ... 9

GetAssociationForServiceQuotaTemplate ... 10

Response Syntax ... 10

Response Elements ... 10

Errors ... 10

See Also ... 11

GetAWSDefaultServiceQuota ... 12

Request Syntax ... 12

Request Parameters ... 12

Response Syntax ... 12

Response Elements ... 13

Errors ... 13

See Also ... 14

GetRequestedServiceQuotaChange ... 15

Request Syntax ... 15

Request Parameters ... 15

Response Syntax ... 15

Response Elements ... 15

Errors ... 16

See Also ... 16

GetServiceQuota ... 17

Request Syntax ... 17

Request Parameters ... 17

Response Syntax ... 17

Response Elements ... 18

Errors ... 18

See Also ... 19

GetServiceQuotaIncreaseRequestFromTemplate ... 20

Request Syntax ... 20

Request Parameters ... 20

Response Syntax ... 21

Response Elements ... 21

Errors ... 21

See Also ... 22

ListAWSDefaultServiceQuotas ... 23

Request Syntax ... 23

Request Parameters ... 23

Response Syntax ... 24

Response Elements ... 24

(4)

Errors ... 25

See Also ... 25

ListRequestedServiceQuotaChangeHistory ... 26

Request Syntax ... 26

Request Parameters ... 26

Response Syntax ... 27

Response Elements ... 27

Errors ... 27

See Also ... 28

ListRequestedServiceQuotaChangeHistoryByQuota ... 29

Request Syntax ... 29

Request Parameters ... 29

Response Syntax ... 30

Response Elements ... 30

Errors ... 31

See Also ... 31

ListServiceQuotaIncreaseRequestsInTemplate ... 32

Request Syntax ... 32

Request Parameters ... 32

Response Syntax ... 33

Response Elements ... 33

Errors ... 33

See Also ... 34

ListServiceQuotas ... 35

Request Syntax ... 35

Request Parameters ... 35

Response Syntax ... 36

Response Elements ... 36

Errors ... 37

See Also ... 37

ListServices ... 38

Request Syntax ... 38

Request Parameters ... 38

Response Syntax ... 38

Response Elements ... 39

Errors ... 39

See Also ... 40

ListTagsForResource ... 41

Request Syntax ... 41

Request Parameters ... 41

Response Syntax ... 41

Response Elements ... 41

Errors ... 42

See Also ... 42

PutServiceQuotaIncreaseRequestIntoTemplate ... 43

Request Syntax ... 43

Request Parameters ... 43

Response Syntax ... 44

Response Elements ... 44

Errors ... 44

See Also ... 45

RequestServiceQuotaIncrease ... 46

Request Syntax ... 46

Request Parameters ... 46

Response Syntax ... 47

Response Elements ... 47

Errors ... 47

(5)

See Also ... 48

TagResource ... 49

Request Syntax ... 49

Request Parameters ... 49

Response Elements ... 49

Errors ... 49

See Also ... 50

UntagResource ... 51

Request Syntax ... 51

Request Parameters ... 51

Response Elements ... 51

Errors ... 51

See Also ... 52

Data Types ... 53

ErrorReason ... 54

Contents ... 54

See Also ... 54

MetricInfo ... 55

Contents ... 55

See Also ... 55

QuotaPeriod ... 56

Contents ... 56

See Also ... 56

RequestedServiceQuotaChange ... 57

Contents ... 57

See Also ... 59

ServiceInfo ... 60

Contents ... 60

See Also ... 60

ServiceQuota ... 61

Contents ... 61

See Also ... 62

ServiceQuotaIncreaseRequestInTemplate ... 63

Contents ... 63

See Also ... 64

Tag ... 65

Contents ... 65

See Also ... 65

Common Parameters ... 66

Common Errors ... 68

(6)

Welcome

With Service Quotas, you can view and manage your quotas easily as your AWS workloads grow. Quotas, also referred to as limits, are the maximum number of resources that you can create in your AWS account. For more information, see the Service Quotas User Guide.

This document was last published on March 6, 2022.

(7)

Actions

The following actions are supported:

• AssociateServiceQuotaTemplate (p. 3)

• DeleteServiceQuotaIncreaseRequestFromTemplate (p. 5)

• DisassociateServiceQuotaTemplate (p. 8)

• GetAssociationForServiceQuotaTemplate (p. 10)

• GetAWSDefaultServiceQuota (p. 12)

• GetRequestedServiceQuotaChange (p. 15)

• GetServiceQuota (p. 17)

• GetServiceQuotaIncreaseRequestFromTemplate (p. 20)

• ListAWSDefaultServiceQuotas (p. 23)

• ListRequestedServiceQuotaChangeHistory (p. 26)

• ListRequestedServiceQuotaChangeHistoryByQuota (p. 29)

• ListServiceQuotaIncreaseRequestsInTemplate (p. 32)

• ListServiceQuotas (p. 35)

• ListServices (p. 38)

• ListTagsForResource (p. 41)

• PutServiceQuotaIncreaseRequestIntoTemplate (p. 43)

• RequestServiceQuotaIncrease (p. 46)

• TagResource (p. 49)

• UntagResource (p. 51)

(8)

AssociateServiceQuotaTemplate

AssociateServiceQuotaTemplate

Associates your quota request template with your organization. When a new account is created in your organization, the quota increase requests in the template are automatically applied to the account. You can add a quota increase request for any adjustable quota to your template.

Related Actions

• DisassociateServiceQuotaTemplate (p. 8)

• GetAssociationForServiceQuotaTemplate (p. 10)

• PutServiceQuotaIncreaseRequestIntoTemplate (p. 43)

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400

AWSServiceAccessNotEnabledException

The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization.

HTTP Status Code: 400

DependencyAccessDeniedException

You can't perform this action because a dependency does not have access.

HTTP Status Code: 400

NoAvailableOrganizationException

The account making this call is not a member of an organization.

HTTP Status Code: 400

OrganizationNotInAllFeaturesModeException

The organization that your account belongs to is not in All Features mode.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500

TemplatesNotAvailableInRegionException

The Service Quotas template is not available in this AWS Region.

(9)

See Also

HTTP Status Code: 400 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(10)

DeleteServiceQuotaIncreaseRequestFromTemplate

DeleteServiceQuotaIncreaseRequestFromTemplate

Deletes the quota increase request for the specified quota from your quota request template.

Request Syntax

{

"AwsRegion": "string", "QuotaCode": "string", "ServiceCode": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

AwsRegion (p. 5) The AWS Region.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,128}

Required: Yes QuotaCode (p. 5)

The quota identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,128}

Required: Yes ServiceCode (p. 5)

The service identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,63}

Required: Yes

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

(11)

Errors

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400

AWSServiceAccessNotEnabledException

The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization.

HTTP Status Code: 400

DependencyAccessDeniedException

You can't perform this action because a dependency does not have access.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400

NoAvailableOrganizationException

The account making this call is not a member of an organization.

HTTP Status Code: 400 NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500

TemplatesNotAvailableInRegionException

The Service Quotas template is not available in this AWS Region.

HTTP Status Code: 400 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

(12)

See Also

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(13)

DisassociateServiceQuotaTemplate

DisassociateServiceQuotaTemplate

Disables your quota request template. After a template is disabled, the quota increase requests in the template are not applied to new accounts in your organization. Disabling a quota request template does not apply its quota increase requests.

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400

AWSServiceAccessNotEnabledException

The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization.

HTTP Status Code: 400

DependencyAccessDeniedException

You can't perform this action because a dependency does not have access.

HTTP Status Code: 400

NoAvailableOrganizationException

The account making this call is not a member of an organization.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500

ServiceQuotaTemplateNotInUseException

The quota request template is not associated with your organization.

HTTP Status Code: 400

TemplatesNotAvailableInRegionException

The Service Quotas template is not available in this AWS Region.

HTTP Status Code: 400 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

(14)

See Also

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(15)

GetAssociationForServiceQuotaTemplate

GetAssociationForServiceQuotaTemplate

Retrieves the status of the association for the quota request template.

Response Syntax

{

"ServiceQuotaTemplateAssociationStatus": "string"

}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

ServiceQuotaTemplateAssociationStatus (p. 10)

The association status. If the status is ASSOCIATED, the quota increase requests in the template are automatically applied to new accounts in your organization.

Type: String

Valid Values: ASSOCIATED | DISASSOCIATED

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400

AWSServiceAccessNotEnabledException

The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization.

HTTP Status Code: 400

DependencyAccessDeniedException

You can't perform this action because a dependency does not have access.

HTTP Status Code: 400

NoAvailableOrganizationException

The account making this call is not a member of an organization.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500

(16)

See Also

ServiceQuotaTemplateNotInUseException

The quota request template is not associated with your organization.

HTTP Status Code: 400

TemplatesNotAvailableInRegionException

The Service Quotas template is not available in this AWS Region.

HTTP Status Code: 400 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(17)

GetAWSDefaultServiceQuota

GetAWSDefaultServiceQuota

Retrieves the default value for the specified quota. The default value does not reflect any quota increases.

Related Actions

• ListAWSDefaultServiceQuotas (p. 23)

• ListServices (p. 38)

• ListServiceQuotas (p. 35)

Request Syntax

{

"QuotaCode": "string", "ServiceCode": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

QuotaCode (p. 12) The quota identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,128}

Required: Yes ServiceCode (p. 12)

The service identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,63}

Required: Yes

Response Syntax

{ "Quota": {

"Adjustable": boolean, "ErrorReason": {

(18)

Response Elements

"ErrorCode": "string", "ErrorMessage": "string"

},

"GlobalQuota": boolean, "Period": {

"PeriodUnit": "string", "PeriodValue": number },

"QuotaArn": "string", "QuotaCode": "string", "QuotaName": "string", "ServiceCode": "string", "ServiceName": "string", "Unit": "string", "UsageMetric": {

"MetricDimensions": { "string" : "string"

},

"MetricName": "string", "MetricNamespace": "string",

"MetricStatisticRecommendation": "string"

},

"Value": number }

}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Quota (p. 12)

Information about the quota.

Type: ServiceQuota (p. 61) object

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400 NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 ServiceException

Something went wrong.

(19)

See Also

HTTP Status Code: 500 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(20)

GetRequestedServiceQuotaChange

GetRequestedServiceQuotaChange

Retrieves information about the specified quota increase request.

Request Syntax

{ "RequestId": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

RequestId (p. 15)

The ID of the quota increase request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [0-9a-zA-Z][a-zA-Z0-9-]{1,128}

Required: Yes

Response Syntax

{

"RequestedQuota": { "CaseId": "string", "Created": number, "DesiredValue": number, "GlobalQuota": boolean, "Id": "string",

"LastUpdated": number, "QuotaArn": "string", "QuotaCode": "string", "QuotaName": "string", "Requester": "string", "ServiceCode": "string", "ServiceName": "string", "Status": "string", "Unit": "string"

}}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

(21)

Errors

RequestedQuota (p. 15)

Information about the quota increase request.

Type: RequestedServiceQuotaChange (p. 57) object

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400 NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(22)

GetServiceQuota

GetServiceQuota

Retrieves the applied quota value for the specified quota. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved.

Related Actions

• ListAWSDefaultServiceQuotas (p. 23)

• ListServices (p. 38)

• ListServiceQuotas (p. 35)

Request Syntax

{

"QuotaCode": "string", "ServiceCode": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

QuotaCode (p. 17) The quota identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,128}

Required: Yes ServiceCode (p. 17)

The service identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,63}

Required: Yes

Response Syntax

{ "Quota": {

"Adjustable": boolean, "ErrorReason": {

(23)

Response Elements

"ErrorCode": "string", "ErrorMessage": "string"

},

"GlobalQuota": boolean, "Period": {

"PeriodUnit": "string", "PeriodValue": number },

"QuotaArn": "string", "QuotaCode": "string", "QuotaName": "string", "ServiceCode": "string", "ServiceName": "string", "Unit": "string", "UsageMetric": {

"MetricDimensions": { "string" : "string"

},

"MetricName": "string", "MetricNamespace": "string",

"MetricStatisticRecommendation": "string"

},

"Value": number }

}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Quota (p. 17)

Information about the quota.

Type: ServiceQuota (p. 61) object

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400 NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 ServiceException

Something went wrong.

(24)

See Also

HTTP Status Code: 500 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(25)

GetServiceQuotaIncreaseRequestFromTemplate

GetServiceQuotaIncreaseRequestFromTemplate

Retrieves information about the specified quota increase request in your quota request template.

Related Actions

• DeleteServiceQuotaIncreaseRequestFromTemplate (p. 5)

• ListServiceQuotaIncreaseRequestsInTemplate (p. 32)

• PutServiceQuotaIncreaseRequestIntoTemplate (p. 43)

Request Syntax

{ "AwsRegion": "string", "QuotaCode": "string", "ServiceCode": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

AwsRegion (p. 20) The AWS Region.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,128}

Required: Yes QuotaCode (p. 20)

The quota identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,128}

Required: Yes ServiceCode (p. 20)

The service identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

(26)

Response Syntax

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,63}

Required: Yes

Response Syntax

{ "ServiceQuotaIncreaseRequestInTemplate": { "AwsRegion": "string",

"DesiredValue": number, "GlobalQuota": boolean, "QuotaCode": "string", "QuotaName": "string", "ServiceCode": "string", "ServiceName": "string", "Unit": "string"

}}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

ServiceQuotaIncreaseRequestInTemplate (p. 21) Information about the quota increase request.

Type: ServiceQuotaIncreaseRequestInTemplate (p. 63) object

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400

AWSServiceAccessNotEnabledException

The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization.

HTTP Status Code: 400

DependencyAccessDeniedException

You can't perform this action because a dependency does not have access.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400

(27)

See Also

NoAvailableOrganizationException

The account making this call is not a member of an organization.

HTTP Status Code: 400 NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500

TemplatesNotAvailableInRegionException

The Service Quotas template is not available in this AWS Region.

HTTP Status Code: 400 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(28)

ListAWSDefaultServiceQuotas

ListAWSDefaultServiceQuotas

Lists the default values for the quotas for the specified AWS service. A default value does not reflect any quota increases.

Related Actions

• GetAWSDefaultServiceQuota (p. 12)

• ListServices (p. 38)

• ListServiceQuotas (p. 35)

Request Syntax

{

"MaxResults": number, "NextToken": "string", "ServiceCode": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

MaxResults (p. 23)

The maximum number of results to return with a single call. To retrieve the remaining results, if any, make another call with the token returned from this call.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No NextToken (p. 23)

The token for the next page of results.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: ^[a-zA-Z0-9/+]*={0,2}$

Required: No ServiceCode (p. 23)

The service identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

(29)

Response Syntax

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,63}

Required: Yes

Response Syntax

{ "NextToken": "string", "Quotas": [

{

"Adjustable": boolean, "ErrorReason": {

"ErrorCode": "string", "ErrorMessage": "string"

},

"GlobalQuota": boolean, "Period": {

"PeriodUnit": "string", "PeriodValue": number },

"QuotaArn": "string", "QuotaCode": "string", "QuotaName": "string", "ServiceCode": "string", "ServiceName": "string", "Unit": "string", "UsageMetric": {

"MetricDimensions": { "string" : "string"

},

"MetricName": "string", "MetricNamespace": "string",

"MetricStatisticRecommendation": "string"

},

"Value": number }

]}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

NextToken (p. 24)

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: ^[a-zA-Z0-9/+]*={0,2}$

Quotas (p. 24)

Information about the quotas.

Type: Array of ServiceQuota (p. 61) objects

(30)

Errors

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400 InvalidPaginationTokenException

Invalid input was provided.

HTTP Status Code: 400 NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(31)

ListRequestedServiceQuotaChangeHistory

ListRequestedServiceQuotaChangeHistory

Retrieves the quota increase requests for the specified service.

Request Syntax

{

"MaxResults": number, "NextToken": "string", "ServiceCode": "string", "Status": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

MaxResults (p. 26)

The maximum number of results to return with a single call. To retrieve the remaining results, if any, make another call with the token returned from this call.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No NextToken (p. 26)

The token for the next page of results.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: ^[a-zA-Z0-9/+]*={0,2}$

Required: No ServiceCode (p. 26)

The service identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,63}

Required: No Status (p. 26)

The status of the quota increase request.

Type: String

(32)

Response Syntax

Valid Values: PENDING | CASE_OPENED | APPROVED | DENIED | CASE_CLOSED Required: No

Response Syntax

{ "NextToken": "string", "RequestedQuotas": [ {

"CaseId": "string", "Created": number, "DesiredValue": number, "GlobalQuota": boolean, "Id": "string",

"LastUpdated": number, "QuotaArn": "string", "QuotaCode": "string", "QuotaName": "string", "Requester": "string", "ServiceCode": "string", "ServiceName": "string", "Status": "string", "Unit": "string"

} ]}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

NextToken (p. 27)

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: ^[a-zA-Z0-9/+]*={0,2}$

RequestedQuotas (p. 27)

Information about the quota increase requests.

Type: Array of RequestedServiceQuotaChange (p. 57) objects

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

(33)

See Also

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400 InvalidPaginationTokenException

Invalid input was provided.

HTTP Status Code: 400 NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(34)

ListRequestedServiceQuotaChangeHistoryByQuota

ListRequestedServiceQuotaChangeHistoryByQuota

Retrieves the quota increase requests for the specified quota.

Request Syntax

{

"MaxResults": number, "NextToken": "string", "QuotaCode": "string", "ServiceCode": "string", "Status": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

MaxResults (p. 29)

The maximum number of results to return with a single call. To retrieve the remaining results, if any, make another call with the token returned from this call.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No NextToken (p. 29)

The token for the next page of results.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: ^[a-zA-Z0-9/+]*={0,2}$

Required: No QuotaCode (p. 29)

The quota identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,128}

Required: Yes ServiceCode (p. 29)

The service identifier.

Type: String

(35)

Response Syntax

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,63}

Required: Yes Status (p. 29)

The status value of the quota increase request.

Type: String

Valid Values: PENDING | CASE_OPENED | APPROVED | DENIED | CASE_CLOSED Required: No

Response Syntax

{

"NextToken": "string", "RequestedQuotas": [ {

"CaseId": "string", "Created": number, "DesiredValue": number, "GlobalQuota": boolean, "Id": "string",

"LastUpdated": number, "QuotaArn": "string", "QuotaCode": "string", "QuotaName": "string", "Requester": "string", "ServiceCode": "string", "ServiceName": "string", "Status": "string", "Unit": "string"

} ]}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

NextToken (p. 30)

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: ^[a-zA-Z0-9/+]*={0,2}$

RequestedQuotas (p. 30)

Information about the quota increase requests.

(36)

Errors

Type: Array of RequestedServiceQuotaChange (p. 57) objects

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400 InvalidPaginationTokenException

Invalid input was provided.

HTTP Status Code: 400 NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(37)

ListServiceQuotaIncreaseRequestsInTemplate

ListServiceQuotaIncreaseRequestsInTemplate

Lists the quota increase requests in the specified quota request template.

Request Syntax

{ "AwsRegion": "string", "MaxResults": number, "NextToken": "string", "ServiceCode": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

AwsRegion (p. 32) The AWS Region.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,128}

Required: No MaxResults (p. 32)

The maximum number of results to return with a single call. To retrieve the remaining results, if any, make another call with the token returned from this call.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No NextToken (p. 32)

The token for the next page of results.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: ^[a-zA-Z0-9/+]*={0,2}$

Required: No ServiceCode (p. 32)

The service identifier.

(38)

Response Syntax

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,63}

Required: No

Response Syntax

{ "NextToken": "string",

"ServiceQuotaIncreaseRequestInTemplateList": [ {

"AwsRegion": "string", "DesiredValue": number, "GlobalQuota": boolean, "QuotaCode": "string", "QuotaName": "string", "ServiceCode": "string", "ServiceName": "string", "Unit": "string"

} ]}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

NextToken (p. 33)

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: ^[a-zA-Z0-9/+]*={0,2}$

ServiceQuotaIncreaseRequestInTemplateList (p. 33) Information about the quota increase requests.

Type: Array of ServiceQuotaIncreaseRequestInTemplate (p. 63) objects

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400

(39)

See Also

AWSServiceAccessNotEnabledException

The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization.

HTTP Status Code: 400

DependencyAccessDeniedException

You can't perform this action because a dependency does not have access.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400

NoAvailableOrganizationException

The account making this call is not a member of an organization.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500

TemplatesNotAvailableInRegionException

The Service Quotas template is not available in this AWS Region.

HTTP Status Code: 400 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(40)

ListServiceQuotas

ListServiceQuotas

Lists the applied quota values for the specified AWS service. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved.

Related Actions

• GetServiceQuota (p. 17)

• ListAWSDefaultServiceQuotas (p. 23)

• ListServices (p. 38)

• RequestServiceQuotaIncrease (p. 46)

Request Syntax

{

"MaxResults": number, "NextToken": "string", "ServiceCode": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

MaxResults (p. 35)

The maximum number of results to return with a single call. To retrieve the remaining results, if any, make another call with the token returned from this call.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No NextToken (p. 35)

The token for the next page of results.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: ^[a-zA-Z0-9/+]*={0,2}$

Required: No ServiceCode (p. 35)

The service identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

(41)

Response Syntax

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,63}

Required: Yes

Response Syntax

{ "NextToken": "string", "Quotas": [

{

"Adjustable": boolean, "ErrorReason": {

"ErrorCode": "string", "ErrorMessage": "string"

},

"GlobalQuota": boolean, "Period": {

"PeriodUnit": "string", "PeriodValue": number },

"QuotaArn": "string", "QuotaCode": "string", "QuotaName": "string", "ServiceCode": "string", "ServiceName": "string", "Unit": "string", "UsageMetric": {

"MetricDimensions": { "string" : "string"

},

"MetricName": "string", "MetricNamespace": "string",

"MetricStatisticRecommendation": "string"

},

"Value": number }

]}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

NextToken (p. 36)

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: ^[a-zA-Z0-9/+]*={0,2}$

Quotas (p. 36)

Information about the quotas.

Type: Array of ServiceQuota (p. 61) objects

(42)

Errors

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400 InvalidPaginationTokenException

Invalid input was provided.

HTTP Status Code: 400 NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(43)

ListServices

ListServices

Lists the names and codes for the services integrated with Service Quotas.

Related Actions

• ListAWSDefaultServiceQuotas (p. 23)

• ListServiceQuotas (p. 35)

• RequestServiceQuotaIncrease (p. 46)

Request Syntax

{ "MaxResults": number, "NextToken": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

MaxResults (p. 38)

The maximum number of results to return with a single call. To retrieve the remaining results, if any, make another call with the token returned from this call.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No NextToken (p. 38)

The token for the next page of results.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: ^[a-zA-Z0-9/+]*={0,2}$

Required: No

Response Syntax

{ "NextToken": "string", "Services": [

{

"ServiceCode": "string",

(44)

Response Elements

"ServiceName": "string"

} ]}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

NextToken (p. 38)

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: ^[a-zA-Z0-9/+]*={0,2}$

Services (p. 38)

Information about the services.

Type: Array of ServiceInfo (p. 60) objects

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400 InvalidPaginationTokenException

Invalid input was provided.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

(45)

See Also

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(46)

ListTagsForResource

ListTagsForResource

Returns a list of the tags assigned to the specified applied quota.

Request Syntax

{

"ResourceARN": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

ResourceARN (p. 41)

The Amazon Resource Name (ARN) for the applied quota for which you want to list tags. You can get this information by using the Service Quotas console, or by listing the quotas using the list-service- quotas AWS CLI command or the ListServiceQuotas AWS API operation.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1011.

Pattern: arn:aws(-[\w]+)*:*:.+:[0-9]{12}:.+

Required: Yes

Response Syntax

{

"Tags": [ {

"Key": "string", "Value": "string"

} ]}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Tags (p. 41)

A complex data type that contains zero or more tag elements.

Type: Array of Tag (p. 65) objects

Array Members: Maximum number of 200 items.

(47)

Errors

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400 NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(48)

PutServiceQuotaIncreaseRequestIntoTemplate

PutServiceQuotaIncreaseRequestIntoTemplate

Adds a quota increase request to your quota request template.

Related Actions

• DeleteServiceQuotaIncreaseRequestFromTemplate (p. 5)

• GetServiceQuotaIncreaseRequestFromTemplate (p. 20)

• ListServiceQuotaIncreaseRequestsInTemplate (p. 32)

Request Syntax

{ "AwsRegion": "string", "DesiredValue": number, "QuotaCode": "string", "ServiceCode": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

AwsRegion (p. 43) The AWS Region.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,128}

Required: Yes DesiredValue (p. 43)

The new, increased value for the quota.

Type: Double

Valid Range: Minimum value of 0. Maximum value of 10000000000.

Required: Yes QuotaCode (p. 43)

The quota identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,128}

Required: Yes

(49)

Response Syntax

ServiceCode (p. 43) The service identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,63}

Required: Yes

Response Syntax

{ "ServiceQuotaIncreaseRequestInTemplate": { "AwsRegion": "string",

"DesiredValue": number, "GlobalQuota": boolean, "QuotaCode": "string", "QuotaName": "string", "ServiceCode": "string", "ServiceName": "string", "Unit": "string"

}}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

ServiceQuotaIncreaseRequestInTemplate (p. 44) Information about the quota increase request.

Type: ServiceQuotaIncreaseRequestInTemplate (p. 63) object

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400

AWSServiceAccessNotEnabledException

The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization.

HTTP Status Code: 400

DependencyAccessDeniedException

You can't perform this action because a dependency does not have access.

(50)

See Also

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400

NoAvailableOrganizationException

The account making this call is not a member of an organization.

HTTP Status Code: 400 NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 QuotaExceededException

You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500

TemplatesNotAvailableInRegionException

The Service Quotas template is not available in this AWS Region.

HTTP Status Code: 400 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(51)

RequestServiceQuotaIncrease

RequestServiceQuotaIncrease

Submits a quota increase request for the specified quota.

Related Actions

• GetRequestedServiceQuotaChange (p. 15)

• ListRequestedServiceQuotaChangeHistory (p. 26)

• ListRequestedServiceQuotaChangeHistoryByQuota (p. 29)

Request Syntax

{ "DesiredValue": number, "QuotaCode": "string", "ServiceCode": "string"

}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

DesiredValue (p. 46)

The new, increased value for the quota.

Type: Double

Valid Range: Minimum value of 0. Maximum value of 10000000000.

Required: Yes QuotaCode (p. 46)

The quota identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,128}

Required: Yes ServiceCode (p. 46)

The service identifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,63}

Required: Yes

(52)

Response Syntax

Response Syntax

{

"RequestedQuota": { "CaseId": "string", "Created": number, "DesiredValue": number, "GlobalQuota": boolean, "Id": "string",

"LastUpdated": number, "QuotaArn": "string", "QuotaCode": "string", "QuotaName": "string", "Requester": "string", "ServiceCode": "string", "ServiceName": "string", "Status": "string", "Unit": "string"

}}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

RequestedQuota (p. 47)

Information about the quota increase request.

Type: RequestedServiceQuotaChange (p. 57) object

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400

DependencyAccessDeniedException

You can't perform this action because a dependency does not have access.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400 InvalidResourceStateException

The resource is in an invalid state.

HTTP Status Code: 400

(53)

See Also

NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 QuotaExceededException

You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

HTTP Status Code: 400 ResourceAlreadyExistsException

The specified resource already exists.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(54)

TagResource

TagResource

Adds tags to the specified applied quota. You can include one or more tags to add to the quota.

Request Syntax

{

"ResourceARN": "string", "Tags": [

{

"Key": "string", "Value": "string"

} ] }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

ResourceARN (p. 49)

The Amazon Resource Name (ARN) for the applied quota. You can get this information by using the Service Quotas console, or by listing the quotas using the list-service-quotas AWS CLI command or the ListServiceQuotas AWS API operation.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1011.

Pattern: arn:aws(-[\w]+)*:*:.+:[0-9]{12}:.+

Required: Yes Tags (p. 49)

The tags that you want to add to the resource.

Type: Array of Tag (p. 65) objects

Array Members: Minimum number of 1 item.

Required: Yes

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

(55)

See Also

AccessDeniedException

You do not have sufficient permission to perform this action.

HTTP Status Code: 400 IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400 NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400 ServiceException

Something went wrong.

HTTP Status Code: 500 TagPolicyViolationException

The specified tag is a reserved word and cannot be used.

HTTP Status Code: 400 TooManyRequestsException

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400 TooManyTagsException

You've exceeded the number of tags allowed for a resource. For more information, see Tag restrictions in the Service Quotas User Guide.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(56)

UntagResource

UntagResource

Removes tags from the specified applied quota. You can specify one or more tags to remove.

Request Syntax

{

"ResourceARN": "string", "TagKeys": [ "string" ] }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters (p. 66).

The request accepts the following data in JSON format.

ResourceARN (p. 51)

The Amazon Resource Name (ARN) for the applied quota that you want to untag. You can get this information by using the Service Quotas console, or by listing the quotas using the list-service- quotas AWS CLI command or the ListServiceQuotas AWS API operation.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1011.

Pattern: arn:aws(-[\w]+)*:*:.+:[0-9]{12}:.+

Required: Yes TagKeys (p. 51)

The keys of the tags that you want to remove from the resource.

Type: Array of strings

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

Required: Yes

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 68).

AccessDeniedException

You do not have sufficient permission to perform this action.

參考文獻

相關文件

Table 1: Characteristics of interviewed visitors, by place of residence Table 2: Average length of stay of interviewed visitors, by place of residence Table 3: Per-capita spending

Let us suppose that the source information is in the form of strings of length k, over the input alphabet I of size r and that the r-ary block code C consist of codewords of

The algorithms have potential applications in several ar- eas of biomolecular sequence analysis including locating GC-rich regions in a genomic DNA sequence, post-processing

„ Indicate the type and format of information included in the message body. „ Content-Length: the length of the message

Microphone and 600 ohm line conduits shall be mechanically and electrically connected to receptacle boxes and electrically grounded to the audio system ground point.. Lines in

Every sequence of n 2 +1 distinct real numbers contains a subsequence of length n+1 that is either strictly increasing or strictly decreasing.

The algorithm consists of merging pairs of 1-item sequences to form sorted sequences of length 2, merging pairs of sequences of length 2 to form sorted sequences of length 4, and so

For all pairs of nodes, the diameter measures the maximal length of shortest paths, while the wide di- ameter measures the maximal length of best containers.. In practical