aws-sdk 2.1224.0 → 2.1225.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,7 +1,13 @@
1
1
  # Changelog for AWS SDK for JavaScript
2
- <!--LATEST=2.1224.0-->
2
+ <!--LATEST=2.1225.0-->
3
3
  <!--ENTRYINSERT-->
4
4
 
5
+ ## 2.1225.0
6
+ * bugfix: rest-json: unset content length in rest-json when payload is undefined
7
+ * feature: CostExplorer: This release is to support retroactive Cost Categories. The new field will enable you to retroactively apply new and existing cost category rules to previous months.
8
+ * feature: Kendra: My AWS Service (placeholder) - Amazon Kendra now provides a data source connector for DropBox. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-dropbox.html
9
+ * feature: Location: This release adds place IDs, which are unique identifiers of places, along with a new GetPlace operation, which can be used with place IDs to find a place again later. UnitNumber and UnitType are also added as new properties of places.
10
+
5
11
  ## 2.1224.0
6
12
  * feature: CUR: This release adds two new support regions(me-central-1/eu-south-2) for OSG.
7
13
  * feature: IoTFleetWise: General availability (GA) for AWS IoT Fleetwise. It adds AWS IoT Fleetwise to AWS SDK. For more information, see https://docs.aws.amazon.com/iot-fleetwise/latest/APIReference/Welcome.html.
package/README.md CHANGED
@@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
29
29
  To use the SDK in the browser, simply add the following script tag to your
30
30
  HTML pages:
31
31
 
32
- <script src="https://sdk.amazonaws.com/js/aws-sdk-2.1224.0.min.js"></script>
32
+ <script src="https://sdk.amazonaws.com/js/aws-sdk-2.1225.0.min.js"></script>
33
33
 
34
34
  You can also build a custom browser SDK with your specified set of AWS services.
35
35
  This can allow you to reduce the SDK's size, specify different API versions of
@@ -74,13 +74,14 @@
74
74
  ],
75
75
  "members": {
76
76
  "Name": {},
77
+ "EffectiveStart": {},
77
78
  "RuleVersion": {},
78
79
  "Rules": {
79
- "shape": "S13"
80
+ "shape": "S14"
80
81
  },
81
82
  "DefaultValue": {},
82
83
  "SplitChargeRules": {
83
- "shape": "S19"
84
+ "shape": "S1a"
84
85
  },
85
86
  "ResourceTags": {
86
87
  "shape": "Sk"
@@ -173,10 +174,10 @@
173
174
  "Name": {},
174
175
  "RuleVersion": {},
175
176
  "Rules": {
176
- "shape": "S13"
177
+ "shape": "S14"
177
178
  },
178
179
  "SplitChargeRules": {
179
- "shape": "S19"
180
+ "shape": "S1a"
180
181
  },
181
182
  "ProcessingStatus": {
182
183
  "shape": "S1s"
@@ -1620,13 +1621,14 @@
1620
1621
  ],
1621
1622
  "members": {
1622
1623
  "CostCategoryArn": {},
1624
+ "EffectiveStart": {},
1623
1625
  "RuleVersion": {},
1624
1626
  "Rules": {
1625
- "shape": "S13"
1627
+ "shape": "S14"
1626
1628
  },
1627
1629
  "DefaultValue": {},
1628
1630
  "SplitChargeRules": {
1629
- "shape": "S19"
1631
+ "shape": "S1a"
1630
1632
  }
1631
1633
  }
1632
1634
  },
@@ -1783,7 +1785,7 @@
1783
1785
  }
1784
1786
  }
1785
1787
  },
1786
- "S13": {
1788
+ "S14": {
1787
1789
  "type": "list",
1788
1790
  "member": {
1789
1791
  "type": "structure",
@@ -1803,7 +1805,7 @@
1803
1805
  }
1804
1806
  }
1805
1807
  },
1806
- "S19": {
1808
+ "S1a": {
1807
1809
  "type": "list",
1808
1810
  "member": {
1809
1811
  "type": "structure",
@@ -762,7 +762,7 @@
762
762
  "members": {
763
763
  "DataSource": {},
764
764
  "DataSourceConfiguration": {
765
- "shape": "S3a"
765
+ "shape": "S3b"
766
766
  },
767
767
  "Description": {},
768
768
  "IndexName": {},
@@ -1168,7 +1168,7 @@
1168
1168
  },
1169
1169
  "DataSource": {},
1170
1170
  "DataSourceConfiguration": {
1171
- "shape": "S3a"
1171
+ "shape": "S3b"
1172
1172
  },
1173
1173
  "Description": {},
1174
1174
  "IndexArn": {},
@@ -1649,6 +1649,48 @@
1649
1649
  "hostPrefix": "maps."
1650
1650
  }
1651
1651
  },
1652
+ "GetPlace": {
1653
+ "http": {
1654
+ "method": "GET",
1655
+ "requestUri": "/places/v0/indexes/{IndexName}/places/{PlaceId}",
1656
+ "responseCode": 200
1657
+ },
1658
+ "input": {
1659
+ "type": "structure",
1660
+ "required": [
1661
+ "IndexName",
1662
+ "PlaceId"
1663
+ ],
1664
+ "members": {
1665
+ "IndexName": {
1666
+ "location": "uri",
1667
+ "locationName": "IndexName"
1668
+ },
1669
+ "Language": {
1670
+ "location": "querystring",
1671
+ "locationName": "language"
1672
+ },
1673
+ "PlaceId": {
1674
+ "location": "uri",
1675
+ "locationName": "PlaceId"
1676
+ }
1677
+ }
1678
+ },
1679
+ "output": {
1680
+ "type": "structure",
1681
+ "required": [
1682
+ "Place"
1683
+ ],
1684
+ "members": {
1685
+ "Place": {
1686
+ "shape": "S4v"
1687
+ }
1688
+ }
1689
+ },
1690
+ "endpoint": {
1691
+ "hostPrefix": "places."
1692
+ }
1693
+ },
1652
1694
  "ListDevicePositions": {
1653
1695
  "http": {
1654
1696
  "requestUri": "/tracking/v0/trackers/{TrackerName}/list-positions",
@@ -2209,8 +2251,9 @@
2209
2251
  "type": "double"
2210
2252
  },
2211
2253
  "Place": {
2212
- "shape": "S64"
2213
- }
2254
+ "shape": "S4v"
2255
+ },
2256
+ "PlaceId": {}
2214
2257
  }
2215
2258
  }
2216
2259
  },
@@ -2256,7 +2299,7 @@
2256
2299
  "shape": "S2g"
2257
2300
  },
2258
2301
  "FilterCountries": {
2259
- "shape": "S6a"
2302
+ "shape": "S6e"
2260
2303
  },
2261
2304
  "IndexName": {
2262
2305
  "location": "uri",
@@ -2287,6 +2330,7 @@
2287
2330
  "Text"
2288
2331
  ],
2289
2332
  "members": {
2333
+ "PlaceId": {},
2290
2334
  "Text": {}
2291
2335
  }
2292
2336
  }
@@ -2306,14 +2350,14 @@
2306
2350
  "shape": "S2g"
2307
2351
  },
2308
2352
  "FilterCountries": {
2309
- "shape": "S6a"
2353
+ "shape": "S6e"
2310
2354
  },
2311
2355
  "Language": {},
2312
2356
  "MaxResults": {
2313
2357
  "type": "integer"
2314
2358
  },
2315
2359
  "Text": {
2316
- "shape": "S6i"
2360
+ "shape": "S6m"
2317
2361
  }
2318
2362
  }
2319
2363
  }
@@ -2342,7 +2386,7 @@
2342
2386
  "shape": "S2g"
2343
2387
  },
2344
2388
  "FilterCountries": {
2345
- "shape": "S6a"
2389
+ "shape": "S6e"
2346
2390
  },
2347
2391
  "IndexName": {
2348
2392
  "location": "uri",
@@ -2377,8 +2421,9 @@
2377
2421
  "type": "double"
2378
2422
  },
2379
2423
  "Place": {
2380
- "shape": "S64"
2424
+ "shape": "S4v"
2381
2425
  },
2426
+ "PlaceId": {},
2382
2427
  "Relevance": {
2383
2428
  "type": "double"
2384
2429
  }
@@ -2400,7 +2445,7 @@
2400
2445
  "shape": "S2g"
2401
2446
  },
2402
2447
  "FilterCountries": {
2403
- "shape": "S6a"
2448
+ "shape": "S6e"
2404
2449
  },
2405
2450
  "Language": {},
2406
2451
  "MaxResults": {
@@ -2410,7 +2455,7 @@
2410
2455
  "shape": "S2g"
2411
2456
  },
2412
2457
  "Text": {
2413
- "shape": "S6i"
2458
+ "shape": "S6m"
2414
2459
  }
2415
2460
  }
2416
2461
  }
@@ -2586,7 +2631,7 @@
2586
2631
  ],
2587
2632
  "members": {
2588
2633
  "DataSourceConfiguration": {
2589
- "shape": "S3a"
2634
+ "shape": "S3b"
2590
2635
  },
2591
2636
  "Description": {},
2592
2637
  "IndexName": {
@@ -2896,13 +2941,13 @@
2896
2941
  "Style": {}
2897
2942
  }
2898
2943
  },
2899
- "S3a": {
2944
+ "S3b": {
2900
2945
  "type": "structure",
2901
2946
  "members": {
2902
2947
  "IntendedUse": {}
2903
2948
  }
2904
2949
  },
2905
- "S64": {
2950
+ "S4v": {
2906
2951
  "type": "structure",
2907
2952
  "required": [
2908
2953
  "Geometry"
@@ -2939,14 +2984,16 @@
2939
2984
  "type": "integer"
2940
2985
  }
2941
2986
  }
2942
- }
2987
+ },
2988
+ "UnitNumber": {},
2989
+ "UnitType": {}
2943
2990
  }
2944
2991
  },
2945
- "S6a": {
2992
+ "S6e": {
2946
2993
  "type": "list",
2947
2994
  "member": {}
2948
2995
  },
2949
- "S6i": {
2996
+ "S6m": {
2950
2997
  "type": "string",
2951
2998
  "sensitive": true
2952
2999
  }
@@ -465,11 +465,11 @@ declare namespace CostExplorer {
465
465
  */
466
466
  CostCategoryArn: Arn;
467
467
  /**
468
- * The effective state data of your Cost Category.
468
+ * The effective start date of your Cost Category.
469
469
  */
470
470
  EffectiveStart: ZonedDateTime;
471
471
  /**
472
- * The effective end data of your Cost Category.
472
+ * The effective end date of your Cost Category.
473
473
  */
474
474
  EffectiveEnd?: ZonedDateTime;
475
475
  Name: CostCategoryName;
@@ -716,6 +716,10 @@ declare namespace CostExplorer {
716
716
  }
717
717
  export interface CreateCostCategoryDefinitionRequest {
718
718
  Name: CostCategoryName;
719
+ /**
720
+ * The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future.
721
+ */
722
+ EffectiveStart?: ZonedDateTime;
719
723
  RuleVersion: CostCategoryRuleVersion;
720
724
  /**
721
725
  * The Cost Category rules used to categorize costs. For more information, see CostCategoryRule.
@@ -737,7 +741,7 @@ declare namespace CostExplorer {
737
741
  */
738
742
  CostCategoryArn?: Arn;
739
743
  /**
740
- * The Cost Category's effective start date.
744
+ * The Cost Category's effective start date. It can only be a billing start date (first day of the month).
741
745
  */
742
746
  EffectiveStart?: ZonedDateTime;
743
747
  }
@@ -845,7 +849,7 @@ declare namespace CostExplorer {
845
849
  export type Dimension = "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"AGREEMENT_END_DATE_TIME_AFTER"|"AGREEMENT_END_DATE_TIME_BEFORE"|"INVOICING_ENTITY"|string;
846
850
  export interface DimensionValues {
847
851
  /**
848
- * The names of the metadata types that you can use to filter and group your results. For example, AZ returns a list of Availability Zones.
852
+ * The names of the metadata types that you can use to filter and group your results. For example, AZ returns a list of Availability Zones. LINK_ACCOUNT_NAME and SERVICE_CODE can only be used in CostCategoryRule.
849
853
  */
850
854
  Key?: Dimension;
851
855
  /**
@@ -1371,7 +1375,7 @@ declare namespace CostExplorer {
1371
1375
  */
1372
1376
  TimePeriod: DateInterval;
1373
1377
  /**
1374
- * The name of the dimension. Each Dimension is available for a different Context. For more information, see Context.
1378
+ * The name of the dimension. Each Dimension is available for a different Context. For more information, see Context. LINK_ACCOUNT_NAME and SERVICE_CODE can only be used in CostCategoryRule.
1375
1379
  */
1376
1380
  Dimension: Dimension;
1377
1381
  /**
@@ -1394,7 +1398,7 @@ declare namespace CostExplorer {
1394
1398
  }
1395
1399
  export interface GetDimensionValuesResponse {
1396
1400
  /**
1397
- * The filters that you used to filter your request. Some dimensions are available only for a specific context. If you set the context to COST_AND_USAGE, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. OPERATING_SYSTEM - The operating system. Examples are Windows or Linux. OPERATION - The action performed. Examples include RunInstance and CreateBucket. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances. SERVICE - The Amazon Web Services service such as Amazon DynamoDB. USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation includes a unit attribute. Examples include GB and Hrs. USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute. RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits. RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service. If you set the context to RESERVATIONS, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux. DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. REGION - The Amazon Web Services Region. SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone. TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI). TENANCY - The tenancy of a resource. Examples are shared or dedicated. If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching: SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute) PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront) REGION - The Amazon Web Services Region. INSTANCE_TYPE_FAMILY - The family of instances (For example, m5) LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan
1401
+ * The filters that you used to filter your request. Some dimensions are available only for a specific context. If you set the context to COST_AND_USAGE, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. OPERATING_SYSTEM - The operating system. Examples are Windows or Linux. OPERATION - The action performed. Examples include RunInstance and CreateBucket. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances. SERVICE - The Amazon Web Services service such as Amazon DynamoDB. USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation includes a unit attribute. Examples include GB and Hrs. USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute. RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits. RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service. You can opt-in by enabling Hourly and Resource Level Data in Cost Management Console preferences. If you set the context to RESERVATIONS, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux. DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. REGION - The Amazon Web Services Region. SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone. TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI). TENANCY - The tenancy of a resource. Examples are shared or dedicated. If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching: SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute) PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront) REGION - The Amazon Web Services Region. INSTANCE_TYPE_FAMILY - The family of instances (For example, m5) LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan
1398
1402
  */
1399
1403
  DimensionValues: DimensionValuesWithAttributesList;
1400
1404
  /**
@@ -3004,6 +3008,10 @@ declare namespace CostExplorer {
3004
3008
  * The unique identifier for your Cost Category.
3005
3009
  */
3006
3010
  CostCategoryArn: Arn;
3011
+ /**
3012
+ * The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future.
3013
+ */
3014
+ EffectiveStart?: ZonedDateTime;
3007
3015
  RuleVersion: CostCategoryRuleVersion;
3008
3016
  /**
3009
3017
  * The Expression object used to categorize costs. For more information, see CostCategoryRule .
@@ -3021,7 +3029,7 @@ declare namespace CostExplorer {
3021
3029
  */
3022
3030
  CostCategoryArn?: Arn;
3023
3031
  /**
3024
- * The Cost Category's effective start date.
3032
+ * The Cost Category's effective start date. It can only be a billing start date (first day of the month).
3025
3033
  */
3026
3034
  EffectiveStart?: ZonedDateTime;
3027
3035
  }