diff --git a/CHANGELOG.md b/CHANGELOG.md index 142be1087e7..30a325ae0f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +Release v1.52.4 (2024-05-07) +=== + +### Service Client Updates +* `service/b2bi`: Updates service documentation +* `service/budgets`: Updates service API and documentation + * This release adds tag support for budgets and budget actions. +* `service/resiliencehub`: Updates service API, documentation, and paginators +* `service/route53profiles`: Updates service API and documentation + Release v1.52.3 (2024-05-06) === diff --git a/aws/version.go b/aws/version.go index ca10db546dd..c6a231d33f3 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.52.3" +const SDKVersion = "1.52.4" diff --git a/models/apis/b2bi/2022-06-23/docs-2.json b/models/apis/b2bi/2022-06-23/docs-2.json index 5a0cb51ce4b..fe4214a6980 100644 --- a/models/apis/b2bi/2022-06-23/docs-2.json +++ b/models/apis/b2bi/2022-06-23/docs-2.json @@ -416,13 +416,13 @@ "MappingTemplate": { "base": null, "refs": { - "CreateTransformerRequest$mappingTemplate": "

Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

", - "CreateTransformerResponse$mappingTemplate": "

Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

", - "GetTransformerResponse$mappingTemplate": "

Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

", - "TestMappingRequest$mappingTemplate": "

Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

", - "TransformerSummary$mappingTemplate": "

Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

", - "UpdateTransformerRequest$mappingTemplate": "

Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

", - "UpdateTransformerResponse$mappingTemplate": "

Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

" + "CreateTransformerRequest$mappingTemplate": "

Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

", + "CreateTransformerResponse$mappingTemplate": "

Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

", + "GetTransformerResponse$mappingTemplate": "

Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

", + "TestMappingRequest$mappingTemplate": "

Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

", + "TransformerSummary$mappingTemplate": "

Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

", + "UpdateTransformerRequest$mappingTemplate": "

Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

", + "UpdateTransformerResponse$mappingTemplate": "

Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

" } }, "MaxResults": { diff --git a/models/apis/budgets/2016-10-20/api-2.json b/models/apis/budgets/2016-10-20/api-2.json index f182cebf27e..c15712ca860 100755 --- a/models/apis/budgets/2016-10-20/api-2.json +++ b/models/apis/budgets/2016-10-20/api-2.json @@ -5,6 +5,7 @@ "endpointPrefix":"budgets", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceAbbreviation":"AWSBudgets", "serviceFullName":"AWS Budgets", "serviceId":"Budgets", @@ -27,7 +28,8 @@ {"shape":"CreationLimitExceededException"}, {"shape":"DuplicateRecordException"}, {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"} + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"} ] }, "CreateBudgetAction":{ @@ -45,7 +47,8 @@ {"shape":"DuplicateRecordException"}, {"shape":"NotFoundException"}, {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"} + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"} ] }, "CreateNotification":{ @@ -338,6 +341,55 @@ {"shape":"ThrottlingException"} ] }, + "ListTagsForResource":{ + "name":"ListTagsForResource", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListTagsForResourceRequest"}, + "output":{"shape":"ListTagsForResourceResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"NotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidParameterException"} + ] + }, + "TagResource":{ + "name":"TagResource", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"TagResourceRequest"}, + "output":{"shape":"TagResourceResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"NotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidParameterException"} + ] + }, + "UntagResource":{ + "name":"UntagResource", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UntagResourceRequest"}, + "output":{"shape":"UntagResourceResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"NotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidParameterException"} + ] + }, "UpdateBudget":{ "name":"UpdateBudget", "http":{ @@ -538,6 +590,11 @@ "max":60, "min":1 }, + "AmazonResourceName":{ + "type":"string", + "max":1011, + "min":1 + }, "ApprovalModel":{ "type":"string", "enum":[ @@ -586,7 +643,7 @@ "type":"string", "max":100, "min":1, - "pattern":"^(?![^:\\\\]*/action/)[^:\\\\]+$" + "pattern":"^(?![^:\\\\]*/action/|(?i).*.*)[^:\\\\]+$" }, "BudgetNotificationsForAccount":{ "type":"structure", @@ -697,7 +754,8 @@ "Definition":{"shape":"Definition"}, "ExecutionRoleArn":{"shape":"RoleArn"}, "ApprovalModel":{"shape":"ApprovalModel"}, - "Subscribers":{"shape":"Subscribers"} + "Subscribers":{"shape":"Subscribers"}, + "ResourceTags":{"shape":"ResourceTagList"} } }, "CreateBudgetActionResponse":{ @@ -722,7 +780,8 @@ "members":{ "AccountId":{"shape":"AccountId"}, "Budget":{"shape":"Budget"}, - "NotificationsWithSubscribers":{"shape":"NotificationWithSubscribersList"} + "NotificationsWithSubscribers":{"shape":"NotificationWithSubscribersList"}, + "ResourceTags":{"shape":"ResourceTagList"} } }, "CreateBudgetResponse":{ @@ -1208,6 +1267,19 @@ }, "exception":true }, + "ListTagsForResourceRequest":{ + "type":"structure", + "required":["ResourceARN"], + "members":{ + "ResourceARN":{"shape":"AmazonResourceName"} + } + }, + "ListTagsForResourceResponse":{ + "type":"structure", + "members":{ + "ResourceTags":{"shape":"ResourceTagList"} + } + }, "MaxResults":{ "type":"integer", "box":true, @@ -1327,6 +1399,39 @@ }, "exception":true }, + "ResourceTag":{ + "type":"structure", + "required":[ + "Key", + "Value" + ], + "members":{ + "Key":{"shape":"ResourceTagKey"}, + "Value":{"shape":"ResourceTagValue"} + } + }, + "ResourceTagKey":{ + "type":"string", + "max":128, + "min":1 + }, + "ResourceTagKeyList":{ + "type":"list", + "member":{"shape":"ResourceTagKey"}, + "max":200, + "min":0 + }, + "ResourceTagList":{ + "type":"list", + "member":{"shape":"ResourceTag"}, + "max":200, + "min":0 + }, + "ResourceTagValue":{ + "type":"string", + "max":256, + "min":0 + }, "Role":{ "type":"string", "max":576, @@ -1356,6 +1461,13 @@ "TargetIds":{"shape":"TargetIds"} } }, + "ServiceQuotaExceededException":{ + "type":"structure", + "members":{ + "Message":{"shape":"errorMessage"} + }, + "exception":true + }, "Spend":{ "type":"structure", "required":[ @@ -1411,6 +1523,22 @@ "EMAIL" ] }, + "TagResourceRequest":{ + "type":"structure", + "required":[ + "ResourceARN", + "ResourceTags" + ], + "members":{ + "ResourceARN":{"shape":"AmazonResourceName"}, + "ResourceTags":{"shape":"ResourceTagList"} + } + }, + "TagResourceResponse":{ + "type":"structure", + "members":{ + } + }, "TargetId":{ "type":"string", "max":68, @@ -1459,6 +1587,22 @@ "min":1, "pattern":".*" }, + "UntagResourceRequest":{ + "type":"structure", + "required":[ + "ResourceARN", + "ResourceTagKeys" + ], + "members":{ + "ResourceARN":{"shape":"AmazonResourceName"}, + "ResourceTagKeys":{"shape":"ResourceTagKeyList"} + } + }, + "UntagResourceResponse":{ + "type":"structure", + "members":{ + } + }, "UpdateBudgetActionRequest":{ "type":"structure", "required":[ diff --git a/models/apis/budgets/2016-10-20/docs-2.json b/models/apis/budgets/2016-10-20/docs-2.json index 9e1e6a0e9ef..00bc54808bf 100755 --- a/models/apis/budgets/2016-10-20/docs-2.json +++ b/models/apis/budgets/2016-10-20/docs-2.json @@ -21,6 +21,9 @@ "DescribeNotificationsForBudget": "

Lists the notifications that are associated with a budget.

", "DescribeSubscribersForNotification": "

Lists the subscribers that are associated with a notification.

", "ExecuteBudgetAction": "

Executes a budget action.

", + "ListTagsForResource": "

Lists tags associated with a budget or budget action resource.

", + "TagResource": "

Creates tags for a budget or budget action resource.

", + "UntagResource": "

Deletes tags associated with a budget or budget action resource.

", "UpdateBudget": "

Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend. When you modify a budget, the calculatedSpend drops to zero until Amazon Web Services has new usage data to use for forecasting.

Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

", "UpdateBudgetAction": "

Updates a budget action.

", "UpdateNotification": "

Updates a notification.

", @@ -149,6 +152,14 @@ "HistoricalOptions$LookBackAvailablePeriods": "

The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current BudgetLimit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit.

For example, if you set BudgetAdjustmentPeriod as 4 quarters, but your account had no cost data in the first quarter, then only the last three quarters are included in the calculation. In this scenario, LookBackAvailablePeriods returns 3.

You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the BudgetAdjustmentPeriod and your historical cost data.

" } }, + "AmazonResourceName": { + "base": null, + "refs": { + "ListTagsForResourceRequest$ResourceARN": "

The unique identifier for the resource.

", + "TagResourceRequest$ResourceARN": "

The unique identifier for the resource.

", + "UntagResourceRequest$ResourceARN": "

The unique identifier for the resource.

" + } + }, "ApprovalModel": { "base": null, "refs": { @@ -268,7 +279,7 @@ "CostFilters": { "base": "

A map that represents the cost filters that are applied to the budget.

", "refs": { - "Budget$CostFilters": "

The cost filters, such as Region, Service, member account, Tag, or Cost Category, that are applied to a budget.

Amazon Web Services Budgets supports the following services as a Service filter for RI budgets:

", + "Budget$CostFilters": "

The cost filters, such as Region, Service, LinkedAccount, Tag, or CostCategory, that are applied to a budget.

Amazon Web Services Budgets supports the following services as a Service filter for RI budgets:

", "BudgetPerformanceHistory$CostFilters": "

The history of the cost filters for a budget during the specified time period.

" } }, @@ -602,6 +613,16 @@ "refs": { } }, + "ListTagsForResourceRequest": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceResponse": { + "base": null, + "refs": { + } + }, "MaxResults": { "base": "

An integer that represents how many entries a paginated response contains. The maximum is 100.

", "refs": { @@ -733,8 +754,42 @@ } }, "ResourceLockedException": { - "base": "

The request was received and recognized by the server, but the server rejected that particular method for the requested resource.

", + "base": "

The request was received and recognized by the server, but the server rejected that particular method for the requested resource.

", + "refs": { + } + }, + "ResourceTag": { + "base": "

The tag structure that contains a tag key and value.

", + "refs": { + "ResourceTagList$member": null + } + }, + "ResourceTagKey": { + "base": null, + "refs": { + "ResourceTag$Key": "

The key that's associated with the tag.

", + "ResourceTagKeyList$member": null + } + }, + "ResourceTagKeyList": { + "base": null, + "refs": { + "UntagResourceRequest$ResourceTagKeys": "

The key that's associated with the tag.

" + } + }, + "ResourceTagList": { + "base": null, "refs": { + "CreateBudgetActionRequest$ResourceTags": "

An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource.

", + "CreateBudgetRequest$ResourceTags": "

An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.

", + "ListTagsForResourceResponse$ResourceTags": "

The tags associated with the resource.

", + "TagResourceRequest$ResourceTags": "

The tags associated with the resource.

" + } + }, + "ResourceTagValue": { + "base": null, + "refs": { + "ResourceTag$Value": "

The value that's associated with the tag.

" } }, "Role": { @@ -763,6 +818,11 @@ "Definition$ScpActionDefinition": "

The service control policies (SCPs) action definition details.

" } }, + "ServiceQuotaExceededException": { + "base": "

You've reached the limit on the number of tags you can associate with a resource.

", + "refs": { + } + }, "Spend": { "base": "

The amount of cost or usage that's measured for a budget.

Cost example: A Spend for 3 USD of costs has the following parameters:

Usage example: A Spend for 3 GB of S3 usage has the following parameters:

", "refs": { @@ -813,6 +873,16 @@ "Subscriber$SubscriptionType": "

The type of notification that Amazon Web Services sends to a subscriber.

" } }, + "TagResourceRequest": { + "base": null, + "refs": { + } + }, + "TagResourceResponse": { + "base": null, + "refs": { + } + }, "TargetId": { "base": null, "refs": { @@ -859,6 +929,16 @@ "Spend$Unit": "

The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.

" } }, + "UntagResourceRequest": { + "base": null, + "refs": { + } + }, + "UntagResourceResponse": { + "base": null, + "refs": { + } + }, "UpdateBudgetActionRequest": { "base": null, "refs": { @@ -923,6 +1003,7 @@ "InvalidParameterException$Message": null, "NotFoundException$Message": null, "ResourceLockedException$Message": null, + "ServiceQuotaExceededException$Message": null, "ThrottlingException$Message": null } } diff --git a/models/apis/budgets/2016-10-20/endpoint-rule-set-1.json b/models/apis/budgets/2016-10-20/endpoint-rule-set-1.json index c7e70d266ca..8c740ff42f1 100644 --- a/models/apis/budgets/2016-10-20/endpoint-rule-set-1.json +++ b/models/apis/budgets/2016-10-20/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -235,7 +233,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -270,7 +267,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -281,14 +277,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -302,14 +300,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -318,11 +314,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -333,14 +329,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -354,7 +352,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -374,7 +371,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -385,14 +381,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -403,9 +401,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/resiliencehub/2020-04-30/api-2.json b/models/apis/resiliencehub/2020-04-30/api-2.json index caffe5bcfe1..e91a0ed7795 100644 --- a/models/apis/resiliencehub/2020-04-30/api-2.json +++ b/models/apis/resiliencehub/2020-04-30/api-2.json @@ -5,6 +5,7 @@ "endpointPrefix":"resiliencehub", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"AWS Resilience Hub", "serviceId":"resiliencehub", "signatureVersion":"v4", @@ -472,6 +473,22 @@ {"shape":"AccessDeniedException"} ] }, + "ListAppAssessmentResourceDrifts":{ + "name":"ListAppAssessmentResourceDrifts", + "http":{ + "method":"POST", + "requestUri":"/list-app-assessment-resource-drifts", + "responseCode":200 + }, + "input":{"shape":"ListAppAssessmentResourceDriftsRequest"}, + "output":{"shape":"ListAppAssessmentResourceDriftsResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ] + }, "ListAppAssessments":{ "name":"ListAppAssessments", "http":{ @@ -2002,7 +2019,11 @@ }, "DifferenceType":{ "type":"string", - "enum":["NotEqual"] + "enum":[ + "NotEqual", + "Added", + "Removed" + ] }, "DisruptionCompliance":{ "type":"structure", @@ -2055,7 +2076,10 @@ }, "DriftType":{ "type":"string", - "enum":["ApplicationCompliance"] + "enum":[ + "ApplicationCompliance", + "AppComponentResiliencyComplianceStatus" + ] }, "EksNamespace":{ "type":"string", @@ -2271,6 +2295,23 @@ "nextToken":{"shape":"NextToken"} } }, + "ListAppAssessmentResourceDriftsRequest":{ + "type":"structure", + "required":["assessmentArn"], + "members":{ + "assessmentArn":{"shape":"Arn"}, + "maxResults":{"shape":"MaxResults"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListAppAssessmentResourceDriftsResponse":{ + "type":"structure", + "required":["resourceDrifts"], + "members":{ + "nextToken":{"shape":"NextToken"}, + "resourceDrifts":{"shape":"ResourceDriftList"} + } + }, "ListAppAssessmentsRequest":{ "type":"structure", "members":{ @@ -2521,7 +2562,6 @@ }, "ListRecommendationTemplatesRequest":{ "type":"structure", - "required":["assessmentArn"], "members":{ "assessmentArn":{ "shape":"Arn", @@ -3026,6 +3066,20 @@ "status":{"shape":"ResourceResolutionStatusType"} } }, + "ResourceDrift":{ + "type":"structure", + "members":{ + "appArn":{"shape":"Arn"}, + "appVersion":{"shape":"EntityVersion"}, + "diffType":{"shape":"DifferenceType"}, + "referenceId":{"shape":"EntityId"}, + "resourceIdentifier":{"shape":"ResourceIdentifier"} + } + }, + "ResourceDriftList":{ + "type":"list", + "member":{"shape":"ResourceDrift"} + }, "ResourceError":{ "type":"structure", "members":{ @@ -3049,6 +3103,13 @@ "type":"string", "pattern":".*" }, + "ResourceIdentifier":{ + "type":"structure", + "members":{ + "logicalResourceId":{"shape":"LogicalResourceId"}, + "resourceType":{"shape":"String255"} + } + }, "ResourceImportStatusType":{ "type":"string", "enum":[ @@ -3269,7 +3330,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^(?!aws:)[^\\x00-\\x1f\\x22]+$" + "pattern":"^[^\\x00-\\x1f\\x22]+$" }, "TagKeyList":{ "type":"list", diff --git a/models/apis/resiliencehub/2020-04-30/docs-2.json b/models/apis/resiliencehub/2020-04-30/docs-2.json index e25aba96728..c089d948297 100644 --- a/models/apis/resiliencehub/2020-04-30/docs-2.json +++ b/models/apis/resiliencehub/2020-04-30/docs-2.json @@ -28,6 +28,7 @@ "ImportResourcesToDraftAppVersion": "

Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.

", "ListAlarmRecommendations": "

Lists the alarm recommendations for an Resilience Hub application.

", "ListAppAssessmentComplianceDrifts": "

List of compliance drifts that were detected while running an assessment.

", + "ListAppAssessmentResourceDrifts": "

Indicates the list of resource drifts that were detected while running an assessment.

", "ListAppAssessments": "

Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.

", "ListAppComponentCompliances": "

Lists the compliances for an Resilience Hub Application Component.

", "ListAppComponentRecommendations": "

Lists the recommendations for an Resilience Hub Application Component.

", @@ -308,6 +309,7 @@ "ImportResourcesToDraftAppVersionResponse$appArn": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

", "ListAlarmRecommendationsRequest$assessmentArn": "

Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

", "ListAppAssessmentComplianceDriftsRequest$assessmentArn": "

Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

", + "ListAppAssessmentResourceDriftsRequest$assessmentArn": "

Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

", "ListAppAssessmentsRequest$appArn": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

", "ListAppComponentCompliancesRequest$assessmentArn": "

Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

", "ListAppComponentRecommendationsRequest$assessmentArn": "

Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

", @@ -336,6 +338,7 @@ "ResiliencyPolicy$policyArn": "

Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

", "ResolveAppVersionResourcesRequest$appArn": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

", "ResolveAppVersionResourcesResponse$appArn": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

", + "ResourceDrift$appArn": "

Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

", "StartAppAssessmentRequest$appArn": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

", "TagResourceRequest$resourceArn": "

Amazon Resource Name (ARN) of the resource.

", "UntagResourceRequest$resourceArn": "

Amazon Resource Name (ARN) of the resource.

", @@ -790,7 +793,8 @@ "DifferenceType": { "base": null, "refs": { - "ComplianceDrift$diffType": "

Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports only NotEqual difference type.

" + "ComplianceDrift$diffType": "

Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports only NotEqual difference type.

", + "ResourceDrift$diffType": "

Indicates if the resource was added or removed.

" } }, "DisruptionCompliance": { @@ -838,8 +842,8 @@ "Cost$amount": "

The cost amount.

", "DisruptionResiliencyScore$value": null, "ResiliencyScore$score": "

The outage score for a valid key.

", - "ScoringComponentResiliencyScore$possibleScore": "

Maximum possible score that can be obtained for the scoring component. If the Possible score is 20 points, it indicates the maximum possible score you can achieve for your application when you run a new assessment after implementing all the Resilience Hub recommendations.

", - "ScoringComponentResiliencyScore$score": "

Resiliency score of your application.

" + "ScoringComponentResiliencyScore$possibleScore": "

Maximum possible score that can be obtained for the scoring component.

For example, if the possibleScore is 20 points, it indicates the maximum possible score you can achieve for the scoring component when you run a new assessment after implementing all the Resilience Hub recommendations.

", + "ScoringComponentResiliencyScore$score": "

Resiliency score points given for the scoring component. The score is always less than or equal to the possibleScore.

" } }, "DriftStatus": { @@ -911,6 +915,7 @@ "AppComponentCompliance$appComponentName": "

Name of the Application Component.

", "ComponentRecommendation$appComponentName": "

Name of the Application Component.

", "ConfigRecommendation$appComponentName": "

Name of the Application Component.

", + "ResourceDrift$referenceId": "

Reference identifier of the resource drift.

", "SopRecommendation$appComponentName": "

Name of the Application Component.

", "TestRecommendation$appComponentName": "

Name of the Application Component.

" } @@ -940,9 +945,9 @@ "PhysicalResource$resourceName": "

The name of the resource.

", "RecommendationTemplate$name": "

Name for the recommendation template.

", "ResiliencyPolicy$policyName": "

The name of the policy

", - "ResourceMapping$appRegistryAppName": "

The name of the application this resource is mapped to.

", - "ResourceMapping$resourceGroupName": "

Name of the resource group that the resource is mapped to.

", - "ResourceMapping$resourceName": "

Name of the resource that the resource is mapped to.

", + "ResourceMapping$appRegistryAppName": "

Name of the application this resource is mapped to when the mappingType is AppRegistryApp.

", + "ResourceMapping$resourceGroupName": "

Name of the Resource Groups that this resource is mapped to when the mappingType is ResourceGroup.

", + "ResourceMapping$resourceName": "

Name of the resource that this resource is mapped to when the mappingType is Resource.

", "StartAppAssessmentRequest$assessmentName": "

The name for the assessment.

", "UpdateAppVersionResourceRequest$resourceName": "

Name of the resource.

", "UpdateResiliencyPolicyRequest$policyName": "

The name of the policy

" @@ -995,6 +1000,7 @@ "RemoveDraftAppVersionResourceMappingsResponse$appVersion": "

The version of the application.

", "ResolveAppVersionResourcesRequest$appVersion": "

The version of the application.

", "ResolveAppVersionResourcesResponse$appVersion": "

The version of the application.

", + "ResourceDrift$appVersion": "

Version of the application whose resources have drifted.

", "StartAppAssessmentRequest$appVersion": "

The version of the application.

", "UpdateAppVersionAppComponentResponse$appVersion": "

Resilience Hub application version.

", "UpdateAppVersionResourceResponse$appVersion": "

Resilience Hub application version.

", @@ -1122,6 +1128,16 @@ "refs": { } }, + "ListAppAssessmentResourceDriftsRequest": { + "base": null, + "refs": { + } + }, + "ListAppAssessmentResourceDriftsResponse": { + "base": null, + "refs": { + } + }, "ListAppAssessmentsRequest": { "base": null, "refs": { @@ -1289,6 +1305,7 @@ "DeleteAppVersionResourceRequest$logicalResourceId": "

Logical identifier of the resource.

", "DescribeAppVersionResourceRequest$logicalResourceId": "

Logical identifier of the resource.

", "PhysicalResource$logicalResourceId": "

Logical identifier of the resource.

", + "ResourceIdentifier$logicalResourceId": "

Logical identifier of the drifted resource.

", "UnsupportedResource$logicalResourceId": "

Logical resource identifier for the unsupported resource.

", "UpdateAppVersionResourceRequest$logicalResourceId": "

Logical identifier of the resource.

" } @@ -1296,8 +1313,8 @@ "Long": { "base": null, "refs": { - "ScoringComponentResiliencyScore$excludedCount": "

Number of recommendations that were excluded from the assessment.

For example, if the Excluded count for Resilience Hub recommended Amazon CloudWatch alarms is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.

", - "ScoringComponentResiliencyScore$outstandingCount": "

Number of issues that must be resolved to obtain the maximum possible score for the scoring component. For SOPs, alarms, and FIS experiments, these are the number of recommendations that must be implemented. For compliance, it is the number of Application Components that has breached the resiliency policy.

For example, if the Outstanding count for Resilience Hub recommended Amazon CloudWatch alarms is 5, it indicates that 5 Amazon CloudWatch alarms must be fixed to achieve the maximum possible score.

" + "ScoringComponentResiliencyScore$excludedCount": "

Number of recommendations that were excluded from the assessment.

For example, if the excludedCount for Alarms coverage scoring component is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.

", + "ScoringComponentResiliencyScore$outstandingCount": "

Number of recommendations that must be implemented to obtain the maximum possible score for the scoring component. For SOPs, alarms, and tests, these are the number of recommendations that must be implemented. For compliance, these are the number of Application Components that have breached the resiliency policy.

For example, if the outstandingCount for Alarms coverage scoring component is 5, it indicates that 5 Amazon CloudWatch alarms need to be implemented to achieve the maximum possible score.

" } }, "LongOptional": { @@ -1312,6 +1329,7 @@ "refs": { "ListAlarmRecommendationsRequest$maxResults": "

Maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

", "ListAppAssessmentComplianceDriftsRequest$maxResults": "

Indicates the maximum number of applications requested.

", + "ListAppAssessmentResourceDriftsRequest$maxResults": "

Indicates the maximum number of drift results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

", "ListAppAssessmentsRequest$maxResults": "

Maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

", "ListAppComponentCompliancesRequest$maxResults": "

Maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

", "ListAppComponentRecommendationsRequest$maxResults": "

Maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

", @@ -1336,6 +1354,8 @@ "ListAlarmRecommendationsResponse$nextToken": "

Token for the next set of results, or null if there are no more results.

", "ListAppAssessmentComplianceDriftsRequest$nextToken": "

Indicates the unique token number of the next application to be checked for compliance and regulatory requirements from the list of applications.

", "ListAppAssessmentComplianceDriftsResponse$nextToken": "

Token number of the next application to be checked for compliance and regulatory requirements from the list of applications.

", + "ListAppAssessmentResourceDriftsRequest$nextToken": "

Null, or the token from a previous call to get the next set of results.

", + "ListAppAssessmentResourceDriftsResponse$nextToken": "

Null, or the token from a previous call to get the next set of results.

", "ListAppAssessmentsRequest$nextToken": "

Null, or the token from a previous call to get the next set of results.

", "ListAppAssessmentsResponse$nextToken": "

Token for the next set of results, or null if there are no more results.

", "ListAppComponentCompliancesRequest$nextToken": "

Null, or the token from a previous call to get the next set of results.

", @@ -1577,6 +1597,18 @@ "refs": { } }, + "ResourceDrift": { + "base": "

Indicates the resources that have drifted in the current application version.

", + "refs": { + "ResourceDriftList$member": null + } + }, + "ResourceDriftList": { + "base": null, + "refs": { + "ListAppAssessmentResourceDriftsResponse$resourceDrifts": "

Indicates all the resource drifts detected for an assessed entity.

" + } + }, "ResourceError": { "base": "

Defines application resource errors.

", "refs": { @@ -1602,6 +1634,12 @@ "ResourceNotFoundException$resourceId": "

The identifier of the resource that the exception applies to.

" } }, + "ResourceIdentifier": { + "base": "

Defines a resource identifier for the drifted resource.

", + "refs": { + "ResourceDrift$resourceIdentifier": "

Identifier of the drifted resource.

" + } + }, "ResourceImportStatusType": { "base": null, "refs": { @@ -1633,7 +1671,7 @@ "base": null, "refs": { "AppInputSource$importType": "

The resource type of the input source.

", - "ResourceMapping$mappingType": "

Specifies the type of resource mapping.

AppRegistryApp

The resource is mapped to another application. The name of the application is contained in the appRegistryAppName property.

CfnStack

The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the logicalStackName property.

Resource

The resource is mapped to another resource. The name of the resource is contained in the resourceName property.

ResourceGroup

The resource is mapped to Resource Groups. The name of the resource group is contained in the resourceGroupName property.

" + "ResourceMapping$mappingType": "

Specifies the type of resource mapping.

" } }, "ResourceNotFoundException": { @@ -1802,14 +1840,15 @@ "LogicalResourceId$identifier": "

Identifier of the resource.

", "LogicalResourceId$logicalStackName": "

The name of the CloudFormation stack this resource belongs to.

", "LogicalResourceId$terraformSourceName": "

The name of the Terraform S3 state file this resource belongs to.

", - "PhysicalResource$resourceType": "

The type of resource.

", + "PhysicalResource$resourceType": "

Type of resource.

", "PhysicalResourceId$identifier": "

Identifier of the physical resource.

", "ResolveAppVersionResourcesResponse$resolutionId": "

The identifier for a specific resolution.

", "ResourceError$logicalResourceId": "

Identifier of the logical resource.

", "ResourceError$physicalResourceId": "

Identifier of the physical resource.

", - "ResourceMapping$eksSourceName": "

Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.

This parameter accepts values in \"eks-cluster/namespace\" format.

", - "ResourceMapping$logicalStackName": "

The name of the CloudFormation stack this resource is mapped to.

", - "ResourceMapping$terraformSourceName": "

The short name of the Terraform source.

", + "ResourceIdentifier$resourceType": "

Type of the drifted resource.

", + "ResourceMapping$eksSourceName": "

Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the mappingType is EKS.

This parameter accepts values in \"eks-cluster/namespace\" format.

", + "ResourceMapping$logicalStackName": "

Name of the CloudFormation stack this resource is mapped to when the mappingType is CfnStack.

", + "ResourceMapping$terraformSourceName": "

Name of the Terraform source that this resource is mapped to when the mappingType is Terraform.

", "String255List$member": null, "UnsupportedResource$resourceType": "

The type of resource.

", "UnsupportedResource$unsupportedResourceStatus": "

The status of the unsupported resource.

", diff --git a/models/apis/resiliencehub/2020-04-30/paginators-1.json b/models/apis/resiliencehub/2020-04-30/paginators-1.json index 6d700c46674..7267a01a28d 100644 --- a/models/apis/resiliencehub/2020-04-30/paginators-1.json +++ b/models/apis/resiliencehub/2020-04-30/paginators-1.json @@ -10,6 +10,12 @@ "output_token": "nextToken", "limit_key": "maxResults" }, + "ListAppAssessmentResourceDrifts": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "resourceDrifts" + }, "ListAppAssessments": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/models/apis/route53profiles/2018-05-10/api-2.json b/models/apis/route53profiles/2018-05-10/api-2.json index 023d7c96627..6da4b1ef7c9 100644 --- a/models/apis/route53profiles/2018-05-10/api-2.json +++ b/models/apis/route53profiles/2018-05-10/api-2.json @@ -5,6 +5,7 @@ "endpointPrefix":"route53profiles", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"Route 53 Profiles", "serviceId":"Route53Profiles", "signatureVersion":"v4", diff --git a/models/apis/route53profiles/2018-05-10/docs-2.json b/models/apis/route53profiles/2018-05-10/docs-2.json index 7d149411fe9..a05caf89f66 100644 --- a/models/apis/route53profiles/2018-05-10/docs-2.json +++ b/models/apis/route53profiles/2018-05-10/docs-2.json @@ -2,7 +2,7 @@ "version": "2.0", "service": "

With Amazon Route 53 Profiles you can share Route 53 configurations with VPCs and AWS accounts

", "operations": { - "AssociateProfile": "

Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with up to 5000 VPCs.

", + "AssociateProfile": "

Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with 1000 of VPCs (and you can request a higher quota). For more information, see https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities.

", "AssociateResourceToProfile": "

Associates a DNS reource configuration to a Route 53 Profile.

", "CreateProfile": "

Creates an empty Route 53 Profile.

", "DeleteProfile": "

Deletes the specified Route 53 Profile. Before you can delete a profile, you must first disassociate it from all VPCs.

", @@ -349,9 +349,9 @@ "ResourceProperties": { "base": null, "refs": { - "AssociateResourceToProfileRequest$ResourceProperties": "

If you are adding a DNS Firewall rule group, include also a priority in this format:

Key=FirewallRuleGroupPriority,Value=100

", + "AssociateResourceToProfileRequest$ResourceProperties": "

If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value.

The allowed values for priority are between 100 and 9900.

", "ProfileResourceAssociation$ResourceProperties": "

If the DNS resource is a DNS Firewall rule group, this indicates the priority.

", - "UpdateProfileResourceAssociationRequest$ResourceProperties": "

If you are adding a DNS Firewall rule group, include also a priority in this format:

Key=FirewallRuleGroupPriority,Value=100.

" + "UpdateProfileResourceAssociationRequest$ResourceProperties": "

If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value.

The allowed values for priority are between 100 and 9900.

" } }, "Rfc3339Timestamp": { diff --git a/service/b2bi/api.go b/service/b2bi/api.go index 7149b842376..97a0bd97f4e 100644 --- a/service/b2bi/api.go +++ b/service/b2bi/api.go @@ -3938,8 +3938,8 @@ type CreateTransformerInput struct { // FileFormat is a required field FileFormat *string `locationName:"fileFormat" type:"string" required:"true" enum:"FileFormat"` - // Specifies the name of the mapping template for the transformer. This template - // is used to convert the input document into the correct set of objects. + // Specifies the mapping template for the transformer. This template is used + // to map the parsed EDI file using JSONata or XSLT. // // MappingTemplate is a required field MappingTemplate *string `locationName:"mappingTemplate" type:"string" required:"true"` @@ -4075,8 +4075,8 @@ type CreateTransformerOutput struct { // FileFormat is a required field FileFormat *string `locationName:"fileFormat" type:"string" required:"true" enum:"FileFormat"` - // Returns the name of the mapping template for the transformer. This template - // is used to convert the input document into the correct set of objects. + // Returns the mapping template for the transformer. This template is used to + // map the parsed EDI file using JSONata or XSLT. // // MappingTemplate is a required field MappingTemplate *string `locationName:"mappingTemplate" type:"string" required:"true"` @@ -5316,8 +5316,8 @@ type GetTransformerOutput struct { // FileFormat is a required field FileFormat *string `locationName:"fileFormat" type:"string" required:"true" enum:"FileFormat"` - // Returns the name of the mapping template for the transformer. This template - // is used to convert the input document into the correct set of objects. + // Returns the mapping template for the transformer. This template is used to + // map the parsed EDI file using JSONata or XSLT. // // MappingTemplate is a required field MappingTemplate *string `locationName:"mappingTemplate" type:"string" required:"true"` @@ -6721,8 +6721,8 @@ type TestMappingInput struct { // InputFileContent is a required field InputFileContent *string `locationName:"inputFileContent" type:"string" required:"true"` - // Specifies the name of the mapping template for the transformer. This template - // is used to convert the input document into the correct set of objects. + // Specifies the mapping template for the transformer. This template is used + // to map the parsed EDI file using JSONata or XSLT. // // MappingTemplate is a required field MappingTemplate *string `locationName:"mappingTemplate" type:"string" required:"true"` @@ -7027,8 +7027,8 @@ type TransformerSummary struct { // FileFormat is a required field FileFormat *string `locationName:"fileFormat" type:"string" required:"true" enum:"FileFormat"` - // Returns the name of the mapping template for the transformer. This template - // is used to convert the input document into the correct set of objects. + // Returns the mapping template for the transformer. This template is used to + // map the parsed EDI file using JSONata or XSLT. // // MappingTemplate is a required field MappingTemplate *string `locationName:"mappingTemplate" type:"string" required:"true"` @@ -7875,8 +7875,8 @@ type UpdateTransformerInput struct { // are JSON and XML. FileFormat *string `locationName:"fileFormat" type:"string" enum:"FileFormat"` - // Specifies the name of the mapping template for the transformer. This template - // is used to convert the input document into the correct set of objects. + // Specifies the mapping template for the transformer. This template is used + // to map the parsed EDI file using JSONata or XSLT. MappingTemplate *string `locationName:"mappingTemplate" type:"string"` // Specify a new name for the transformer, if you want to update it. @@ -7996,8 +7996,8 @@ type UpdateTransformerOutput struct { // FileFormat is a required field FileFormat *string `locationName:"fileFormat" type:"string" required:"true" enum:"FileFormat"` - // Returns the name of the mapping template for the transformer. This template - // is used to convert the input document into the correct set of objects. + // Returns the mapping template for the transformer. This template is used to + // map the parsed EDI file using JSONata or XSLT. // // MappingTemplate is a required field MappingTemplate *string `locationName:"mappingTemplate" type:"string" required:"true"` diff --git a/service/budgets/api.go b/service/budgets/api.go index 316dea2000d..cc65c308d80 100644 --- a/service/budgets/api.go +++ b/service/budgets/api.go @@ -91,6 +91,9 @@ func (c *Budgets) CreateBudgetRequest(input *CreateBudgetInput) (req *request.Re // - ThrottlingException // The number of API requests has exceeded the maximum allowed API request throttling // limit for the account. +// +// - ServiceQuotaExceededException +// You've reached the limit on the number of tags you can associate with a resource. func (c *Budgets) CreateBudget(input *CreateBudgetInput) (*CreateBudgetOutput, error) { req, out := c.CreateBudgetRequest(input) return out, req.Send() @@ -187,6 +190,9 @@ func (c *Budgets) CreateBudgetActionRequest(input *CreateBudgetActionInput) (req // - ThrottlingException // The number of API requests has exceeded the maximum allowed API request throttling // limit for the account. +// +// - ServiceQuotaExceededException +// You've reached the limit on the number of tags you can associate with a resource. func (c *Budgets) CreateBudgetAction(input *CreateBudgetActionInput) (*CreateBudgetActionOutput, error) { req, out := c.CreateBudgetActionRequest(input) return out, req.Send() @@ -2274,6 +2280,281 @@ func (c *Budgets) ExecuteBudgetActionWithContext(ctx aws.Context, input *Execute return out, req.Send() } +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTagsForResource for more information on using the ListTagsForResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *Budgets) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for AWS Budgets. +// +// Lists tags associated with a budget or budget action resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Budgets's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of API requests has exceeded the maximum allowed API request throttling +// limit for the account. +// +// - NotFoundException +// We can’t locate the resource that you specified. +// +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. +// +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. +// +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. +func (c *Budgets) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Budgets) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTagResource = "TagResource" + +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TagResource for more information on using the TagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *Budgets) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for AWS Budgets. +// +// Creates tags for a budget or budget action resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Budgets's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of API requests has exceeded the maximum allowed API request throttling +// limit for the account. +// +// - ServiceQuotaExceededException +// You've reached the limit on the number of tags you can associate with a resource. +// +// - NotFoundException +// We can’t locate the resource that you specified. +// +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. +// +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. +// +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. +func (c *Budgets) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Budgets) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UntagResource for more information on using the UntagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *Budgets) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UntagResource API operation for AWS Budgets. +// +// Deletes tags associated with a budget or budget action resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Budgets's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of API requests has exceeded the maximum allowed API request throttling +// limit for the account. +// +// - NotFoundException +// We can’t locate the resource that you specified. +// +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. +// +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. +// +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. +func (c *Budgets) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Budgets) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateBudget = "UpdateBudget" // UpdateBudgetRequest generates a "aws/request.Request" representing the @@ -3139,7 +3420,7 @@ type Budget struct { // The actual and forecasted cost or usage that the budget tracks. CalculatedSpend *CalculatedSpend `type:"structure"` - // The cost filters, such as Region, Service, member account, Tag, or Cost Category, + // The cost filters, such as Region, Service, LinkedAccount, Tag, or CostCategory, // that are applied to a budget. // // Amazon Web Services Budgets supports the following services as a Service @@ -3795,6 +4076,10 @@ type CreateBudgetActionInput struct { // NotificationType is a required field NotificationType *string `type:"string" required:"true" enum:"NotificationType"` + // An optional list of tags to associate with the specified budget action. Each + // tag consists of a key and a value, and each key must be unique for the resource. + ResourceTags []*ResourceTag `type:"list"` + // A list of subscribers. // // Subscribers is a required field @@ -3871,6 +4156,16 @@ func (s *CreateBudgetActionInput) Validate() error { invalidParams.AddNested("Definition", err.(request.ErrInvalidParams)) } } + if s.ResourceTags != nil { + for i, v := range s.ResourceTags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceTags", i), err.(request.ErrInvalidParams)) + } + } + } if s.Subscribers != nil { for i, v := range s.Subscribers { if v == nil { @@ -3936,6 +4231,12 @@ func (s *CreateBudgetActionInput) SetNotificationType(v string) *CreateBudgetAct return s } +// SetResourceTags sets the ResourceTags field's value. +func (s *CreateBudgetActionInput) SetResourceTags(v []*ResourceTag) *CreateBudgetActionInput { + s.ResourceTags = v + return s +} + // SetSubscribers sets the Subscribers field's value. func (s *CreateBudgetActionInput) SetSubscribers(v []*Subscriber) *CreateBudgetActionInput { s.Subscribers = v @@ -4018,6 +4319,10 @@ type CreateBudgetInput struct { // in your CreateBudget call, Amazon Web Services creates the notifications // and subscribers for you. NotificationsWithSubscribers []*NotificationWithSubscribers `type:"list"` + + // An optional list of tags to associate with the specified budget. Each tag + // consists of a key and a value, and each key must be unique for the resource. + ResourceTags []*ResourceTag `type:"list"` } // String returns the string representation. @@ -4065,6 +4370,16 @@ func (s *CreateBudgetInput) Validate() error { } } } + if s.ResourceTags != nil { + for i, v := range s.ResourceTags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceTags", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -4090,6 +4405,12 @@ func (s *CreateBudgetInput) SetNotificationsWithSubscribers(v []*NotificationWit return s } +// SetResourceTags sets the ResourceTags field's value. +func (s *CreateBudgetInput) SetResourceTags(v []*ResourceTag) *CreateBudgetInput { + s.ResourceTags = v + return s +} + // Response of CreateBudget type CreateBudgetOutput struct { _ struct{} `type:"structure"` @@ -6952,13 +7273,13 @@ func (s *InvalidParameterException) RequestID() string { return s.RespMetadata.RequestID } -// We can’t locate the resource that you specified. -type NotFoundException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +type ListTagsForResourceInput struct { + _ struct{} `type:"structure"` - // The error message the exception carries. - Message_ *string `locationName:"Message" type:"string"` + // The unique identifier for the resource. + // + // ResourceARN is a required field + ResourceARN *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -6966,7 +7287,7 @@ type NotFoundException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s NotFoundException) String() string { +func (s ListTagsForResourceInput) String() string { return awsutil.Prettify(s) } @@ -6975,15 +7296,95 @@ func (s NotFoundException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s NotFoundException) GoString() string { +func (s ListTagsForResourceInput) GoString() string { return s.String() } -func newErrorNotFoundException(v protocol.ResponseMetadata) error { - return &NotFoundException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.ResourceARN == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceARN")) + } + if s.ResourceARN != nil && len(*s.ResourceARN) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1)) } -} + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceARN sets the ResourceARN field's value. +func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput { + s.ResourceARN = &v + return s +} + +type ListTagsForResourceOutput struct { + _ struct{} `type:"structure"` + + // The tags associated with the resource. + ResourceTags []*ResourceTag `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceOutput) GoString() string { + return s.String() +} + +// SetResourceTags sets the ResourceTags field's value. +func (s *ListTagsForResourceOutput) SetResourceTags(v []*ResourceTag) *ListTagsForResourceOutput { + s.ResourceTags = v + return s +} + +// We can’t locate the resource that you specified. +type NotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // The error message the exception carries. + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NotFoundException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NotFoundException) GoString() string { + return s.String() +} + +func newErrorNotFoundException(v protocol.ResponseMetadata) error { + return &NotFoundException{ + RespMetadata: v, + } +} // Code returns the exception type name. func (s *NotFoundException) Code() string { @@ -7282,6 +7683,70 @@ func (s *ResourceLockedException) RequestID() string { return s.RespMetadata.RequestID } +// The tag structure that contains a tag key and value. +type ResourceTag struct { + _ struct{} `type:"structure"` + + // The key that's associated with the tag. + // + // Key is a required field + Key *string `min:"1" type:"string" required:"true"` + + // The value that's associated with the tag. + // + // Value is a required field + Value *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceTag) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceTag) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ResourceTag) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ResourceTag"} + if s.Key == nil { + invalidParams.Add(request.NewErrParamRequired("Key")) + } + if s.Key != nil && len(*s.Key) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Key", 1)) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetKey sets the Key field's value. +func (s *ResourceTag) SetKey(v string) *ResourceTag { + s.Key = &v + return s +} + +// SetValue sets the Value field's value. +func (s *ResourceTag) SetValue(v string) *ResourceTag { + s.Value = &v + return s +} + // The service control policies (SCP) action definition details. type ScpActionDefinition struct { _ struct{} `type:"structure"` @@ -7349,6 +7814,71 @@ func (s *ScpActionDefinition) SetTargetIds(v []*string) *ScpActionDefinition { return s } +// You've reached the limit on the number of tags you can associate with a resource. +type ServiceQuotaExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // The error message the exception carries. + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ServiceQuotaExceededException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ServiceQuotaExceededException) GoString() string { + return s.String() +} + +func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error { + return &ServiceQuotaExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ServiceQuotaExceededException) Code() string { + return "ServiceQuotaExceededException" +} + +// Message returns the exception's message. +func (s *ServiceQuotaExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ServiceQuotaExceededException) OrigErr() error { + return nil +} + +func (s *ServiceQuotaExceededException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ServiceQuotaExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ServiceQuotaExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + // The amount of cost or usage that's measured for a budget. // // Cost example: A Spend for 3 USD of costs has the following parameters: @@ -7589,6 +8119,101 @@ func (s *Subscriber) SetSubscriptionType(v string) *Subscriber { return s } +type TagResourceInput struct { + _ struct{} `type:"structure"` + + // The unique identifier for the resource. + // + // ResourceARN is a required field + ResourceARN *string `min:"1" type:"string" required:"true"` + + // The tags associated with the resource. + // + // ResourceTags is a required field + ResourceTags []*ResourceTag `type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} + if s.ResourceARN == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceARN")) + } + if s.ResourceARN != nil && len(*s.ResourceARN) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1)) + } + if s.ResourceTags == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceTags")) + } + if s.ResourceTags != nil { + for i, v := range s.ResourceTags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceTags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceARN sets the ResourceARN field's value. +func (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput { + s.ResourceARN = &v + return s +} + +// SetResourceTags sets the ResourceTags field's value. +func (s *TagResourceInput) SetResourceTags(v []*ResourceTag) *TagResourceInput { + s.ResourceTags = v + return s +} + +type TagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceOutput) GoString() string { + return s.String() +} + // The number of API requests has exceeded the maximum allowed API request throttling // limit for the account. type ThrottlingException struct { @@ -7713,6 +8338,91 @@ func (s *TimePeriod) SetStart(v time.Time) *TimePeriod { return s } +type UntagResourceInput struct { + _ struct{} `type:"structure"` + + // The unique identifier for the resource. + // + // ResourceARN is a required field + ResourceARN *string `min:"1" type:"string" required:"true"` + + // The key that's associated with the tag. + // + // ResourceTagKeys is a required field + ResourceTagKeys []*string `type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UntagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} + if s.ResourceARN == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceARN")) + } + if s.ResourceARN != nil && len(*s.ResourceARN) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1)) + } + if s.ResourceTagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceTagKeys")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceARN sets the ResourceARN field's value. +func (s *UntagResourceInput) SetResourceARN(v string) *UntagResourceInput { + s.ResourceARN = &v + return s +} + +// SetResourceTagKeys sets the ResourceTagKeys field's value. +func (s *UntagResourceInput) SetResourceTagKeys(v []*string) *UntagResourceInput { + s.ResourceTagKeys = v + return s +} + +type UntagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceOutput) GoString() string { + return s.String() +} + type UpdateBudgetActionInput struct { _ struct{} `type:"structure"` diff --git a/service/budgets/budgetsiface/interface.go b/service/budgets/budgetsiface/interface.go index 3b937454d9a..8707848b43f 100644 --- a/service/budgets/budgetsiface/interface.go +++ b/service/budgets/budgetsiface/interface.go @@ -160,6 +160,18 @@ type BudgetsAPI interface { ExecuteBudgetActionWithContext(aws.Context, *budgets.ExecuteBudgetActionInput, ...request.Option) (*budgets.ExecuteBudgetActionOutput, error) ExecuteBudgetActionRequest(*budgets.ExecuteBudgetActionInput) (*request.Request, *budgets.ExecuteBudgetActionOutput) + ListTagsForResource(*budgets.ListTagsForResourceInput) (*budgets.ListTagsForResourceOutput, error) + ListTagsForResourceWithContext(aws.Context, *budgets.ListTagsForResourceInput, ...request.Option) (*budgets.ListTagsForResourceOutput, error) + ListTagsForResourceRequest(*budgets.ListTagsForResourceInput) (*request.Request, *budgets.ListTagsForResourceOutput) + + TagResource(*budgets.TagResourceInput) (*budgets.TagResourceOutput, error) + TagResourceWithContext(aws.Context, *budgets.TagResourceInput, ...request.Option) (*budgets.TagResourceOutput, error) + TagResourceRequest(*budgets.TagResourceInput) (*request.Request, *budgets.TagResourceOutput) + + UntagResource(*budgets.UntagResourceInput) (*budgets.UntagResourceOutput, error) + UntagResourceWithContext(aws.Context, *budgets.UntagResourceInput, ...request.Option) (*budgets.UntagResourceOutput, error) + UntagResourceRequest(*budgets.UntagResourceInput) (*request.Request, *budgets.UntagResourceOutput) + UpdateBudget(*budgets.UpdateBudgetInput) (*budgets.UpdateBudgetOutput, error) UpdateBudgetWithContext(aws.Context, *budgets.UpdateBudgetInput, ...request.Option) (*budgets.UpdateBudgetOutput, error) UpdateBudgetRequest(*budgets.UpdateBudgetInput) (*request.Request, *budgets.UpdateBudgetOutput) diff --git a/service/budgets/errors.go b/service/budgets/errors.go index f277ca76571..c858101d623 100644 --- a/service/budgets/errors.go +++ b/service/budgets/errors.go @@ -65,6 +65,12 @@ const ( // that particular method for the requested resource. ErrCodeResourceLockedException = "ResourceLockedException" + // ErrCodeServiceQuotaExceededException for service response error code + // "ServiceQuotaExceededException". + // + // You've reached the limit on the number of tags you can associate with a resource. + ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" + // ErrCodeThrottlingException for service response error code // "ThrottlingException". // @@ -83,5 +89,6 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "InvalidParameterException": newErrorInvalidParameterException, "NotFoundException": newErrorNotFoundException, "ResourceLockedException": newErrorResourceLockedException, + "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, "ThrottlingException": newErrorThrottlingException, } diff --git a/service/resiliencehub/api.go b/service/resiliencehub/api.go index 051f4b89945..d58a54c2d16 100644 --- a/service/resiliencehub/api.go +++ b/service/resiliencehub/api.go @@ -2789,6 +2789,156 @@ func (c *ResilienceHub) ListAppAssessmentComplianceDriftsPagesWithContext(ctx aw return p.Err() } +const opListAppAssessmentResourceDrifts = "ListAppAssessmentResourceDrifts" + +// ListAppAssessmentResourceDriftsRequest generates a "aws/request.Request" representing the +// client's request for the ListAppAssessmentResourceDrifts operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListAppAssessmentResourceDrifts for more information on using the ListAppAssessmentResourceDrifts +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListAppAssessmentResourceDriftsRequest method. +// req, resp := client.ListAppAssessmentResourceDriftsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessmentResourceDrifts +func (c *ResilienceHub) ListAppAssessmentResourceDriftsRequest(input *ListAppAssessmentResourceDriftsInput) (req *request.Request, output *ListAppAssessmentResourceDriftsOutput) { + op := &request.Operation{ + Name: opListAppAssessmentResourceDrifts, + HTTPMethod: "POST", + HTTPPath: "/list-app-assessment-resource-drifts", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListAppAssessmentResourceDriftsInput{} + } + + output = &ListAppAssessmentResourceDriftsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListAppAssessmentResourceDrifts API operation for AWS Resilience Hub. +// +// Indicates the list of resource drifts that were detected while running an +// assessment. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Resilience Hub's +// API operation ListAppAssessmentResourceDrifts for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Resilience +// Hub service. +// +// - ThrottlingException +// This exception occurs when you have exceeded the limit on the number of requests +// per second. +// +// - ValidationException +// This exception occurs when a request is not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessmentResourceDrifts +func (c *ResilienceHub) ListAppAssessmentResourceDrifts(input *ListAppAssessmentResourceDriftsInput) (*ListAppAssessmentResourceDriftsOutput, error) { + req, out := c.ListAppAssessmentResourceDriftsRequest(input) + return out, req.Send() +} + +// ListAppAssessmentResourceDriftsWithContext is the same as ListAppAssessmentResourceDrifts with the addition of +// the ability to pass a context and additional request options. +// +// See ListAppAssessmentResourceDrifts for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ResilienceHub) ListAppAssessmentResourceDriftsWithContext(ctx aws.Context, input *ListAppAssessmentResourceDriftsInput, opts ...request.Option) (*ListAppAssessmentResourceDriftsOutput, error) { + req, out := c.ListAppAssessmentResourceDriftsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListAppAssessmentResourceDriftsPages iterates over the pages of a ListAppAssessmentResourceDrifts operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAppAssessmentResourceDrifts method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListAppAssessmentResourceDrifts operation. +// pageNum := 0 +// err := client.ListAppAssessmentResourceDriftsPages(params, +// func(page *resiliencehub.ListAppAssessmentResourceDriftsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ResilienceHub) ListAppAssessmentResourceDriftsPages(input *ListAppAssessmentResourceDriftsInput, fn func(*ListAppAssessmentResourceDriftsOutput, bool) bool) error { + return c.ListAppAssessmentResourceDriftsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAppAssessmentResourceDriftsPagesWithContext same as ListAppAssessmentResourceDriftsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ResilienceHub) ListAppAssessmentResourceDriftsPagesWithContext(ctx aws.Context, input *ListAppAssessmentResourceDriftsInput, fn func(*ListAppAssessmentResourceDriftsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAppAssessmentResourceDriftsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAppAssessmentResourceDriftsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAppAssessmentResourceDriftsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListAppAssessments = "ListAppAssessments" // ListAppAssessmentsRequest generates a "aws/request.Request" representing the @@ -12308,6 +12458,120 @@ func (s *ListAppAssessmentComplianceDriftsOutput) SetNextToken(v string) *ListAp return s } +type ListAppAssessmentResourceDriftsInput struct { + _ struct{} `type:"structure"` + + // Amazon Resource Name (ARN) of the assessment. The format for this ARN is: + // arn:partition:resiliencehub:region:account:app-assessment/app-id. For more + // information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the Amazon Web Services General Reference guide. + // + // AssessmentArn is a required field + AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"` + + // Indicates the maximum number of drift results to include in the response. + // If more results exist than the specified MaxResults value, a token is included + // in the response so that the remaining results can be retrieved. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // Null, or the token from a previous call to get the next set of results. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAppAssessmentResourceDriftsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAppAssessmentResourceDriftsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAppAssessmentResourceDriftsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAppAssessmentResourceDriftsInput"} + if s.AssessmentArn == nil { + invalidParams.Add(request.NewErrParamRequired("AssessmentArn")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAssessmentArn sets the AssessmentArn field's value. +func (s *ListAppAssessmentResourceDriftsInput) SetAssessmentArn(v string) *ListAppAssessmentResourceDriftsInput { + s.AssessmentArn = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAppAssessmentResourceDriftsInput) SetMaxResults(v int64) *ListAppAssessmentResourceDriftsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAppAssessmentResourceDriftsInput) SetNextToken(v string) *ListAppAssessmentResourceDriftsInput { + s.NextToken = &v + return s +} + +type ListAppAssessmentResourceDriftsOutput struct { + _ struct{} `type:"structure"` + + // Null, or the token from a previous call to get the next set of results. + NextToken *string `locationName:"nextToken" type:"string"` + + // Indicates all the resource drifts detected for an assessed entity. + // + // ResourceDrifts is a required field + ResourceDrifts []*ResourceDrift `locationName:"resourceDrifts" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAppAssessmentResourceDriftsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAppAssessmentResourceDriftsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAppAssessmentResourceDriftsOutput) SetNextToken(v string) *ListAppAssessmentResourceDriftsOutput { + s.NextToken = &v + return s +} + +// SetResourceDrifts sets the ResourceDrifts field's value. +func (s *ListAppAssessmentResourceDriftsOutput) SetResourceDrifts(v []*ResourceDrift) *ListAppAssessmentResourceDriftsOutput { + s.ResourceDrifts = v + return s +} + type ListAppAssessmentsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -13548,9 +13812,7 @@ type ListRecommendationTemplatesInput struct { // arn:partition:resiliencehub:region:account:app-assessment/app-id. For more // information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference guide. - // - // AssessmentArn is a required field - AssessmentArn *string `location:"querystring" locationName:"assessmentArn" type:"string" required:"true"` + AssessmentArn *string `location:"querystring" locationName:"assessmentArn" type:"string"` // Maximum number of results to include in the response. If more results exist // than the specified MaxResults value, a token is included in the response @@ -13595,9 +13857,6 @@ func (s ListRecommendationTemplatesInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ListRecommendationTemplatesInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListRecommendationTemplatesInput"} - if s.AssessmentArn == nil { - invalidParams.Add(request.NewErrParamRequired("AssessmentArn")) - } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } @@ -14585,7 +14844,7 @@ type PhysicalResource struct { // The name of the resource. ResourceName *string `locationName:"resourceName" type:"string"` - // The type of resource. + // Type of resource. // // ResourceType is a required field ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"` @@ -15905,6 +16164,77 @@ func (s *ResolveAppVersionResourcesOutput) SetStatus(v string) *ResolveAppVersio return s } +// Indicates the resources that have drifted in the current application version. +type ResourceDrift struct { + _ struct{} `type:"structure"` + + // Amazon Resource Name (ARN) of the application whose resources have drifted. + // The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. + // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the Amazon Web Services General Reference guide. + AppArn *string `locationName:"appArn" type:"string"` + + // Version of the application whose resources have drifted. + AppVersion *string `locationName:"appVersion" type:"string"` + + // Indicates if the resource was added or removed. + DiffType *string `locationName:"diffType" type:"string" enum:"DifferenceType"` + + // Reference identifier of the resource drift. + ReferenceId *string `locationName:"referenceId" type:"string"` + + // Identifier of the drifted resource. + ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceDrift) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceDrift) GoString() string { + return s.String() +} + +// SetAppArn sets the AppArn field's value. +func (s *ResourceDrift) SetAppArn(v string) *ResourceDrift { + s.AppArn = &v + return s +} + +// SetAppVersion sets the AppVersion field's value. +func (s *ResourceDrift) SetAppVersion(v string) *ResourceDrift { + s.AppVersion = &v + return s +} + +// SetDiffType sets the DiffType field's value. +func (s *ResourceDrift) SetDiffType(v string) *ResourceDrift { + s.DiffType = &v + return s +} + +// SetReferenceId sets the ReferenceId field's value. +func (s *ResourceDrift) SetReferenceId(v string) *ResourceDrift { + s.ReferenceId = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *ResourceDrift) SetResourceIdentifier(v *ResourceIdentifier) *ResourceDrift { + s.ResourceIdentifier = v + return s +} + // Defines application resource errors. type ResourceError struct { _ struct{} `type:"structure"` @@ -15997,44 +16327,67 @@ func (s *ResourceErrorsDetails) SetResourceErrors(v []*ResourceError) *ResourceE return s } +// Defines a resource identifier for the drifted resource. +type ResourceIdentifier struct { + _ struct{} `type:"structure"` + + // Logical identifier of the drifted resource. + LogicalResourceId *LogicalResourceId `locationName:"logicalResourceId" type:"structure"` + + // Type of the drifted resource. + ResourceType *string `locationName:"resourceType" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceIdentifier) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceIdentifier) GoString() string { + return s.String() +} + +// SetLogicalResourceId sets the LogicalResourceId field's value. +func (s *ResourceIdentifier) SetLogicalResourceId(v *LogicalResourceId) *ResourceIdentifier { + s.LogicalResourceId = v + return s +} + +// SetResourceType sets the ResourceType field's value. +func (s *ResourceIdentifier) SetResourceType(v string) *ResourceIdentifier { + s.ResourceType = &v + return s +} + // Defines a resource mapping. type ResourceMapping struct { _ struct{} `type:"structure"` - // The name of the application this resource is mapped to. + // Name of the application this resource is mapped to when the mappingType is + // AppRegistryApp. AppRegistryAppName *string `locationName:"appRegistryAppName" type:"string"` - // Name of the Amazon Elastic Kubernetes Service cluster and namespace this - // resource belongs to. + // Name of the Amazon Elastic Kubernetes Service cluster and namespace that + // this resource is mapped to when the mappingType is EKS. // // This parameter accepts values in "eks-cluster/namespace" format. EksSourceName *string `locationName:"eksSourceName" min:"1" type:"string"` - // The name of the CloudFormation stack this resource is mapped to. + // Name of the CloudFormation stack this resource is mapped to when the mappingType + // is CfnStack. LogicalStackName *string `locationName:"logicalStackName" min:"1" type:"string"` // Specifies the type of resource mapping. // - // AppRegistryApp - // - // The resource is mapped to another application. The name of the application - // is contained in the appRegistryAppName property. - // - // CfnStack - // - // The resource is mapped to a CloudFormation stack. The name of the CloudFormation - // stack is contained in the logicalStackName property. - // - // Resource - // - // The resource is mapped to another resource. The name of the resource is contained - // in the resourceName property. - // - // ResourceGroup - // - // The resource is mapped to Resource Groups. The name of the resource group - // is contained in the resourceGroupName property. - // // MappingType is a required field MappingType *string `locationName:"mappingType" type:"string" required:"true" enum:"ResourceMappingType"` @@ -16043,13 +16396,16 @@ type ResourceMapping struct { // PhysicalResourceId is a required field PhysicalResourceId *PhysicalResourceId `locationName:"physicalResourceId" type:"structure" required:"true"` - // Name of the resource group that the resource is mapped to. + // Name of the Resource Groups that this resource is mapped to when the mappingType + // is ResourceGroup. ResourceGroupName *string `locationName:"resourceGroupName" type:"string"` - // Name of the resource that the resource is mapped to. + // Name of the resource that this resource is mapped to when the mappingType + // is Resource. ResourceName *string `locationName:"resourceName" type:"string"` - // The short name of the Terraform source. + // Name of the Terraform source that this resource is mapped to when the mappingType + // is Terraform. TerraformSourceName *string `locationName:"terraformSourceName" min:"1" type:"string"` } @@ -16267,29 +16623,30 @@ type ScoringComponentResiliencyScore struct { // Number of recommendations that were excluded from the assessment. // - // For example, if the Excluded count for Resilience Hub recommended Amazon - // CloudWatch alarms is 7, it indicates that 7 Amazon CloudWatch alarms are - // excluded from the assessment. + // For example, if the excludedCount for Alarms coverage scoring component is + // 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment. ExcludedCount *int64 `locationName:"excludedCount" type:"long"` - // Number of issues that must be resolved to obtain the maximum possible score - // for the scoring component. For SOPs, alarms, and FIS experiments, these are - // the number of recommendations that must be implemented. For compliance, it - // is the number of Application Components that has breached the resiliency + // Number of recommendations that must be implemented to obtain the maximum + // possible score for the scoring component. For SOPs, alarms, and tests, these + // are the number of recommendations that must be implemented. For compliance, + // these are the number of Application Components that have breached the resiliency // policy. // - // For example, if the Outstanding count for Resilience Hub recommended Amazon - // CloudWatch alarms is 5, it indicates that 5 Amazon CloudWatch alarms must - // be fixed to achieve the maximum possible score. + // For example, if the outstandingCount for Alarms coverage scoring component + // is 5, it indicates that 5 Amazon CloudWatch alarms need to be implemented + // to achieve the maximum possible score. OutstandingCount *int64 `locationName:"outstandingCount" type:"long"` - // Maximum possible score that can be obtained for the scoring component. If - // the Possible score is 20 points, it indicates the maximum possible score - // you can achieve for your application when you run a new assessment after - // implementing all the Resilience Hub recommendations. + // Maximum possible score that can be obtained for the scoring component. + // + // For example, if the possibleScore is 20 points, it indicates the maximum + // possible score you can achieve for the scoring component when you run a new + // assessment after implementing all the Resilience Hub recommendations. PossibleScore *float64 `locationName:"possibleScore" type:"double"` - // Resiliency score of your application. + // Resiliency score points given for the scoring component. The score is always + // less than or equal to the possibleScore. Score *float64 `locationName:"score" type:"double"` } @@ -18415,12 +18772,20 @@ func DataLocationConstraint_Values() []string { const ( // DifferenceTypeNotEqual is a DifferenceType enum value DifferenceTypeNotEqual = "NotEqual" + + // DifferenceTypeAdded is a DifferenceType enum value + DifferenceTypeAdded = "Added" + + // DifferenceTypeRemoved is a DifferenceType enum value + DifferenceTypeRemoved = "Removed" ) // DifferenceType_Values returns all elements of the DifferenceType enum func DifferenceType_Values() []string { return []string{ DifferenceTypeNotEqual, + DifferenceTypeAdded, + DifferenceTypeRemoved, } } @@ -18471,12 +18836,16 @@ func DriftStatus_Values() []string { const ( // DriftTypeApplicationCompliance is a DriftType enum value DriftTypeApplicationCompliance = "ApplicationCompliance" + + // DriftTypeAppComponentResiliencyComplianceStatus is a DriftType enum value + DriftTypeAppComponentResiliencyComplianceStatus = "AppComponentResiliencyComplianceStatus" ) // DriftType_Values returns all elements of the DriftType enum func DriftType_Values() []string { return []string{ DriftTypeApplicationCompliance, + DriftTypeAppComponentResiliencyComplianceStatus, } } diff --git a/service/resiliencehub/resiliencehubiface/interface.go b/service/resiliencehub/resiliencehubiface/interface.go index 588f6926d94..170ed25c1da 100644 --- a/service/resiliencehub/resiliencehubiface/interface.go +++ b/service/resiliencehub/resiliencehubiface/interface.go @@ -170,6 +170,13 @@ type ResilienceHubAPI interface { ListAppAssessmentComplianceDriftsPages(*resiliencehub.ListAppAssessmentComplianceDriftsInput, func(*resiliencehub.ListAppAssessmentComplianceDriftsOutput, bool) bool) error ListAppAssessmentComplianceDriftsPagesWithContext(aws.Context, *resiliencehub.ListAppAssessmentComplianceDriftsInput, func(*resiliencehub.ListAppAssessmentComplianceDriftsOutput, bool) bool, ...request.Option) error + ListAppAssessmentResourceDrifts(*resiliencehub.ListAppAssessmentResourceDriftsInput) (*resiliencehub.ListAppAssessmentResourceDriftsOutput, error) + ListAppAssessmentResourceDriftsWithContext(aws.Context, *resiliencehub.ListAppAssessmentResourceDriftsInput, ...request.Option) (*resiliencehub.ListAppAssessmentResourceDriftsOutput, error) + ListAppAssessmentResourceDriftsRequest(*resiliencehub.ListAppAssessmentResourceDriftsInput) (*request.Request, *resiliencehub.ListAppAssessmentResourceDriftsOutput) + + ListAppAssessmentResourceDriftsPages(*resiliencehub.ListAppAssessmentResourceDriftsInput, func(*resiliencehub.ListAppAssessmentResourceDriftsOutput, bool) bool) error + ListAppAssessmentResourceDriftsPagesWithContext(aws.Context, *resiliencehub.ListAppAssessmentResourceDriftsInput, func(*resiliencehub.ListAppAssessmentResourceDriftsOutput, bool) bool, ...request.Option) error + ListAppAssessments(*resiliencehub.ListAppAssessmentsInput) (*resiliencehub.ListAppAssessmentsOutput, error) ListAppAssessmentsWithContext(aws.Context, *resiliencehub.ListAppAssessmentsInput, ...request.Option) (*resiliencehub.ListAppAssessmentsOutput, error) ListAppAssessmentsRequest(*resiliencehub.ListAppAssessmentsInput) (*request.Request, *resiliencehub.ListAppAssessmentsOutput) diff --git a/service/route53profiles/api.go b/service/route53profiles/api.go index 91722c1f658..c571836e627 100644 --- a/service/route53profiles/api.go +++ b/service/route53profiles/api.go @@ -57,8 +57,9 @@ func (c *Route53Profiles) AssociateProfileRequest(input *AssociateProfileInput) // AssociateProfile API operation for Route 53 Profiles. // // Associates a Route 53 Profiles profile with a VPC. A VPC can have only one -// Profile associated with it, but a Profile can be associated with up to 5000 -// VPCs. +// Profile associated with it, but a Profile can be associated with 1000 of +// VPCs (and you can request a higher quota). For more information, see https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities +// (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1914,10 +1915,11 @@ type AssociateResourceToProfileInput struct { // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` - // If you are adding a DNS Firewall rule group, include also a priority in this - // format: + // If you are adding a DNS Firewall rule group, include also a priority. The + // priority indicates the processing order for the rule groups, starting with + // the priority assinged the lowest value. // - // Key=FirewallRuleGroupPriority,Value=100 + // The allowed values for priority are between 100 and 9900. ResourceProperties *string `type:"string"` } @@ -4279,10 +4281,11 @@ type UpdateProfileResourceAssociationInput struct { // ProfileResourceAssociationId is a required field ProfileResourceAssociationId *string `location:"uri" locationName:"ProfileResourceAssociationId" min:"1" type:"string" required:"true"` - // If you are adding a DNS Firewall rule group, include also a priority in this - // format: + // If you are adding a DNS Firewall rule group, include also a priority. The + // priority indicates the processing order for the rule groups, starting with + // the priority assinged the lowest value. // - // Key=FirewallRuleGroupPriority,Value=100. + // The allowed values for priority are between 100 and 9900. ResourceProperties *string `type:"string"` }