aws-sdk 2.1065.0 → 2.1066.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,12 @@
1
1
  # Changelog for AWS SDK for JavaScript
2
- <!--LATEST=2.1065.0-->
2
+ <!--LATEST=2.1066.0-->
3
3
  <!--ENTRYINSERT-->
4
4
 
5
+ ## 2.1066.0
6
+ * feature: Athena: This release adds a field, AthenaError, to the GetQueryExecution response object when a query fails.
7
+ * feature: SageMaker: This release added a new NNA accelerator compilation support for Sagemaker Neo.
8
+ * feature: SecretsManager: Feature are ready to release on Jan 28th
9
+
5
10
  ## 2.1065.0
6
11
  * feature: Connect: This release adds support for configuring a custom chat duration when starting a new chat session via the StartChatContact API. The default value for chat duration is 25 hours, minimum configurable value is 1 hour (60 minutes) and maximum configurable value is 7 days (10,080 minutes).
7
12
  * feature: EC2: X2ezn instances are powered by Intel Cascade Lake CPUs that deliver turbo all core frequency of up to 4.5 GHz and up to 100 Gbps of networking bandwidth
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.1065.0.min.js"></script>
32
+ <script src="https://sdk.amazonaws.com/js/aws-sdk-2.1066.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
@@ -371,7 +371,9 @@
371
371
  }
372
372
  },
373
373
  "payload": "Content"
374
- }
374
+ },
375
+ "deprecated": true,
376
+ "deprecatedMessage": "This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession."
375
377
  },
376
378
  "GetConfigurationProfile": {
377
379
  "http": {
@@ -33,14 +33,6 @@
33
33
  "output": {
34
34
  "type": "structure",
35
35
  "members": {
36
- "Configuration": {
37
- "type": "blob",
38
- "sensitive": true
39
- },
40
- "ContentType": {
41
- "location": "header",
42
- "locationName": "Content-Type"
43
- },
44
36
  "NextPollConfigurationToken": {
45
37
  "location": "header",
46
38
  "locationName": "Next-Poll-Configuration-Token"
@@ -49,6 +41,14 @@
49
41
  "location": "header",
50
42
  "locationName": "Next-Poll-Interval-In-Seconds",
51
43
  "type": "integer"
44
+ },
45
+ "ContentType": {
46
+ "location": "header",
47
+ "locationName": "Content-Type"
48
+ },
49
+ "Configuration": {
50
+ "type": "blob",
51
+ "sensitive": true
52
52
  }
53
53
  },
54
54
  "payload": "Configuration"
@@ -63,13 +63,13 @@
63
63
  "type": "structure",
64
64
  "required": [
65
65
  "ApplicationIdentifier",
66
- "ConfigurationProfileIdentifier",
67
- "EnvironmentIdentifier"
66
+ "EnvironmentIdentifier",
67
+ "ConfigurationProfileIdentifier"
68
68
  ],
69
69
  "members": {
70
70
  "ApplicationIdentifier": {},
71
- "ConfigurationProfileIdentifier": {},
72
71
  "EnvironmentIdentifier": {},
72
+ "ConfigurationProfileIdentifier": {},
73
73
  "RequiredMinimumPollIntervalInSeconds": {
74
74
  "type": "integer"
75
75
  }
@@ -94,10 +94,10 @@
94
94
  "Type": {},
95
95
  "Description": {},
96
96
  "Parameters": {
97
- "shape": "S13"
97
+ "shape": "S15"
98
98
  },
99
99
  "Tags": {
100
- "shape": "S16"
100
+ "shape": "S18"
101
101
  }
102
102
  }
103
103
  },
@@ -162,11 +162,11 @@
162
162
  "members": {
163
163
  "Name": {},
164
164
  "Configuration": {
165
- "shape": "S1i"
165
+ "shape": "S1k"
166
166
  },
167
167
  "Description": {},
168
168
  "Tags": {
169
- "shape": "S16"
169
+ "shape": "S18"
170
170
  }
171
171
  }
172
172
  },
@@ -268,7 +268,7 @@
268
268
  "Description": {},
269
269
  "Type": {},
270
270
  "Parameters": {
271
- "shape": "S13"
271
+ "shape": "S15"
272
272
  }
273
273
  }
274
274
  }
@@ -291,7 +291,7 @@
291
291
  "type": "structure",
292
292
  "members": {
293
293
  "Database": {
294
- "shape": "S20"
294
+ "shape": "S22"
295
295
  }
296
296
  }
297
297
  }
@@ -461,7 +461,7 @@
461
461
  "type": "structure",
462
462
  "members": {
463
463
  "TableMetadata": {
464
- "shape": "S2q"
464
+ "shape": "S2s"
465
465
  }
466
466
  }
467
467
  }
@@ -488,7 +488,7 @@
488
488
  "Name": {},
489
489
  "State": {},
490
490
  "Configuration": {
491
- "shape": "S1i"
491
+ "shape": "S1k"
492
492
  },
493
493
  "Description": {},
494
494
  "CreationTime": {
@@ -546,7 +546,7 @@
546
546
  "DatabaseList": {
547
547
  "type": "list",
548
548
  "member": {
549
- "shape": "S20"
549
+ "shape": "S22"
550
550
  }
551
551
  },
552
552
  "NextToken": {}
@@ -569,7 +569,7 @@
569
569
  "EngineVersions": {
570
570
  "type": "list",
571
571
  "member": {
572
- "shape": "Sy"
572
+ "shape": "S10"
573
573
  }
574
574
  },
575
575
  "NextToken": {}
@@ -674,7 +674,7 @@
674
674
  "TableMetadataList": {
675
675
  "type": "list",
676
676
  "member": {
677
- "shape": "S2q"
677
+ "shape": "S2s"
678
678
  }
679
679
  },
680
680
  "NextToken": {}
@@ -699,7 +699,7 @@
699
699
  "type": "structure",
700
700
  "members": {
701
701
  "Tags": {
702
- "shape": "S16"
702
+ "shape": "S18"
703
703
  },
704
704
  "NextToken": {}
705
705
  }
@@ -730,7 +730,7 @@
730
730
  "type": "timestamp"
731
731
  },
732
732
  "EngineVersion": {
733
- "shape": "Sy"
733
+ "shape": "S10"
734
734
  }
735
735
  }
736
736
  }
@@ -795,7 +795,7 @@
795
795
  "members": {
796
796
  "ResourceARN": {},
797
797
  "Tags": {
798
- "shape": "S16"
798
+ "shape": "S18"
799
799
  }
800
800
  }
801
801
  },
@@ -836,7 +836,7 @@
836
836
  "Type": {},
837
837
  "Description": {},
838
838
  "Parameters": {
839
- "shape": "S13"
839
+ "shape": "S15"
840
840
  }
841
841
  }
842
842
  },
@@ -908,7 +908,7 @@
908
908
  "type": "boolean"
909
909
  },
910
910
  "EngineVersion": {
911
- "shape": "Sy"
911
+ "shape": "S10"
912
912
  }
913
913
  }
914
914
  },
@@ -968,6 +968,14 @@
968
968
  },
969
969
  "CompletionDateTime": {
970
970
  "type": "timestamp"
971
+ },
972
+ "AthenaError": {
973
+ "type": "structure",
974
+ "members": {
975
+ "ErrorCategory": {
976
+ "type": "integer"
977
+ }
978
+ }
971
979
  }
972
980
  }
973
981
  },
@@ -997,7 +1005,7 @@
997
1005
  },
998
1006
  "WorkGroup": {},
999
1007
  "EngineVersion": {
1000
- "shape": "Sy"
1008
+ "shape": "S10"
1001
1009
  }
1002
1010
  }
1003
1011
  },
@@ -1027,19 +1035,19 @@
1027
1035
  "Catalog": {}
1028
1036
  }
1029
1037
  },
1030
- "Sy": {
1038
+ "S10": {
1031
1039
  "type": "structure",
1032
1040
  "members": {
1033
1041
  "SelectedEngineVersion": {},
1034
1042
  "EffectiveEngineVersion": {}
1035
1043
  }
1036
1044
  },
1037
- "S13": {
1045
+ "S15": {
1038
1046
  "type": "map",
1039
1047
  "key": {},
1040
1048
  "value": {}
1041
1049
  },
1042
- "S16": {
1050
+ "S18": {
1043
1051
  "type": "list",
1044
1052
  "member": {
1045
1053
  "type": "structure",
@@ -1049,7 +1057,7 @@
1049
1057
  }
1050
1058
  }
1051
1059
  },
1052
- "S1i": {
1060
+ "S1k": {
1053
1061
  "type": "structure",
1054
1062
  "members": {
1055
1063
  "ResultConfiguration": {
@@ -1068,11 +1076,11 @@
1068
1076
  "type": "boolean"
1069
1077
  },
1070
1078
  "EngineVersion": {
1071
- "shape": "Sy"
1079
+ "shape": "S10"
1072
1080
  }
1073
1081
  }
1074
1082
  },
1075
- "S20": {
1083
+ "S22": {
1076
1084
  "type": "structure",
1077
1085
  "required": [
1078
1086
  "Name"
@@ -1081,11 +1089,11 @@
1081
1089
  "Name": {},
1082
1090
  "Description": {},
1083
1091
  "Parameters": {
1084
- "shape": "S13"
1092
+ "shape": "S15"
1085
1093
  }
1086
1094
  }
1087
1095
  },
1088
- "S2q": {
1096
+ "S2s": {
1089
1097
  "type": "structure",
1090
1098
  "required": [
1091
1099
  "Name"
@@ -1100,17 +1108,17 @@
1100
1108
  },
1101
1109
  "TableType": {},
1102
1110
  "Columns": {
1103
- "shape": "S2t"
1111
+ "shape": "S2v"
1104
1112
  },
1105
1113
  "PartitionKeys": {
1106
- "shape": "S2t"
1114
+ "shape": "S2v"
1107
1115
  },
1108
1116
  "Parameters": {
1109
- "shape": "S13"
1117
+ "shape": "S15"
1110
1118
  }
1111
1119
  }
1112
1120
  },
1113
- "S2t": {
1121
+ "S2v": {
1114
1122
  "type": "list",
1115
1123
  "member": {
1116
1124
  "type": "structure",
@@ -159,7 +159,7 @@
159
159
  "shape": "Se"
160
160
  },
161
161
  "VersionIdsToStages": {
162
- "shape": "S17"
162
+ "shape": "S19"
163
163
  },
164
164
  "OwningService": {},
165
165
  "CreatedDate": {
@@ -254,7 +254,7 @@
254
254
  "shape": "Sd"
255
255
  },
256
256
  "VersionStages": {
257
- "shape": "S18"
257
+ "shape": "S1a"
258
258
  },
259
259
  "CreatedDate": {
260
260
  "type": "timestamp"
@@ -289,7 +289,7 @@
289
289
  "members": {
290
290
  "VersionId": {},
291
291
  "VersionStages": {
292
- "shape": "S18"
292
+ "shape": "S1a"
293
293
  },
294
294
  "LastAccessedDate": {
295
295
  "type": "timestamp"
@@ -369,7 +369,7 @@
369
369
  "shape": "Se"
370
370
  },
371
371
  "SecretVersionsToStages": {
372
- "shape": "S17"
372
+ "shape": "S19"
373
373
  },
374
374
  "OwningService": {},
375
375
  "CreatedDate": {
@@ -424,7 +424,7 @@
424
424
  "shape": "Sd"
425
425
  },
426
426
  "VersionStages": {
427
- "shape": "S18"
427
+ "shape": "S1a"
428
428
  }
429
429
  }
430
430
  },
@@ -435,7 +435,7 @@
435
435
  "Name": {},
436
436
  "VersionId": {},
437
437
  "VersionStages": {
438
- "shape": "S18"
438
+ "shape": "S1a"
439
439
  }
440
440
  }
441
441
  }
@@ -524,6 +524,9 @@
524
524
  "RotationLambdaARN": {},
525
525
  "RotationRules": {
526
526
  "shape": "S12"
527
+ },
528
+ "RotateImmediately": {
529
+ "type": "boolean"
527
530
  }
528
531
  }
529
532
  },
@@ -716,17 +719,19 @@
716
719
  "members": {
717
720
  "AutomaticallyAfterDays": {
718
721
  "type": "long"
719
- }
722
+ },
723
+ "Duration": {},
724
+ "ScheduleExpression": {}
720
725
  }
721
726
  },
722
- "S17": {
727
+ "S19": {
723
728
  "type": "map",
724
729
  "key": {},
725
730
  "value": {
726
- "shape": "S18"
731
+ "shape": "S1a"
727
732
  }
728
733
  },
729
- "S18": {
734
+ "S1a": {
730
735
  "type": "list",
731
736
  "member": {}
732
737
  }
@@ -20,11 +20,11 @@ declare class AppConfig extends Service {
20
20
  */
21
21
  createApplication(callback?: (err: AWSError, data: AppConfig.Types.Application) => void): Request<AppConfig.Types.Application, AWSError>;
22
22
  /**
23
- * Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the AppConfig hosted configuration store, Amazon Web Services Systems Manager (SSM) documents, SSM Parameter Store parameters, Amazon S3 objects, or any integration source action supported by CodePipeline. A configuration profile includes the following information: The URI location of the configuration data. The Identity and Access Management (IAM) role that provides access to the configuration data. A validator for the configuration data. Available validators include either a JSON Schema or an Lambda function. For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide.
23
+ * Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the AppConfig hosted configuration store, Amazon Web Services Systems Manager (SSM) documents, SSM Parameter Store parameters, Amazon S3 objects, or any integration source action supported by CodePipeline. A configuration profile includes the following information: The URI location of the configuration data. The Identity and Access Management (IAM) role that provides access to the configuration data. A validator for the configuration data. Available validators include either a JSON Schema or an Amazon Web Services Lambda function. For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide.
24
24
  */
25
25
  createConfigurationProfile(params: AppConfig.Types.CreateConfigurationProfileRequest, callback?: (err: AWSError, data: AppConfig.Types.ConfigurationProfile) => void): Request<AppConfig.Types.ConfigurationProfile, AWSError>;
26
26
  /**
27
- * Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the AppConfig hosted configuration store, Amazon Web Services Systems Manager (SSM) documents, SSM Parameter Store parameters, Amazon S3 objects, or any integration source action supported by CodePipeline. A configuration profile includes the following information: The URI location of the configuration data. The Identity and Access Management (IAM) role that provides access to the configuration data. A validator for the configuration data. Available validators include either a JSON Schema or an Lambda function. For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide.
27
+ * Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the AppConfig hosted configuration store, Amazon Web Services Systems Manager (SSM) documents, SSM Parameter Store parameters, Amazon S3 objects, or any integration source action supported by CodePipeline. A configuration profile includes the following information: The URI location of the configuration data. The Identity and Access Management (IAM) role that provides access to the configuration data. A validator for the configuration data. Available validators include either a JSON Schema or an Amazon Web Services Lambda function. For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide.
28
28
  */
29
29
  createConfigurationProfile(callback?: (err: AWSError, data: AppConfig.Types.ConfigurationProfile) => void): Request<AppConfig.Types.ConfigurationProfile, AWSError>;
30
30
  /**
@@ -100,11 +100,11 @@ declare class AppConfig extends Service {
100
100
  */
101
101
  getApplication(callback?: (err: AWSError, data: AppConfig.Types.Application) => void): Request<AppConfig.Types.Application, AWSError>;
102
102
  /**
103
- * Retrieves information about a configuration. AppConfig uses the value of the ClientConfigurationVersion parameter to identify the configuration version on your clients. If you don’t send ClientConfigurationVersion with each call to GetConfiguration, your clients receive the current configuration. You are charged each time your clients receive a configuration. To avoid excess charges, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. This value must be saved on your client. Subsequent calls to GetConfiguration must pass this value by using the ClientConfigurationVersion parameter.
103
+ * Retrieves the latest deployed configuration. Note the following important information. This API action has been deprecated. Calls to receive configuration data should use the StartConfigurationSession and GetLatestConfiguration APIs instead. GetConfiguration is a priced call. For more information, see Pricing. AppConfig uses the value of the ClientConfigurationVersion parameter to identify the configuration version on your clients. If you don’t send ClientConfigurationVersion with each call to GetConfiguration, your clients receive the current configuration. You are charged each time your clients receive a configuration. To avoid excess charges, we recommend you use the StartConfigurationSession and GetLatestConfiguration APIs, which track the client configuration version on your behalf. If you choose to continue using GetConfiguration, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. The value to use for ClientConfigurationVersion comes from the ConfigurationVersion attribute returned by GetConfiguration when there is new or updated data, and should be saved for subsequent calls to GetConfiguration.
104
104
  */
105
105
  getConfiguration(params: AppConfig.Types.GetConfigurationRequest, callback?: (err: AWSError, data: AppConfig.Types.Configuration) => void): Request<AppConfig.Types.Configuration, AWSError>;
106
106
  /**
107
- * Retrieves information about a configuration. AppConfig uses the value of the ClientConfigurationVersion parameter to identify the configuration version on your clients. If you don’t send ClientConfigurationVersion with each call to GetConfiguration, your clients receive the current configuration. You are charged each time your clients receive a configuration. To avoid excess charges, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. This value must be saved on your client. Subsequent calls to GetConfiguration must pass this value by using the ClientConfigurationVersion parameter.
107
+ * Retrieves the latest deployed configuration. Note the following important information. This API action has been deprecated. Calls to receive configuration data should use the StartConfigurationSession and GetLatestConfiguration APIs instead. GetConfiguration is a priced call. For more information, see Pricing. AppConfig uses the value of the ClientConfigurationVersion parameter to identify the configuration version on your clients. If you don’t send ClientConfigurationVersion with each call to GetConfiguration, your clients receive the current configuration. You are charged each time your clients receive a configuration. To avoid excess charges, we recommend you use the StartConfigurationSession and GetLatestConfiguration APIs, which track the client configuration version on your behalf. If you choose to continue using GetConfiguration, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. The value to use for ClientConfigurationVersion comes from the ConfigurationVersion attribute returned by GetConfiguration when there is new or updated data, and should be saved for subsequent calls to GetConfiguration.
108
108
  */
109
109
  getConfiguration(callback?: (err: AWSError, data: AppConfig.Types.Configuration) => void): Request<AppConfig.Types.Configuration, AWSError>;
110
110
  /**
@@ -172,11 +172,11 @@ declare class AppConfig extends Service {
172
172
  */
173
173
  listDeploymentStrategies(callback?: (err: AWSError, data: AppConfig.Types.DeploymentStrategies) => void): Request<AppConfig.Types.DeploymentStrategies, AWSError>;
174
174
  /**
175
- * Lists the deployments for an environment.
175
+ * Lists the deployments for an environment in descending deployment number order.
176
176
  */
177
177
  listDeployments(params: AppConfig.Types.ListDeploymentsRequest, callback?: (err: AWSError, data: AppConfig.Types.Deployments) => void): Request<AppConfig.Types.Deployments, AWSError>;
178
178
  /**
179
- * Lists the deployments for an environment.
179
+ * Lists the deployments for an environment in descending deployment number order.
180
180
  */
181
181
  listDeployments(callback?: (err: AWSError, data: AppConfig.Types.Deployments) => void): Request<AppConfig.Types.Deployments, AWSError>;
182
182
  /**
@@ -306,7 +306,7 @@ declare namespace AppConfig {
306
306
  export type _Blob = Buffer|Uint8Array|Blob|string;
307
307
  export interface Configuration {
308
308
  /**
309
- * The content of the configuration or the configuration data. Compare the configuration version numbers of the configuration cached locally on your machine and the configuration number in the the header. If the configuration numbers are the same, the content can be ignored. The Content section only appears if the system finds new or updated configuration data. If the system doesn't find new or updated configuration data, then the Content section is not returned.
309
+ * The content of the configuration or the configuration data. The Content attribute only contains data if the system finds new or updated configuration data. If there is no new or updated data and ClientConfigurationVersion matches the version of the current configuration, AppConfig returns a 204 No Content HTTP response code and the Content value will be empty.
310
310
  */
311
311
  Content?: _Blob;
312
312
  /**
@@ -348,7 +348,7 @@ declare namespace AppConfig {
348
348
  */
349
349
  Validators?: ValidatorList;
350
350
  /**
351
- * The type of configurations that the configuration profile contains. A configuration can be a feature flag used for enabling or disabling new features or a free-form configuration used for distributing configurations to your application.
351
+ * The type of configurations contained in the profile. AppConfig supports feature flags and freeform configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags AWS.Freeform
352
352
  */
353
353
  Type?: ConfigurationProfileType;
354
354
  }
@@ -374,7 +374,7 @@ declare namespace AppConfig {
374
374
  */
375
375
  ValidatorTypes?: ValidatorTypeList;
376
376
  /**
377
- * The type of configurations that the configuration profile contains. A configuration can be a feature flag used for enabling or disabling new features or a free-form configuration used to introduce changes to your application.
377
+ * The type of configurations contained in the profile. AppConfig supports feature flags and freeform configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags AWS.Freeform
378
378
  */
379
379
  Type?: ConfigurationProfileType;
380
380
  }
@@ -434,7 +434,7 @@ declare namespace AppConfig {
434
434
  */
435
435
  Tags?: TagMap;
436
436
  /**
437
- * The type of configurations that the configuration profile contains. A configuration can be a feature flag used for enabling or disabling new features or a free-form configuration used for distributing configurations to your application.
437
+ * The type of configurations contained in the profile. AppConfig supports feature flags and freeform configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags AWS.Freeform
438
438
  */
439
439
  Type?: ConfigurationProfileType;
440
440
  }
@@ -973,7 +973,7 @@ declare namespace AppConfig {
973
973
  */
974
974
  NextToken?: NextToken;
975
975
  /**
976
- * A filter based on the type of configurations that the configuration profile contains. A configuration can be a feature flag or a free-form configuration.
976
+ * A filter based on the type of configurations that the configuration profile contains. A configuration can be a feature flag or a freeform configuration.
977
977
  */
978
978
  Type?: ConfigurationProfileType;
979
979
  }
@@ -997,11 +997,11 @@ declare namespace AppConfig {
997
997
  */
998
998
  EnvironmentId: Id;
999
999
  /**
1000
- * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
1000
+ * The maximum number of items that may be returned for this call. If there are items that have not yet been returned, the response will include a non-null NextToken that you can provide in a subsequent call to get the next set of results.
1001
1001
  */
1002
1002
  MaxResults?: MaxResults;
1003
1003
  /**
1004
- * A token to start the list. Use this token to get the next set of results.
1004
+ * The token returned by a prior call to this operation indicating the next set of results to be returned. If not specified, the operation will return the first set of results.
1005
1005
  */
1006
1006
  NextToken?: NextToken;
1007
1007
  }
@@ -12,19 +12,19 @@ declare class AppConfigData extends Service {
12
12
  constructor(options?: AppConfigData.Types.ClientConfiguration)
13
13
  config: Config & AppConfigData.Types.ClientConfiguration;
14
14
  /**
15
- * Retrieves the latest deployed configuration. This API may return empty Configuration data if the client already has the latest version. See StartConfigurationSession to obtain an InitialConfigurationToken to call this API. Each call to GetLatestConfiguration returns a new ConfigurationToken (NextPollConfigurationToken in the response). This new token MUST be provided to the next call to GetLatestConfiguration when polling for configuration updates. To avoid excess charges, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. This value must be saved on your client. Subsequent calls to GetConfiguration must pass this value by using the ClientConfigurationVersion parameter.
15
+ * Retrieves the latest deployed configuration. This API may return empty configuration data if the client already has the latest version. For more information about this API action and to view example CLI commands that show how to use it with the StartConfigurationSession API action, see Receiving the configuration in the AppConfig User Guide. Note the following important information. Each configuration token is only valid for one call to GetLatestConfiguration. The GetLatestConfiguration response includes a NextPollConfigurationToken that should always replace the token used for the just-completed call in preparation for the next one. GetLatestConfiguration is a priced call. For more information, see Pricing.
16
16
  */
17
17
  getLatestConfiguration(params: AppConfigData.Types.GetLatestConfigurationRequest, callback?: (err: AWSError, data: AppConfigData.Types.GetLatestConfigurationResponse) => void): Request<AppConfigData.Types.GetLatestConfigurationResponse, AWSError>;
18
18
  /**
19
- * Retrieves the latest deployed configuration. This API may return empty Configuration data if the client already has the latest version. See StartConfigurationSession to obtain an InitialConfigurationToken to call this API. Each call to GetLatestConfiguration returns a new ConfigurationToken (NextPollConfigurationToken in the response). This new token MUST be provided to the next call to GetLatestConfiguration when polling for configuration updates. To avoid excess charges, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. This value must be saved on your client. Subsequent calls to GetConfiguration must pass this value by using the ClientConfigurationVersion parameter.
19
+ * Retrieves the latest deployed configuration. This API may return empty configuration data if the client already has the latest version. For more information about this API action and to view example CLI commands that show how to use it with the StartConfigurationSession API action, see Receiving the configuration in the AppConfig User Guide. Note the following important information. Each configuration token is only valid for one call to GetLatestConfiguration. The GetLatestConfiguration response includes a NextPollConfigurationToken that should always replace the token used for the just-completed call in preparation for the next one. GetLatestConfiguration is a priced call. For more information, see Pricing.
20
20
  */
21
21
  getLatestConfiguration(callback?: (err: AWSError, data: AppConfigData.Types.GetLatestConfigurationResponse) => void): Request<AppConfigData.Types.GetLatestConfigurationResponse, AWSError>;
22
22
  /**
23
- * Starts a configuration session used to retrieve a deployed configuration. See the GetLatestConfiguration API for more details.
23
+ * Starts a configuration session used to retrieve a deployed configuration. For more information about this API action and to view example CLI commands that show how to use it with the GetLatestConfiguration API action, see Receiving the configuration in the AppConfig User Guide.
24
24
  */
25
25
  startConfigurationSession(params: AppConfigData.Types.StartConfigurationSessionRequest, callback?: (err: AWSError, data: AppConfigData.Types.StartConfigurationSessionResponse) => void): Request<AppConfigData.Types.StartConfigurationSessionResponse, AWSError>;
26
26
  /**
27
- * Starts a configuration session used to retrieve a deployed configuration. See the GetLatestConfiguration API for more details.
27
+ * Starts a configuration session used to retrieve a deployed configuration. For more information about this API action and to view example CLI commands that show how to use it with the GetLatestConfiguration API action, see Receiving the configuration in the AppConfig User Guide.
28
28
  */
29
29
  startConfigurationSession(callback?: (err: AWSError, data: AppConfigData.Types.StartConfigurationSessionResponse) => void): Request<AppConfigData.Types.StartConfigurationSessionResponse, AWSError>;
30
30
  }
@@ -37,21 +37,21 @@ declare namespace AppConfigData {
37
37
  }
38
38
  export interface GetLatestConfigurationResponse {
39
39
  /**
40
- * The data of the configuration. Note that this may be empty if the client already has the latest version of configuration.
40
+ * The latest token describing the current state of the configuration session. This MUST be provided to the next call to GetLatestConfiguration.
41
41
  */
42
- Configuration?: SyntheticGetLatestConfigurationResponseBlob;
42
+ NextPollConfigurationToken?: Token;
43
43
  /**
44
- * A standard MIME type describing the format of the configuration content.
44
+ * The amount of time the client should wait before polling for configuration updates again. Use RequiredMinimumPollIntervalInSeconds to set the desired poll interval.
45
45
  */
46
- ContentType?: String;
46
+ NextPollIntervalInSeconds?: Integer;
47
47
  /**
48
- * The latest token describing the current state of the configuration session. This MUST be provided to the next call to GetLatestConfiguration.
48
+ * A standard MIME type describing the format of the configuration content.
49
49
  */
50
- NextPollConfigurationToken?: Token;
50
+ ContentType?: String;
51
51
  /**
52
- * The amount of time the client should wait before polling for configuration updates again. See RequiredMinimumPollIntervalInSeconds to set the desired poll interval.
52
+ * The data of the configuration. This may be empty if the client already has the latest version of configuration.
53
53
  */
54
- NextPollIntervalInSeconds?: Integer;
54
+ Configuration?: SyntheticGetLatestConfigurationResponseBlob;
55
55
  }
56
56
  export type Identifier = string;
57
57
  export type Integer = number;
@@ -61,22 +61,22 @@ declare namespace AppConfigData {
61
61
  * The application ID or the application name.
62
62
  */
63
63
  ApplicationIdentifier: Identifier;
64
- /**
65
- * The configuration profile ID or the configuration profile name.
66
- */
67
- ConfigurationProfileIdentifier: Identifier;
68
64
  /**
69
65
  * The environment ID or the environment name.
70
66
  */
71
67
  EnvironmentIdentifier: Identifier;
72
68
  /**
73
- * The interval at which your client will poll for configuration. If provided, the service will throw a BadRequestException if the client polls before the specified poll interval. By default, client poll intervals are not enforced.
69
+ * The configuration profile ID or the configuration profile name.
70
+ */
71
+ ConfigurationProfileIdentifier: Identifier;
72
+ /**
73
+ * Sets a constraint on a session. If you specify a value of, for example, 60 seconds, then the client that established the session can't call GetLatestConfiguration more frequently then every 60 seconds.
74
74
  */
75
75
  RequiredMinimumPollIntervalInSeconds?: OptionalPollSeconds;
76
76
  }
77
77
  export interface StartConfigurationSessionResponse {
78
78
  /**
79
- * Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data. This token should only be used once in your first call to GetLatestConfiguration. You MUST use the new token in the GetConfiguration response (NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.
79
+ * Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data. This token should only be used once in your first call to GetLatestConfiguration. You MUST use the new token in the GetLatestConfiguration response (NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.
80
80
  */
81
81
  InitialConfigurationToken?: Token;
82
82
  }