Codebase list golang-github-aws-aws-sdk-go / 1ed54c2
Release v1.43.23 (2022-03-22) (#4324) Release v1.43.23 (2022-03-22) === ### Service Client Updates * `service/ce`: Updates service API and documentation * `service/ecs`: Updates service documentation * Documentation only update to address tickets * `service/lakeformation`: Updates service API * `service/location`: Updates service API, documentation, and paginators * `service/polly`: Updates service API and documentation * Amazon Polly adds new Catalan voice - Arlet. Arlet is available as Neural voice only. aws-sdk-go-automation authored 2 years ago GitHub committed 2 years ago
18 changed file(s) with 1140 addition(s) and 47 deletion(s). Raw diff Collapse all Expand all
0 Release v1.43.23 (2022-03-22)
1 ===
2
3 ### Service Client Updates
4 * `service/ce`: Updates service API and documentation
5 * `service/ecs`: Updates service documentation
6 * Documentation only update to address tickets
7 * `service/lakeformation`: Updates service API
8 * `service/location`: Updates service API, documentation, and paginators
9 * `service/polly`: Updates service API and documentation
10 * Amazon Polly adds new Catalan voice - Arlet. Arlet is available as Neural voice only.
11
012 Release v1.43.22 (2022-03-21)
113 ===
214
44 const SDKName = "aws-sdk-go"
55
66 // SDKVersion is the version of this SDK
7 const SDKVersion = "1.43.22"
7 const SDKVersion = "1.43.23"
372372 {"shape":"LimitExceededException"}
373373 ]
374374 },
375 "ListTagsForResource":{
376 "name":"ListTagsForResource",
377 "http":{
378 "method":"POST",
379 "requestUri":"/"
380 },
381 "input":{"shape":"ListTagsForResourceRequest"},
382 "output":{"shape":"ListTagsForResourceResponse"},
383 "errors":[
384 {"shape":"ResourceNotFoundException"},
385 {"shape":"LimitExceededException"}
386 ]
387 },
375388 "ProvideAnomalyFeedback":{
376389 "name":"ProvideAnomalyFeedback",
377390 "http":{
381394 "input":{"shape":"ProvideAnomalyFeedbackRequest"},
382395 "output":{"shape":"ProvideAnomalyFeedbackResponse"},
383396 "errors":[
397 {"shape":"LimitExceededException"}
398 ]
399 },
400 "TagResource":{
401 "name":"TagResource",
402 "http":{
403 "method":"POST",
404 "requestUri":"/"
405 },
406 "input":{"shape":"TagResourceRequest"},
407 "output":{"shape":"TagResourceResponse"},
408 "errors":[
409 {"shape":"ResourceNotFoundException"},
410 {"shape":"TooManyTagsException"},
411 {"shape":"LimitExceededException"}
412 ]
413 },
414 "UntagResource":{
415 "name":"UntagResource",
416 "http":{
417 "method":"POST",
418 "requestUri":"/"
419 },
420 "input":{"shape":"UntagResourceRequest"},
421 "output":{"shape":"UntagResourceResponse"},
422 "errors":[
423 {"shape":"ResourceNotFoundException"},
384424 {"shape":"LimitExceededException"}
385425 ]
386426 },
812852 "type":"structure",
813853 "required":["AnomalyMonitor"],
814854 "members":{
815 "AnomalyMonitor":{"shape":"AnomalyMonitor"}
855 "AnomalyMonitor":{"shape":"AnomalyMonitor"},
856 "ResourceTags":{"shape":"ResourceTagList"}
816857 }
817858 },
818859 "CreateAnomalyMonitorResponse":{
826867 "type":"structure",
827868 "required":["AnomalySubscription"],
828869 "members":{
829 "AnomalySubscription":{"shape":"AnomalySubscription"}
870 "AnomalySubscription":{"shape":"AnomalySubscription"},
871 "ResourceTags":{"shape":"ResourceTagList"}
830872 }
831873 },
832874 "CreateAnomalySubscriptionResponse":{
848890 "RuleVersion":{"shape":"CostCategoryRuleVersion"},
849891 "Rules":{"shape":"CostCategoryRulesList"},
850892 "DefaultValue":{"shape":"CostCategoryValue"},
851 "SplitChargeRules":{"shape":"CostCategorySplitChargeRulesList"}
893 "SplitChargeRules":{"shape":"CostCategorySplitChargeRulesList"},
894 "ResourceTags":{"shape":"ResourceTagList"}
852895 }
853896 },
854897 "CreateCostCategoryDefinitionResponse":{
16721715 "NextToken":{"shape":"NextPageToken"}
16731716 }
16741717 },
1718 "ListTagsForResourceRequest":{
1719 "type":"structure",
1720 "required":["ResourceArn"],
1721 "members":{
1722 "ResourceArn":{"shape":"Arn"}
1723 }
1724 },
1725 "ListTagsForResourceResponse":{
1726 "type":"structure",
1727 "members":{
1728 "ResourceTags":{"shape":"ResourceTagList"}
1729 }
1730 },
16751731 "LookbackPeriodInDays":{
16761732 "type":"string",
16771733 "enum":[
20122068 "ResourceNotFoundException":{
20132069 "type":"structure",
20142070 "members":{
2015 "Message":{"shape":"ErrorMessage"}
2071 "Message":{"shape":"ErrorMessage"},
2072 "ResourceName":{"shape":"Arn"}
20162073 },
20172074 "exception":true
2075 },
2076 "ResourceTag":{
2077 "type":"structure",
2078 "required":[
2079 "Key",
2080 "Value"
2081 ],
2082 "members":{
2083 "Key":{"shape":"ResourceTagKey"},
2084 "Value":{"shape":"ResourceTagValue"}
2085 }
2086 },
2087 "ResourceTagKey":{
2088 "type":"string",
2089 "max":128,
2090 "min":1,
2091 "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
2092 },
2093 "ResourceTagKeyList":{
2094 "type":"list",
2095 "member":{"shape":"ResourceTagKey"},
2096 "max":200,
2097 "min":0
2098 },
2099 "ResourceTagList":{
2100 "type":"list",
2101 "member":{"shape":"ResourceTag"},
2102 "max":200,
2103 "min":0
2104 },
2105 "ResourceTagValue":{
2106 "type":"string",
2107 "max":256,
2108 "min":0,
2109 "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
20182110 },
20192111 "ResourceUtilization":{
20202112 "type":"structure",
23612453 "type":"list",
23622454 "member":{"shape":"Entity"}
23632455 },
2456 "TagResourceRequest":{
2457 "type":"structure",
2458 "required":[
2459 "ResourceArn",
2460 "ResourceTags"
2461 ],
2462 "members":{
2463 "ResourceArn":{"shape":"Arn"},
2464 "ResourceTags":{"shape":"ResourceTagList"}
2465 }
2466 },
2467 "TagResourceResponse":{
2468 "type":"structure",
2469 "members":{
2470 }
2471 },
23642472 "TagValues":{
23652473 "type":"structure",
23662474 "members":{
24032511 "CurrencyCode":{"shape":"GenericString"}
24042512 }
24052513 },
2514 "TooManyTagsException":{
2515 "type":"structure",
2516 "members":{
2517 "Message":{"shape":"ErrorMessage"},
2518 "ResourceName":{"shape":"Arn"}
2519 },
2520 "exception":true
2521 },
24062522 "TotalActualHours":{"type":"string"},
24072523 "TotalActualUnits":{"type":"string"},
24082524 "TotalAmortizedFee":{"type":"string"},
24422558 "Message":{"shape":"ErrorMessage"}
24432559 },
24442560 "exception":true
2561 },
2562 "UntagResourceRequest":{
2563 "type":"structure",
2564 "required":[
2565 "ResourceArn",
2566 "ResourceTagKeys"
2567 ],
2568 "members":{
2569 "ResourceArn":{"shape":"Arn"},
2570 "ResourceTagKeys":{"shape":"ResourceTagKeyList"}
2571 }
2572 },
2573 "UntagResourceResponse":{
2574 "type":"structure",
2575 "members":{
2576 }
24452577 },
24462578 "UnusedHours":{"type":"string"},
24472579 "UnusedUnits":{"type":"string"},
2727 "GetTags": "<p>Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string. </p>",
2828 "GetUsageForecast": "<p>Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period that you select, based on your past usage. </p>",
2929 "ListCostCategoryDefinitions": "<p>Returns the name, ARN, <code>NumberOfRules</code> and effective dates of all Cost Categories defined in the account. You have the option to use <code>EffectiveOn</code> to return a list of Cost Categories that were active on a specific date. If there is no <code>EffectiveOn</code> specified, you’ll see Cost Categories that are effective on the current date. If Cost Category is still effective, <code>EffectiveEnd</code> is omitted in the response. <code>ListCostCategoryDefinitions</code> supports pagination. The request can have a <code>MaxResults</code> range up to 100.</p>",
30 "ListTagsForResource": "<p>Returns a list of resource tags associated with the resource specified by the Amazon Resource Name (ARN). </p>",
3031 "ProvideAnomalyFeedback": "<p>Modifies the feedback property of a given cost anomaly. </p>",
31 "UpdateAnomalyMonitor": "<p>Updates an existing cost anomaly monitor. The changes made are applied going forward, and doesn'tt change anomalies detected in the past. </p>",
32 "TagResource": "<p>An API operation for adding one or more tags (key-value pairs) to a resource.</p> <p>You can use the <code>TagResource</code> operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value you specify replaces the previous value for that tag.</p> <p> Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.</p>",
33 "UntagResource": "<p> Removes one or more tags from a resource. Specify only tag key(s) in your request. Do not specify the value. </p>",
34 "UpdateAnomalyMonitor": "<p>Updates an existing cost anomaly monitor. The changes made are applied going forward, and doesn't change anomalies detected in the past. </p>",
3235 "UpdateAnomalySubscription": "<p>Updates an existing cost anomaly monitor subscription. </p>",
3336 "UpdateCostCategoryDefinition": "<p>Updates an existing Cost Category. Changes made to the Cost Category rules will be used to categorize the current month’s expenses and future expenses. This won’t change categorization for the previous months.</p>"
3437 },
128131 "DeleteCostCategoryDefinitionRequest$CostCategoryArn": "<p> The unique identifier for your Cost Category. </p>",
129132 "DeleteCostCategoryDefinitionResponse$CostCategoryArn": "<p> The unique identifier for your Cost Category. </p>",
130133 "DescribeCostCategoryDefinitionRequest$CostCategoryArn": "<p> The unique identifier for your Cost Category. </p>",
134 "ListTagsForResourceRequest$ResourceArn": "<p>The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html\">ResourceTag</a>.</p>",
131135 "MonitorArnList$member": null,
136 "ResourceNotFoundException$ResourceName": null,
137 "TagResourceRequest$ResourceArn": "<p>The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html\">ResourceTag</a>. </p>",
138 "TooManyTagsException$ResourceName": null,
139 "UntagResourceRequest$ResourceArn": "<p> The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html\">ResourceTag</a>. </p>",
132140 "UpdateCostCategoryDefinitionRequest$CostCategoryArn": "<p>The unique identifier for your Cost Category.</p>",
133141 "UpdateCostCategoryDefinitionResponse$CostCategoryArn": "<p> The unique identifier for your Cost Category. </p>"
134142 }
592600 "RequestChangedException$Message": null,
593601 "ResourceNotFoundException$Message": null,
594602 "ServiceQuotaExceededException$Message": null,
603 "TooManyTagsException$Message": null,
595604 "UnknownMonitorException$Message": null,
596605 "UnknownSubscriptionException$Message": null,
597606 "UnresolvableUsageUnitException$Message": null
610619 "CostCategoryRule$Rule": "<p>An <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a> object used to categorize costs. This supports dimensions, tags, and nested expressions. Currently the only dimensions supported are <code>LINKED_ACCOUNT</code>, <code>SERVICE_CODE</code>, <code>RECORD_TYPE</code>, and <code>LINKED_ACCOUNT_NAME</code>.</p> <p>Root level <code>OR</code> isn't supported. We recommend that you create a separate rule instead.</p> <p> <code>RECORD_TYPE</code> is a dimension used for Cost Explorer APIs, and is also supported for Cost Category expressions. This dimension uses different terms, depending on whether you're using the console or API/JSON editor. For a detailed comparison, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-cost-categories.html#cost-categories-terms\">Term Comparisons</a> in the <i>Billing and Cost Management User Guide</i>.</p>",
611620 "Expression$Not": "<p>Return results that don't match a <code>Dimension</code> object.</p>",
612621 "Expressions$member": null,
613 "GetCostAndUsageRequest$Filter": "<p>Filters Amazon Web Services costs by different dimensions. For example, you can specify <code>SERVICE</code> and <code>LINKED_ACCOUNT</code> and get the costs that are associated with that account's usage of that service. You can nest <code>Expression</code> objects to define any combination of dimension filters. For more information, see <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a>. </p> <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and <code>Tags</code> are <code>EQUALS</code>, <code>ABSENT</code>, and <code>CASE_SENSITIVE</code>.</p> <p>The default values are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>. Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>",
614 "GetCostAndUsageWithResourcesRequest$Filter": "<p>Filters Amazon Web Services costs by different dimensions. For example, you can specify <code>SERVICE</code> and <code>LINKED_ACCOUNT</code> and get the costs that are associated with that account's usage of that service. You can nest <code>Expression</code> objects to define any combination of dimension filters. For more information, see <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a>. </p> <p>The <code>GetCostAndUsageWithResources</code> operation requires that you either group by or filter by a <code>ResourceId</code>. It requires the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a> <code>\"SERVICE = Amazon Elastic Compute Cloud - Compute\"</code> in the filter.</p> <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and <code>Tags</code> are <code>EQUALS</code>, <code>ABSENT</code>, and <code>CASE_SENSITIVE</code>.</p> <p>The default values are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>. Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>",
622 "GetCostAndUsageRequest$Filter": "<p>Filters Amazon Web Services costs by different dimensions. For example, you can specify <code>SERVICE</code> and <code>LINKED_ACCOUNT</code> and get the costs that are associated with that account's usage of that service. You can nest <code>Expression</code> objects to define any combination of dimension filters. For more information, see <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a>. </p> <p>Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p> <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and <code>Tags</code> are <code>EQUALS</code>, <code>ABSENT</code>, and <code>CASE_SENSITIVE</code>. Default values are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>",
623 "GetCostAndUsageWithResourcesRequest$Filter": "<p>Filters Amazon Web Services costs by different dimensions. For example, you can specify <code>SERVICE</code> and <code>LINKED_ACCOUNT</code> and get the costs that are associated with that account's usage of that service. You can nest <code>Expression</code> objects to define any combination of dimension filters. For more information, see <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a>. </p> <p>The <code>GetCostAndUsageWithResources</code> operation requires that you either group by or filter by a <code>ResourceId</code>. It requires the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a> <code>\"SERVICE = Amazon Elastic Compute Cloud - Compute\"</code> in the filter.</p> <p>Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p> <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and <code>Tags</code> are <code>EQUALS</code>, <code>ABSENT</code>, and <code>CASE_SENSITIVE</code>. Default values are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>",
615624 "GetCostCategoriesRequest$Filter": null,
616625 "GetCostForecastRequest$Filter": "<p>The filters that you want to use to filter your forecast. The <code>GetCostForecast</code> API supports filtering by the following dimensions:</p> <ul> <li> <p> <code>AZ</code> </p> </li> <li> <p> <code>INSTANCE_TYPE</code> </p> </li> <li> <p> <code>LINKED_ACCOUNT</code> </p> </li> <li> <p> <code>LINKED_ACCOUNT_NAME</code> </p> </li> <li> <p> <code>OPERATION</code> </p> </li> <li> <p> <code>PURCHASE_TYPE</code> </p> </li> <li> <p> <code>REGION</code> </p> </li> <li> <p> <code>SERVICE</code> </p> </li> <li> <p> <code>USAGE_TYPE</code> </p> </li> <li> <p> <code>USAGE_TYPE_GROUP</code> </p> </li> <li> <p> <code>RECORD_TYPE</code> </p> </li> <li> <p> <code>OPERATING_SYSTEM</code> </p> </li> <li> <p> <code>TENANCY</code> </p> </li> <li> <p> <code>SCOPE</code> </p> </li> <li> <p> <code>PLATFORM</code> </p> </li> <li> <p> <code>SUBSCRIPTION_ID</code> </p> </li> <li> <p> <code>LEGAL_ENTITY_NAME</code> </p> </li> <li> <p> <code>DEPLOYMENT_OPTION</code> </p> </li> <li> <p> <code>DATABASE_ENGINE</code> </p> </li> <li> <p> <code>INSTANCE_TYPE_FAMILY</code> </p> </li> <li> <p> <code>BILLING_ENTITY</code> </p> </li> <li> <p> <code>RESERVATION_ID</code> </p> </li> <li> <p> <code>SAVINGS_PLAN_ARN</code> </p> </li> </ul>",
617626 "GetDimensionValuesRequest$Filter": null,
11431152 "refs": {
11441153 }
11451154 },
1155 "ListTagsForResourceRequest": {
1156 "base": null,
1157 "refs": {
1158 }
1159 },
1160 "ListTagsForResourceResponse": {
1161 "base": null,
1162 "refs": {
1163 }
1164 },
11461165 "LookbackPeriodInDays": {
11471166 "base": null,
11481167 "refs": {
15591578 "refs": {
15601579 }
15611580 },
1581 "ResourceTag": {
1582 "base": "<p> The tag structure that contains a tag key and value. </p> <note> <p>Tagging is supported only for the following Cost Explorer resource types: <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html\"> <code>AnomalyMonitor</code> </a>, <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html\"> <code>AnomalySubscription</code> </a>, <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html\"> <code>CostCategory</code> </a>.</p> </note>",
1583 "refs": {
1584 "ResourceTagList$member": null
1585 }
1586 },
1587 "ResourceTagKey": {
1588 "base": null,
1589 "refs": {
1590 "ResourceTag$Key": "<p> The key that is associated with the tag. </p>",
1591 "ResourceTagKeyList$member": null
1592 }
1593 },
1594 "ResourceTagKeyList": {
1595 "base": null,
1596 "refs": {
1597 "UntagResourceRequest$ResourceTagKeys": "<p> A list of tag keys associated with tags that need to be removed from the resource. If you specify a tag key that does not exist, it is ignored. Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use. </p>"
1598 }
1599 },
1600 "ResourceTagList": {
1601 "base": null,
1602 "refs": {
1603 "CreateAnomalyMonitorRequest$ResourceTags": "<p> An optional list of tags to associate with the specified <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html\"> <code>AnomalyMonitor</code> </a>. You can use resource tags to control access to your monitor using IAM policies.</p> <p>Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:</p> <ul> <li> <p>Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use</p> </li> <li> <p>The maximum length of a key is 128 characters</p> </li> <li> <p>The maximum length of a value is 256 characters</p> </li> <li> <p>Valid characters for keys and values are: <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code> </p> </li> <li> <p>Keys and values are case sensitive</p> </li> <li> <p>Keys and values are trimmed for any leading or trailing whitespaces</p> </li> <li> <p>Don’t use <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon Web Services use</p> </li> </ul>",
1604 "CreateAnomalySubscriptionRequest$ResourceTags": "<p> An optional list of tags to associate with the specified <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html\"> <code>AnomalySubscription</code> </a>. You can use resource tags to control access to your <code>subscription</code> using IAM policies.</p> <p>Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:</p> <ul> <li> <p>Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use</p> </li> <li> <p>The maximum length of a key is 128 characters</p> </li> <li> <p>The maximum length of a value is 256 characters</p> </li> <li> <p>Valid characters for keys and values are: <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code> </p> </li> <li> <p>Keys and values are case sensitive</p> </li> <li> <p>Keys and values are trimmed for any leading or trailing whitespaces</p> </li> <li> <p>Don’t use <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon Web Services use</p> </li> </ul>",
1605 "CreateCostCategoryDefinitionRequest$ResourceTags": "<p> An optional list of tags to associate with the specified <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html\"> <code>CostCategory</code> </a>. You can use resource tags to control access to your <code>cost category</code> using IAM policies.</p> <p>Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:</p> <ul> <li> <p>Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use</p> </li> <li> <p>The maximum length of a key is 128 characters</p> </li> <li> <p>The maximum length of a value is 256 characters</p> </li> <li> <p>Valid characters for keys and values are: <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code> </p> </li> <li> <p>Keys and values are case sensitive</p> </li> <li> <p>Keys and values are trimmed for any leading or trailing whitespaces</p> </li> <li> <p>Don’t use <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon Web Services use</p> </li> </ul>",
1606 "ListTagsForResourceResponse$ResourceTags": "<p>A list of tag key value pairs that are associated with the response. </p>",
1607 "TagResourceRequest$ResourceTags": "<p> A list of tag key-value pairs to be added to the resource.</p> <p>Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:</p> <ul> <li> <p>Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use</p> </li> <li> <p>The maximum length of a key is 128 characters</p> </li> <li> <p>The maximum length of a value is 256 characters</p> </li> <li> <p>Valid characters for keys and values are: <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code> </p> </li> <li> <p>Keys and values are case sensitive</p> </li> <li> <p>Keys and values are trimmed for any leading or trailing whitespaces</p> </li> <li> <p>Don’t use <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon Web Services use</p> </li> </ul>"
1608 }
1609 },
1610 "ResourceTagValue": {
1611 "base": null,
1612 "refs": {
1613 "ResourceTag$Value": "<p> The value that is associated with the tag. </p>"
1614 }
1615 },
15621616 "ResourceUtilization": {
15631617 "base": "<p>Resource utilization of current resource. </p>",
15641618 "refs": {
18571911 "GetTagsResponse$Tags": "<p>The tags that match your request.</p>"
18581912 }
18591913 },
1914 "TagResourceRequest": {
1915 "base": null,
1916 "refs": {
1917 }
1918 },
1919 "TagResourceResponse": {
1920 "base": null,
1921 "refs": {
1922 }
1923 },
18601924 "TagValues": {
18611925 "base": "<p>The values that are available for a tag.</p> <p>If <code>Values</code> and <code>Key</code> aren't specified, the <code>ABSENT</code> <code>MatchOption</code> is applied to all tags. That is, it's filtered on resources with no tags.</p> <p>If <code>Values</code> is provided and <code>Key</code> isn't specified, the <code>ABSENT</code> <code>MatchOption</code> is applied to the tag <code>Key</code> only. That is, it's filtered on resources without the given tag key.</p>",
18621926 "refs": {
18971961 "RightsizingRecommendation$TerminateRecommendationDetail": "<p>The details for termination recommendations.</p>"
18981962 }
18991963 },
1964 "TooManyTagsException": {
1965 "base": "<p>Can occur if you specify a number of tags for a resource greater than the maximum 50 user tags per resource.</p>",
1966 "refs": {
1967 }
1968 },
19001969 "TotalActualHours": {
19011970 "base": null,
19021971 "refs": {
19572026 },
19582027 "UnresolvableUsageUnitException": {
19592028 "base": "<p>Cost Explorer was unable to identify the usage unit. Provide <code>UsageType/UsageTypeGroup</code> filter selections that contain matching units, for example: <code>hours</code>.</p>",
2029 "refs": {
2030 }
2031 },
2032 "UntagResourceRequest": {
2033 "base": null,
2034 "refs": {
2035 }
2036 },
2037 "UntagResourceResponse": {
2038 "base": null,
19602039 "refs": {
19612040 }
19622041 },
12231223 }
12241224 },
12251225 "LoadBalancer": {
1226 "base": "<p>The load balancer configuration to use with a service or task set.</p> <p>For specific notes and restrictions regarding the use of load balancers with services and task sets, see the CreateService and CreateTaskSet actions.</p> <p>When you add, update, or remove a load blaancer configuration, Amazon ECS starts a new deployment with the updated Elastic Load Balancing configuration. This causes tasks to register to and deregister from load balancers.</p> <p>We recommend that you verify this on a test environment before you update the Elastic Load Balancing configuration. </p> <p>A service-linked role is required for services that use multiple target groups. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html\">Service-linked roles</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
1226 "base": "<p>The load balancer configuration to use with a service or task set.</p> <p>For specific notes and restrictions regarding the use of load balancers with services and task sets, see the CreateService and CreateTaskSet actions.</p> <p>When you add, update, or remove a load balancer configuration, Amazon ECS starts a new deployment with the updated Elastic Load Balancing configuration. This causes tasks to register to and deregister from load balancers.</p> <p>We recommend that you verify this on a test environment before you update the Elastic Load Balancing configuration. </p> <p>A service-linked role is required for services that use multiple target groups. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html\">Service-linked roles</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
12271227 "refs": {
12281228 "LoadBalancers$member": null
12291229 }
12351235 "CreateTaskSetRequest$loadBalancers": "<p>A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.</p>",
12361236 "Service$loadBalancers": "<p>A list of Elastic Load Balancing load balancer objects. It contains the load balancer name, the container name, and the container port to access from the load balancer. The container name is as it appears in a container definition.</p>",
12371237 "TaskSet$loadBalancers": "<p>Details on a load balancer that are used with a task set.</p>",
1238 "UpdateServiceRequest$loadBalancers": "<p>A list of Elastic Load Balancing load balancer objects. It contains the load balancer name, the container name, and the container port to access from the load balancer. The container name is as it appears in a container definition.</p> <p>When you add, update, or remove a load balancer configuration, Amazon ECS starts new tasks with the updated Elastic Load Balancing configuration, and then stops the old tasks when the new tasks are running.</p> <p>You can remove existing <code>loadBalancers</code> by passing an empty list.</p>"
1238 "UpdateServiceRequest$loadBalancers": "<p>A list of Elastic Load Balancing load balancer objects. It contains the load balancer name, the container name, and the container port to access from the load balancer. The container name is as it appears in a container definition.</p> <p>When you add, update, or remove a load balancer configuration, Amazon ECS starts new tasks with the updated Elastic Load Balancing configuration, and then stops the old tasks when the new tasks are running.</p> <p>For services that use rolling updates, you can add, update, or remove Elastic Load Balancing target groups. You can update from a single target group to multiple target groups and from multiple target groups to a single target group.</p> <p>For services that use blue/green deployments, you can update Elastic Load Balancing target groups by using <code> <a href=\"https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html\">CreateDeployment</a> </code> through CodeDeploy. Note that multiple target groups are not supported for blue/green deployments. For more information see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html\">Register multiple target groups with a service</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. </p> <p>For services that use the external deployment controller, you can add, update, or remove load balancers by using <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html\">CreateTaskSet</a>. Note that multiple target groups are not supported for external deployments. For more information see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html\">Register multiple target groups with a service</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. </p> <p>You can remove existing <code>loadBalancers</code> by passing an empty list.</p>"
12391239 }
12401240 },
12411241 "LogConfiguration": {
17941794 "CREATE_TABLE",
17951795 "DATA_LOCATION_ACCESS",
17961796 "CREATE_TAG",
1797 "ALTER_TAG",
1798 "DELETE_TAG",
1799 "DESCRIBE_TAG",
1800 "ASSOCIATE_TAG"
1797 "ASSOCIATE"
18011798 ]
18021799 },
18031800 "PermissionList":{
20732073 "locationName":"DeviceId"
20742074 },
20752075 "EndTimeExclusive":{"shape":"Timestamp"},
2076 "MaxResults":{"shape":"GetDevicePositionHistoryRequestMaxResultsInteger"},
20762077 "NextToken":{"shape":"Token"},
20772078 "StartTimeInclusive":{"shape":"Timestamp"},
20782079 "TrackerName":{
20812082 "locationName":"TrackerName"
20822083 }
20832084 }
2085 },
2086 "GetDevicePositionHistoryRequestMaxResultsInteger":{
2087 "type":"integer",
2088 "box":true,
2089 "max":100,
2090 "min":1
20842091 },
20852092 "GetDevicePositionHistoryResponse":{
20862093 "type":"structure",
686686 "GetDevicePositionHistoryRequest": {
687687 "base": null,
688688 "refs": {
689 }
690 },
691 "GetDevicePositionHistoryRequestMaxResultsInteger": {
692 "base": null,
693 "refs": {
694 "GetDevicePositionHistoryRequest$MaxResults": "<p>An optional limit for the number of device positions returned in a single call.</p> <p>Default value: <code>100</code> </p>"
689695 }
690696 },
691697 "GetDevicePositionHistoryResponse": {
22 "GetDevicePositionHistory": {
33 "input_token": "NextToken",
44 "output_token": "NextToken",
5 "limit_key": "MaxResults",
56 "result_key": "DevicePositions"
67 },
78 "ListDevicePositions": {
375375 "sv-SE",
376376 "tr-TR",
377377 "en-NZ",
378 "en-ZA"
378 "en-ZA",
379 "ca-ES"
379380 ]
380381 },
381382 "LanguageCodeList":{
828829 "Zeina",
829830 "Zhiyu",
830831 "Aria",
831 "Ayanda"
832 "Ayanda",
833 "Arlet"
832834 ]
833835 },
834836 "VoiceList":{
2727 "ContentType": {
2828 "base": null,
2929 "refs": {
30 "SynthesizeSpeechOutput$ContentType": "<p> Specifies the type audio stream. This should reflect the <code>OutputFormat</code> parameter in your request. </p> <ul> <li> <p> If you request <code>mp3</code> as the <code>OutputFormat</code>, the <code>ContentType</code> returned is audio/mpeg. </p> </li> <li> <p> If you request <code>ogg_vorbis</code> as the <code>OutputFormat</code>, the <code>ContentType</code> returned is audio/ogg. </p> </li> <li> <p> If you request <code>pcm</code> as the <code>OutputFormat</code>, the <code>ContentType</code> returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format. </p> </li> <li> <p>If you request <code>json</code> as the <code>OutputFormat</code>, the <code>ContentType</code> returned is audio/json.</p> </li> </ul> <p> </p>"
30 "SynthesizeSpeechOutput$ContentType": "<p> Specifies the type audio stream. This should reflect the <code>OutputFormat</code> parameter in your request. </p> <ul> <li> <p> If you request <code>mp3</code> as the <code>OutputFormat</code>, the <code>ContentType</code> returned is audio/mpeg. </p> </li> <li> <p> If you request <code>ogg_vorbis</code> as the <code>OutputFormat</code>, the <code>ContentType</code> returned is audio/ogg. </p> </li> <li> <p> If you request <code>pcm</code> as the <code>OutputFormat</code>, the <code>ContentType</code> returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format. </p> </li> <li> <p>If you request <code>json</code> as the <code>OutputFormat</code>, the <code>ContentType</code> returned is application/x-json-stream.</p> </li> </ul> <p> </p>"
3131 }
3232 },
3333 "DateTime": {
25272527 return p.Err()
25282528 }
25292529
2530 const opListTagsForResource = "ListTagsForResource"
2531
2532 // ListTagsForResourceRequest generates a "aws/request.Request" representing the
2533 // client's request for the ListTagsForResource operation. The "output" return
2534 // value will be populated with the request's response once the request completes
2535 // successfully.
2536 //
2537 // Use "Send" method on the returned Request to send the API call to the service.
2538 // the "output" return value is not valid until after Send returns without error.
2539 //
2540 // See ListTagsForResource for more information on using the ListTagsForResource
2541 // API call, and error handling.
2542 //
2543 // This method is useful when you want to inject custom logic or configuration
2544 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
2545 //
2546 //
2547 // // Example sending a request using the ListTagsForResourceRequest method.
2548 // req, resp := client.ListTagsForResourceRequest(params)
2549 //
2550 // err := req.Send()
2551 // if err == nil { // resp is now filled
2552 // fmt.Println(resp)
2553 // }
2554 //
2555 // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListTagsForResource
2556 func (c *CostExplorer) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
2557 op := &request.Operation{
2558 Name: opListTagsForResource,
2559 HTTPMethod: "POST",
2560 HTTPPath: "/",
2561 }
2562
2563 if input == nil {
2564 input = &ListTagsForResourceInput{}
2565 }
2566
2567 output = &ListTagsForResourceOutput{}
2568 req = c.newRequest(op, input, output)
2569 return
2570 }
2571
2572 // ListTagsForResource API operation for AWS Cost Explorer Service.
2573 //
2574 // Returns a list of resource tags associated with the resource specified by
2575 // the Amazon Resource Name (ARN).
2576 //
2577 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2578 // with awserr.Error's Code and Message methods to get detailed information about
2579 // the error.
2580 //
2581 // See the AWS API reference guide for AWS Cost Explorer Service's
2582 // API operation ListTagsForResource for usage and error information.
2583 //
2584 // Returned Error Types:
2585 // * ResourceNotFoundException
2586 // The specified ARN in the request doesn't exist.
2587 //
2588 // * LimitExceededException
2589 // You made too many calls in a short period of time. Try again later.
2590 //
2591 // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListTagsForResource
2592 func (c *CostExplorer) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
2593 req, out := c.ListTagsForResourceRequest(input)
2594 return out, req.Send()
2595 }
2596
2597 // ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
2598 // the ability to pass a context and additional request options.
2599 //
2600 // See ListTagsForResource for details on how to use this API operation.
2601 //
2602 // The context must be non-nil and will be used for request cancellation. If
2603 // the context is nil a panic will occur. In the future the SDK may create
2604 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
2605 // for more information on using Contexts.
2606 func (c *CostExplorer) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
2607 req, out := c.ListTagsForResourceRequest(input)
2608 req.SetContext(ctx)
2609 req.ApplyOptions(opts...)
2610 return out, req.Send()
2611 }
2612
25302613 const opProvideAnomalyFeedback = "ProvideAnomalyFeedback"
25312614
25322615 // ProvideAnomalyFeedbackRequest generates a "aws/request.Request" representing the
26062689 return out, req.Send()
26072690 }
26082691
2692 const opTagResource = "TagResource"
2693
2694 // TagResourceRequest generates a "aws/request.Request" representing the
2695 // client's request for the TagResource operation. The "output" return
2696 // value will be populated with the request's response once the request completes
2697 // successfully.
2698 //
2699 // Use "Send" method on the returned Request to send the API call to the service.
2700 // the "output" return value is not valid until after Send returns without error.
2701 //
2702 // See TagResource for more information on using the TagResource
2703 // API call, and error handling.
2704 //
2705 // This method is useful when you want to inject custom logic or configuration
2706 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
2707 //
2708 //
2709 // // Example sending a request using the TagResourceRequest method.
2710 // req, resp := client.TagResourceRequest(params)
2711 //
2712 // err := req.Send()
2713 // if err == nil { // resp is now filled
2714 // fmt.Println(resp)
2715 // }
2716 //
2717 // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TagResource
2718 func (c *CostExplorer) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
2719 op := &request.Operation{
2720 Name: opTagResource,
2721 HTTPMethod: "POST",
2722 HTTPPath: "/",
2723 }
2724
2725 if input == nil {
2726 input = &TagResourceInput{}
2727 }
2728
2729 output = &TagResourceOutput{}
2730 req = c.newRequest(op, input, output)
2731 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2732 return
2733 }
2734
2735 // TagResource API operation for AWS Cost Explorer Service.
2736 //
2737 // An API operation for adding one or more tags (key-value pairs) to a resource.
2738 //
2739 // You can use the TagResource operation with a resource that already has tags.
2740 // If you specify a new tag key for the resource, this tag is appended to the
2741 // list of tags associated with the resource. If you specify a tag key that
2742 // is already associated with the resource, the new tag value you specify replaces
2743 // the previous value for that tag.
2744 //
2745 // Although the maximum number of array members is 200, user-tag maximum is
2746 // 50. The remaining are reserved for Amazon Web Services use.
2747 //
2748 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2749 // with awserr.Error's Code and Message methods to get detailed information about
2750 // the error.
2751 //
2752 // See the AWS API reference guide for AWS Cost Explorer Service's
2753 // API operation TagResource for usage and error information.
2754 //
2755 // Returned Error Types:
2756 // * ResourceNotFoundException
2757 // The specified ARN in the request doesn't exist.
2758 //
2759 // * TooManyTagsException
2760 // Can occur if you specify a number of tags for a resource greater than the
2761 // maximum 50 user tags per resource.
2762 //
2763 // * LimitExceededException
2764 // You made too many calls in a short period of time. Try again later.
2765 //
2766 // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TagResource
2767 func (c *CostExplorer) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
2768 req, out := c.TagResourceRequest(input)
2769 return out, req.Send()
2770 }
2771
2772 // TagResourceWithContext is the same as TagResource with the addition of
2773 // the ability to pass a context and additional request options.
2774 //
2775 // See TagResource for details on how to use this API operation.
2776 //
2777 // The context must be non-nil and will be used for request cancellation. If
2778 // the context is nil a panic will occur. In the future the SDK may create
2779 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
2780 // for more information on using Contexts.
2781 func (c *CostExplorer) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
2782 req, out := c.TagResourceRequest(input)
2783 req.SetContext(ctx)
2784 req.ApplyOptions(opts...)
2785 return out, req.Send()
2786 }
2787
2788 const opUntagResource = "UntagResource"
2789
2790 // UntagResourceRequest generates a "aws/request.Request" representing the
2791 // client's request for the UntagResource operation. The "output" return
2792 // value will be populated with the request's response once the request completes
2793 // successfully.
2794 //
2795 // Use "Send" method on the returned Request to send the API call to the service.
2796 // the "output" return value is not valid until after Send returns without error.
2797 //
2798 // See UntagResource for more information on using the UntagResource
2799 // API call, and error handling.
2800 //
2801 // This method is useful when you want to inject custom logic or configuration
2802 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
2803 //
2804 //
2805 // // Example sending a request using the UntagResourceRequest method.
2806 // req, resp := client.UntagResourceRequest(params)
2807 //
2808 // err := req.Send()
2809 // if err == nil { // resp is now filled
2810 // fmt.Println(resp)
2811 // }
2812 //
2813 // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UntagResource
2814 func (c *CostExplorer) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
2815 op := &request.Operation{
2816 Name: opUntagResource,
2817 HTTPMethod: "POST",
2818 HTTPPath: "/",
2819 }
2820
2821 if input == nil {
2822 input = &UntagResourceInput{}
2823 }
2824
2825 output = &UntagResourceOutput{}
2826 req = c.newRequest(op, input, output)
2827 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2828 return
2829 }
2830
2831 // UntagResource API operation for AWS Cost Explorer Service.
2832 //
2833 // Removes one or more tags from a resource. Specify only tag key(s) in your
2834 // request. Do not specify the value.
2835 //
2836 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2837 // with awserr.Error's Code and Message methods to get detailed information about
2838 // the error.
2839 //
2840 // See the AWS API reference guide for AWS Cost Explorer Service's
2841 // API operation UntagResource for usage and error information.
2842 //
2843 // Returned Error Types:
2844 // * ResourceNotFoundException
2845 // The specified ARN in the request doesn't exist.
2846 //
2847 // * LimitExceededException
2848 // You made too many calls in a short period of time. Try again later.
2849 //
2850 // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UntagResource
2851 func (c *CostExplorer) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
2852 req, out := c.UntagResourceRequest(input)
2853 return out, req.Send()
2854 }
2855
2856 // UntagResourceWithContext is the same as UntagResource with the addition of
2857 // the ability to pass a context and additional request options.
2858 //
2859 // See UntagResource for details on how to use this API operation.
2860 //
2861 // The context must be non-nil and will be used for request cancellation. If
2862 // the context is nil a panic will occur. In the future the SDK may create
2863 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
2864 // for more information on using Contexts.
2865 func (c *CostExplorer) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
2866 req, out := c.UntagResourceRequest(input)
2867 req.SetContext(ctx)
2868 req.ApplyOptions(opts...)
2869 return out, req.Send()
2870 }
2871
26092872 const opUpdateAnomalyMonitor = "UpdateAnomalyMonitor"
26102873
26112874 // UpdateAnomalyMonitorRequest generates a "aws/request.Request" representing the
26512914 // UpdateAnomalyMonitor API operation for AWS Cost Explorer Service.
26522915 //
26532916 // Updates an existing cost anomaly monitor. The changes made are applied going
2654 // forward, and doesn'tt change anomalies detected in the past.
2917 // forward, and doesn't change anomalies detected in the past.
26552918 //
26562919 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
26572920 // with awserr.Error's Code and Message methods to get detailed information about
43694632 //
43704633 // AnomalyMonitor is a required field
43714634 AnomalyMonitor *AnomalyMonitor `type:"structure" required:"true"`
4635
4636 // An optional list of tags to associate with the specified AnomalyMonitor (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html).
4637 // You can use resource tags to control access to your monitor using IAM policies.
4638 //
4639 // Each tag consists of a key and a value, and each key must be unique for the
4640 // resource. The following restrictions apply to resource tags:
4641 //
4642 // * Although the maximum number of array members is 200, you can assign
4643 // a maximum of 50 user-tags to one resource. The remaining are reserved
4644 // for Amazon Web Services use
4645 //
4646 // * The maximum length of a key is 128 characters
4647 //
4648 // * The maximum length of a value is 256 characters
4649 //
4650 // * Valid characters for keys and values are: A-Z, a-z, spaces, _.:/=+-
4651 //
4652 // * Keys and values are case sensitive
4653 //
4654 // * Keys and values are trimmed for any leading or trailing whitespaces
4655 //
4656 // * Don’t use aws: as a prefix for your keys. This prefix is reserved
4657 // for Amazon Web Services use
4658 ResourceTags []*ResourceTag `type:"list"`
43724659 }
43734660
43744661 // String returns the string representation.
44004687 invalidParams.AddNested("AnomalyMonitor", err.(request.ErrInvalidParams))
44014688 }
44024689 }
4690 if s.ResourceTags != nil {
4691 for i, v := range s.ResourceTags {
4692 if v == nil {
4693 continue
4694 }
4695 if err := v.Validate(); err != nil {
4696 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceTags", i), err.(request.ErrInvalidParams))
4697 }
4698 }
4699 }
44034700
44044701 if invalidParams.Len() > 0 {
44054702 return invalidParams
44134710 return s
44144711 }
44154712
4713 // SetResourceTags sets the ResourceTags field's value.
4714 func (s *CreateAnomalyMonitorInput) SetResourceTags(v []*ResourceTag) *CreateAnomalyMonitorInput {
4715 s.ResourceTags = v
4716 return s
4717 }
4718
44164719 type CreateAnomalyMonitorOutput struct {
44174720 _ struct{} `type:"structure"`
44184721
44534756 //
44544757 // AnomalySubscription is a required field
44554758 AnomalySubscription *AnomalySubscription `type:"structure" required:"true"`
4759
4760 // An optional list of tags to associate with the specified AnomalySubscription
4761 // (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html).
4762 // You can use resource tags to control access to your subscription using IAM
4763 // policies.
4764 //
4765 // Each tag consists of a key and a value, and each key must be unique for the
4766 // resource. The following restrictions apply to resource tags:
4767 //
4768 // * Although the maximum number of array members is 200, you can assign
4769 // a maximum of 50 user-tags to one resource. The remaining are reserved
4770 // for Amazon Web Services use
4771 //
4772 // * The maximum length of a key is 128 characters
4773 //
4774 // * The maximum length of a value is 256 characters
4775 //
4776 // * Valid characters for keys and values are: A-Z, a-z, spaces, _.:/=+-
4777 //
4778 // * Keys and values are case sensitive
4779 //
4780 // * Keys and values are trimmed for any leading or trailing whitespaces
4781 //
4782 // * Don’t use aws: as a prefix for your keys. This prefix is reserved
4783 // for Amazon Web Services use
4784 ResourceTags []*ResourceTag `type:"list"`
44564785 }
44574786
44584787 // String returns the string representation.
44844813 invalidParams.AddNested("AnomalySubscription", err.(request.ErrInvalidParams))
44854814 }
44864815 }
4816 if s.ResourceTags != nil {
4817 for i, v := range s.ResourceTags {
4818 if v == nil {
4819 continue
4820 }
4821 if err := v.Validate(); err != nil {
4822 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceTags", i), err.(request.ErrInvalidParams))
4823 }
4824 }
4825 }
44874826
44884827 if invalidParams.Len() > 0 {
44894828 return invalidParams
44974836 return s
44984837 }
44994838
4839 // SetResourceTags sets the ResourceTags field's value.
4840 func (s *CreateAnomalySubscriptionInput) SetResourceTags(v []*ResourceTag) *CreateAnomalySubscriptionInput {
4841 s.ResourceTags = v
4842 return s
4843 }
4844
45004845 type CreateAnomalySubscriptionOutput struct {
45014846 _ struct{} `type:"structure"`
45024847
45404885 //
45414886 // Name is a required field
45424887 Name *string `min:"1" type:"string" required:"true"`
4888
4889 // An optional list of tags to associate with the specified CostCategory (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html).
4890 // You can use resource tags to control access to your cost category using IAM
4891 // policies.
4892 //
4893 // Each tag consists of a key and a value, and each key must be unique for the
4894 // resource. The following restrictions apply to resource tags:
4895 //
4896 // * Although the maximum number of array members is 200, you can assign
4897 // a maximum of 50 user-tags to one resource. The remaining are reserved
4898 // for Amazon Web Services use
4899 //
4900 // * The maximum length of a key is 128 characters
4901 //
4902 // * The maximum length of a value is 256 characters
4903 //
4904 // * Valid characters for keys and values are: A-Z, a-z, spaces, _.:/=+-
4905 //
4906 // * Keys and values are case sensitive
4907 //
4908 // * Keys and values are trimmed for any leading or trailing whitespaces
4909 //
4910 // * Don’t use aws: as a prefix for your keys. This prefix is reserved
4911 // for Amazon Web Services use
4912 ResourceTags []*ResourceTag `type:"list"`
45434913
45444914 // The rule schema version in this particular Cost Category.
45454915 //
45984968 }
45994969 if s.SplitChargeRules != nil && len(s.SplitChargeRules) < 1 {
46004970 invalidParams.Add(request.NewErrParamMinLen("SplitChargeRules", 1))
4971 }
4972 if s.ResourceTags != nil {
4973 for i, v := range s.ResourceTags {
4974 if v == nil {
4975 continue
4976 }
4977 if err := v.Validate(); err != nil {
4978 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceTags", i), err.(request.ErrInvalidParams))
4979 }
4980 }
46014981 }
46024982 if s.Rules != nil {
46034983 for i, v := range s.Rules {
46355015 // SetName sets the Name field's value.
46365016 func (s *CreateCostCategoryDefinitionInput) SetName(v string) *CreateCostCategoryDefinitionInput {
46375017 s.Name = &v
5018 return s
5019 }
5020
5021 // SetResourceTags sets the ResourceTags field's value.
5022 func (s *CreateCostCategoryDefinitionInput) SetResourceTags(v []*ResourceTag) *CreateCostCategoryDefinitionInput {
5023 s.ResourceTags = v
46385024 return s
46395025 }
46405026
65116897 // to define any combination of dimension filters. For more information, see
65126898 // Expression (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html).
65136899 //
6900 // Valid values for MatchOptions for Dimensions are EQUALS and CASE_SENSITIVE.
6901 //
65146902 // Valid values for MatchOptions for CostCategories and Tags are EQUALS, ABSENT,
6515 // and CASE_SENSITIVE.
6516 //
6517 // The default values are EQUALS and CASE_SENSITIVE. Valid values for MatchOptions
6518 // for Dimensions are EQUALS and CASE_SENSITIVE.
6903 // and CASE_SENSITIVE. Default values are EQUALS and CASE_SENSITIVE.
65196904 Filter *Expression `type:"structure"`
65206905
65216906 // Sets the Amazon Web Services cost granularity to MONTHLY or DAILY, or HOURLY.
67287113 // by or filter by a ResourceId. It requires the Expression (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html)
67297114 // "SERVICE = Amazon Elastic Compute Cloud - Compute" in the filter.
67307115 //
7116 // Valid values for MatchOptions for Dimensions are EQUALS and CASE_SENSITIVE.
7117 //
67317118 // Valid values for MatchOptions for CostCategories and Tags are EQUALS, ABSENT,
6732 // and CASE_SENSITIVE.
6733 //
6734 // The default values are EQUALS and CASE_SENSITIVE. Valid values for MatchOptions
6735 // for Dimensions are EQUALS and CASE_SENSITIVE.
7119 // and CASE_SENSITIVE. Default values are EQUALS and CASE_SENSITIVE.
67367120 //
67377121 // Filter is a required field
67387122 Filter *Expression `type:"structure" required:"true"`
1053210916 return s
1053310917 }
1053410918
10919 type ListTagsForResourceInput struct {
10920 _ struct{} `type:"structure"`
10921
10922 // The Amazon Resource Name (ARN) of the resource. For a list of supported resources,
10923 // see ResourceTag (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html).
10924 //
10925 // ResourceArn is a required field
10926 ResourceArn *string `min:"20" type:"string" required:"true"`
10927 }
10928
10929 // String returns the string representation.
10930 //
10931 // API parameter values that are decorated as "sensitive" in the API will not
10932 // be included in the string output. The member name will be present, but the
10933 // value will be replaced with "sensitive".
10934 func (s ListTagsForResourceInput) String() string {
10935 return awsutil.Prettify(s)
10936 }
10937
10938 // GoString returns the string representation.
10939 //
10940 // API parameter values that are decorated as "sensitive" in the API will not
10941 // be included in the string output. The member name will be present, but the
10942 // value will be replaced with "sensitive".
10943 func (s ListTagsForResourceInput) GoString() string {
10944 return s.String()
10945 }
10946
10947 // Validate inspects the fields of the type to determine if they are valid.
10948 func (s *ListTagsForResourceInput) Validate() error {
10949 invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
10950 if s.ResourceArn == nil {
10951 invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
10952 }
10953 if s.ResourceArn != nil && len(*s.ResourceArn) < 20 {
10954 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 20))
10955 }
10956
10957 if invalidParams.Len() > 0 {
10958 return invalidParams
10959 }
10960 return nil
10961 }
10962
10963 // SetResourceArn sets the ResourceArn field's value.
10964 func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
10965 s.ResourceArn = &v
10966 return s
10967 }
10968
10969 type ListTagsForResourceOutput struct {
10970 _ struct{} `type:"structure"`
10971
10972 // A list of tag key value pairs that are associated with the response.
10973 ResourceTags []*ResourceTag `type:"list"`
10974 }
10975
10976 // String returns the string representation.
10977 //
10978 // API parameter values that are decorated as "sensitive" in the API will not
10979 // be included in the string output. The member name will be present, but the
10980 // value will be replaced with "sensitive".
10981 func (s ListTagsForResourceOutput) String() string {
10982 return awsutil.Prettify(s)
10983 }
10984
10985 // GoString returns the string representation.
10986 //
10987 // API parameter values that are decorated as "sensitive" in the API will not
10988 // be included in the string output. The member name will be present, but the
10989 // value will be replaced with "sensitive".
10990 func (s ListTagsForResourceOutput) GoString() string {
10991 return s.String()
10992 }
10993
10994 // SetResourceTags sets the ResourceTags field's value.
10995 func (s *ListTagsForResourceOutput) SetResourceTags(v []*ResourceTag) *ListTagsForResourceOutput {
10996 s.ResourceTags = v
10997 return s
10998 }
10999
1053511000 // The aggregated value for a metric.
1053611001 type MetricValue struct {
1053711002 _ struct{} `type:"structure"`
1172512190 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
1172612191
1172712192 Message_ *string `locationName:"Message" type:"string"`
12193
12194 ResourceName *string `min:"20" type:"string"`
1172812195 }
1172912196
1173012197 // String returns the string representation.
1177012237 }
1177112238
1177212239 func (s *ResourceNotFoundException) Error() string {
11773 return fmt.Sprintf("%s: %s", s.Code(), s.Message())
12240 return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
1177412241 }
1177512242
1177612243 // Status code returns the HTTP status code for the request's response error.
1178112248 // RequestID returns the service's response RequestID for request.
1178212249 func (s *ResourceNotFoundException) RequestID() string {
1178312250 return s.RespMetadata.RequestID
12251 }
12252
12253 // The tag structure that contains a tag key and value.
12254 //
12255 // Tagging is supported only for the following Cost Explorer resource types:
12256 // AnomalyMonitor (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html),
12257 // AnomalySubscription (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html),
12258 // CostCategory (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html).
12259 type ResourceTag struct {
12260 _ struct{} `type:"structure"`
12261
12262 // The key that is associated with the tag.
12263 //
12264 // Key is a required field
12265 Key *string `min:"1" type:"string" required:"true"`
12266
12267 // The value that is associated with the tag.
12268 //
12269 // Value is a required field
12270 Value *string `type:"string" required:"true"`
12271 }
12272
12273 // String returns the string representation.
12274 //
12275 // API parameter values that are decorated as "sensitive" in the API will not
12276 // be included in the string output. The member name will be present, but the
12277 // value will be replaced with "sensitive".
12278 func (s ResourceTag) String() string {
12279 return awsutil.Prettify(s)
12280 }
12281
12282 // GoString returns the string representation.
12283 //
12284 // API parameter values that are decorated as "sensitive" in the API will not
12285 // be included in the string output. The member name will be present, but the
12286 // value will be replaced with "sensitive".
12287 func (s ResourceTag) GoString() string {
12288 return s.String()
12289 }
12290
12291 // Validate inspects the fields of the type to determine if they are valid.
12292 func (s *ResourceTag) Validate() error {
12293 invalidParams := request.ErrInvalidParams{Context: "ResourceTag"}
12294 if s.Key == nil {
12295 invalidParams.Add(request.NewErrParamRequired("Key"))
12296 }
12297 if s.Key != nil && len(*s.Key) < 1 {
12298 invalidParams.Add(request.NewErrParamMinLen("Key", 1))
12299 }
12300 if s.Value == nil {
12301 invalidParams.Add(request.NewErrParamRequired("Value"))
12302 }
12303
12304 if invalidParams.Len() > 0 {
12305 return invalidParams
12306 }
12307 return nil
12308 }
12309
12310 // SetKey sets the Key field's value.
12311 func (s *ResourceTag) SetKey(v string) *ResourceTag {
12312 s.Key = &v
12313 return s
12314 }
12315
12316 // SetValue sets the Value field's value.
12317 func (s *ResourceTag) SetValue(v string) *ResourceTag {
12318 s.Value = &v
12319 return s
1178412320 }
1178512321
1178612322 // Resource utilization of current resource.
1340013936 return s
1340113937 }
1340213938
13939 type TagResourceInput struct {
13940 _ struct{} `type:"structure"`
13941
13942 // The Amazon Resource Name (ARN) of the resource. For a list of supported resources,
13943 // see ResourceTag (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html).
13944 //
13945 // ResourceArn is a required field
13946 ResourceArn *string `min:"20" type:"string" required:"true"`
13947
13948 // A list of tag key-value pairs to be added to the resource.
13949 //
13950 // Each tag consists of a key and a value, and each key must be unique for the
13951 // resource. The following restrictions apply to resource tags:
13952 //
13953 // * Although the maximum number of array members is 200, you can assign
13954 // a maximum of 50 user-tags to one resource. The remaining are reserved
13955 // for Amazon Web Services use
13956 //
13957 // * The maximum length of a key is 128 characters
13958 //
13959 // * The maximum length of a value is 256 characters
13960 //
13961 // * Valid characters for keys and values are: A-Z, a-z, spaces, _.:/=+-
13962 //
13963 // * Keys and values are case sensitive
13964 //
13965 // * Keys and values are trimmed for any leading or trailing whitespaces
13966 //
13967 // * Don’t use aws: as a prefix for your keys. This prefix is reserved
13968 // for Amazon Web Services use
13969 //
13970 // ResourceTags is a required field
13971 ResourceTags []*ResourceTag `type:"list" required:"true"`
13972 }
13973
13974 // String returns the string representation.
13975 //
13976 // API parameter values that are decorated as "sensitive" in the API will not
13977 // be included in the string output. The member name will be present, but the
13978 // value will be replaced with "sensitive".
13979 func (s TagResourceInput) String() string {
13980 return awsutil.Prettify(s)
13981 }
13982
13983 // GoString returns the string representation.
13984 //
13985 // API parameter values that are decorated as "sensitive" in the API will not
13986 // be included in the string output. The member name will be present, but the
13987 // value will be replaced with "sensitive".
13988 func (s TagResourceInput) GoString() string {
13989 return s.String()
13990 }
13991
13992 // Validate inspects the fields of the type to determine if they are valid.
13993 func (s *TagResourceInput) Validate() error {
13994 invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
13995 if s.ResourceArn == nil {
13996 invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
13997 }
13998 if s.ResourceArn != nil && len(*s.ResourceArn) < 20 {
13999 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 20))
14000 }
14001 if s.ResourceTags == nil {
14002 invalidParams.Add(request.NewErrParamRequired("ResourceTags"))
14003 }
14004 if s.ResourceTags != nil {
14005 for i, v := range s.ResourceTags {
14006 if v == nil {
14007 continue
14008 }
14009 if err := v.Validate(); err != nil {
14010 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceTags", i), err.(request.ErrInvalidParams))
14011 }
14012 }
14013 }
14014
14015 if invalidParams.Len() > 0 {
14016 return invalidParams
14017 }
14018 return nil
14019 }
14020
14021 // SetResourceArn sets the ResourceArn field's value.
14022 func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
14023 s.ResourceArn = &v
14024 return s
14025 }
14026
14027 // SetResourceTags sets the ResourceTags field's value.
14028 func (s *TagResourceInput) SetResourceTags(v []*ResourceTag) *TagResourceInput {
14029 s.ResourceTags = v
14030 return s
14031 }
14032
14033 type TagResourceOutput struct {
14034 _ struct{} `type:"structure"`
14035 }
14036
14037 // String returns the string representation.
14038 //
14039 // API parameter values that are decorated as "sensitive" in the API will not
14040 // be included in the string output. The member name will be present, but the
14041 // value will be replaced with "sensitive".
14042 func (s TagResourceOutput) String() string {
14043 return awsutil.Prettify(s)
14044 }
14045
14046 // GoString returns the string representation.
14047 //
14048 // API parameter values that are decorated as "sensitive" in the API will not
14049 // be included in the string output. The member name will be present, but the
14050 // value will be replaced with "sensitive".
14051 func (s TagResourceOutput) GoString() string {
14052 return s.String()
14053 }
14054
1340314055 // The values that are available for a tag.
1340414056 //
1340514057 // If Values and Key aren't specified, the ABSENT MatchOption is applied to
1359114243 return s
1359214244 }
1359314245
14246 // Can occur if you specify a number of tags for a resource greater than the
14247 // maximum 50 user tags per resource.
14248 type TooManyTagsException struct {
14249 _ struct{} `type:"structure"`
14250 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
14251
14252 Message_ *string `locationName:"Message" type:"string"`
14253
14254 ResourceName *string `min:"20" type:"string"`
14255 }
14256
14257 // String returns the string representation.
14258 //
14259 // API parameter values that are decorated as "sensitive" in the API will not
14260 // be included in the string output. The member name will be present, but the
14261 // value will be replaced with "sensitive".
14262 func (s TooManyTagsException) String() string {
14263 return awsutil.Prettify(s)
14264 }
14265
14266 // GoString returns the string representation.
14267 //
14268 // API parameter values that are decorated as "sensitive" in the API will not
14269 // be included in the string output. The member name will be present, but the
14270 // value will be replaced with "sensitive".
14271 func (s TooManyTagsException) GoString() string {
14272 return s.String()
14273 }
14274
14275 func newErrorTooManyTagsException(v protocol.ResponseMetadata) error {
14276 return &TooManyTagsException{
14277 RespMetadata: v,
14278 }
14279 }
14280
14281 // Code returns the exception type name.
14282 func (s *TooManyTagsException) Code() string {
14283 return "TooManyTagsException"
14284 }
14285
14286 // Message returns the exception's message.
14287 func (s *TooManyTagsException) Message() string {
14288 if s.Message_ != nil {
14289 return *s.Message_
14290 }
14291 return ""
14292 }
14293
14294 // OrigErr always returns nil, satisfies awserr.Error interface.
14295 func (s *TooManyTagsException) OrigErr() error {
14296 return nil
14297 }
14298
14299 func (s *TooManyTagsException) Error() string {
14300 return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
14301 }
14302
14303 // Status code returns the HTTP status code for the request's response error.
14304 func (s *TooManyTagsException) StatusCode() int {
14305 return s.RespMetadata.StatusCode
14306 }
14307
14308 // RequestID returns the service's response RequestID for request.
14309 func (s *TooManyTagsException) RequestID() string {
14310 return s.RespMetadata.RequestID
14311 }
14312
1359414313 // Filters cost anomalies based on the total impact.
1359514314 type TotalImpactFilter struct {
1359614315 _ struct{} `type:"structure"`
1385214571 // RequestID returns the service's response RequestID for request.
1385314572 func (s *UnresolvableUsageUnitException) RequestID() string {
1385414573 return s.RespMetadata.RequestID
14574 }
14575
14576 type UntagResourceInput struct {
14577 _ struct{} `type:"structure"`
14578
14579 // The Amazon Resource Name (ARN) of the resource. For a list of supported resources,
14580 // see ResourceTag (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html).
14581 //
14582 // ResourceArn is a required field
14583 ResourceArn *string `min:"20" type:"string" required:"true"`
14584
14585 // A list of tag keys associated with tags that need to be removed from the
14586 // resource. If you specify a tag key that does not exist, it is ignored. Although
14587 // the maximum number of array members is 200, user-tag maximum is 50. The remaining
14588 // are reserved for Amazon Web Services use.
14589 //
14590 // ResourceTagKeys is a required field
14591 ResourceTagKeys []*string `type:"list" required:"true"`
14592 }
14593
14594 // String returns the string representation.
14595 //
14596 // API parameter values that are decorated as "sensitive" in the API will not
14597 // be included in the string output. The member name will be present, but the
14598 // value will be replaced with "sensitive".
14599 func (s UntagResourceInput) String() string {
14600 return awsutil.Prettify(s)
14601 }
14602
14603 // GoString returns the string representation.
14604 //
14605 // API parameter values that are decorated as "sensitive" in the API will not
14606 // be included in the string output. The member name will be present, but the
14607 // value will be replaced with "sensitive".
14608 func (s UntagResourceInput) GoString() string {
14609 return s.String()
14610 }
14611
14612 // Validate inspects the fields of the type to determine if they are valid.
14613 func (s *UntagResourceInput) Validate() error {
14614 invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
14615 if s.ResourceArn == nil {
14616 invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
14617 }
14618 if s.ResourceArn != nil && len(*s.ResourceArn) < 20 {
14619 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 20))
14620 }
14621 if s.ResourceTagKeys == nil {
14622 invalidParams.Add(request.NewErrParamRequired("ResourceTagKeys"))
14623 }
14624
14625 if invalidParams.Len() > 0 {
14626 return invalidParams
14627 }
14628 return nil
14629 }
14630
14631 // SetResourceArn sets the ResourceArn field's value.
14632 func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
14633 s.ResourceArn = &v
14634 return s
14635 }
14636
14637 // SetResourceTagKeys sets the ResourceTagKeys field's value.
14638 func (s *UntagResourceInput) SetResourceTagKeys(v []*string) *UntagResourceInput {
14639 s.ResourceTagKeys = v
14640 return s
14641 }
14642
14643 type UntagResourceOutput struct {
14644 _ struct{} `type:"structure"`
14645 }
14646
14647 // String returns the string representation.
14648 //
14649 // API parameter values that are decorated as "sensitive" in the API will not
14650 // be included in the string output. The member name will be present, but the
14651 // value will be replaced with "sensitive".
14652 func (s UntagResourceOutput) String() string {
14653 return awsutil.Prettify(s)
14654 }
14655
14656 // GoString returns the string representation.
14657 //
14658 // API parameter values that are decorated as "sensitive" in the API will not
14659 // be included in the string output. The member name will be present, but the
14660 // value will be replaced with "sensitive".
14661 func (s UntagResourceOutput) GoString() string {
14662 return s.String()
1385514663 }
1385614664
1385714665 type UpdateAnomalyMonitorInput struct {
172172 ListCostCategoryDefinitionsPages(*costexplorer.ListCostCategoryDefinitionsInput, func(*costexplorer.ListCostCategoryDefinitionsOutput, bool) bool) error
173173 ListCostCategoryDefinitionsPagesWithContext(aws.Context, *costexplorer.ListCostCategoryDefinitionsInput, func(*costexplorer.ListCostCategoryDefinitionsOutput, bool) bool, ...request.Option) error
174174
175 ListTagsForResource(*costexplorer.ListTagsForResourceInput) (*costexplorer.ListTagsForResourceOutput, error)
176 ListTagsForResourceWithContext(aws.Context, *costexplorer.ListTagsForResourceInput, ...request.Option) (*costexplorer.ListTagsForResourceOutput, error)
177 ListTagsForResourceRequest(*costexplorer.ListTagsForResourceInput) (*request.Request, *costexplorer.ListTagsForResourceOutput)
178
175179 ProvideAnomalyFeedback(*costexplorer.ProvideAnomalyFeedbackInput) (*costexplorer.ProvideAnomalyFeedbackOutput, error)
176180 ProvideAnomalyFeedbackWithContext(aws.Context, *costexplorer.ProvideAnomalyFeedbackInput, ...request.Option) (*costexplorer.ProvideAnomalyFeedbackOutput, error)
177181 ProvideAnomalyFeedbackRequest(*costexplorer.ProvideAnomalyFeedbackInput) (*request.Request, *costexplorer.ProvideAnomalyFeedbackOutput)
182
183 TagResource(*costexplorer.TagResourceInput) (*costexplorer.TagResourceOutput, error)
184 TagResourceWithContext(aws.Context, *costexplorer.TagResourceInput, ...request.Option) (*costexplorer.TagResourceOutput, error)
185 TagResourceRequest(*costexplorer.TagResourceInput) (*request.Request, *costexplorer.TagResourceOutput)
186
187 UntagResource(*costexplorer.UntagResourceInput) (*costexplorer.UntagResourceOutput, error)
188 UntagResourceWithContext(aws.Context, *costexplorer.UntagResourceInput, ...request.Option) (*costexplorer.UntagResourceOutput, error)
189 UntagResourceRequest(*costexplorer.UntagResourceInput) (*request.Request, *costexplorer.UntagResourceOutput)
178190
179191 UpdateAnomalyMonitor(*costexplorer.UpdateAnomalyMonitorInput) (*costexplorer.UpdateAnomalyMonitorOutput, error)
180192 UpdateAnomalyMonitorWithContext(aws.Context, *costexplorer.UpdateAnomalyMonitorInput, ...request.Option) (*costexplorer.UpdateAnomalyMonitorOutput, error)
5151 // the size of an individual resource.
5252 ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"
5353
54 // ErrCodeTooManyTagsException for service response error code
55 // "TooManyTagsException".
56 //
57 // Can occur if you specify a number of tags for a resource greater than the
58 // maximum 50 user tags per resource.
59 ErrCodeTooManyTagsException = "TooManyTagsException"
60
5461 // ErrCodeUnknownMonitorException for service response error code
5562 // "UnknownMonitorException".
5663 //
7986 "RequestChangedException": newErrorRequestChangedException,
8087 "ResourceNotFoundException": newErrorResourceNotFoundException,
8188 "ServiceQuotaExceededException": newErrorServiceQuotaExceededException,
89 "TooManyTagsException": newErrorTooManyTagsException,
8290 "UnknownMonitorException": newErrorUnknownMonitorException,
8391 "UnknownSubscriptionException": newErrorUnknownSubscriptionException,
8492 "UnresolvableUsageUnitException": newErrorUnresolvableUsageUnitException,
1553615536 // For specific notes and restrictions regarding the use of load balancers with
1553715537 // services and task sets, see the CreateService and CreateTaskSet actions.
1553815538 //
15539 // When you add, update, or remove a load blaancer configuration, Amazon ECS
15539 // When you add, update, or remove a load balancer configuration, Amazon ECS
1554015540 // starts a new deployment with the updated Elastic Load Balancing configuration.
1554115541 // This causes tasks to register to and deregister from load balancers.
1554215542 //
2328623286 // When you add, update, or remove a load balancer configuration, Amazon ECS
2328723287 // starts new tasks with the updated Elastic Load Balancing configuration, and
2328823288 // then stops the old tasks when the new tasks are running.
23289 //
23290 // For services that use rolling updates, you can add, update, or remove Elastic
23291 // Load Balancing target groups. You can update from a single target group to
23292 // multiple target groups and from multiple target groups to a single target
23293 // group.
23294 //
23295 // For services that use blue/green deployments, you can update Elastic Load
23296 // Balancing target groups by using CreateDeployment (https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html)
23297 // through CodeDeploy. Note that multiple target groups are not supported for
23298 // blue/green deployments. For more information see Register multiple target
23299 // groups with a service (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html)
23300 // in the Amazon Elastic Container Service Developer Guide.
23301 //
23302 // For services that use the external deployment controller, you can add, update,
23303 // or remove load balancers by using CreateTaskSet (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html).
23304 // Note that multiple target groups are not supported for external deployments.
23305 // For more information see Register multiple target groups with a service (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html)
23306 // in the Amazon Elastic Container Service Developer Guide.
2328923307 //
2329023308 // You can remove existing loadBalancers by passing an empty list.
2329123309 LoadBalancers []*LoadBalancer `locationName:"loadBalancers" type:"list"`
1391513915 // PermissionCreateTag is a Permission enum value
1391613916 PermissionCreateTag = "CREATE_TAG"
1391713917
13918 // PermissionAlterTag is a Permission enum value
13919 PermissionAlterTag = "ALTER_TAG"
13920
13921 // PermissionDeleteTag is a Permission enum value
13922 PermissionDeleteTag = "DELETE_TAG"
13923
13924 // PermissionDescribeTag is a Permission enum value
13925 PermissionDescribeTag = "DESCRIBE_TAG"
13926
13927 // PermissionAssociateTag is a Permission enum value
13928 PermissionAssociateTag = "ASSOCIATE_TAG"
13918 // PermissionAssociate is a Permission enum value
13919 PermissionAssociate = "ASSOCIATE"
1392913920 )
1393013921
1393113922 // Permission_Values returns all elements of the Permission enum
1394213933 PermissionCreateTable,
1394313934 PermissionDataLocationAccess,
1394413935 PermissionCreateTag,
13945 PermissionAlterTag,
13946 PermissionDeleteTag,
13947 PermissionDescribeTag,
13948 PermissionAssociateTag,
13936 PermissionAssociate,
1394913937 }
1395013938 }
1395113939
26742674 Paginator: &request.Paginator{
26752675 InputTokens: []string{"NextToken"},
26762676 OutputTokens: []string{"NextToken"},
2677 LimitToken: "",
2677 LimitToken: "MaxResults",
26782678 TruncationToken: "",
26792679 },
26802680 }
1056210562 // * The time specified for EndTimeExclusive must be after the time for StartTimeInclusive.
1056310563 EndTimeExclusive *time.Time `type:"timestamp" timestampFormat:"iso8601"`
1056410564
10565 // An optional limit for the number of device positions returned in a single
10566 // call.
10567 //
10568 // Default value: 100
10569 MaxResults *int64 `min:"1" type:"integer"`
10570
1056510571 // The pagination token specifying which page of results to return in the response.
1056610572 // If no token is provided, the default page is the first page.
1056710573 //
1061010616 if s.DeviceId != nil && len(*s.DeviceId) < 1 {
1061110617 invalidParams.Add(request.NewErrParamMinLen("DeviceId", 1))
1061210618 }
10619 if s.MaxResults != nil && *s.MaxResults < 1 {
10620 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
10621 }
1061310622 if s.NextToken != nil && len(*s.NextToken) < 1 {
1061410623 invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
1061510624 }
1063510644 // SetEndTimeExclusive sets the EndTimeExclusive field's value.
1063610645 func (s *GetDevicePositionHistoryInput) SetEndTimeExclusive(v time.Time) *GetDevicePositionHistoryInput {
1063710646 s.EndTimeExclusive = &v
10647 return s
10648 }
10649
10650 // SetMaxResults sets the MaxResults field's value.
10651 func (s *GetDevicePositionHistoryInput) SetMaxResults(v int64) *GetDevicePositionHistoryInput {
10652 s.MaxResults = &v
1063810653 return s
1063910654 }
1064010655
35173517 // audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.
35183518 //
35193519 // * If you request json as the OutputFormat, the ContentType returned is
3520 // audio/json.
3520 // application/x-json-stream.
35213521 ContentType *string `location:"header" locationName:"Content-Type" type:"string"`
35223522
35233523 // Number of characters synthesized.
39773977
39783978 // LanguageCodeEnZa is a LanguageCode enum value
39793979 LanguageCodeEnZa = "en-ZA"
3980
3981 // LanguageCodeCaEs is a LanguageCode enum value
3982 LanguageCodeCaEs = "ca-ES"
39803983 )
39813984
39823985 // LanguageCode_Values returns all elements of the LanguageCode enum
40134016 LanguageCodeTrTr,
40144017 LanguageCodeEnNz,
40154018 LanguageCodeEnZa,
4019 LanguageCodeCaEs,
40164020 }
40174021 }
40184022
42994303
43004304 // VoiceIdAyanda is a VoiceId enum value
43014305 VoiceIdAyanda = "Ayanda"
4306
4307 // VoiceIdArlet is a VoiceId enum value
4308 VoiceIdArlet = "Arlet"
43024309 )
43034310
43044311 // VoiceId_Values returns all elements of the VoiceId enum
43694376 VoiceIdZhiyu,
43704377 VoiceIdAria,
43714378 VoiceIdAyanda,
4372 }
4373 }
4379 VoiceIdArlet,
4380 }
4381 }