ARCRegionswitch / Paginator / ListServiceQuotaWarnings
ListServiceQuotaWarnings¶
- class ARCRegionswitch.Paginator.ListServiceQuotaWarnings¶
paginator = client.get_paginator('list_service_quota_warnings')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
ARCRegionswitch.Client.list_service_quota_warnings().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( planArns=[ 'string', ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
planArns (list) –
The Amazon Resource Names (ARNs) of the plans to return service quota warnings for. You can specify up to 100 plan ARNs. Region switch ignores any plan ARN that you can’t access. If you omit this parameter, Region switch returns the warnings for all of your accessible plans.
(string) –
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'serviceQuotaWarningSummaries': [ { 'accountId': 'string', 'quotaRegion': 'string', 'serviceCode': 'string', 'quotaCode': 'string', 'quotaName': 'string', 'status': 'pending'|'denied'|'insufficientPermissions'|'maxRegionSwitchRequestsExceeded'|'maxAccountRequestsExceeded', 'planArn': 'string', 'requestId': 'string', 'caseId': 'string', 'warningMessage': 'string', 'lastCheckedAt': datetime(2015, 1, 1), 'warningCreatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
serviceQuotaWarningSummaries (list) –
The service quota warnings for the plans that you can access.
(dict) –
A service quota warning for a plan. Region switch creates a warning when the applied quota value in one Region of a plan is lower than the value for the matching resource in another Region or account in the plan, or when it can’t complete a service quota check.
accountId (string) –
The Amazon Web Services account ID that owns the plan that the warning applies to.
quotaRegion (string) –
The Amazon Web Services Region that the quota applies to.
serviceCode (string) –
The service code of the service that the quota belongs to, as defined in Service Quotas. For example,
ec2.quotaCode (string) –
The quota code of the quota that the warning applies to, as defined in Service Quotas.
quotaName (string) –
The name of the quota that the warning applies to, as defined in Service Quotas.
status (string) –
The status of the service quota warning.
planArn (string) –
The Amazon Resource Name (ARN) of the plan that the warning applies to.
requestId (string) –
The ID of the quota increase request that Region switch submitted, if it submitted one for this quota.
caseId (string) –
The ID of the support case associated with the quota increase request, if Region switch submitted one for this quota.
warningMessage (string) –
A message that describes the service quota warning.
lastCheckedAt (datetime) –
The time (UTC) when Region switch last checked this quota.
warningCreatedAt (datetime) –
The time (UTC) when Region switch created this warning.
NextToken (string) –
A token to resume pagination.