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
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 | ||
0 | 12 | Release v1.43.22 (2022-03-21) |
1 | 13 | === |
2 | 14 |
4 | 4 | const SDKName = "aws-sdk-go" |
5 | 5 | |
6 | 6 | // SDKVersion is the version of this SDK |
7 | const SDKVersion = "1.43.22" | |
7 | const SDKVersion = "1.43.23" |
372 | 372 | {"shape":"LimitExceededException"} |
373 | 373 | ] |
374 | 374 | }, |
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 | }, | |
375 | 388 | "ProvideAnomalyFeedback":{ |
376 | 389 | "name":"ProvideAnomalyFeedback", |
377 | 390 | "http":{ |
381 | 394 | "input":{"shape":"ProvideAnomalyFeedbackRequest"}, |
382 | 395 | "output":{"shape":"ProvideAnomalyFeedbackResponse"}, |
383 | 396 | "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"}, | |
384 | 424 | {"shape":"LimitExceededException"} |
385 | 425 | ] |
386 | 426 | }, |
812 | 852 | "type":"structure", |
813 | 853 | "required":["AnomalyMonitor"], |
814 | 854 | "members":{ |
815 | "AnomalyMonitor":{"shape":"AnomalyMonitor"} | |
855 | "AnomalyMonitor":{"shape":"AnomalyMonitor"}, | |
856 | "ResourceTags":{"shape":"ResourceTagList"} | |
816 | 857 | } |
817 | 858 | }, |
818 | 859 | "CreateAnomalyMonitorResponse":{ |
826 | 867 | "type":"structure", |
827 | 868 | "required":["AnomalySubscription"], |
828 | 869 | "members":{ |
829 | "AnomalySubscription":{"shape":"AnomalySubscription"} | |
870 | "AnomalySubscription":{"shape":"AnomalySubscription"}, | |
871 | "ResourceTags":{"shape":"ResourceTagList"} | |
830 | 872 | } |
831 | 873 | }, |
832 | 874 | "CreateAnomalySubscriptionResponse":{ |
848 | 890 | "RuleVersion":{"shape":"CostCategoryRuleVersion"}, |
849 | 891 | "Rules":{"shape":"CostCategoryRulesList"}, |
850 | 892 | "DefaultValue":{"shape":"CostCategoryValue"}, |
851 | "SplitChargeRules":{"shape":"CostCategorySplitChargeRulesList"} | |
893 | "SplitChargeRules":{"shape":"CostCategorySplitChargeRulesList"}, | |
894 | "ResourceTags":{"shape":"ResourceTagList"} | |
852 | 895 | } |
853 | 896 | }, |
854 | 897 | "CreateCostCategoryDefinitionResponse":{ |
1672 | 1715 | "NextToken":{"shape":"NextPageToken"} |
1673 | 1716 | } |
1674 | 1717 | }, |
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 | }, | |
1675 | 1731 | "LookbackPeriodInDays":{ |
1676 | 1732 | "type":"string", |
1677 | 1733 | "enum":[ |
2012 | 2068 | "ResourceNotFoundException":{ |
2013 | 2069 | "type":"structure", |
2014 | 2070 | "members":{ |
2015 | "Message":{"shape":"ErrorMessage"} | |
2071 | "Message":{"shape":"ErrorMessage"}, | |
2072 | "ResourceName":{"shape":"Arn"} | |
2016 | 2073 | }, |
2017 | 2074 | "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}_.:/=+\\-@]*)$" | |
2018 | 2110 | }, |
2019 | 2111 | "ResourceUtilization":{ |
2020 | 2112 | "type":"structure", |
2361 | 2453 | "type":"list", |
2362 | 2454 | "member":{"shape":"Entity"} |
2363 | 2455 | }, |
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 | }, | |
2364 | 2472 | "TagValues":{ |
2365 | 2473 | "type":"structure", |
2366 | 2474 | "members":{ |
2403 | 2511 | "CurrencyCode":{"shape":"GenericString"} |
2404 | 2512 | } |
2405 | 2513 | }, |
2514 | "TooManyTagsException":{ | |
2515 | "type":"structure", | |
2516 | "members":{ | |
2517 | "Message":{"shape":"ErrorMessage"}, | |
2518 | "ResourceName":{"shape":"Arn"} | |
2519 | }, | |
2520 | "exception":true | |
2521 | }, | |
2406 | 2522 | "TotalActualHours":{"type":"string"}, |
2407 | 2523 | "TotalActualUnits":{"type":"string"}, |
2408 | 2524 | "TotalAmortizedFee":{"type":"string"}, |
2442 | 2558 | "Message":{"shape":"ErrorMessage"} |
2443 | 2559 | }, |
2444 | 2560 | "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 | } | |
2445 | 2577 | }, |
2446 | 2578 | "UnusedHours":{"type":"string"}, |
2447 | 2579 | "UnusedUnits":{"type":"string"}, |
27 | 27 | "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>", |
28 | 28 | "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>", |
29 | 29 | "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>", | |
30 | 31 | "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>", | |
32 | 35 | "UpdateAnomalySubscription": "<p>Updates an existing cost anomaly monitor subscription. </p>", |
33 | 36 | "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>" |
34 | 37 | }, |
128 | 131 | "DeleteCostCategoryDefinitionRequest$CostCategoryArn": "<p> The unique identifier for your Cost Category. </p>", |
129 | 132 | "DeleteCostCategoryDefinitionResponse$CostCategoryArn": "<p> The unique identifier for your Cost Category. </p>", |
130 | 133 | "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>", | |
131 | 135 | "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>", | |
132 | 140 | "UpdateCostCategoryDefinitionRequest$CostCategoryArn": "<p>The unique identifier for your Cost Category.</p>", |
133 | 141 | "UpdateCostCategoryDefinitionResponse$CostCategoryArn": "<p> The unique identifier for your Cost Category. </p>" |
134 | 142 | } |
592 | 600 | "RequestChangedException$Message": null, |
593 | 601 | "ResourceNotFoundException$Message": null, |
594 | 602 | "ServiceQuotaExceededException$Message": null, |
603 | "TooManyTagsException$Message": null, | |
595 | 604 | "UnknownMonitorException$Message": null, |
596 | 605 | "UnknownSubscriptionException$Message": null, |
597 | 606 | "UnresolvableUsageUnitException$Message": null |
610 | 619 | "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>", |
611 | 620 | "Expression$Not": "<p>Return results that don't match a <code>Dimension</code> object.</p>", |
612 | 621 | "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>", | |
615 | 624 | "GetCostCategoriesRequest$Filter": null, |
616 | 625 | "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>", |
617 | 626 | "GetDimensionValuesRequest$Filter": null, |
1143 | 1152 | "refs": { |
1144 | 1153 | } |
1145 | 1154 | }, |
1155 | "ListTagsForResourceRequest": { | |
1156 | "base": null, | |
1157 | "refs": { | |
1158 | } | |
1159 | }, | |
1160 | "ListTagsForResourceResponse": { | |
1161 | "base": null, | |
1162 | "refs": { | |
1163 | } | |
1164 | }, | |
1146 | 1165 | "LookbackPeriodInDays": { |
1147 | 1166 | "base": null, |
1148 | 1167 | "refs": { |
1559 | 1578 | "refs": { |
1560 | 1579 | } |
1561 | 1580 | }, |
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 | }, | |
1562 | 1616 | "ResourceUtilization": { |
1563 | 1617 | "base": "<p>Resource utilization of current resource. </p>", |
1564 | 1618 | "refs": { |
1857 | 1911 | "GetTagsResponse$Tags": "<p>The tags that match your request.</p>" |
1858 | 1912 | } |
1859 | 1913 | }, |
1914 | "TagResourceRequest": { | |
1915 | "base": null, | |
1916 | "refs": { | |
1917 | } | |
1918 | }, | |
1919 | "TagResourceResponse": { | |
1920 | "base": null, | |
1921 | "refs": { | |
1922 | } | |
1923 | }, | |
1860 | 1924 | "TagValues": { |
1861 | 1925 | "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>", |
1862 | 1926 | "refs": { |
1897 | 1961 | "RightsizingRecommendation$TerminateRecommendationDetail": "<p>The details for termination recommendations.</p>" |
1898 | 1962 | } |
1899 | 1963 | }, |
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 | }, | |
1900 | 1969 | "TotalActualHours": { |
1901 | 1970 | "base": null, |
1902 | 1971 | "refs": { |
1957 | 2026 | }, |
1958 | 2027 | "UnresolvableUsageUnitException": { |
1959 | 2028 | "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, | |
1960 | 2039 | "refs": { |
1961 | 2040 | } |
1962 | 2041 | }, |
1223 | 1223 | } |
1224 | 1224 | }, |
1225 | 1225 | "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>", | |
1227 | 1227 | "refs": { |
1228 | 1228 | "LoadBalancers$member": null |
1229 | 1229 | } |
1235 | 1235 | "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>", |
1236 | 1236 | "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>", |
1237 | 1237 | "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>" | |
1239 | 1239 | } |
1240 | 1240 | }, |
1241 | 1241 | "LogConfiguration": { |
1794 | 1794 | "CREATE_TABLE", |
1795 | 1795 | "DATA_LOCATION_ACCESS", |
1796 | 1796 | "CREATE_TAG", |
1797 | "ALTER_TAG", | |
1798 | "DELETE_TAG", | |
1799 | "DESCRIBE_TAG", | |
1800 | "ASSOCIATE_TAG" | |
1797 | "ASSOCIATE" | |
1801 | 1798 | ] |
1802 | 1799 | }, |
1803 | 1800 | "PermissionList":{ |
2073 | 2073 | "locationName":"DeviceId" |
2074 | 2074 | }, |
2075 | 2075 | "EndTimeExclusive":{"shape":"Timestamp"}, |
2076 | "MaxResults":{"shape":"GetDevicePositionHistoryRequestMaxResultsInteger"}, | |
2076 | 2077 | "NextToken":{"shape":"Token"}, |
2077 | 2078 | "StartTimeInclusive":{"shape":"Timestamp"}, |
2078 | 2079 | "TrackerName":{ |
2081 | 2082 | "locationName":"TrackerName" |
2082 | 2083 | } |
2083 | 2084 | } |
2085 | }, | |
2086 | "GetDevicePositionHistoryRequestMaxResultsInteger":{ | |
2087 | "type":"integer", | |
2088 | "box":true, | |
2089 | "max":100, | |
2090 | "min":1 | |
2084 | 2091 | }, |
2085 | 2092 | "GetDevicePositionHistoryResponse":{ |
2086 | 2093 | "type":"structure", |
686 | 686 | "GetDevicePositionHistoryRequest": { |
687 | 687 | "base": null, |
688 | 688 | "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>" | |
689 | 695 | } |
690 | 696 | }, |
691 | 697 | "GetDevicePositionHistoryResponse": { |
2 | 2 | "GetDevicePositionHistory": { |
3 | 3 | "input_token": "NextToken", |
4 | 4 | "output_token": "NextToken", |
5 | "limit_key": "MaxResults", | |
5 | 6 | "result_key": "DevicePositions" |
6 | 7 | }, |
7 | 8 | "ListDevicePositions": { |
375 | 375 | "sv-SE", |
376 | 376 | "tr-TR", |
377 | 377 | "en-NZ", |
378 | "en-ZA" | |
378 | "en-ZA", | |
379 | "ca-ES" | |
379 | 380 | ] |
380 | 381 | }, |
381 | 382 | "LanguageCodeList":{ |
828 | 829 | "Zeina", |
829 | 830 | "Zhiyu", |
830 | 831 | "Aria", |
831 | "Ayanda" | |
832 | "Ayanda", | |
833 | "Arlet" | |
832 | 834 | ] |
833 | 835 | }, |
834 | 836 | "VoiceList":{ |
27 | 27 | "ContentType": { |
28 | 28 | "base": null, |
29 | 29 | "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>" | |
31 | 31 | } |
32 | 32 | }, |
33 | 33 | "DateTime": { |
2527 | 2527 | return p.Err() |
2528 | 2528 | } |
2529 | 2529 | |
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 | ||
2530 | 2613 | const opProvideAnomalyFeedback = "ProvideAnomalyFeedback" |
2531 | 2614 | |
2532 | 2615 | // ProvideAnomalyFeedbackRequest generates a "aws/request.Request" representing the |
2606 | 2689 | return out, req.Send() |
2607 | 2690 | } |
2608 | 2691 | |
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 | ||
2609 | 2872 | const opUpdateAnomalyMonitor = "UpdateAnomalyMonitor" |
2610 | 2873 | |
2611 | 2874 | // UpdateAnomalyMonitorRequest generates a "aws/request.Request" representing the |
2651 | 2914 | // UpdateAnomalyMonitor API operation for AWS Cost Explorer Service. |
2652 | 2915 | // |
2653 | 2916 | // 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. | |
2655 | 2918 | // |
2656 | 2919 | // Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
2657 | 2920 | // with awserr.Error's Code and Message methods to get detailed information about |
4369 | 4632 | // |
4370 | 4633 | // AnomalyMonitor is a required field |
4371 | 4634 | 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"` | |
4372 | 4659 | } |
4373 | 4660 | |
4374 | 4661 | // String returns the string representation. |
4400 | 4687 | invalidParams.AddNested("AnomalyMonitor", err.(request.ErrInvalidParams)) |
4401 | 4688 | } |
4402 | 4689 | } |
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 | } | |
4403 | 4700 | |
4404 | 4701 | if invalidParams.Len() > 0 { |
4405 | 4702 | return invalidParams |
4413 | 4710 | return s |
4414 | 4711 | } |
4415 | 4712 | |
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 | ||
4416 | 4719 | type CreateAnomalyMonitorOutput struct { |
4417 | 4720 | _ struct{} `type:"structure"` |
4418 | 4721 | |
4453 | 4756 | // |
4454 | 4757 | // AnomalySubscription is a required field |
4455 | 4758 | 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"` | |
4456 | 4785 | } |
4457 | 4786 | |
4458 | 4787 | // String returns the string representation. |
4484 | 4813 | invalidParams.AddNested("AnomalySubscription", err.(request.ErrInvalidParams)) |
4485 | 4814 | } |
4486 | 4815 | } |
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 | } | |
4487 | 4826 | |
4488 | 4827 | if invalidParams.Len() > 0 { |
4489 | 4828 | return invalidParams |
4497 | 4836 | return s |
4498 | 4837 | } |
4499 | 4838 | |
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 | ||
4500 | 4845 | type CreateAnomalySubscriptionOutput struct { |
4501 | 4846 | _ struct{} `type:"structure"` |
4502 | 4847 | |
4540 | 4885 | // |
4541 | 4886 | // Name is a required field |
4542 | 4887 | 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"` | |
4543 | 4913 | |
4544 | 4914 | // The rule schema version in this particular Cost Category. |
4545 | 4915 | // |
4598 | 4968 | } |
4599 | 4969 | if s.SplitChargeRules != nil && len(s.SplitChargeRules) < 1 { |
4600 | 4970 | 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 | } | |
4601 | 4981 | } |
4602 | 4982 | if s.Rules != nil { |
4603 | 4983 | for i, v := range s.Rules { |
4635 | 5015 | // SetName sets the Name field's value. |
4636 | 5016 | func (s *CreateCostCategoryDefinitionInput) SetName(v string) *CreateCostCategoryDefinitionInput { |
4637 | 5017 | 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 | |
4638 | 5024 | return s |
4639 | 5025 | } |
4640 | 5026 | |
6511 | 6897 | // to define any combination of dimension filters. For more information, see |
6512 | 6898 | // Expression (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html). |
6513 | 6899 | // |
6900 | // Valid values for MatchOptions for Dimensions are EQUALS and CASE_SENSITIVE. | |
6901 | // | |
6514 | 6902 | // 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. | |
6519 | 6904 | Filter *Expression `type:"structure"` |
6520 | 6905 | |
6521 | 6906 | // Sets the Amazon Web Services cost granularity to MONTHLY or DAILY, or HOURLY. |
6728 | 7113 | // by or filter by a ResourceId. It requires the Expression (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html) |
6729 | 7114 | // "SERVICE = Amazon Elastic Compute Cloud - Compute" in the filter. |
6730 | 7115 | // |
7116 | // Valid values for MatchOptions for Dimensions are EQUALS and CASE_SENSITIVE. | |
7117 | // | |
6731 | 7118 | // 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. | |
6736 | 7120 | // |
6737 | 7121 | // Filter is a required field |
6738 | 7122 | Filter *Expression `type:"structure" required:"true"` |
10532 | 10916 | return s |
10533 | 10917 | } |
10534 | 10918 | |
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 | ||
10535 | 11000 | // The aggregated value for a metric. |
10536 | 11001 | type MetricValue struct { |
10537 | 11002 | _ struct{} `type:"structure"` |
11725 | 12190 | RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` |
11726 | 12191 | |
11727 | 12192 | Message_ *string `locationName:"Message" type:"string"` |
12193 | ||
12194 | ResourceName *string `min:"20" type:"string"` | |
11728 | 12195 | } |
11729 | 12196 | |
11730 | 12197 | // String returns the string representation. |
11770 | 12237 | } |
11771 | 12238 | |
11772 | 12239 | 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()) | |
11774 | 12241 | } |
11775 | 12242 | |
11776 | 12243 | // Status code returns the HTTP status code for the request's response error. |
11781 | 12248 | // RequestID returns the service's response RequestID for request. |
11782 | 12249 | func (s *ResourceNotFoundException) RequestID() string { |
11783 | 12250 | 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 | |
11784 | 12320 | } |
11785 | 12321 | |
11786 | 12322 | // Resource utilization of current resource. |
13400 | 13936 | return s |
13401 | 13937 | } |
13402 | 13938 | |
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 | ||
13403 | 14055 | // The values that are available for a tag. |
13404 | 14056 | // |
13405 | 14057 | // If Values and Key aren't specified, the ABSENT MatchOption is applied to |
13591 | 14243 | return s |
13592 | 14244 | } |
13593 | 14245 | |
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 | ||
13594 | 14313 | // Filters cost anomalies based on the total impact. |
13595 | 14314 | type TotalImpactFilter struct { |
13596 | 14315 | _ struct{} `type:"structure"` |
13852 | 14571 | // RequestID returns the service's response RequestID for request. |
13853 | 14572 | func (s *UnresolvableUsageUnitException) RequestID() string { |
13854 | 14573 | 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() | |
13855 | 14663 | } |
13856 | 14664 | |
13857 | 14665 | type UpdateAnomalyMonitorInput struct { |
172 | 172 | ListCostCategoryDefinitionsPages(*costexplorer.ListCostCategoryDefinitionsInput, func(*costexplorer.ListCostCategoryDefinitionsOutput, bool) bool) error |
173 | 173 | ListCostCategoryDefinitionsPagesWithContext(aws.Context, *costexplorer.ListCostCategoryDefinitionsInput, func(*costexplorer.ListCostCategoryDefinitionsOutput, bool) bool, ...request.Option) error |
174 | 174 | |
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 | ||
175 | 179 | ProvideAnomalyFeedback(*costexplorer.ProvideAnomalyFeedbackInput) (*costexplorer.ProvideAnomalyFeedbackOutput, error) |
176 | 180 | ProvideAnomalyFeedbackWithContext(aws.Context, *costexplorer.ProvideAnomalyFeedbackInput, ...request.Option) (*costexplorer.ProvideAnomalyFeedbackOutput, error) |
177 | 181 | 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) | |
178 | 190 | |
179 | 191 | UpdateAnomalyMonitor(*costexplorer.UpdateAnomalyMonitorInput) (*costexplorer.UpdateAnomalyMonitorOutput, error) |
180 | 192 | UpdateAnomalyMonitorWithContext(aws.Context, *costexplorer.UpdateAnomalyMonitorInput, ...request.Option) (*costexplorer.UpdateAnomalyMonitorOutput, error) |
51 | 51 | // the size of an individual resource. |
52 | 52 | ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" |
53 | 53 | |
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 | ||
54 | 61 | // ErrCodeUnknownMonitorException for service response error code |
55 | 62 | // "UnknownMonitorException". |
56 | 63 | // |
79 | 86 | "RequestChangedException": newErrorRequestChangedException, |
80 | 87 | "ResourceNotFoundException": newErrorResourceNotFoundException, |
81 | 88 | "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, |
89 | "TooManyTagsException": newErrorTooManyTagsException, | |
82 | 90 | "UnknownMonitorException": newErrorUnknownMonitorException, |
83 | 91 | "UnknownSubscriptionException": newErrorUnknownSubscriptionException, |
84 | 92 | "UnresolvableUsageUnitException": newErrorUnresolvableUsageUnitException, |
15536 | 15536 | // For specific notes and restrictions regarding the use of load balancers with |
15537 | 15537 | // services and task sets, see the CreateService and CreateTaskSet actions. |
15538 | 15538 | // |
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 | |
15540 | 15540 | // starts a new deployment with the updated Elastic Load Balancing configuration. |
15541 | 15541 | // This causes tasks to register to and deregister from load balancers. |
15542 | 15542 | // |
23286 | 23286 | // When you add, update, or remove a load balancer configuration, Amazon ECS |
23287 | 23287 | // starts new tasks with the updated Elastic Load Balancing configuration, and |
23288 | 23288 | // 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. | |
23289 | 23307 | // |
23290 | 23308 | // You can remove existing loadBalancers by passing an empty list. |
23291 | 23309 | LoadBalancers []*LoadBalancer `locationName:"loadBalancers" type:"list"` |
13915 | 13915 | // PermissionCreateTag is a Permission enum value |
13916 | 13916 | PermissionCreateTag = "CREATE_TAG" |
13917 | 13917 | |
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" | |
13929 | 13920 | ) |
13930 | 13921 | |
13931 | 13922 | // Permission_Values returns all elements of the Permission enum |
13942 | 13933 | PermissionCreateTable, |
13943 | 13934 | PermissionDataLocationAccess, |
13944 | 13935 | PermissionCreateTag, |
13945 | PermissionAlterTag, | |
13946 | PermissionDeleteTag, | |
13947 | PermissionDescribeTag, | |
13948 | PermissionAssociateTag, | |
13936 | PermissionAssociate, | |
13949 | 13937 | } |
13950 | 13938 | } |
13951 | 13939 |
2674 | 2674 | Paginator: &request.Paginator{ |
2675 | 2675 | InputTokens: []string{"NextToken"}, |
2676 | 2676 | OutputTokens: []string{"NextToken"}, |
2677 | LimitToken: "", | |
2677 | LimitToken: "MaxResults", | |
2678 | 2678 | TruncationToken: "", |
2679 | 2679 | }, |
2680 | 2680 | } |
10562 | 10562 | // * The time specified for EndTimeExclusive must be after the time for StartTimeInclusive. |
10563 | 10563 | EndTimeExclusive *time.Time `type:"timestamp" timestampFormat:"iso8601"` |
10564 | 10564 | |
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 | ||
10565 | 10571 | // The pagination token specifying which page of results to return in the response. |
10566 | 10572 | // If no token is provided, the default page is the first page. |
10567 | 10573 | // |
10610 | 10616 | if s.DeviceId != nil && len(*s.DeviceId) < 1 { |
10611 | 10617 | invalidParams.Add(request.NewErrParamMinLen("DeviceId", 1)) |
10612 | 10618 | } |
10619 | if s.MaxResults != nil && *s.MaxResults < 1 { | |
10620 | invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) | |
10621 | } | |
10613 | 10622 | if s.NextToken != nil && len(*s.NextToken) < 1 { |
10614 | 10623 | invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) |
10615 | 10624 | } |
10635 | 10644 | // SetEndTimeExclusive sets the EndTimeExclusive field's value. |
10636 | 10645 | func (s *GetDevicePositionHistoryInput) SetEndTimeExclusive(v time.Time) *GetDevicePositionHistoryInput { |
10637 | 10646 | 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 | |
10638 | 10653 | return s |
10639 | 10654 | } |
10640 | 10655 |
3517 | 3517 | // audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format. |
3518 | 3518 | // |
3519 | 3519 | // * If you request json as the OutputFormat, the ContentType returned is |
3520 | // audio/json. | |
3520 | // application/x-json-stream. | |
3521 | 3521 | ContentType *string `location:"header" locationName:"Content-Type" type:"string"` |
3522 | 3522 | |
3523 | 3523 | // Number of characters synthesized. |
3977 | 3977 | |
3978 | 3978 | // LanguageCodeEnZa is a LanguageCode enum value |
3979 | 3979 | LanguageCodeEnZa = "en-ZA" |
3980 | ||
3981 | // LanguageCodeCaEs is a LanguageCode enum value | |
3982 | LanguageCodeCaEs = "ca-ES" | |
3980 | 3983 | ) |
3981 | 3984 | |
3982 | 3985 | // LanguageCode_Values returns all elements of the LanguageCode enum |
4013 | 4016 | LanguageCodeTrTr, |
4014 | 4017 | LanguageCodeEnNz, |
4015 | 4018 | LanguageCodeEnZa, |
4019 | LanguageCodeCaEs, | |
4016 | 4020 | } |
4017 | 4021 | } |
4018 | 4022 | |
4299 | 4303 | |
4300 | 4304 | // VoiceIdAyanda is a VoiceId enum value |
4301 | 4305 | VoiceIdAyanda = "Ayanda" |
4306 | ||
4307 | // VoiceIdArlet is a VoiceId enum value | |
4308 | VoiceIdArlet = "Arlet" | |
4302 | 4309 | ) |
4303 | 4310 | |
4304 | 4311 | // VoiceId_Values returns all elements of the VoiceId enum |
4369 | 4376 | VoiceIdZhiyu, |
4370 | 4377 | VoiceIdAria, |
4371 | 4378 | VoiceIdAyanda, |
4372 | } | |
4373 | } | |
4379 | VoiceIdArlet, | |
4380 | } | |
4381 | } |