Skip to content

Commit

Permalink
Updates SDK to v2.1066.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jan 28, 2022
1 parent 320d642 commit 2e253da
Show file tree
Hide file tree
Showing 25 changed files with 984 additions and 856 deletions.
17 changes: 17 additions & 0 deletions .changes/2.1066.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"type": "feature",
"category": "Athena",
"description": "This release adds a field, AthenaError, to the GetQueryExecution response object when a query fails."
},
{
"type": "feature",
"category": "SageMaker",
"description": "This release added a new NNA accelerator compilation support for Sagemaker Neo."
},
{
"type": "feature",
"category": "SecretsManager",
"description": "Feature are ready to release on Jan 28th"
}
]
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1065.0-->
<!--LATEST=2.1066.0-->
<!--ENTRYINSERT-->

## 2.1066.0
* feature: Athena: This release adds a field, AthenaError, to the GetQueryExecution response object when a query fails.
* feature: SageMaker: This release added a new NNA accelerator compilation support for Sagemaker Neo.
* feature: SecretsManager: Feature are ready to release on Jan 28th

## 2.1065.0
* 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).
* 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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1065.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1066.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
4 changes: 3 additions & 1 deletion apis/appconfig-2019-10-09.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,9 @@
}
},
"payload": "Content"
}
},
"deprecated": true,
"deprecatedMessage": "This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession."
},
"GetConfigurationProfile": {
"http": {
Expand Down
26 changes: 14 additions & 12 deletions apis/appconfig-2019-10-09.normal.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions apis/appconfigdata-2021-11-11.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@
"output": {
"type": "structure",
"members": {
"Configuration": {
"type": "blob",
"sensitive": true
},
"ContentType": {
"location": "header",
"locationName": "Content-Type"
},
"NextPollConfigurationToken": {
"location": "header",
"locationName": "Next-Poll-Configuration-Token"
Expand All @@ -49,6 +41,14 @@
"location": "header",
"locationName": "Next-Poll-Interval-In-Seconds",
"type": "integer"
},
"ContentType": {
"location": "header",
"locationName": "Content-Type"
},
"Configuration": {
"type": "blob",
"sensitive": true
}
},
"payload": "Configuration"
Expand All @@ -63,13 +63,13 @@
"type": "structure",
"required": [
"ApplicationIdentifier",
"ConfigurationProfileIdentifier",
"EnvironmentIdentifier"
"EnvironmentIdentifier",
"ConfigurationProfileIdentifier"
],
"members": {
"ApplicationIdentifier": {},
"ConfigurationProfileIdentifier": {},
"EnvironmentIdentifier": {},
"ConfigurationProfileIdentifier": {},
"RequiredMinimumPollIntervalInSeconds": {
"type": "integer"
}
Expand Down
58 changes: 27 additions & 31 deletions apis/appconfigdata-2021-11-11.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"shape": "InternalServerException"
}
],
"documentation": "<p>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.</p> <important> <p>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.</p> <p>To avoid excess charges, we recommend that you include the <code>ClientConfigurationVersion</code> value with every call to <code>GetConfiguration</code>. This value must be saved on your client. Subsequent calls to <code>GetConfiguration</code> must pass this value by using the <code>ClientConfigurationVersion</code> parameter. </p> </important>"
"documentation": "<p>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 <a>StartConfigurationSession</a> API action, see <a href=\"http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration\">Receiving the configuration</a> in the <i>AppConfig User Guide</i>. </p> <important> <p>Note the following important information.</p> <ul> <li> <p>Each configuration token is only valid for one call to <code>GetLatestConfiguration</code>. The <code>GetLatestConfiguration</code> response includes a <code>NextPollConfigurationToken</code> that should always replace the token used for the just-completed call in preparation for the next one. </p> </li> <li> <p> <code>GetLatestConfiguration</code> is a priced call. For more information, see <a href=\"https://aws.amazon.com/systems-manager/pricing/\">Pricing</a>.</p> </li> </ul> </important>"
},
"StartConfigurationSession": {
"name": "StartConfigurationSession",
Expand Down Expand Up @@ -68,7 +68,7 @@
"shape": "InternalServerException"
}
],
"documentation": "<p>Starts a configuration session used to retrieve a deployed configuration. See the GetLatestConfiguration API for more details.</p>"
"documentation": "<p>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 <a>GetLatestConfiguration</a> API action, see <a href=\"http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration\">Receiving the configuration</a> in the <i>AppConfig User Guide</i>. </p>"
}
},
"shapes": {
Expand All @@ -80,40 +80,38 @@
"members": {
"ConfigurationToken": {
"shape": "Token",
"documentation": "<p>Token describing the current state of the configuration session. To obtain a token, first call the StartConfigurationSession API. Note that every call to GetLatestConfiguration will return a new ConfigurationToken (NextPollConfigurationToken in the response) and MUST be provided to subsequent GetLatestConfiguration API calls.</p>",
"documentation": "<p>Token describing the current state of the configuration session. To obtain a token, first call the <a>StartConfigurationSession</a> API. Note that every call to <code>GetLatestConfiguration</code> will return a new <code>ConfigurationToken</code> (<code>NextPollConfigurationToken</code> in the response) and MUST be provided to subsequent <code>GetLatestConfiguration</code> API calls.</p>",
"location": "querystring",
"locationName": "configuration_token"
}
},
"documentation": "<p>Request parameters for the GetLatestConfiguration API</p>"
}
},
"GetLatestConfigurationResponse": {
"type": "structure",
"members": {
"Configuration": {
"shape": "SyntheticGetLatestConfigurationResponseBlob",
"documentation": "<p>The data of the configuration. Note that this may be empty if the client already has the latest version of configuration.</p>"
},
"ContentType": {
"shape": "String",
"documentation": "<p>A standard MIME type describing the format of the configuration content.</p>",
"location": "header",
"locationName": "Content-Type"
},
"NextPollConfigurationToken": {
"shape": "Token",
"documentation": "<p>The latest token describing the current state of the configuration session. This MUST be provided to the next call to GetLatestConfiguration.</p>",
"documentation": "<p>The latest token describing the current state of the configuration session. This MUST be provided to the next call to <code>GetLatestConfiguration.</code> </p>",
"location": "header",
"locationName": "Next-Poll-Configuration-Token"
},
"NextPollIntervalInSeconds": {
"shape": "Integer",
"documentation": "<p>The amount of time the client should wait before polling for configuration updates again. See RequiredMinimumPollIntervalInSeconds to set the desired poll interval.</p>",
"documentation": "<p>The amount of time the client should wait before polling for configuration updates again. Use <code>RequiredMinimumPollIntervalInSeconds</code> to set the desired poll interval.</p>",
"location": "header",
"locationName": "Next-Poll-Interval-In-Seconds"
},
"ContentType": {
"shape": "String",
"documentation": "<p>A standard MIME type describing the format of the configuration content.</p>",
"location": "header",
"locationName": "Content-Type"
},
"Configuration": {
"shape": "SyntheticGetLatestConfigurationResponseBlob",
"documentation": "<p>The data of the configuration. This may be empty if the client already has the latest version of configuration.</p>"
}
},
"documentation": "<p>Response parameters for the GetLatestConfiguration API</p>",
"payload": "Configuration"
},
"Identifier": {
Expand All @@ -134,38 +132,36 @@
"type": "structure",
"required": [
"ApplicationIdentifier",
"ConfigurationProfileIdentifier",
"EnvironmentIdentifier"
"EnvironmentIdentifier",
"ConfigurationProfileIdentifier"
],
"members": {
"ApplicationIdentifier": {
"shape": "Identifier",
"documentation": "<p>The application ID or the application name.</p>"
},
"ConfigurationProfileIdentifier": {
"shape": "Identifier",
"documentation": "<p>The configuration profile ID or the configuration profile name.</p>"
},
"EnvironmentIdentifier": {
"shape": "Identifier",
"documentation": "<p>The environment ID or the environment name.</p>"
},
"ConfigurationProfileIdentifier": {
"shape": "Identifier",
"documentation": "<p>The configuration profile ID or the configuration profile name.</p>"
},
"RequiredMinimumPollIntervalInSeconds": {
"shape": "OptionalPollSeconds",
"documentation": "<p>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.</p>"
"documentation": "<p>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 <a>GetLatestConfiguration</a> more frequently then every 60 seconds.</p>"
}
},
"documentation": "<p>Request parameters for the StartConfigurationSession API.</p>"
}
},
"StartConfigurationSessionResponse": {
"type": "structure",
"members": {
"InitialConfigurationToken": {
"shape": "Token",
"documentation": "<p>Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data.</p> <important> <p>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.</p> </important>"
"documentation": "<p>Token encapsulating state about the configuration session. Provide this token to the <code>GetLatestConfiguration</code> API to retrieve configuration data.</p> <important> <p>This token should only be used once in your first call to <code>GetLatestConfiguration</code>. You MUST use the new token in the <code>GetLatestConfiguration</code> response (<code>NextPollConfigurationToken</code>) in each subsequent call to <code>GetLatestConfiguration</code>.</p> </important>"
}
},
"documentation": "<p>Response parameters for the StartConfigurationSession API.</p>"
}
},
"String": {
"type": "string"
Expand All @@ -179,5 +175,5 @@
"pattern": "\\S{1,8192}"
}
},
"documentation": "<p>Use the AppConfigData API, a capability of AWS AppConfig, to retrieve deployed configuration.</p>"
"documentation": "<p>AppConfig Data provides the data plane APIs your application uses to retrieve configuration data. Here's how it works:</p> <p>Your application retrieves configuration data by first establishing a configuration session using the AppConfig Data <a>StartConfigurationSession</a> API action. Your session's client then makes periodic calls to <a>GetLatestConfiguration</a> to check for and retrieve the latest data available.</p> <p>When calling <code>StartConfigurationSession</code>, your code sends the following information:</p> <ul> <li> <p>Identifiers (ID or name) of an AppConfig application, environment, and configuration profile that the session tracks.</p> </li> <li> <p>(Optional) The minimum amount of time the session's client must wait between calls to <code>GetLatestConfiguration</code>.</p> </li> </ul> <p>In response, AppConfig provides an <code>InitialConfigurationToken</code> to be given to the session's client and used the first time it calls <code>GetLatestConfiguration</code> for that session.</p> <p>When calling <code>GetLatestConfiguration</code>, your client code sends the most recent <code>ConfigurationToken</code> value it has and receives in response:</p> <ul> <li> <p> <code>NextPollConfigurationToken</code>: the <code>ConfigurationToken</code> value to use on the next call to <code>GetLatestConfiguration</code>.</p> </li> <li> <p> <code>NextPollIntervalInSeconds</code>: the duration the client should wait before making its next call to <code>GetLatestConfiguration</code>. This duration may vary over the course of the session, so it should be used instead of the value sent on the <code>StartConfigurationSession</code> call.</p> </li> <li> <p>The configuration: the latest data intended for the session. This may be empty if the client already has the latest version of the configuration.</p> </li> </ul> <p>For more information and to view example CLI commands that show how to retrieve a configuration using the AppConfig Data <code>StartConfigurationSession</code> and <code>GetLatestConfiguration</code> API actions, see <a href=\"http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration\">Receiving the configuration</a> in the <i>AppConfig User Guide</i>.</p>"
}
Loading

0 comments on commit 2e253da

Please sign in to comment.