amazonka-service-quotas-2.0: Amazon Quotas SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ServiceQuotas.Lens

Description

 
Synopsis

Operations

AssociateServiceQuotaTemplate

DeleteServiceQuotaIncreaseRequestFromTemplate

DisassociateServiceQuotaTemplate

GetAWSDefaultServiceQuota

GetAssociationForServiceQuotaTemplate

getAssociationForServiceQuotaTemplateResponse_serviceQuotaTemplateAssociationStatus :: Lens' GetAssociationForServiceQuotaTemplateResponse (Maybe ServiceQuotaTemplateAssociationStatus) Source #

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

GetRequestedServiceQuotaChange

GetServiceQuota

GetServiceQuotaIncreaseRequestFromTemplate

ListAWSDefaultServiceQuotas

listAWSDefaultServiceQuotas_maxResults :: Lens' ListAWSDefaultServiceQuotas (Maybe Natural) Source #

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.

listAWSDefaultServiceQuotasResponse_nextToken :: Lens' ListAWSDefaultServiceQuotasResponse (Maybe Text) Source #

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

ListRequestedServiceQuotaChangeHistory

listRequestedServiceQuotaChangeHistory_maxResults :: Lens' ListRequestedServiceQuotaChangeHistory (Maybe Natural) Source #

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.

listRequestedServiceQuotaChangeHistoryResponse_nextToken :: Lens' ListRequestedServiceQuotaChangeHistoryResponse (Maybe Text) Source #

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

ListRequestedServiceQuotaChangeHistoryByQuota

listRequestedServiceQuotaChangeHistoryByQuota_maxResults :: Lens' ListRequestedServiceQuotaChangeHistoryByQuota (Maybe Natural) Source #

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.

listRequestedServiceQuotaChangeHistoryByQuotaResponse_nextToken :: Lens' ListRequestedServiceQuotaChangeHistoryByQuotaResponse (Maybe Text) Source #

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

ListServiceQuotaIncreaseRequestsInTemplate

listServiceQuotaIncreaseRequestsInTemplate_maxResults :: Lens' ListServiceQuotaIncreaseRequestsInTemplate (Maybe Natural) Source #

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.

listServiceQuotaIncreaseRequestsInTemplateResponse_nextToken :: Lens' ListServiceQuotaIncreaseRequestsInTemplateResponse (Maybe Text) Source #

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

ListServiceQuotas

listServiceQuotas_maxResults :: Lens' ListServiceQuotas (Maybe Natural) Source #

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.

listServiceQuotas_nextToken :: Lens' ListServiceQuotas (Maybe Text) Source #

The token for the next page of results.

listServiceQuotasResponse_nextToken :: Lens' ListServiceQuotasResponse (Maybe Text) Source #

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

ListServices

listServices_maxResults :: Lens' ListServices (Maybe Natural) Source #

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.

listServices_nextToken :: Lens' ListServices (Maybe Text) Source #

The token for the next page of results.

listServicesResponse_nextToken :: Lens' ListServicesResponse (Maybe Text) Source #

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

ListTagsForResource

listTagsForResource_resourceARN :: Lens' ListTagsForResource Text Source #

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.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag]) Source #

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

PutServiceQuotaIncreaseRequestIntoTemplate

RequestServiceQuotaIncrease

TagResource

tagResource_resourceARN :: Lens' TagResource Text Source #

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.

tagResource_tags :: Lens' TagResource (NonEmpty Tag) Source #

The tags that you want to add to the resource.

UntagResource

untagResource_resourceARN :: Lens' UntagResource Text Source #

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.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

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

Types

ErrorReason

errorReason_errorCode :: Lens' ErrorReason (Maybe ErrorCode) Source #

Service Quotas returns the following error values:

  • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the service or quota.
  • DEPENDENCY_THROTTLING_ERROR - The service is throttling Service Quotas.
  • DEPENDENCY_SERVICE_ERROR - The service is not available.
  • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

MetricInfo

metricInfo_metricDimensions :: Lens' MetricInfo (Maybe (HashMap Text Text)) Source #

The metric dimension. This is a name/value pair that is part of the identity of a metric.

metricInfo_metricNamespace :: Lens' MetricInfo (Maybe Text) Source #

The namespace of the metric.

metricInfo_metricStatisticRecommendation :: Lens' MetricInfo (Maybe Text) Source #

The metric statistic that we recommend you use when determining quota usage.

QuotaPeriod

RequestedServiceQuotaChange

requestedServiceQuotaChange_created :: Lens' RequestedServiceQuotaChange (Maybe UTCTime) Source #

The date and time when the quota increase request was received and the case ID was created.

ServiceInfo

ServiceQuota

serviceQuota_adjustable :: Lens' ServiceQuota (Maybe Bool) Source #

Indicates whether the quota value can be increased.

serviceQuota_errorReason :: Lens' ServiceQuota (Maybe ErrorReason) Source #

The error code and error reason.

serviceQuota_globalQuota :: Lens' ServiceQuota (Maybe Bool) Source #

Indicates whether the quota is global.

serviceQuota_quotaArn :: Lens' ServiceQuota (Maybe Text) Source #

The Amazon Resource Name (ARN) of the quota.

serviceQuota_unit :: Lens' ServiceQuota (Maybe Text) Source #

The unit of measurement.

serviceQuota_usageMetric :: Lens' ServiceQuota (Maybe MetricInfo) Source #

Information about the measurement.

ServiceQuotaIncreaseRequestInTemplate

Tag

tag_key :: Lens' Tag Text Source #

A string that contains a tag key. The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

tag_value :: Lens' Tag Text Source #

A string that contains an optional tag value. The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.