Skip to content

Commit

Permalink
Updates SDK to v2.726.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Aug 3, 2020
1 parent ff08d9b commit b93c2e1
Show file tree
Hide file tree
Showing 13 changed files with 1,653 additions and 1,094 deletions.
7 changes: 7 additions & 0 deletions .changes/2.726.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"type": "feature",
"category": "SSM",
"description": "Adds a waiter for CommandExecuted and paginators for various other APIs."
}
]
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.725.0-->
<!--LATEST=2.726.0-->
<!--ENTRYINSERT-->

## 2.726.0
* feature: SSM: Adds a waiter for CommandExecuted and paginators for various other APIs.

## 2.725.0
* feature: Chime: This release increases the CreateMeetingWithAttendee max attendee limit to 10.
* feature: PersonalizeRuntime: Adds support to use filters with Personalized Ranking recipe
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ version.
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.725.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.726.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
204 changes: 204 additions & 0 deletions apis/ssm-2014-11-06.paginators.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,185 @@
"output_token": "NextToken",
"result_key": "ActivationList"
},
"DescribeAssociationExecutionTargets": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "AssociationExecutionTargets"
},
"DescribeAssociationExecutions": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "AssociationExecutions"
},
"DescribeAutomationExecutions": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "AutomationExecutionMetadataList"
},
"DescribeAutomationStepExecutions": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "StepExecutions"
},
"DescribeAvailablePatches": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Patches"
},
"DescribeEffectiveInstanceAssociations": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Associations"
},
"DescribeEffectivePatchesForPatchBaseline": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "EffectivePatches"
},
"DescribeInstanceAssociationsStatus": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "InstanceAssociationStatusInfos"
},
"DescribeInstanceInformation": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "InstanceInformationList"
},
"DescribeInstancePatchStates": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "InstancePatchStates"
},
"DescribeInstancePatchStatesForPatchGroup": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "InstancePatchStates"
},
"DescribeInstancePatches": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Patches"
},
"DescribeInventoryDeletions": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "InventoryDeletions"
},
"DescribeMaintenanceWindowExecutionTaskInvocations": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "WindowExecutionTaskInvocationIdentities"
},
"DescribeMaintenanceWindowExecutionTasks": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "WindowExecutionTaskIdentities"
},
"DescribeMaintenanceWindowExecutions": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "WindowExecutions"
},
"DescribeMaintenanceWindowSchedule": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "ScheduledWindowExecutions"
},
"DescribeMaintenanceWindowTargets": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Targets"
},
"DescribeMaintenanceWindowTasks": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Tasks"
},
"DescribeMaintenanceWindows": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "WindowIdentities"
},
"DescribeMaintenanceWindowsForTarget": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "WindowIdentities"
},
"DescribeOpsItems": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "OpsItemSummaries"
},
"DescribeParameters": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken"
},
"DescribePatchBaselines": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "BaselineIdentities"
},
"DescribePatchGroups": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Mappings"
},
"DescribePatchProperties": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Properties"
},
"DescribeSessions": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Sessions"
},
"GetInventory": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Entities"
},
"GetInventorySchema": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Schemas"
},
"GetOpsSummary": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Entities"
},
"GetParameterHistory": {
"input_token": "NextToken",
"limit_key": "MaxResults",
Expand All @@ -27,6 +195,12 @@
"limit_key": "MaxResults",
"output_token": "NextToken"
},
"ListAssociationVersions": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "AssociationVersions"
},
"ListAssociations": {
"input_token": "NextToken",
"limit_key": "MaxResults",
Expand All @@ -45,11 +219,41 @@
"output_token": "NextToken",
"result_key": "Commands"
},
"ListComplianceItems": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "ComplianceItems"
},
"ListComplianceSummaries": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "ComplianceSummaryItems"
},
"ListDocumentVersions": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "DocumentVersions"
},
"ListDocuments": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "DocumentIdentifiers"
},
"ListResourceComplianceSummaries": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "ResourceComplianceSummaryItems"
},
"ListResourceDataSync": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "ResourceDataSyncItems"
}
}
}
60 changes: 60 additions & 0 deletions apis/ssm-2014-11-06.waiters2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"version": 2,
"waiters": {
"CommandExecuted": {
"delay": 5,
"operation": "GetCommandInvocation",
"maxAttempts": 20,
"acceptors": [
{
"expected": "Pending",
"matcher": "path",
"state": "retry",
"argument": "Status"
},
{
"expected": "InProgress",
"matcher": "path",
"state": "retry",
"argument": "Status"
},
{
"expected": "Delayed",
"matcher": "path",
"state": "retry",
"argument": "Status"
},
{
"expected": "Success",
"matcher": "path",
"state": "success",
"argument": "Status"
},
{
"expected": "Cancelled",
"matcher": "path",
"state": "failure",
"argument": "Status"
},
{
"expected": "TimedOut",
"matcher": "path",
"state": "failure",
"argument": "Status"
},
{
"expected": "Failed",
"matcher": "path",
"state": "failure",
"argument": "Status"
},
{
"expected": "Cancelling",
"matcher": "path",
"state": "failure",
"argument": "Status"
}
]
}
}
}
9 changes: 9 additions & 0 deletions clients/ssm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {WaiterConfiguration} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config';
interface Blob {}
Expand Down Expand Up @@ -987,6 +988,14 @@ declare class SSM extends Service {
* ServiceSetting is an account-level setting for an AWS service. This setting defines how a user interacts with or uses a service or a feature of a service. For example, if an AWS service charges money to the account based on feature or service usage, then the AWS service team might create a default setting of "false". This means the user can't use this feature unless they change the setting to "true" and intentionally opt in for a paid feature. Services map a SettingId object to a setting value. AWS services teams define the default value for a SettingId. You can't create a new SettingId, but you can overwrite the default value if you have the ssm:UpdateServiceSetting permission for the setting. Use the GetServiceSetting API action to view the current value. Or, use the ResetServiceSetting to change the value back to the original value defined by the AWS service team. Update the service setting for the account.
*/
updateServiceSetting(callback?: (err: AWSError, data: SSM.Types.UpdateServiceSettingResult) => void): Request<SSM.Types.UpdateServiceSettingResult, AWSError>;
/**
* Waits for the commandExecuted state by periodically calling the underlying SSM.getCommandInvocationoperation every 5 seconds (at most 20 times).
*/
waitFor(state: "commandExecuted", params: SSM.Types.GetCommandInvocationRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: SSM.Types.GetCommandInvocationResult) => void): Request<SSM.Types.GetCommandInvocationResult, AWSError>;
/**
* Waits for the commandExecuted state by periodically calling the underlying SSM.getCommandInvocationoperation every 5 seconds (at most 20 times).
*/
waitFor(state: "commandExecuted", callback?: (err: AWSError, data: SSM.Types.GetCommandInvocationResult) => void): Request<SSM.Types.GetCommandInvocationResult, AWSError>;
}
declare namespace SSM {
export type Account = string;
Expand Down
1 change: 1 addition & 0 deletions clients/ssm.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Object.defineProperty(apiLoader.services['ssm'], '2014-11-06', {
get: function get() {
var model = require('../apis/ssm-2014-11-06.min.json');
model.paginators = require('../apis/ssm-2014-11-06.paginators.json').pagination;
model.waiters = require('../apis/ssm-2014-11-06.waiters2.json').waiters;
return model;
},
enumerable: true,
Expand Down
2 changes: 1 addition & 1 deletion dist/aws-sdk-core-react-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
/**
* @constant
*/
VERSION: '2.725.0',
VERSION: '2.726.0',

/**
* @api private
Expand Down
Loading

0 comments on commit b93c2e1

Please sign in to comment.