From d2e28e11f004ca49a49614b357da1cb8cc008d9d Mon Sep 17 00:00:00 2001 From: awstools Date: Mon, 18 Sep 2023 18:27:47 +0000 Subject: [PATCH] Updates SDK to v2.1460.0 --- .changes/2.1460.0.json | 12 + CHANGELOG.md | 6 +- README.md | 2 +- apis/discovery-2015-11-01.min.json | 3 +- apis/discovery-2015-11-01.normal.json | 3 +- apis/macie2-2020-01-01.normal.json | 4 +- apis/workmail-2017-10-01.min.json | 357 +++++++++-- apis/workmail-2017-10-01.normal.json | 742 +++++++++++++++++++++-- apis/workmail-2017-10-01.paginators.json | 5 + clients/macie2.d.ts | 4 +- clients/workmail.d.ts | 507 ++++++++++++++-- dist/aws-sdk-core-react-native.js | 2 +- dist/aws-sdk-react-native.js | 8 +- dist/aws-sdk.js | 6 +- dist/aws-sdk.min.js | 4 +- lib/core.js | 2 +- package.json | 2 +- 17 files changed, 1473 insertions(+), 196 deletions(-) create mode 100644 .changes/2.1460.0.json diff --git a/.changes/2.1460.0.json b/.changes/2.1460.0.json new file mode 100644 index 0000000000..83adedb611 --- /dev/null +++ b/.changes/2.1460.0.json @@ -0,0 +1,12 @@ +[ + { + "type": "feature", + "category": "Discovery", + "description": "Add sensitive protection for customer information" + }, + { + "type": "feature", + "category": "WorkMail", + "description": "This release includes four new APIs UpdateUser, UpdateGroup, ListGroupsForEntity and DescribeEntity, along with RemoteUsers and some enhancements to existing APIs." + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 287a441949..7ffb9f2bcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,11 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1460.0 +* feature: Discovery: Add sensitive protection for customer information +* feature: WorkMail: This release includes four new APIs UpdateUser, UpdateGroup, ListGroupsForEntity and DescribeEntity, along with RemoteUsers and some enhancements to existing APIs. + ## 2.1459.0 * feature: AppStream: This release introduces app block builder, allowing customers to provision a resource to package applications into an app block * feature: Connect: New rule type (OnMetricDataUpdate) has been added diff --git a/README.md b/README.md index 844e061ce8..5f0e0bed97 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true; To use the SDK in the browser, simply add the following script tag to your HTML pages: - + 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 diff --git a/apis/discovery-2015-11-01.min.json b/apis/discovery-2015-11-01.min.json index 29fdf7e862..2c8b9eebde 100644 --- a/apis/discovery-2015-11-01.min.json +++ b/apis/discovery-2015-11-01.min.json @@ -171,7 +171,8 @@ "members": { "ipAddress": {}, "macAddress": {} - } + }, + "sensitive": true } }, "connectorId": {}, diff --git a/apis/discovery-2015-11-01.normal.json b/apis/discovery-2015-11-01.normal.json index 29b47613ff..e9f8e2a70b 100644 --- a/apis/discovery-2015-11-01.normal.json +++ b/apis/discovery-2015-11-01.normal.json @@ -930,7 +930,8 @@ "documentation": "

The MAC address for the host where the agent/collector resides.

" } }, - "documentation": "

Network details about the host where the agent/collector resides.

" + "documentation": "

Network details about the host where the agent/collector resides.

", + "sensitive": true }, "AgentNetworkInfoList": { "type": "list", diff --git a/apis/macie2-2020-01-01.normal.json b/apis/macie2-2020-01-01.normal.json index 6267aef168..b8dec3b0bd 100644 --- a/apis/macie2-2020-01-01.normal.json +++ b/apis/macie2-2020-01-01.normal.json @@ -4405,7 +4405,7 @@ "managedDataIdentifierSelector": { "shape": "ManagedDataIdentifierSelector", "locationName": "managedDataIdentifierSelector", - "documentation": "

The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:

If you don't specify a value for this property, the job uses all managed data identifiers.

If the job is a recurring job and you don't specify a value for this property or you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you specify RECOMMENDED for a recurring job, each job run automatically uses all the managed data identifiers that are in the recommended set when the job starts to run.

For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide.

" + "documentation": "

The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:

If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.

If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you specify RECOMMENDED for a recurring job, each job run automatically uses all the managed data identifiers that are in the recommended set when the run starts.

For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide.

" }, "name": { "shape": "__string", @@ -5133,7 +5133,7 @@ "managedDataIdentifierSelector": { "shape": "ManagedDataIdentifierSelector", "locationName": "managedDataIdentifierSelector", - "documentation": "

The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are:

If this value is null, the job uses all managed data identifiers.

If the job is a recurring job and this value is null, ALL, or EXCLUDE, each job run automatically uses new managed data identifiers that are released after the job was created or the preceding run ended. If this value is RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts.

For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide.

" + "documentation": "

The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are:

If this value is null, the job uses the recommended set of managed data identifiers.

If the job is a recurring job and this value is ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If this value is null or RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts.

For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide.

" }, "name": { "shape": "__string", diff --git a/apis/workmail-2017-10-01.min.json b/apis/workmail-2017-10-01.min.json index 7fb8aeb47d..26a671e98b 100644 --- a/apis/workmail-2017-10-01.min.json +++ b/apis/workmail-2017-10-01.min.json @@ -152,7 +152,10 @@ ], "members": { "OrganizationId": {}, - "Name": {} + "Name": {}, + "HiddenFromGlobalAddressList": { + "type": "boolean" + } } }, "output": { @@ -181,7 +184,7 @@ "Type": {}, "Description": {}, "Rules": { - "shape": "S10" + "shape": "S11" } } }, @@ -257,6 +260,9 @@ "type": "list", "member": { "type": "structure", + "required": [ + "DomainName" + ], "members": { "DomainName": {}, "HostedZoneId": {} @@ -288,7 +294,11 @@ "members": { "OrganizationId": {}, "Name": {}, - "Type": {} + "Type": {}, + "Description": {}, + "HiddenFromGlobalAddressList": { + "type": "boolean" + } } }, "output": { @@ -305,15 +315,26 @@ "required": [ "OrganizationId", "Name", - "DisplayName", - "Password" + "DisplayName" ], "members": { "OrganizationId": {}, "Name": {}, - "DisplayName": {}, + "DisplayName": { + "shape": "S23" + }, "Password": { "shape": "Sp" + }, + "Role": {}, + "FirstName": { + "shape": "S23" + }, + "LastName": { + "shape": "S23" + }, + "HiddenFromGlobalAddressList": { + "type": "boolean" } } }, @@ -501,6 +522,9 @@ "OrganizationId": {}, "DeleteDirectory": { "type": "boolean" + }, + "ForceDelete": { + "type": "boolean" } } }, @@ -622,6 +646,28 @@ }, "idempotent": true }, + "DescribeEntity": { + "input": { + "type": "structure", + "required": [ + "OrganizationId", + "Email" + ], + "members": { + "OrganizationId": {}, + "Email": {} + } + }, + "output": { + "type": "structure", + "members": { + "EntityId": {}, + "Name": {}, + "Type": {} + } + }, + "idempotent": true + }, "DescribeGroup": { "input": { "type": "structure", @@ -646,6 +692,9 @@ }, "DisabledDate": { "type": "timestamp" + }, + "HiddenFromGlobalAddressList": { + "type": "boolean" } } }, @@ -731,7 +780,11 @@ "type": "timestamp" }, "ErrorMessage": {}, - "ARN": {} + "ARN": {}, + "MigrationAdmin": {}, + "InteroperabilityEnabled": { + "type": "boolean" + } } }, "idempotent": true @@ -756,7 +809,7 @@ "Name": {}, "Type": {}, "BookingOptions": { - "shape": "S3p" + "shape": "S3v" }, "State": {}, "EnabledDate": { @@ -764,6 +817,10 @@ }, "DisabledDate": { "type": "timestamp" + }, + "Description": {}, + "HiddenFromGlobalAddressList": { + "type": "boolean" } } }, @@ -787,7 +844,9 @@ "UserId": {}, "Name": {}, "Email": {}, - "DisplayName": {}, + "DisplayName": { + "shape": "S23" + }, "State": {}, "UserRole": {}, "EnabledDate": { @@ -795,6 +854,51 @@ }, "DisabledDate": { "type": "timestamp" + }, + "MailboxProvisionedDate": { + "type": "timestamp" + }, + "MailboxDeprovisionedDate": { + "type": "timestamp" + }, + "FirstName": { + "shape": "S23" + }, + "LastName": { + "shape": "S23" + }, + "HiddenFromGlobalAddressList": { + "type": "boolean" + }, + "Initials": { + "shape": "S23" + }, + "Telephone": { + "shape": "S23" + }, + "Street": { + "shape": "S23" + }, + "JobTitle": { + "shape": "S23" + }, + "City": { + "shape": "S23" + }, + "Company": { + "shape": "S23" + }, + "ZipCode": { + "shape": "S23" + }, + "Department": { + "shape": "S23" + }, + "Country": { + "shape": "S23" + }, + "Office": { + "shape": "S23" } } }, @@ -884,7 +988,7 @@ "Name": {}, "Description": {}, "FolderConfigurations": { - "shape": "S45" + "shape": "S4a" } } }, @@ -910,7 +1014,7 @@ "Type": {}, "Description": {}, "Rules": { - "shape": "S10" + "shape": "S11" }, "DateCreated": { "type": "timestamp" @@ -1099,22 +1203,22 @@ "Effect": {}, "Description": {}, "IpRanges": { - "shape": "S50" + "shape": "S55" }, "NotIpRanges": { - "shape": "S50" + "shape": "S55" }, "Actions": { - "shape": "S52" + "shape": "S57" }, "NotActions": { - "shape": "S52" + "shape": "S57" }, "UserIds": { - "shape": "S53" + "shape": "S58" }, "NotUserIds": { - "shape": "S53" + "shape": "S58" }, "DateCreated": { "type": "timestamp" @@ -1123,10 +1227,10 @@ "type": "timestamp" }, "ImpersonationRoleIds": { - "shape": "S54" + "shape": "S59" }, "NotImpersonationRoleIds": { - "shape": "S54" + "shape": "S59" } } } @@ -1262,6 +1366,14 @@ "NextToken": {}, "MaxResults": { "type": "integer" + }, + "Filters": { + "type": "structure", + "members": { + "NamePrefix": {}, + "PrimaryEmailPrefix": {}, + "State": {} + } } } }, @@ -1291,6 +1403,46 @@ }, "idempotent": true }, + "ListGroupsForEntity": { + "input": { + "type": "structure", + "required": [ + "OrganizationId", + "EntityId" + ], + "members": { + "OrganizationId": {}, + "EntityId": {}, + "Filters": { + "type": "structure", + "members": { + "GroupNamePrefix": {} + } + }, + "NextToken": {}, + "MaxResults": { + "type": "integer" + } + } + }, + "output": { + "type": "structure", + "members": { + "Groups": { + "type": "list", + "member": { + "type": "structure", + "members": { + "GroupId": {}, + "GroupName": {} + } + } + }, + "NextToken": {} + } + }, + "idempotent": true + }, "ListImpersonationRoles": { "input": { "type": "structure", @@ -1440,7 +1592,7 @@ "GranteeId": {}, "GranteeType": {}, "PermissionValues": { - "shape": "S65" + "shape": "S6g" } } } @@ -1629,6 +1781,14 @@ "NextToken": {}, "MaxResults": { "type": "integer" + }, + "Filters": { + "type": "structure", + "members": { + "NamePrefix": {}, + "PrimaryEmailPrefix": {}, + "State": {} + } } } }, @@ -1650,7 +1810,8 @@ }, "DisabledDate": { "type": "timestamp" - } + }, + "Description": {} } } }, @@ -1673,7 +1834,7 @@ "type": "structure", "members": { "Tags": { - "shape": "S6t" + "shape": "S75" } } } @@ -1689,6 +1850,17 @@ "NextToken": {}, "MaxResults": { "type": "integer" + }, + "Filters": { + "type": "structure", + "members": { + "UsernamePrefix": {}, + "DisplayNamePrefix": { + "shape": "S23" + }, + "PrimaryEmailPrefix": {}, + "State": {} + } } } }, @@ -1734,29 +1906,29 @@ "Effect": {}, "Description": {}, "IpRanges": { - "shape": "S50" + "shape": "S55" }, "NotIpRanges": { - "shape": "S50" + "shape": "S55" }, "Actions": { - "shape": "S52" + "shape": "S57" }, "NotActions": { - "shape": "S52" + "shape": "S57" }, "UserIds": { - "shape": "S53" + "shape": "S58" }, "NotUserIds": { - "shape": "S53" + "shape": "S58" }, "OrganizationId": {}, "ImpersonationRoleIds": { - "shape": "S54" + "shape": "S59" }, "NotImpersonationRoleIds": { - "shape": "S54" + "shape": "S59" } } }, @@ -1819,7 +1991,7 @@ "EntityId": {}, "GranteeId": {}, "PermissionValues": { - "shape": "S65" + "shape": "S6g" } } }, @@ -1868,7 +2040,7 @@ "sensitive": true }, "FolderConfigurations": { - "shape": "S45" + "shape": "S4a" } } }, @@ -1984,7 +2156,7 @@ "members": { "ResourceARN": {}, "Tags": { - "shape": "S6t" + "shape": "S75" } } }, @@ -2082,6 +2254,27 @@ }, "idempotent": true }, + "UpdateGroup": { + "input": { + "type": "structure", + "required": [ + "OrganizationId", + "GroupId" + ], + "members": { + "OrganizationId": {}, + "GroupId": {}, + "HiddenFromGlobalAddressList": { + "type": "boolean" + } + } + }, + "output": { + "type": "structure", + "members": {} + }, + "idempotent": true + }, "UpdateImpersonationRole": { "input": { "type": "structure", @@ -2099,7 +2292,7 @@ "Type": {}, "Description": {}, "Rules": { - "shape": "S10" + "shape": "S11" } } }, @@ -2208,7 +2401,73 @@ "ResourceId": {}, "Name": {}, "BookingOptions": { - "shape": "S3p" + "shape": "S3v" + }, + "Description": {}, + "Type": {}, + "HiddenFromGlobalAddressList": { + "type": "boolean" + } + } + }, + "output": { + "type": "structure", + "members": {} + }, + "idempotent": true + }, + "UpdateUser": { + "input": { + "type": "structure", + "required": [ + "OrganizationId", + "UserId" + ], + "members": { + "OrganizationId": {}, + "UserId": {}, + "Role": {}, + "DisplayName": { + "shape": "S23" + }, + "FirstName": { + "shape": "S23" + }, + "LastName": { + "shape": "S23" + }, + "HiddenFromGlobalAddressList": { + "type": "boolean" + }, + "Initials": { + "shape": "S23" + }, + "Telephone": { + "shape": "S23" + }, + "Street": { + "shape": "S23" + }, + "JobTitle": { + "shape": "S23" + }, + "City": { + "shape": "S23" + }, + "Company": { + "shape": "S23" + }, + "ZipCode": { + "shape": "S23" + }, + "Department": { + "shape": "S23" + }, + "Country": { + "shape": "S23" + }, + "Office": { + "shape": "S23" } } }, @@ -2248,7 +2507,7 @@ "LambdaArn": {} } }, - "S10": { + "S11": { "type": "list", "member": { "type": "structure", @@ -2262,15 +2521,15 @@ "Description": {}, "Effect": {}, "TargetUsers": { - "shape": "S16" + "shape": "S17" }, "NotTargetUsers": { - "shape": "S16" + "shape": "S17" } } } }, - "S16": { + "S17": { "type": "list", "member": {} }, @@ -2290,7 +2549,11 @@ "type": "list", "member": {} }, - "S3p": { + "S23": { + "type": "string", + "sensitive": true + }, + "S3v": { "type": "structure", "members": { "AutoAcceptRequests": { @@ -2304,7 +2567,7 @@ } } }, - "S45": { + "S4a": { "type": "list", "member": { "type": "structure", @@ -2321,27 +2584,27 @@ } } }, - "S50": { + "S55": { "type": "list", "member": {} }, - "S52": { + "S57": { "type": "list", "member": {} }, - "S53": { + "S58": { "type": "list", "member": {} }, - "S54": { + "S59": { "type": "list", "member": {} }, - "S65": { + "S6g": { "type": "list", "member": {} }, - "S6t": { + "S75": { "type": "list", "member": { "type": "structure", diff --git a/apis/workmail-2017-10-01.normal.json b/apis/workmail-2017-10-01.normal.json index 90e27df93f..cd06cb2185 100644 --- a/apis/workmail-2017-10-01.normal.json +++ b/apis/workmail-2017-10-01.normal.json @@ -39,6 +39,9 @@ }, { "shape": "OrganizationStateException" + }, + { + "shape": "UnsupportedOperationException" } ], "documentation": "

Adds a member (user or group) to the resource's set of delegates.

", @@ -386,6 +389,9 @@ }, { "shape": "ReservedNameException" + }, + { + "shape": "UnsupportedOperationException" } ], "documentation": "

Creates a new WorkMail resource.

", @@ -736,6 +742,9 @@ }, { "shape": "OrganizationStateException" + }, + { + "shape": "UnsupportedOperationException" } ], "documentation": "

Deletes the specified resource.

", @@ -898,6 +907,35 @@ "documentation": "

Describes the current email monitoring configuration for a specified organization.

", "idempotent": true }, + "DescribeEntity": { + "name": "DescribeEntity", + "http": { + "method": "POST", + "requestUri": "/" + }, + "input": { + "shape": "DescribeEntityRequest" + }, + "output": { + "shape": "DescribeEntityResponse" + }, + "errors": [ + { + "shape": "EntityNotFoundException" + }, + { + "shape": "InvalidParameterException" + }, + { + "shape": "OrganizationNotFoundException" + }, + { + "shape": "OrganizationStateException" + } + ], + "documentation": "

Returns basic details about an entity in WorkMail.

", + "idempotent": true + }, "DescribeGroup": { "name": "DescribeGroup", "http": { @@ -1026,6 +1064,9 @@ }, { "shape": "OrganizationStateException" + }, + { + "shape": "UnsupportedOperationException" } ], "documentation": "

Returns the data available for the resource.

", @@ -1087,6 +1128,9 @@ }, { "shape": "OrganizationStateException" + }, + { + "shape": "UnsupportedOperationException" } ], "documentation": "

Removes a member from the resource's set of delegates.

", @@ -1297,6 +1341,9 @@ "shape": "GetMailboxDetailsResponse" }, "errors": [ + { + "shape": "InvalidParameterException" + }, { "shape": "OrganizationNotFoundException" }, @@ -1503,6 +1550,38 @@ "documentation": "

Returns summaries of the organization's groups.

", "idempotent": true }, + "ListGroupsForEntity": { + "name": "ListGroupsForEntity", + "http": { + "method": "POST", + "requestUri": "/" + }, + "input": { + "shape": "ListGroupsForEntityRequest" + }, + "output": { + "shape": "ListGroupsForEntityResponse" + }, + "errors": [ + { + "shape": "EntityNotFoundException" + }, + { + "shape": "EntityStateException" + }, + { + "shape": "OrganizationNotFoundException" + }, + { + "shape": "OrganizationStateException" + }, + { + "shape": "InvalidParameterException" + } + ], + "documentation": "

Returns all the groups to which an entity belongs.

", + "idempotent": true + }, "ListImpersonationRoles": { "name": "ListImpersonationRoles", "http": { @@ -1709,6 +1788,9 @@ }, { "shape": "OrganizationStateException" + }, + { + "shape": "UnsupportedOperationException" } ], "documentation": "

Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.

", @@ -1735,6 +1817,9 @@ }, { "shape": "OrganizationStateException" + }, + { + "shape": "UnsupportedOperationException" } ], "documentation": "

Returns summaries of the organization's resources.

", @@ -2134,6 +2219,9 @@ "shape": "TagResourceResponse" }, "errors": [ + { + "shape": "InvalidParameterException" + }, { "shape": "ResourceNotFoundException" }, @@ -2254,6 +2342,41 @@ "documentation": "

Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.

", "idempotent": true }, + "UpdateGroup": { + "name": "UpdateGroup", + "http": { + "method": "POST", + "requestUri": "/" + }, + "input": { + "shape": "UpdateGroupRequest" + }, + "output": { + "shape": "UpdateGroupResponse" + }, + "errors": [ + { + "shape": "EntityNotFoundException" + }, + { + "shape": "EntityStateException" + }, + { + "shape": "OrganizationNotFoundException" + }, + { + "shape": "OrganizationStateException" + }, + { + "shape": "UnsupportedOperationException" + }, + { + "shape": "InvalidParameterException" + } + ], + "documentation": "

Updates attibutes in a group.

", + "idempotent": true + }, "UpdateImpersonationRole": { "name": "UpdateImpersonationRole", "http": { @@ -2446,10 +2569,57 @@ }, { "shape": "OrganizationStateException" + }, + { + "shape": "UnsupportedOperationException" + }, + { + "shape": "InvalidParameterException" } ], "documentation": "

Updates data for the resource. To have the latest information, it must be preceded by a DescribeResource call. The dataset in the request should be the one expected when performing another DescribeResource call.

", "idempotent": true + }, + "UpdateUser": { + "name": "UpdateUser", + "http": { + "method": "POST", + "requestUri": "/" + }, + "input": { + "shape": "UpdateUserRequest" + }, + "output": { + "shape": "UpdateUserResponse" + }, + "errors": [ + { + "shape": "DirectoryServiceAuthenticationFailedException" + }, + { + "shape": "DirectoryUnavailableException" + }, + { + "shape": "EntityNotFoundException" + }, + { + "shape": "InvalidParameterException" + }, + { + "shape": "OrganizationNotFoundException" + }, + { + "shape": "OrganizationStateException" + }, + { + "shape": "UnsupportedOperationException" + }, + { + "shape": "EntityStateException" + } + ], + "documentation": "

Updates data for the user. To have the latest information, it must be preceded by a DescribeUser call. The dataset in the request should be the one expected when performing another DescribeUser call.

", + "idempotent": true } }, "shapes": { @@ -2576,7 +2746,8 @@ "AmazonResourceName": { "type": "string", "max": 1011, - "min": 1 + "min": 1, + "pattern": "arn:aws:workmail:[a-z0-9-]*:[a-z0-9-]+:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}" }, "AssociateDelegateToResourceRequest": { "type": "structure", @@ -2591,12 +2762,12 @@ "documentation": "

The organization under which the resource exists.

" }, "ResourceId": { - "shape": "ResourceId", - "documentation": "

The resource for which members (users or groups) are associated.

" + "shape": "EntityIdentifier", + "documentation": "

The resource for which members (users or groups) are associated.

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

" }, "EntityId": { - "shape": "WorkMailIdentifier", - "documentation": "

The member (user or group) to associate to the resource.

" + "shape": "EntityIdentifier", + "documentation": "

The member (user or group) to associate to the resource.

The entity ID can accept UserId or GroupID, Username or Groupname, or email.

" } } }, @@ -2617,12 +2788,12 @@ "documentation": "

The organization under which the group exists.

" }, "GroupId": { - "shape": "WorkMailIdentifier", - "documentation": "

The group to which the member (user or group) is associated.

" + "shape": "EntityIdentifier", + "documentation": "

The group to which the member (user or group) is associated.

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

" }, "MemberId": { - "shape": "WorkMailIdentifier", - "documentation": "

The member (user or group) to associate to the group.

" + "shape": "EntityIdentifier", + "documentation": "

The member (user or group) to associate to the group.

The member ID can accept UserID or GroupId, Username or Groupname, or email.

" } } }, @@ -2828,6 +2999,10 @@ "Name": { "shape": "GroupName", "documentation": "

The name of the group.

" + }, + "HiddenFromGlobalAddressList": { + "shape": "Boolean", + "documentation": "

If this parameter is enabled, the group will be hidden from the address book.

" } } }, @@ -3018,6 +3193,14 @@ "Type": { "shape": "ResourceType", "documentation": "

The type of the new resource. The available types are equipment and room.

" + }, + "Description": { + "shape": "ResourceDescription", + "documentation": "

Resource description.

" + }, + "HiddenFromGlobalAddressList": { + "shape": "Boolean", + "documentation": "

If this parameter is enabled, the resource will be hidden from the address book.

" } } }, @@ -3035,8 +3218,7 @@ "required": [ "OrganizationId", "Name", - "DisplayName", - "Password" + "DisplayName" ], "members": { "OrganizationId": { @@ -3048,12 +3230,28 @@ "documentation": "

The name for the new user. WorkMail directory user names have a maximum length of 64. All others have a maximum length of 20.

" }, "DisplayName": { - "shape": "String", + "shape": "UserAttribute", "documentation": "

The display name for the new user.

" }, "Password": { "shape": "Password", "documentation": "

The password for the new user.

" + }, + "Role": { + "shape": "UserRole", + "documentation": "

The role of the new user.

You cannot pass SYSTEM_USER or RESOURCE role in a single request. When a user role is not selected, the default role of USER is selected.

" + }, + "FirstName": { + "shape": "UserAttribute", + "documentation": "

The first name of the new user.

" + }, + "LastName": { + "shape": "UserAttribute", + "documentation": "

The last name of the new user.

" + }, + "HiddenFromGlobalAddressList": { + "shape": "Boolean", + "documentation": "

If this parameter is enabled, the user will be hidden from the address book.

" } } }, @@ -3180,8 +3378,8 @@ "documentation": "

The organization that contains the group.

" }, "GroupId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier of the group to be deleted.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier of the group to be deleted.

The identifier can be the GroupId, or Groupname. The following identity formats are available:

" } } }, @@ -3223,12 +3421,12 @@ "documentation": "

The identifier of the organization under which the member (user or group) exists.

" }, "EntityId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier of the member (user or group) that owns the mailbox.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier of the entity that owns the mailbox.

The identifier can be UserId or Group Id, Username or Groupname, or email.

" }, "GranteeId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier of the member (user or group) for which to delete granted permissions.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier of the entity for which to delete granted permissions.

The identifier can be UserId, ResourceID, or Group Id, Username or Groupname, or email.

" } } }, @@ -3302,6 +3500,10 @@ "DeleteDirectory": { "shape": "Boolean", "documentation": "

If true, deletes the AWS Directory Service directory associated with the organization.

" + }, + "ForceDelete": { + "shape": "Boolean", + "documentation": "

Deletes a WorkMail organization even if the organization has enabled users.

" } } }, @@ -3330,8 +3532,8 @@ "documentation": "

The identifier associated with the organization from which the resource is deleted.

" }, "ResourceId": { - "shape": "ResourceId", - "documentation": "

The identifier of the resource to be deleted.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier of the resource to be deleted.

The identifier can accept ResourceId, or Resourcename. The following identity formats are available:

" } } }, @@ -3372,8 +3574,8 @@ "documentation": "

The organization that contains the user to be deleted.

" }, "UserId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier of the user to be deleted.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier of the user to be deleted.

The identifier can be the UserId or Username. The following identity formats are available:

" } } }, @@ -3393,8 +3595,8 @@ "documentation": "

The identifier for the organization under which the WorkMail entity exists.

" }, "EntityId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier for the member (user or group) to be updated.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier for the member to be updated.

The identifier can be UserId, ResourceId, or Group Id, Username, Resourcename, or Groupname, or email.

" } } }, @@ -3448,6 +3650,40 @@ } } }, + "DescribeEntityRequest": { + "type": "structure", + "required": [ + "OrganizationId", + "Email" + ], + "members": { + "OrganizationId": { + "shape": "OrganizationId", + "documentation": "

The identifier for the organization under which the entity exists.

" + }, + "Email": { + "shape": "EmailAddress", + "documentation": "

The email under which the entity exists.

" + } + } + }, + "DescribeEntityResponse": { + "type": "structure", + "members": { + "EntityId": { + "shape": "WorkMailIdentifier", + "documentation": "

The entity ID under which the entity exists.

" + }, + "Name": { + "shape": "String", + "documentation": "

Username, GroupName, or ResourceName based on entity type.

" + }, + "Type": { + "shape": "EntityType", + "documentation": "

Entity type.

" + } + } + }, "DescribeGroupRequest": { "type": "structure", "required": [ @@ -3460,8 +3696,8 @@ "documentation": "

The identifier for the organization under which the group exists.

" }, "GroupId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier for the group to be described.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier for the group to be described.

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

" } } }, @@ -3491,6 +3727,10 @@ "DisabledDate": { "shape": "Timestamp", "documentation": "

The date and time when a user was deregistered from WorkMail, in UNIX epoch time format.

" + }, + "HiddenFromGlobalAddressList": { + "shape": "Boolean", + "documentation": "

If the value is set to true, the group is hidden from the address book.

" } } }, @@ -3635,6 +3875,14 @@ "ARN": { "shape": "AmazonResourceName", "documentation": "

The Amazon Resource Name (ARN) of the organization.

" + }, + "MigrationAdmin": { + "shape": "WorkMailIdentifier", + "documentation": "

The user ID of the migration admin if migration is enabled for the organization.

" + }, + "InteroperabilityEnabled": { + "shape": "Boolean", + "documentation": "

Indicates if interoperability is enabled for this organization.

" } } }, @@ -3650,8 +3898,8 @@ "documentation": "

The identifier associated with the organization for which the resource is described.

" }, "ResourceId": { - "shape": "ResourceId", - "documentation": "

The identifier of the resource to be described.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier of the resource to be described.

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

" } } }, @@ -3689,6 +3937,14 @@ "DisabledDate": { "shape": "Timestamp", "documentation": "

The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.

" + }, + "Description": { + "shape": "ResourceDescription", + "documentation": "

Description of the resource.

" + }, + "HiddenFromGlobalAddressList": { + "shape": "Boolean", + "documentation": "

If enabled, the resource is hidden from the global address list.

" } } }, @@ -3704,8 +3960,8 @@ "documentation": "

The identifier for the organization under which the user exists.

" }, "UserId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier for the user to be described.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier for the user to be described.

The identifier can be the UserId, Username, or email. The following identity formats are available:

" } } }, @@ -3725,7 +3981,7 @@ "documentation": "

The email of the user.

" }, "DisplayName": { - "shape": "String", + "shape": "UserAttribute", "documentation": "

The display name of the user.

" }, "State": { @@ -3734,7 +3990,7 @@ }, "UserRole": { "shape": "UserRole", - "documentation": "

In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, and SYSTEM_USER.

" + "documentation": "

In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.

" }, "EnabledDate": { "shape": "Timestamp", @@ -3743,6 +3999,66 @@ "DisabledDate": { "shape": "Timestamp", "documentation": "

The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.

" + }, + "MailboxProvisionedDate": { + "shape": "Timestamp", + "documentation": "

The date when the mailbox was created for the user.

" + }, + "MailboxDeprovisionedDate": { + "shape": "Timestamp", + "documentation": "

The date when the mailbox was removed for the user.

" + }, + "FirstName": { + "shape": "UserAttribute", + "documentation": "

First name of the user.

" + }, + "LastName": { + "shape": "UserAttribute", + "documentation": "

Last name of the user.

" + }, + "HiddenFromGlobalAddressList": { + "shape": "Boolean", + "documentation": "

If enabled, the user is hidden from the global address list.

" + }, + "Initials": { + "shape": "UserAttribute", + "documentation": "

Initials of the user.

" + }, + "Telephone": { + "shape": "UserAttribute", + "documentation": "

User's contact number.

" + }, + "Street": { + "shape": "UserAttribute", + "documentation": "

Street where the user is located.

" + }, + "JobTitle": { + "shape": "UserAttribute", + "documentation": "

Job title of the user.

" + }, + "City": { + "shape": "UserAttribute", + "documentation": "

City where the user is located.

" + }, + "Company": { + "shape": "UserAttribute", + "documentation": "

Company of the user.

" + }, + "ZipCode": { + "shape": "UserAttribute", + "documentation": "

Zip code of the user.

" + }, + "Department": { + "shape": "UserAttribute", + "documentation": "

Department of the user.

" + }, + "Country": { + "shape": "UserAttribute", + "documentation": "

Country where the user is located.

" + }, + "Office": { + "shape": "UserAttribute", + "documentation": "

Office where the user is located.

" } } }, @@ -3833,12 +4149,12 @@ "documentation": "

The identifier for the organization under which the resource exists.

" }, "ResourceId": { - "shape": "ResourceId", - "documentation": "

The identifier of the resource from which delegates' set members are removed.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier of the resource from which delegates' set members are removed.

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

" }, "EntityId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier for the member (user, group) to be removed from the resource's delegates.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier for the member (user, group) to be removed from the resource's delegates.

The entity ID can accept UserId or GroupID, Username or Groupname, or email.

" } } }, @@ -3859,12 +4175,12 @@ "documentation": "

The identifier for the organization under which the group exists.

" }, "GroupId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier for the group from which members are removed.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier for the group from which members are removed.

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

" }, "MemberId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier for the member to be removed to the group.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier for the member to be removed from the group.

The member ID can accept UserID or GroupId, Username or Groupname, or email.

" } } }, @@ -3906,6 +4222,9 @@ }, "Domain": { "type": "structure", + "required": [ + "DomainName" + ], "members": { "DomainName": { "shape": "DomainName", @@ -3922,7 +4241,7 @@ "type": "string", "max": 255, "min": 3, - "pattern": "[a-zA-Z0-9.-]+\\.[a-zA-Z-]{2,}" + "pattern": "[a-zA-Z0-9.-]+" }, "Domains": { "type": "list", @@ -3952,6 +4271,14 @@ "DELETED" ] }, + "EntityType": { + "type": "string", + "enum": [ + "GROUP", + "USER", + "RESOURCE" + ] + }, "EwsAvailabilityProvider": { "type": "structure", "required": [ @@ -4241,8 +4568,8 @@ "documentation": "

The identifier for the organization that contains the user whose mailbox details are being requested.

" }, "UserId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier for the user whose mailbox details are being requested.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier for the user whose mailbox details are being requested.

The identifier can be the UserId, Username, or email. The following identity formats are available:

" } } }, @@ -4381,6 +4708,26 @@ }, "documentation": "

The representation of an WorkMail group.

" }, + "GroupIdentifier": { + "type": "structure", + "members": { + "GroupId": { + "shape": "WorkMailIdentifier", + "documentation": "

Group ID that matched the group.

" + }, + "GroupName": { + "shape": "GroupName", + "documentation": "

Group name that matched the group.

" + } + }, + "documentation": "

The identifier that contains the Group ID and name of a group.

" + }, + "GroupIdentifiers": { + "type": "list", + "member": { + "shape": "GroupIdentifier" + } + }, "GroupName": { "type": "string", "max": 256, @@ -4397,7 +4744,7 @@ "type": "string", "max": 32, "min": 1, - "pattern": "[\\S\\s]*" + "pattern": "[^/\\\\]*" }, "IdempotencyClientToken": { "type": "string", @@ -4715,8 +5062,8 @@ "documentation": "

The identifier for the organization under which the group exists.

" }, "GroupId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier for the group to which the members (users or groups) are associated.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier for the group to which the members (users or groups) are associated.

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

" }, "NextToken": { "shape": "NextToken", @@ -4741,6 +5088,76 @@ } } }, + "ListGroupsFilters": { + "type": "structure", + "members": { + "NamePrefix": { + "shape": "String", + "documentation": "

Filters only groups with the provided name prefix.

" + }, + "PrimaryEmailPrefix": { + "shape": "String", + "documentation": "

Filters only groups with the provided primary email prefix.

" + }, + "State": { + "shape": "EntityState", + "documentation": "

Filters only groups with the provided state.

" + } + }, + "documentation": "

Filtering options for ListGroups operation. This is only used as input to Operation.

" + }, + "ListGroupsForEntityFilters": { + "type": "structure", + "members": { + "GroupNamePrefix": { + "shape": "String", + "documentation": "

Filters only group names that start with the provided name prefix.

" + } + }, + "documentation": "

Filtering options for ListGroupsForEntity operation. This is only used as input to Operation.

" + }, + "ListGroupsForEntityRequest": { + "type": "structure", + "required": [ + "OrganizationId", + "EntityId" + ], + "members": { + "OrganizationId": { + "shape": "OrganizationId", + "documentation": "

The identifier for the organization under which the entity exists.

" + }, + "EntityId": { + "shape": "EntityIdentifier", + "documentation": "

The identifier for the entity.

The entity ID can accept UserId or GroupID, Username or Groupname, or email.

" + }, + "Filters": { + "shape": "ListGroupsForEntityFilters", + "documentation": "

Limit the search results based on the filter criteria.

" + }, + "NextToken": { + "shape": "NextToken", + "documentation": "

The token to use to retrieve the next page of results. The first call does not contain any tokens.

" + }, + "MaxResults": { + "shape": "MaxResults", + "documentation": "

The maximum number of results to return in a single call.

" + } + } + }, + "ListGroupsForEntityResponse": { + "type": "structure", + "members": { + "Groups": { + "shape": "GroupIdentifiers", + "documentation": "

The overview of groups in an organization.

" + }, + "NextToken": { + "shape": "NextToken", + "documentation": "

The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.

" + } + } + }, "ListGroupsRequest": { "type": "structure", "required": [ @@ -4758,6 +5175,10 @@ "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" + }, + "Filters": { + "shape": "ListGroupsFilters", + "documentation": "

Limit the search results based on the filter criteria. Only one filter per request is supported.

" } } }, @@ -4885,8 +5306,8 @@ "documentation": "

The identifier of the organization under which the user, group, or resource exists.

" }, "EntityId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier of the user, group, or resource for which to list mailbox permissions.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier of the user, or resource for which to list mailbox permissions.

The entity ID can accept UserId or ResourceId, Username or Resourcename, or email.

" }, "NextToken": { "shape": "NextToken", @@ -5011,8 +5432,8 @@ "documentation": "

The identifier for the organization that contains the resource for which delegates are listed.

" }, "ResourceId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier for the resource whose delegates are listed.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier for the resource whose delegates are listed.

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

" }, "NextToken": { "shape": "NextToken", @@ -5037,6 +5458,24 @@ } } }, + "ListResourcesFilters": { + "type": "structure", + "members": { + "NamePrefix": { + "shape": "String", + "documentation": "

Filters only resource that start with the entered name prefix .

" + }, + "PrimaryEmailPrefix": { + "shape": "String", + "documentation": "

Filters only resource with the provided primary email prefix.

" + }, + "State": { + "shape": "EntityState", + "documentation": "

Filters only resource with the provided state.

" + } + }, + "documentation": "

Filtering options for ListResources operation. This is only used as input to Operation.

" + }, "ListResourcesRequest": { "type": "structure", "required": [ @@ -5054,6 +5493,10 @@ "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" + }, + "Filters": { + "shape": "ListResourcesFilters", + "documentation": "

Limit the resource search results based on the filter criteria. You can only use one filter per request.

" } } }, @@ -5091,6 +5534,28 @@ } } }, + "ListUsersFilters": { + "type": "structure", + "members": { + "UsernamePrefix": { + "shape": "String", + "documentation": "

Filters only users with the provided username prefix.

" + }, + "DisplayNamePrefix": { + "shape": "UserAttribute", + "documentation": "

Filters only users with the provided display name prefix.

" + }, + "PrimaryEmailPrefix": { + "shape": "String", + "documentation": "

Filters only users with the provided email prefix.

" + }, + "State": { + "shape": "EntityState", + "documentation": "

Filters only users with the provided state.

" + } + }, + "documentation": "

Filtering options for ListUsers operation. This is only used as input to Operation.

" + }, "ListUsersRequest": { "type": "structure", "required": [ @@ -5108,6 +5573,10 @@ "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" + }, + "Filters": { + "shape": "ListUsersFilters", + "documentation": "

Limit the user search results based on the filter criteria. You can only use one filter per request.

" } } }, @@ -5424,6 +5893,11 @@ "max": 10, "min": 0 }, + "NewResourceDescription": { + "type": "string", + "max": 64, + "min": 0 + }, "NextToken": { "type": "string", "max": 1024, @@ -5658,12 +6132,12 @@ "documentation": "

The identifier of the organization under which the user, group, or resource exists.

" }, "EntityId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier of the user, group, or resource for which to update mailbox permissions.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier of the user or resource for which to update mailbox permissions.

The identifier can be UserId, ResourceID, or Group Id, Username, Resourcename, or Groupname, or email.

" }, "GranteeId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier of the user, group, or resource to which to grant the permissions.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier of the user, group, or resource to which to grant the permissions.

The identifier can be UserId, ResourceID, or Group Id, Username, Resourcename, or Groupname, or email.

" }, "PermissionValues": { "shape": "PermissionValues", @@ -5797,8 +6271,8 @@ "documentation": "

The identifier for the organization under which the user, group, or resource exists.

" }, "EntityId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier for the user, group, or resource to be updated.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier for the user, group, or resource to be updated.

The identifier can accept UserId, ResourceId, or GroupId, or Username, Resourcename, or Groupname. The following identity formats are available:

" }, "Email": { "shape": "EmailAddress", @@ -5866,6 +6340,10 @@ "DisabledDate": { "shape": "Timestamp", "documentation": "

The date indicating when the resource was disabled from WorkMail use.

" + }, + "Description": { + "shape": "ResourceDescription", + "documentation": "

Resource description.

" } }, "documentation": "

The representation of a resource.

" @@ -5876,6 +6354,11 @@ "shape": "Delegate" } }, + "ResourceDescription": { + "type": "string", + "max": 64, + "min": 1 + }, "ResourceId": { "type": "string", "max": 34, @@ -5918,7 +6401,8 @@ "RoleArn": { "type": "string", "max": 2048, - "min": 20 + "min": 20, + "pattern": "arn:aws:iam:[a-z0-9-]*:[a-z0-9-]+:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}" }, "S3BucketName": { "type": "string", @@ -5960,8 +6444,8 @@ "documentation": "

The identifier associated with the organization.

" }, "EntityId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifier of the user or resource associated with the mailbox.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier of the user or resource associated with the mailbox.

The identifier can accept UserId or ResourceId, Username or Resourcename, or email. The following identity formats are available:

" }, "Description": { "shape": "Description", @@ -6180,6 +6664,31 @@ "type": "structure", "members": {} }, + "UpdateGroupRequest": { + "type": "structure", + "required": [ + "OrganizationId", + "GroupId" + ], + "members": { + "OrganizationId": { + "shape": "OrganizationId", + "documentation": "

The identifier for the organization under which the group exists.

" + }, + "GroupId": { + "shape": "EntityIdentifier", + "documentation": "

The identifier for the group to be updated.

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

" + }, + "HiddenFromGlobalAddressList": { + "shape": "BooleanObject", + "documentation": "

If enabled, the group is hidden from the global address list.

" + } + } + }, + "UpdateGroupResponse": { + "type": "structure", + "members": {} + }, "UpdateImpersonationRoleRequest": { "type": "structure", "required": [ @@ -6233,8 +6742,8 @@ "documentation": "

The identifier for the organization that contains the user for whom to update the mailbox quota.

" }, "UserId": { - "shape": "WorkMailIdentifier", - "documentation": "

The identifer for the user for whom to update the mailbox quota.

" + "shape": "EntityIdentifier", + "documentation": "

The identifer for the user for whom to update the mailbox quota.

The identifier can be the UserId, Username, or email. The following identity formats are available:

" }, "MailboxQuota": { "shape": "MailboxQuota", @@ -6326,8 +6835,8 @@ "documentation": "

The organization that contains the user, group, or resource to update.

" }, "EntityId": { - "shape": "WorkMailIdentifier", - "documentation": "

The user, group, or resource to update.

" + "shape": "EntityIdentifier", + "documentation": "

The user, group, or resource to update.

The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename, or Groupname, or email. The following identity formats are available:

" }, "Email": { "shape": "EmailAddress", @@ -6351,8 +6860,8 @@ "documentation": "

The identifier associated with the organization for which the resource is updated.

" }, "ResourceId": { - "shape": "ResourceId", - "documentation": "

The identifier of the resource to be updated.

" + "shape": "EntityIdentifier", + "documentation": "

The identifier of the resource to be updated.

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

" }, "Name": { "shape": "ResourceName", @@ -6361,6 +6870,18 @@ "BookingOptions": { "shape": "BookingOptions", "documentation": "

The resource's booking options to be updated.

" + }, + "Description": { + "shape": "NewResourceDescription", + "documentation": "

Updates the resource description.

" + }, + "Type": { + "shape": "ResourceType", + "documentation": "

Updates the resource type.

" + }, + "HiddenFromGlobalAddressList": { + "shape": "BooleanObject", + "documentation": "

If enabled, the resource is hidden from the global address list.

" } } }, @@ -6368,6 +6889,87 @@ "type": "structure", "members": {} }, + "UpdateUserRequest": { + "type": "structure", + "required": [ + "OrganizationId", + "UserId" + ], + "members": { + "OrganizationId": { + "shape": "OrganizationId", + "documentation": "

The identifier for the organization under which the user exists.

" + }, + "UserId": { + "shape": "EntityIdentifier", + "documentation": "

The identifier for the user to be updated.

The identifier can be the UserId, Username, or email. The following identity formats are available:

" + }, + "Role": { + "shape": "UserRole", + "documentation": "

Updates the user role.

You cannot pass SYSTEM_USER or RESOURCE.

" + }, + "DisplayName": { + "shape": "UserAttribute", + "documentation": "

Updates the display name of the user.

" + }, + "FirstName": { + "shape": "UserAttribute", + "documentation": "

Updates the user's first name.

" + }, + "LastName": { + "shape": "UserAttribute", + "documentation": "

Updates the user's last name.

" + }, + "HiddenFromGlobalAddressList": { + "shape": "BooleanObject", + "documentation": "

If enabled, the user is hidden from the global address list.

" + }, + "Initials": { + "shape": "UserAttribute", + "documentation": "

Updates the user's initials.

" + }, + "Telephone": { + "shape": "UserAttribute", + "documentation": "

Updates the user's contact details.

" + }, + "Street": { + "shape": "UserAttribute", + "documentation": "

Updates the user's street address.

" + }, + "JobTitle": { + "shape": "UserAttribute", + "documentation": "

Updates the user's job title.

" + }, + "City": { + "shape": "UserAttribute", + "documentation": "

Updates the user's city.

" + }, + "Company": { + "shape": "UserAttribute", + "documentation": "

Updates the user's company.

" + }, + "ZipCode": { + "shape": "UserAttribute", + "documentation": "

Updates the user's zipcode.

" + }, + "Department": { + "shape": "UserAttribute", + "documentation": "

Updates the user's department.

" + }, + "Country": { + "shape": "UserAttribute", + "documentation": "

Updates the user's country.

" + }, + "Office": { + "shape": "UserAttribute", + "documentation": "

Updates the user's office.

" + } + } + }, + "UpdateUserResponse": { + "type": "structure", + "members": {} + }, "Url": { "type": "string", "max": 256, @@ -6411,6 +7013,11 @@ }, "documentation": "

The representation of an WorkMail user.

" }, + "UserAttribute": { + "type": "string", + "max": 256, + "sensitive": true + }, "UserIdList": { "type": "list", "member": { @@ -6430,7 +7037,8 @@ "enum": [ "USER", "RESOURCE", - "SYSTEM_USER" + "SYSTEM_USER", + "REMOTE_USER" ] }, "Users": { @@ -6443,7 +7051,7 @@ "type": "string", "max": 209, "min": 3, - "pattern": "[a-zA-Z0-9.-]+\\.[a-zA-Z-]{2,}" + "pattern": "[a-zA-Z0-9.-]+" }, "WorkMailIdentifier": { "type": "string", diff --git a/apis/workmail-2017-10-01.paginators.json b/apis/workmail-2017-10-01.paginators.json index 6b71db44da..f4305ce7e1 100644 --- a/apis/workmail-2017-10-01.paginators.json +++ b/apis/workmail-2017-10-01.paginators.json @@ -21,6 +21,11 @@ "output_token": "NextToken", "limit_key": "MaxResults" }, + "ListGroupsForEntity": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, "ListImpersonationRoles": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/clients/macie2.d.ts b/clients/macie2.d.ts index 8ecb81357f..4a29c04dd7 100644 --- a/clients/macie2.d.ts +++ b/clients/macie2.d.ts @@ -1319,7 +1319,7 @@ declare namespace Macie2 { */ managedDataIdentifierIds?: __listOf__string; /** - * The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are: ALL (default) - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property. EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property. INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property. NONE - Don't use any managed data identifiers. If you specify this value, specify at least one custom data identifier for the job (customDataIdentifierIds) and don't specify any values for the managedDataIdentifierIds property. RECOMMENDED - Use only the set of managed data identifiers that Amazon Web Services recommends for jobs. If you specify this value, don't specify any values for the managedDataIdentifierIds property. If you don't specify a value for this property, the job uses all managed data identifiers. If the job is a recurring job and you don't specify a value for this property or you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you specify RECOMMENDED for a recurring job, each job run automatically uses all the managed data identifiers that are in the recommended set when the job starts to run. For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide. + * The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are: ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property. EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property. INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property. NONE - Don't use any managed data identifiers. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property. RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property. If you don't specify a value for this property, the job uses the recommended set of managed data identifiers. If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you specify RECOMMENDED for a recurring job, each job run automatically uses all the managed data identifiers that are in the recommended set when the run starts. For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide. */ managedDataIdentifierSelector?: ManagedDataIdentifierSelector; /** @@ -1748,7 +1748,7 @@ declare namespace Macie2 { */ managedDataIdentifierIds?: __listOf__string; /** - * The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are: ALL (default) - Use all managed data identifiers. EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property. INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property. NONE - Don't use any managed data identifiers. Use only custom data identifiers (customDataIdentifierIds). RECOMMENDED - Use only the set of managed data identifiers that Amazon Web Services recommends for jobs. If this value is null, the job uses all managed data identifiers. If the job is a recurring job and this value is null, ALL, or EXCLUDE, each job run automatically uses new managed data identifiers that are released after the job was created or the preceding run ended. If this value is RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts. For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide. + * The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are: ALL - Use all managed data identifiers. EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property. INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property. NONE - Don't use any managed data identifiers. Use only custom data identifiers (customDataIdentifierIds). RECOMMENDED (default) - Use the recommended set of managed data identifiers. If this value is null, the job uses the recommended set of managed data identifiers. If the job is a recurring job and this value is ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If this value is null or RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts. For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide. */ managedDataIdentifierSelector?: ManagedDataIdentifierSelector; /** diff --git a/clients/workmail.d.ts b/clients/workmail.d.ts index a52b85f65a..9b8e5a1b91 100644 --- a/clients/workmail.d.ts +++ b/clients/workmail.d.ts @@ -235,6 +235,14 @@ declare class WorkMail extends Service { * Describes the current email monitoring configuration for a specified organization. */ describeEmailMonitoringConfiguration(callback?: (err: AWSError, data: WorkMail.Types.DescribeEmailMonitoringConfigurationResponse) => void): Request; + /** + * Returns basic details about an entity in WorkMail. + */ + describeEntity(params: WorkMail.Types.DescribeEntityRequest, callback?: (err: AWSError, data: WorkMail.Types.DescribeEntityResponse) => void): Request; + /** + * Returns basic details about an entity in WorkMail. + */ + describeEntity(callback?: (err: AWSError, data: WorkMail.Types.DescribeEntityResponse) => void): Request; /** * Returns the data available for the group. */ @@ -403,6 +411,14 @@ declare class WorkMail extends Service { * Returns summaries of the organization's groups. */ listGroups(callback?: (err: AWSError, data: WorkMail.Types.ListGroupsResponse) => void): Request; + /** + * Returns all the groups to which an entity belongs. + */ + listGroupsForEntity(params: WorkMail.Types.ListGroupsForEntityRequest, callback?: (err: AWSError, data: WorkMail.Types.ListGroupsForEntityResponse) => void): Request; + /** + * Returns all the groups to which an entity belongs. + */ + listGroupsForEntity(callback?: (err: AWSError, data: WorkMail.Types.ListGroupsForEntityResponse) => void): Request; /** * Lists all the impersonation roles for the given WorkMail organization. */ @@ -611,6 +627,14 @@ declare class WorkMail extends Service { * Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain. */ updateDefaultMailDomain(callback?: (err: AWSError, data: WorkMail.Types.UpdateDefaultMailDomainResponse) => void): Request; + /** + * Updates attibutes in a group. + */ + updateGroup(params: WorkMail.Types.UpdateGroupRequest, callback?: (err: AWSError, data: WorkMail.Types.UpdateGroupResponse) => void): Request; + /** + * Updates attibutes in a group. + */ + updateGroup(callback?: (err: AWSError, data: WorkMail.Types.UpdateGroupResponse) => void): Request; /** * Updates an impersonation role for the given WorkMail organization. */ @@ -651,6 +675,14 @@ declare class WorkMail extends Service { * Updates data for the resource. To have the latest information, it must be preceded by a DescribeResource call. The dataset in the request should be the one expected when performing another DescribeResource call. */ updateResource(callback?: (err: AWSError, data: WorkMail.Types.UpdateResourceResponse) => void): Request; + /** + * Updates data for the user. To have the latest information, it must be preceded by a DescribeUser call. The dataset in the request should be the one expected when performing another DescribeUser call. + */ + updateUser(params: WorkMail.Types.UpdateUserRequest, callback?: (err: AWSError, data: WorkMail.Types.UpdateUserResponse) => void): Request; + /** + * Updates data for the user. To have the latest information, it must be preceded by a DescribeUser call. The dataset in the request should be the one expected when performing another DescribeUser call. + */ + updateUser(callback?: (err: AWSError, data: WorkMail.Types.UpdateUserResponse) => void): Request; } declare namespace WorkMail { export interface AccessControlRule { @@ -723,13 +755,13 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The resource for which members (users or groups) are associated. + * The resource for which members (users or groups) are associated. The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available: Resource ID: r-0123456789a0123456789b0123456789 Email address: resource@domain.tld Resource name: resource */ - ResourceId: ResourceId; + ResourceId: EntityIdentifier; /** - * The member (user or group) to associate to the resource. + * The member (user or group) to associate to the resource. The entity ID can accept UserId or GroupID, Username or Groupname, or email. Entity: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity: entity */ - EntityId: WorkMailIdentifier; + EntityId: EntityIdentifier; } export interface AssociateDelegateToResourceResponse { } @@ -739,13 +771,13 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The group to which the member (user or group) is associated. + * The group to which the member (user or group) is associated. The identifier can accept GroupId, Groupname, or email. The following identity formats are available: Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: group@domain.tld Group name: group */ - GroupId: WorkMailIdentifier; + GroupId: EntityIdentifier; /** - * The member (user or group) to associate to the group. + * The member (user or group) to associate to the group. The member ID can accept UserID or GroupId, Username or Groupname, or email. Member: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: member@domain.tld Member name: member */ - MemberId: WorkMailIdentifier; + MemberId: EntityIdentifier; } export interface AssociateMemberToGroupResponse { } @@ -878,6 +910,10 @@ declare namespace WorkMail { * The name of the group. */ Name: GroupName; + /** + * If this parameter is enabled, the group will be hidden from the address book. + */ + HiddenFromGlobalAddressList?: Boolean; } export interface CreateGroupResponse { /** @@ -1022,6 +1058,14 @@ declare namespace WorkMail { * The type of the new resource. The available types are equipment and room. */ Type: ResourceType; + /** + * Resource description. + */ + Description?: ResourceDescription; + /** + * If this parameter is enabled, the resource will be hidden from the address book. + */ + HiddenFromGlobalAddressList?: Boolean; } export interface CreateResourceResponse { /** @@ -1041,11 +1085,27 @@ declare namespace WorkMail { /** * The display name for the new user. */ - DisplayName: String; + DisplayName: UserAttribute; /** * The password for the new user. */ - Password: Password; + Password?: Password; + /** + * The role of the new user. You cannot pass SYSTEM_USER or RESOURCE role in a single request. When a user role is not selected, the default role of USER is selected. + */ + Role?: UserRole; + /** + * The first name of the new user. + */ + FirstName?: UserAttribute; + /** + * The last name of the new user. + */ + LastName?: UserAttribute; + /** + * If this parameter is enabled, the user will be hidden from the address book. + */ + HiddenFromGlobalAddressList?: Boolean; } export interface CreateUserResponse { /** @@ -1117,9 +1177,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier of the group to be deleted. + * The identifier of the group to be deleted. The identifier can be the GroupId, or Groupname. The following identity formats are available: Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Group name: group */ - GroupId: WorkMailIdentifier; + GroupId: EntityIdentifier; } export interface DeleteGroupResponse { } @@ -1141,13 +1201,13 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier of the member (user or group) that owns the mailbox. + * The identifier of the entity that owns the mailbox. The identifier can be UserId or Group Id, Username or Groupname, or email. Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity name: entity */ - EntityId: WorkMailIdentifier; + EntityId: EntityIdentifier; /** - * The identifier of the member (user or group) for which to delete granted permissions. + * The identifier of the entity for which to delete granted permissions. The identifier can be UserId, ResourceID, or Group Id, Username or Groupname, or email. Grantee ID: 12345678-1234-1234-1234-123456789012,r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Email address: grantee@domain.tld Grantee name: grantee */ - GranteeId: WorkMailIdentifier; + GranteeId: EntityIdentifier; } export interface DeleteMailboxPermissionsResponse { } @@ -1192,6 +1252,10 @@ declare namespace WorkMail { * If true, deletes the AWS Directory Service directory associated with the organization. */ DeleteDirectory: Boolean; + /** + * Deletes a WorkMail organization even if the organization has enabled users. + */ + ForceDelete?: Boolean; } export interface DeleteOrganizationResponse { /** @@ -1209,9 +1273,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier of the resource to be deleted. + * The identifier of the resource to be deleted. The identifier can accept ResourceId, or Resourcename. The following identity formats are available: Resource ID: r-0123456789a0123456789b0123456789 Resource name: resource */ - ResourceId: ResourceId; + ResourceId: EntityIdentifier; } export interface DeleteResourceResponse { } @@ -1233,9 +1297,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier of the user to be deleted. + * The identifier of the user to be deleted. The identifier can be the UserId or Username. The following identity formats are available: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 User name: user */ - UserId: WorkMailIdentifier; + UserId: EntityIdentifier; } export interface DeleteUserResponse { } @@ -1245,9 +1309,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier for the member (user or group) to be updated. + * The identifier for the member to be updated. The identifier can be UserId, ResourceId, or Group Id, Username, Resourcename, or Groupname, or email. Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity name: entity */ - EntityId: WorkMailIdentifier; + EntityId: EntityIdentifier; } export interface DeregisterFromWorkMailResponse { } @@ -1279,15 +1343,39 @@ declare namespace WorkMail { */ LogGroupArn?: LogGroupArn; } + export interface DescribeEntityRequest { + /** + * The identifier for the organization under which the entity exists. + */ + OrganizationId: OrganizationId; + /** + * The email under which the entity exists. + */ + Email: EmailAddress; + } + export interface DescribeEntityResponse { + /** + * The entity ID under which the entity exists. + */ + EntityId?: WorkMailIdentifier; + /** + * Username, GroupName, or ResourceName based on entity type. + */ + Name?: String; + /** + * Entity type. + */ + Type?: EntityType; + } export interface DescribeGroupRequest { /** * The identifier for the organization under which the group exists. */ OrganizationId: OrganizationId; /** - * The identifier for the group to be described. + * The identifier for the group to be described. The identifier can accept GroupId, Groupname, or email. The following identity formats are available: Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: group@domain.tld Group name: group */ - GroupId: WorkMailIdentifier; + GroupId: EntityIdentifier; } export interface DescribeGroupResponse { /** @@ -1314,6 +1402,10 @@ declare namespace WorkMail { * The date and time when a user was deregistered from WorkMail, in UNIX epoch time format. */ DisabledDate?: Timestamp; + /** + * If the value is set to true, the group is hidden from the address book. + */ + HiddenFromGlobalAddressList?: Boolean; } export interface DescribeInboundDmarcSettingsRequest { /** @@ -1430,6 +1522,14 @@ declare namespace WorkMail { * The Amazon Resource Name (ARN) of the organization. */ ARN?: AmazonResourceName; + /** + * The user ID of the migration admin if migration is enabled for the organization. + */ + MigrationAdmin?: WorkMailIdentifier; + /** + * Indicates if interoperability is enabled for this organization. + */ + InteroperabilityEnabled?: Boolean; } export interface DescribeResourceRequest { /** @@ -1437,9 +1537,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier of the resource to be described. + * The identifier of the resource to be described. The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available: Resource ID: r-0123456789a0123456789b0123456789 Email address: resource@domain.tld Resource name: resource */ - ResourceId: ResourceId; + ResourceId: EntityIdentifier; } export interface DescribeResourceResponse { /** @@ -1474,6 +1574,14 @@ declare namespace WorkMail { * The date and time when a resource was disabled from WorkMail, in UNIX epoch time format. */ DisabledDate?: Timestamp; + /** + * Description of the resource. + */ + Description?: ResourceDescription; + /** + * If enabled, the resource is hidden from the global address list. + */ + HiddenFromGlobalAddressList?: Boolean; } export interface DescribeUserRequest { /** @@ -1481,9 +1589,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier for the user to be described. + * The identifier for the user to be described. The identifier can be the UserId, Username, or email. The following identity formats are available: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user */ - UserId: WorkMailIdentifier; + UserId: EntityIdentifier; } export interface DescribeUserResponse { /** @@ -1501,13 +1609,13 @@ declare namespace WorkMail { /** * The display name of the user. */ - DisplayName?: String; + DisplayName?: UserAttribute; /** * The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail). */ State?: EntityState; /** - * In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, and SYSTEM_USER. + * In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER. */ UserRole?: UserRole; /** @@ -1518,6 +1626,66 @@ declare namespace WorkMail { * The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format. */ DisabledDate?: Timestamp; + /** + * The date when the mailbox was created for the user. + */ + MailboxProvisionedDate?: Timestamp; + /** + * The date when the mailbox was removed for the user. + */ + MailboxDeprovisionedDate?: Timestamp; + /** + * First name of the user. + */ + FirstName?: UserAttribute; + /** + * Last name of the user. + */ + LastName?: UserAttribute; + /** + * If enabled, the user is hidden from the global address list. + */ + HiddenFromGlobalAddressList?: Boolean; + /** + * Initials of the user. + */ + Initials?: UserAttribute; + /** + * User's contact number. + */ + Telephone?: UserAttribute; + /** + * Street where the user is located. + */ + Street?: UserAttribute; + /** + * Job title of the user. + */ + JobTitle?: UserAttribute; + /** + * City where the user is located. + */ + City?: UserAttribute; + /** + * Company of the user. + */ + Company?: UserAttribute; + /** + * Zip code of the user. + */ + ZipCode?: UserAttribute; + /** + * Department of the user. + */ + Department?: UserAttribute; + /** + * Country where the user is located. + */ + Country?: UserAttribute; + /** + * Office where the user is located. + */ + Office?: UserAttribute; } export type Description = string; export type DeviceId = string; @@ -1536,13 +1704,13 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier of the resource from which delegates' set members are removed. + * The identifier of the resource from which delegates' set members are removed. The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available: Resource ID: r-0123456789a0123456789b0123456789 Email address: resource@domain.tld Resource name: resource */ - ResourceId: ResourceId; + ResourceId: EntityIdentifier; /** - * The identifier for the member (user, group) to be removed from the resource's delegates. + * The identifier for the member (user, group) to be removed from the resource's delegates. The entity ID can accept UserId or GroupID, Username or Groupname, or email. Entity: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity: entity */ - EntityId: WorkMailIdentifier; + EntityId: EntityIdentifier; } export interface DisassociateDelegateFromResourceResponse { } @@ -1552,13 +1720,13 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier for the group from which members are removed. + * The identifier for the group from which members are removed. The identifier can accept GroupId, Groupname, or email. The following identity formats are available: Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: group@domain.tld Group name: group */ - GroupId: WorkMailIdentifier; + GroupId: EntityIdentifier; /** - * The identifier for the member to be removed to the group. + * The identifier for the member to be removed from the group. The member ID can accept UserID or GroupId, Username or Groupname, or email. Member ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: member@domain.tld Member name: member */ - MemberId: WorkMailIdentifier; + MemberId: EntityIdentifier; } export interface DisassociateMemberFromGroupResponse { } @@ -1582,7 +1750,7 @@ declare namespace WorkMail { /** * The fully qualified domain name. */ - DomainName?: DomainName; + DomainName: DomainName; /** * The hosted zone ID for a domain hosted in Route 53. Required when configuring a domain hosted in Route 53. */ @@ -1593,6 +1761,7 @@ declare namespace WorkMail { export type EmailAddress = string; export type EntityIdentifier = string; export type EntityState = "ENABLED"|"DISABLED"|"DELETED"|string; + export type EntityType = "GROUP"|"USER"|"RESOURCE"|string; export interface EwsAvailabilityProvider { /** * The endpoint of the remote EWS server. @@ -1787,9 +1956,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier for the user whose mailbox details are being requested. + * The identifier for the user whose mailbox details are being requested. The identifier can be the UserId, Username, or email. The following identity formats are available: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user */ - UserId: WorkMailIdentifier; + UserId: EntityIdentifier; } export interface GetMailboxDetailsResponse { /** @@ -1899,6 +2068,17 @@ declare namespace WorkMail { */ DisabledDate?: Timestamp; } + export interface GroupIdentifier { + /** + * Group ID that matched the group. + */ + GroupId?: WorkMailIdentifier; + /** + * Group name that matched the group. + */ + GroupName?: GroupName; + } + export type GroupIdentifiers = GroupIdentifier[]; export type GroupName = string; export type Groups = Group[]; export type HostedZoneId = string; @@ -2055,9 +2235,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier for the group to which the members (users or groups) are associated. + * The identifier for the group to which the members (users or groups) are associated. The identifier can accept GroupId, Groupname, or email. The following identity formats are available: Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: group@domain.tld Group name: group */ - GroupId: WorkMailIdentifier; + GroupId: EntityIdentifier; /** * The token to use to retrieve the next page of results. The first call does not contain any tokens. */ @@ -2077,6 +2257,58 @@ declare namespace WorkMail { */ NextToken?: NextToken; } + export interface ListGroupsFilters { + /** + * Filters only groups with the provided name prefix. + */ + NamePrefix?: String; + /** + * Filters only groups with the provided primary email prefix. + */ + PrimaryEmailPrefix?: String; + /** + * Filters only groups with the provided state. + */ + State?: EntityState; + } + export interface ListGroupsForEntityFilters { + /** + * Filters only group names that start with the provided name prefix. + */ + GroupNamePrefix?: String; + } + export interface ListGroupsForEntityRequest { + /** + * The identifier for the organization under which the entity exists. + */ + OrganizationId: OrganizationId; + /** + * The identifier for the entity. The entity ID can accept UserId or GroupID, Username or Groupname, or email. Entity ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity name: entity + */ + EntityId: EntityIdentifier; + /** + * Limit the search results based on the filter criteria. + */ + Filters?: ListGroupsForEntityFilters; + /** + * The token to use to retrieve the next page of results. The first call does not contain any tokens. + */ + NextToken?: NextToken; + /** + * The maximum number of results to return in a single call. + */ + MaxResults?: MaxResults; + } + export interface ListGroupsForEntityResponse { + /** + * The overview of groups in an organization. + */ + Groups?: GroupIdentifiers; + /** + * The token to use to retrieve the next page of results. This value is `null` when there are no more results to return. + */ + NextToken?: NextToken; + } export interface ListGroupsRequest { /** * The identifier for the organization under which the groups exist. @@ -2090,6 +2322,10 @@ declare namespace WorkMail { * The maximum number of results to return in a single call. */ MaxResults?: MaxResults; + /** + * Limit the search results based on the filter criteria. Only one filter per request is supported. + */ + Filters?: ListGroupsFilters; } export interface ListGroupsResponse { /** @@ -2179,9 +2415,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier of the user, group, or resource for which to list mailbox permissions. + * The identifier of the user, or resource for which to list mailbox permissions. The entity ID can accept UserId or ResourceId, Username or Resourcename, or email. Entity ID: 12345678-1234-1234-1234-123456789012, or r-0123456789a0123456789b0123456789 Email address: entity@domain.tld Entity name: entity */ - EntityId: WorkMailIdentifier; + EntityId: EntityIdentifier; /** * The token to use to retrieve the next page of results. The first call does not contain any tokens. */ @@ -2271,9 +2507,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier for the resource whose delegates are listed. + * The identifier for the resource whose delegates are listed. The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available: Resource ID: r-0123456789a0123456789b0123456789 Email address: resource@domain.tld Resource name: resource */ - ResourceId: WorkMailIdentifier; + ResourceId: EntityIdentifier; /** * The token used to paginate through the delegates associated with a resource. */ @@ -2293,6 +2529,20 @@ declare namespace WorkMail { */ NextToken?: NextToken; } + export interface ListResourcesFilters { + /** + * Filters only resource that start with the entered name prefix . + */ + NamePrefix?: String; + /** + * Filters only resource with the provided primary email prefix. + */ + PrimaryEmailPrefix?: String; + /** + * Filters only resource with the provided state. + */ + State?: EntityState; + } export interface ListResourcesRequest { /** * The identifier for the organization under which the resources exist. @@ -2306,6 +2556,10 @@ declare namespace WorkMail { * The maximum number of results to return in a single call. */ MaxResults?: MaxResults; + /** + * Limit the resource search results based on the filter criteria. You can only use one filter per request. + */ + Filters?: ListResourcesFilters; } export interface ListResourcesResponse { /** @@ -2329,6 +2583,24 @@ declare namespace WorkMail { */ Tags?: TagList; } + export interface ListUsersFilters { + /** + * Filters only users with the provided username prefix. + */ + UsernamePrefix?: String; + /** + * Filters only users with the provided display name prefix. + */ + DisplayNamePrefix?: UserAttribute; + /** + * Filters only users with the provided email prefix. + */ + PrimaryEmailPrefix?: String; + /** + * Filters only users with the provided state. + */ + State?: EntityState; + } export interface ListUsersRequest { /** * The identifier for the organization under which the users exist. @@ -2342,6 +2614,10 @@ declare namespace WorkMail { * The maximum number of results to return in a single call. */ MaxResults?: MaxResults; + /** + * Limit the user search results based on the filter criteria. You can only use one filter per request. + */ + Filters?: ListUsersFilters; } export interface ListUsersResponse { /** @@ -2538,6 +2814,7 @@ declare namespace WorkMail { export type MobileDeviceAccessRuleId = string; export type MobileDeviceAccessRuleName = string; export type MobileDeviceAccessRulesList = MobileDeviceAccessRule[]; + export type NewResourceDescription = string; export type NextToken = string; export type OrganizationId = string; export type OrganizationName = string; @@ -2670,13 +2947,13 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier of the user, group, or resource for which to update mailbox permissions. + * The identifier of the user or resource for which to update mailbox permissions. The identifier can be UserId, ResourceID, or Group Id, Username, Resourcename, or Groupname, or email. Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity name: entity */ - EntityId: WorkMailIdentifier; + EntityId: EntityIdentifier; /** - * The identifier of the user, group, or resource to which to grant the permissions. + * The identifier of the user, group, or resource to which to grant the permissions. The identifier can be UserId, ResourceID, or Group Id, Username, Resourcename, or Groupname, or email. Grantee ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Email address: grantee@domain.tld Grantee name: grantee */ - GranteeId: WorkMailIdentifier; + GranteeId: EntityIdentifier; /** * The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox. */ @@ -2764,9 +3041,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier for the user, group, or resource to be updated. + * The identifier for the user, group, or resource to be updated. The identifier can accept UserId, ResourceId, or GroupId, or Username, Resourcename, or Groupname. The following identity formats are available: Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Entity name: entity */ - EntityId: WorkMailIdentifier; + EntityId: EntityIdentifier; /** * The email for the user, group, or resource to be updated. */ @@ -2819,8 +3096,13 @@ declare namespace WorkMail { * The date indicating when the resource was disabled from WorkMail use. */ DisabledDate?: Timestamp; + /** + * Resource description. + */ + Description?: ResourceDescription; } export type ResourceDelegates = Delegate[]; + export type ResourceDescription = string; export type ResourceId = string; export type ResourceName = string; export type ResourceType = "ROOM"|"EQUIPMENT"|string; @@ -2841,9 +3123,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier of the user or resource associated with the mailbox. + * The identifier of the user or resource associated with the mailbox. The identifier can accept UserId or ResourceId, Username or Resourcename, or email. The following identity formats are available: Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789 , or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity name: entity */ - EntityId: WorkMailIdentifier; + EntityId: EntityIdentifier; /** * The mailbox export job description. */ @@ -2966,6 +3248,22 @@ declare namespace WorkMail { } export interface UpdateDefaultMailDomainResponse { } + export interface UpdateGroupRequest { + /** + * The identifier for the organization under which the group exists. + */ + OrganizationId: OrganizationId; + /** + * The identifier for the group to be updated. The identifier can accept GroupId, Groupname, or email. The following identity formats are available: Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: group@domain.tld Group name: group + */ + GroupId: EntityIdentifier; + /** + * If enabled, the group is hidden from the global address list. + */ + HiddenFromGlobalAddressList?: BooleanObject; + } + export interface UpdateGroupResponse { + } export interface UpdateImpersonationRoleRequest { /** * The WorkMail organization that contains the impersonation role to update. @@ -3000,9 +3298,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifer for the user for whom to update the mailbox quota. + * The identifer for the user for whom to update the mailbox quota. The identifier can be the UserId, Username, or email. The following identity formats are available: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user */ - UserId: WorkMailIdentifier; + UserId: EntityIdentifier; /** * The updated mailbox quota, in MB, for the specified user. */ @@ -3072,9 +3370,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The user, group, or resource to update. + * The user, group, or resource to update. The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename, or Groupname, or email. The following identity formats are available: Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity name: entity */ - EntityId: WorkMailIdentifier; + EntityId: EntityIdentifier; /** * The value of the email to be updated as primary. */ @@ -3088,9 +3386,9 @@ declare namespace WorkMail { */ OrganizationId: OrganizationId; /** - * The identifier of the resource to be updated. + * The identifier of the resource to be updated. The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available: Resource ID: r-0123456789a0123456789b0123456789 Email address: resource@domain.tld Resource name: resource */ - ResourceId: ResourceId; + ResourceId: EntityIdentifier; /** * The name of the resource to be updated. */ @@ -3099,9 +3397,93 @@ declare namespace WorkMail { * The resource's booking options to be updated. */ BookingOptions?: BookingOptions; + /** + * Updates the resource description. + */ + Description?: NewResourceDescription; + /** + * Updates the resource type. + */ + Type?: ResourceType; + /** + * If enabled, the resource is hidden from the global address list. + */ + HiddenFromGlobalAddressList?: BooleanObject; } export interface UpdateResourceResponse { } + export interface UpdateUserRequest { + /** + * The identifier for the organization under which the user exists. + */ + OrganizationId: OrganizationId; + /** + * The identifier for the user to be updated. The identifier can be the UserId, Username, or email. The following identity formats are available: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user + */ + UserId: EntityIdentifier; + /** + * Updates the user role. You cannot pass SYSTEM_USER or RESOURCE. + */ + Role?: UserRole; + /** + * Updates the display name of the user. + */ + DisplayName?: UserAttribute; + /** + * Updates the user's first name. + */ + FirstName?: UserAttribute; + /** + * Updates the user's last name. + */ + LastName?: UserAttribute; + /** + * If enabled, the user is hidden from the global address list. + */ + HiddenFromGlobalAddressList?: BooleanObject; + /** + * Updates the user's initials. + */ + Initials?: UserAttribute; + /** + * Updates the user's contact details. + */ + Telephone?: UserAttribute; + /** + * Updates the user's street address. + */ + Street?: UserAttribute; + /** + * Updates the user's job title. + */ + JobTitle?: UserAttribute; + /** + * Updates the user's city. + */ + City?: UserAttribute; + /** + * Updates the user's company. + */ + Company?: UserAttribute; + /** + * Updates the user's zipcode. + */ + ZipCode?: UserAttribute; + /** + * Updates the user's department. + */ + Department?: UserAttribute; + /** + * Updates the user's country. + */ + Country?: UserAttribute; + /** + * Updates the user's office. + */ + Office?: UserAttribute; + } + export interface UpdateUserResponse { + } export type Url = string; export interface User { /** @@ -3137,9 +3519,10 @@ declare namespace WorkMail { */ DisabledDate?: Timestamp; } + export type UserAttribute = string; export type UserIdList = WorkMailIdentifier[]; export type UserName = string; - export type UserRole = "USER"|"RESOURCE"|"SYSTEM_USER"|string; + export type UserRole = "USER"|"RESOURCE"|"SYSTEM_USER"|"REMOTE_USER"|string; export type Users = User[]; export type WorkMailDomainName = string; export type WorkMailIdentifier = string; diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index 8ef6fdc31e..30c38fe059 100644 --- a/dist/aws-sdk-core-react-native.js +++ b/dist/aws-sdk-core-react-native.js @@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap /** * @constant */ - VERSION: '2.1459.0', + VERSION: '2.1460.0', /** * @api private diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 72283abb9e..4d6008178d 100644 --- a/dist/aws-sdk-react-native.js +++ b/dist/aws-sdk-react-native.js @@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap /** * @constant */ - VERSION: '2.1459.0', + VERSION: '2.1460.0', /** * @api private @@ -37030,7 +37030,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 169 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-11-01","endpointPrefix":"discovery","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Application Discovery Service","serviceId":"Application Discovery Service","signatureVersion":"v4","targetPrefix":"AWSPoseidonService_V2015_11_01","uid":"discovery-2015-11-01"},"operations":{"AssociateConfigurationItemsToApplication":{"input":{"type":"structure","required":["applicationConfigurationId","configurationIds"],"members":{"applicationConfigurationId":{},"configurationIds":{"shape":"S3"}}},"output":{"type":"structure","members":{}}},"BatchDeleteImportData":{"input":{"type":"structure","required":["importTaskIds"],"members":{"importTaskIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"type":"structure","members":{"importTaskId":{},"errorCode":{},"errorDescription":{}}}}}}},"CreateApplication":{"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{}}},"output":{"type":"structure","members":{"configurationId":{}}}},"CreateTags":{"input":{"type":"structure","required":["configurationIds","tags"],"members":{"configurationIds":{"shape":"S3"},"tags":{"shape":"Sk"}}},"output":{"type":"structure","members":{}}},"DeleteApplications":{"input":{"type":"structure","required":["configurationIds"],"members":{"configurationIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeleteTags":{"input":{"type":"structure","required":["configurationIds"],"members":{"configurationIds":{"shape":"S3"},"tags":{"shape":"Sk"}}},"output":{"type":"structure","members":{}}},"DescribeAgents":{"input":{"type":"structure","members":{"agentIds":{"shape":"Sv"},"filters":{"shape":"Sx"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"agentsInfo":{"type":"list","member":{"type":"structure","members":{"agentId":{},"hostName":{},"agentNetworkInfoList":{"type":"list","member":{"type":"structure","members":{"ipAddress":{},"macAddress":{}}}},"connectorId":{},"version":{},"health":{},"lastHealthPingTime":{},"collectionStatus":{},"agentType":{},"registeredTime":{}}}},"nextToken":{}}}},"DescribeConfigurations":{"input":{"type":"structure","required":["configurationIds"],"members":{"configurationIds":{"shape":"S3"}}},"output":{"type":"structure","members":{"configurations":{"type":"list","member":{"type":"map","key":{},"value":{}}}}}},"DescribeContinuousExports":{"input":{"type":"structure","members":{"exportIds":{"type":"list","member":{}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"descriptions":{"type":"list","member":{"type":"structure","members":{"exportId":{},"status":{},"statusDetail":{},"s3Bucket":{},"startTime":{"type":"timestamp"},"stopTime":{"type":"timestamp"},"dataSource":{},"schemaStorageConfig":{"shape":"S1q"}}}},"nextToken":{}}}},"DescribeExportConfigurations":{"input":{"type":"structure","members":{"exportIds":{"shape":"S1t"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"exportsInfo":{"shape":"S1v"},"nextToken":{}}},"deprecated":true},"DescribeExportTasks":{"input":{"type":"structure","members":{"exportIds":{"shape":"S1t"},"filters":{"shape":"S23"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"exportsInfo":{"shape":"S1v"},"nextToken":{}}}},"DescribeImportTasks":{"input":{"type":"structure","members":{"filters":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"type":"list","member":{}}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"nextToken":{},"tasks":{"type":"list","member":{"shape":"S2g"}}}}},"DescribeTags":{"input":{"type":"structure","members":{"filters":{"type":"list","member":{"type":"structure","required":["name","values"],"members":{"name":{},"values":{"shape":"Sz"}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"tags":{"type":"list","member":{"type":"structure","members":{"configurationType":{},"configurationId":{},"key":{},"value":{},"timeOfCreation":{"type":"timestamp"}}}},"nextToken":{}}}},"DisassociateConfigurationItemsFromApplication":{"input":{"type":"structure","required":["applicationConfigurationId","configurationIds"],"members":{"applicationConfigurationId":{},"configurationIds":{"shape":"S3"}}},"output":{"type":"structure","members":{}}},"ExportConfigurations":{"output":{"type":"structure","members":{"exportId":{}}},"deprecated":true},"GetDiscoverySummary":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"servers":{"type":"long"},"applications":{"type":"long"},"serversMappedToApplications":{"type":"long"},"serversMappedtoTags":{"type":"long"},"agentSummary":{"type":"structure","required":["activeAgents","healthyAgents","blackListedAgents","shutdownAgents","unhealthyAgents","totalAgents","unknownAgents"],"members":{"activeAgents":{"type":"integer"},"healthyAgents":{"type":"integer"},"blackListedAgents":{"type":"integer"},"shutdownAgents":{"type":"integer"},"unhealthyAgents":{"type":"integer"},"totalAgents":{"type":"integer"},"unknownAgents":{"type":"integer"}}},"connectorSummary":{"type":"structure","required":["activeConnectors","healthyConnectors","blackListedConnectors","shutdownConnectors","unhealthyConnectors","totalConnectors","unknownConnectors"],"members":{"activeConnectors":{"type":"integer"},"healthyConnectors":{"type":"integer"},"blackListedConnectors":{"type":"integer"},"shutdownConnectors":{"type":"integer"},"unhealthyConnectors":{"type":"integer"},"totalConnectors":{"type":"integer"},"unknownConnectors":{"type":"integer"}}},"meCollectorSummary":{"type":"structure","required":["activeMeCollectors","healthyMeCollectors","denyListedMeCollectors","shutdownMeCollectors","unhealthyMeCollectors","totalMeCollectors","unknownMeCollectors"],"members":{"activeMeCollectors":{"type":"integer"},"healthyMeCollectors":{"type":"integer"},"denyListedMeCollectors":{"type":"integer"},"shutdownMeCollectors":{"type":"integer"},"unhealthyMeCollectors":{"type":"integer"},"totalMeCollectors":{"type":"integer"},"unknownMeCollectors":{"type":"integer"}}},"agentlessCollectorSummary":{"type":"structure","required":["activeAgentlessCollectors","healthyAgentlessCollectors","denyListedAgentlessCollectors","shutdownAgentlessCollectors","unhealthyAgentlessCollectors","totalAgentlessCollectors","unknownAgentlessCollectors"],"members":{"activeAgentlessCollectors":{"type":"integer"},"healthyAgentlessCollectors":{"type":"integer"},"denyListedAgentlessCollectors":{"type":"integer"},"shutdownAgentlessCollectors":{"type":"integer"},"unhealthyAgentlessCollectors":{"type":"integer"},"totalAgentlessCollectors":{"type":"integer"},"unknownAgentlessCollectors":{"type":"integer"}}}}}},"ListConfigurations":{"input":{"type":"structure","required":["configurationType"],"members":{"configurationType":{},"filters":{"shape":"Sx"},"maxResults":{"type":"integer"},"nextToken":{},"orderBy":{"type":"list","member":{"type":"structure","required":["fieldName"],"members":{"fieldName":{},"sortOrder":{}}}}}},"output":{"type":"structure","members":{"configurations":{"type":"list","member":{"type":"map","key":{},"value":{}}},"nextToken":{}}}},"ListServerNeighbors":{"input":{"type":"structure","required":["configurationId"],"members":{"configurationId":{},"portInformationNeeded":{"type":"boolean"},"neighborConfigurationIds":{"shape":"S3"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["neighbors"],"members":{"neighbors":{"type":"list","member":{"type":"structure","required":["sourceServerId","destinationServerId","connectionsCount"],"members":{"sourceServerId":{},"destinationServerId":{},"destinationPort":{"type":"integer"},"transportProtocol":{},"connectionsCount":{"type":"long"}}}},"nextToken":{},"knownDependencyCount":{"type":"long"}}}},"StartContinuousExport":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"exportId":{},"s3Bucket":{},"startTime":{"type":"timestamp"},"dataSource":{},"schemaStorageConfig":{"shape":"S1q"}}}},"StartDataCollectionByAgentIds":{"input":{"type":"structure","required":["agentIds"],"members":{"agentIds":{"shape":"Sv"}}},"output":{"type":"structure","members":{"agentsConfigurationStatus":{"shape":"S3k"}}}},"StartExportTask":{"input":{"type":"structure","members":{"exportDataFormat":{"type":"list","member":{}},"filters":{"shape":"S23"},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"preferences":{"type":"structure","members":{"ec2RecommendationsPreferences":{"type":"structure","members":{"enabled":{"type":"boolean"},"cpuPerformanceMetricBasis":{"shape":"S3s"},"ramPerformanceMetricBasis":{"shape":"S3s"},"tenancy":{},"excludedInstanceTypes":{"type":"list","member":{}},"preferredRegion":{},"reservedInstanceOptions":{"type":"structure","required":["purchasingOption","offeringClass","termLength"],"members":{"purchasingOption":{},"offeringClass":{},"termLength":{}}}}}},"union":true}}},"output":{"type":"structure","members":{"exportId":{}}}},"StartImportTask":{"input":{"type":"structure","required":["name","importUrl"],"members":{"clientRequestToken":{"idempotencyToken":true},"name":{},"importUrl":{}}},"output":{"type":"structure","members":{"task":{"shape":"S2g"}}}},"StopContinuousExport":{"input":{"type":"structure","required":["exportId"],"members":{"exportId":{}}},"output":{"type":"structure","members":{"startTime":{"type":"timestamp"},"stopTime":{"type":"timestamp"}}}},"StopDataCollectionByAgentIds":{"input":{"type":"structure","required":["agentIds"],"members":{"agentIds":{"shape":"Sv"}}},"output":{"type":"structure","members":{"agentsConfigurationStatus":{"shape":"S3k"}}}},"UpdateApplication":{"input":{"type":"structure","required":["configurationId"],"members":{"configurationId":{},"name":{},"description":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S3":{"type":"list","member":{}},"Sk":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"Sv":{"type":"list","member":{}},"Sx":{"type":"list","member":{"type":"structure","required":["name","values","condition"],"members":{"name":{},"values":{"shape":"Sz"},"condition":{}}}},"Sz":{"type":"list","member":{}},"S1q":{"type":"map","key":{},"value":{}},"S1t":{"type":"list","member":{}},"S1v":{"type":"list","member":{"type":"structure","required":["exportId","exportStatus","statusMessage","exportRequestTime"],"members":{"exportId":{},"exportStatus":{},"statusMessage":{},"configurationsDownloadUrl":{},"exportRequestTime":{"type":"timestamp"},"isTruncated":{"type":"boolean"},"requestedStartTime":{"type":"timestamp"},"requestedEndTime":{"type":"timestamp"}}}},"S23":{"type":"list","member":{"type":"structure","required":["name","values","condition"],"members":{"name":{},"values":{"shape":"Sz"},"condition":{}}}},"S2g":{"type":"structure","members":{"importTaskId":{},"clientRequestToken":{},"name":{},"importUrl":{},"status":{},"importRequestTime":{"type":"timestamp"},"importCompletionTime":{"type":"timestamp"},"importDeletedTime":{"type":"timestamp"},"serverImportSuccess":{"type":"integer"},"serverImportFailure":{"type":"integer"},"applicationImportSuccess":{"type":"integer"},"applicationImportFailure":{"type":"integer"},"errorsAndFailedEntriesZip":{}}},"S3k":{"type":"list","member":{"type":"structure","members":{"agentId":{},"operationSucceeded":{"type":"boolean"},"description":{}}}},"S3s":{"type":"structure","members":{"name":{},"percentageAdjust":{"type":"double"}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-11-01","endpointPrefix":"discovery","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Application Discovery Service","serviceId":"Application Discovery Service","signatureVersion":"v4","targetPrefix":"AWSPoseidonService_V2015_11_01","uid":"discovery-2015-11-01"},"operations":{"AssociateConfigurationItemsToApplication":{"input":{"type":"structure","required":["applicationConfigurationId","configurationIds"],"members":{"applicationConfigurationId":{},"configurationIds":{"shape":"S3"}}},"output":{"type":"structure","members":{}}},"BatchDeleteImportData":{"input":{"type":"structure","required":["importTaskIds"],"members":{"importTaskIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"type":"structure","members":{"importTaskId":{},"errorCode":{},"errorDescription":{}}}}}}},"CreateApplication":{"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{}}},"output":{"type":"structure","members":{"configurationId":{}}}},"CreateTags":{"input":{"type":"structure","required":["configurationIds","tags"],"members":{"configurationIds":{"shape":"S3"},"tags":{"shape":"Sk"}}},"output":{"type":"structure","members":{}}},"DeleteApplications":{"input":{"type":"structure","required":["configurationIds"],"members":{"configurationIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeleteTags":{"input":{"type":"structure","required":["configurationIds"],"members":{"configurationIds":{"shape":"S3"},"tags":{"shape":"Sk"}}},"output":{"type":"structure","members":{}}},"DescribeAgents":{"input":{"type":"structure","members":{"agentIds":{"shape":"Sv"},"filters":{"shape":"Sx"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"agentsInfo":{"type":"list","member":{"type":"structure","members":{"agentId":{},"hostName":{},"agentNetworkInfoList":{"type":"list","member":{"type":"structure","members":{"ipAddress":{},"macAddress":{}},"sensitive":true}},"connectorId":{},"version":{},"health":{},"lastHealthPingTime":{},"collectionStatus":{},"agentType":{},"registeredTime":{}}}},"nextToken":{}}}},"DescribeConfigurations":{"input":{"type":"structure","required":["configurationIds"],"members":{"configurationIds":{"shape":"S3"}}},"output":{"type":"structure","members":{"configurations":{"type":"list","member":{"type":"map","key":{},"value":{}}}}}},"DescribeContinuousExports":{"input":{"type":"structure","members":{"exportIds":{"type":"list","member":{}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"descriptions":{"type":"list","member":{"type":"structure","members":{"exportId":{},"status":{},"statusDetail":{},"s3Bucket":{},"startTime":{"type":"timestamp"},"stopTime":{"type":"timestamp"},"dataSource":{},"schemaStorageConfig":{"shape":"S1q"}}}},"nextToken":{}}}},"DescribeExportConfigurations":{"input":{"type":"structure","members":{"exportIds":{"shape":"S1t"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"exportsInfo":{"shape":"S1v"},"nextToken":{}}},"deprecated":true},"DescribeExportTasks":{"input":{"type":"structure","members":{"exportIds":{"shape":"S1t"},"filters":{"shape":"S23"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"exportsInfo":{"shape":"S1v"},"nextToken":{}}}},"DescribeImportTasks":{"input":{"type":"structure","members":{"filters":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"type":"list","member":{}}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"nextToken":{},"tasks":{"type":"list","member":{"shape":"S2g"}}}}},"DescribeTags":{"input":{"type":"structure","members":{"filters":{"type":"list","member":{"type":"structure","required":["name","values"],"members":{"name":{},"values":{"shape":"Sz"}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"tags":{"type":"list","member":{"type":"structure","members":{"configurationType":{},"configurationId":{},"key":{},"value":{},"timeOfCreation":{"type":"timestamp"}}}},"nextToken":{}}}},"DisassociateConfigurationItemsFromApplication":{"input":{"type":"structure","required":["applicationConfigurationId","configurationIds"],"members":{"applicationConfigurationId":{},"configurationIds":{"shape":"S3"}}},"output":{"type":"structure","members":{}}},"ExportConfigurations":{"output":{"type":"structure","members":{"exportId":{}}},"deprecated":true},"GetDiscoverySummary":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"servers":{"type":"long"},"applications":{"type":"long"},"serversMappedToApplications":{"type":"long"},"serversMappedtoTags":{"type":"long"},"agentSummary":{"type":"structure","required":["activeAgents","healthyAgents","blackListedAgents","shutdownAgents","unhealthyAgents","totalAgents","unknownAgents"],"members":{"activeAgents":{"type":"integer"},"healthyAgents":{"type":"integer"},"blackListedAgents":{"type":"integer"},"shutdownAgents":{"type":"integer"},"unhealthyAgents":{"type":"integer"},"totalAgents":{"type":"integer"},"unknownAgents":{"type":"integer"}}},"connectorSummary":{"type":"structure","required":["activeConnectors","healthyConnectors","blackListedConnectors","shutdownConnectors","unhealthyConnectors","totalConnectors","unknownConnectors"],"members":{"activeConnectors":{"type":"integer"},"healthyConnectors":{"type":"integer"},"blackListedConnectors":{"type":"integer"},"shutdownConnectors":{"type":"integer"},"unhealthyConnectors":{"type":"integer"},"totalConnectors":{"type":"integer"},"unknownConnectors":{"type":"integer"}}},"meCollectorSummary":{"type":"structure","required":["activeMeCollectors","healthyMeCollectors","denyListedMeCollectors","shutdownMeCollectors","unhealthyMeCollectors","totalMeCollectors","unknownMeCollectors"],"members":{"activeMeCollectors":{"type":"integer"},"healthyMeCollectors":{"type":"integer"},"denyListedMeCollectors":{"type":"integer"},"shutdownMeCollectors":{"type":"integer"},"unhealthyMeCollectors":{"type":"integer"},"totalMeCollectors":{"type":"integer"},"unknownMeCollectors":{"type":"integer"}}},"agentlessCollectorSummary":{"type":"structure","required":["activeAgentlessCollectors","healthyAgentlessCollectors","denyListedAgentlessCollectors","shutdownAgentlessCollectors","unhealthyAgentlessCollectors","totalAgentlessCollectors","unknownAgentlessCollectors"],"members":{"activeAgentlessCollectors":{"type":"integer"},"healthyAgentlessCollectors":{"type":"integer"},"denyListedAgentlessCollectors":{"type":"integer"},"shutdownAgentlessCollectors":{"type":"integer"},"unhealthyAgentlessCollectors":{"type":"integer"},"totalAgentlessCollectors":{"type":"integer"},"unknownAgentlessCollectors":{"type":"integer"}}}}}},"ListConfigurations":{"input":{"type":"structure","required":["configurationType"],"members":{"configurationType":{},"filters":{"shape":"Sx"},"maxResults":{"type":"integer"},"nextToken":{},"orderBy":{"type":"list","member":{"type":"structure","required":["fieldName"],"members":{"fieldName":{},"sortOrder":{}}}}}},"output":{"type":"structure","members":{"configurations":{"type":"list","member":{"type":"map","key":{},"value":{}}},"nextToken":{}}}},"ListServerNeighbors":{"input":{"type":"structure","required":["configurationId"],"members":{"configurationId":{},"portInformationNeeded":{"type":"boolean"},"neighborConfigurationIds":{"shape":"S3"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["neighbors"],"members":{"neighbors":{"type":"list","member":{"type":"structure","required":["sourceServerId","destinationServerId","connectionsCount"],"members":{"sourceServerId":{},"destinationServerId":{},"destinationPort":{"type":"integer"},"transportProtocol":{},"connectionsCount":{"type":"long"}}}},"nextToken":{},"knownDependencyCount":{"type":"long"}}}},"StartContinuousExport":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"exportId":{},"s3Bucket":{},"startTime":{"type":"timestamp"},"dataSource":{},"schemaStorageConfig":{"shape":"S1q"}}}},"StartDataCollectionByAgentIds":{"input":{"type":"structure","required":["agentIds"],"members":{"agentIds":{"shape":"Sv"}}},"output":{"type":"structure","members":{"agentsConfigurationStatus":{"shape":"S3k"}}}},"StartExportTask":{"input":{"type":"structure","members":{"exportDataFormat":{"type":"list","member":{}},"filters":{"shape":"S23"},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"preferences":{"type":"structure","members":{"ec2RecommendationsPreferences":{"type":"structure","members":{"enabled":{"type":"boolean"},"cpuPerformanceMetricBasis":{"shape":"S3s"},"ramPerformanceMetricBasis":{"shape":"S3s"},"tenancy":{},"excludedInstanceTypes":{"type":"list","member":{}},"preferredRegion":{},"reservedInstanceOptions":{"type":"structure","required":["purchasingOption","offeringClass","termLength"],"members":{"purchasingOption":{},"offeringClass":{},"termLength":{}}}}}},"union":true}}},"output":{"type":"structure","members":{"exportId":{}}}},"StartImportTask":{"input":{"type":"structure","required":["name","importUrl"],"members":{"clientRequestToken":{"idempotencyToken":true},"name":{},"importUrl":{}}},"output":{"type":"structure","members":{"task":{"shape":"S2g"}}}},"StopContinuousExport":{"input":{"type":"structure","required":["exportId"],"members":{"exportId":{}}},"output":{"type":"structure","members":{"startTime":{"type":"timestamp"},"stopTime":{"type":"timestamp"}}}},"StopDataCollectionByAgentIds":{"input":{"type":"structure","required":["agentIds"],"members":{"agentIds":{"shape":"Sv"}}},"output":{"type":"structure","members":{"agentsConfigurationStatus":{"shape":"S3k"}}}},"UpdateApplication":{"input":{"type":"structure","required":["configurationId"],"members":{"configurationId":{},"name":{},"description":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S3":{"type":"list","member":{}},"Sk":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"Sv":{"type":"list","member":{}},"Sx":{"type":"list","member":{"type":"structure","required":["name","values","condition"],"members":{"name":{},"values":{"shape":"Sz"},"condition":{}}}},"Sz":{"type":"list","member":{}},"S1q":{"type":"map","key":{},"value":{}},"S1t":{"type":"list","member":{}},"S1v":{"type":"list","member":{"type":"structure","required":["exportId","exportStatus","statusMessage","exportRequestTime"],"members":{"exportId":{},"exportStatus":{},"statusMessage":{},"configurationsDownloadUrl":{},"exportRequestTime":{"type":"timestamp"},"isTruncated":{"type":"boolean"},"requestedStartTime":{"type":"timestamp"},"requestedEndTime":{"type":"timestamp"}}}},"S23":{"type":"list","member":{"type":"structure","required":["name","values","condition"],"members":{"name":{},"values":{"shape":"Sz"},"condition":{}}}},"S2g":{"type":"structure","members":{"importTaskId":{},"clientRequestToken":{},"name":{},"importUrl":{},"status":{},"importRequestTime":{"type":"timestamp"},"importCompletionTime":{"type":"timestamp"},"importDeletedTime":{"type":"timestamp"},"serverImportSuccess":{"type":"integer"},"serverImportFailure":{"type":"integer"},"applicationImportSuccess":{"type":"integer"},"applicationImportFailure":{"type":"integer"},"errorsAndFailedEntriesZip":{}}},"S3k":{"type":"list","member":{"type":"structure","members":{"agentId":{},"operationSucceeded":{"type":"boolean"},"description":{}}}},"S3s":{"type":"structure","members":{"name":{},"percentageAdjust":{"type":"double"}}}}} /***/ }), /* 170 */ @@ -55766,13 +55766,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 619 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-10-01","endpointPrefix":"workmail","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon WorkMail","serviceId":"WorkMail","signatureVersion":"v4","targetPrefix":"WorkMailService","uid":"workmail-2017-10-01"},"operations":{"AssociateDelegateToResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId","EntityId"],"members":{"OrganizationId":{},"ResourceId":{},"EntityId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"AssociateMemberToGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId","MemberId"],"members":{"OrganizationId":{},"GroupId":{},"MemberId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"AssumeImpersonationRole":{"input":{"type":"structure","required":["OrganizationId","ImpersonationRoleId"],"members":{"OrganizationId":{},"ImpersonationRoleId":{}}},"output":{"type":"structure","members":{"Token":{},"ExpiresIn":{"type":"long"}}}},"CancelMailboxExportJob":{"input":{"type":"structure","required":["ClientToken","JobId","OrganizationId"],"members":{"ClientToken":{"idempotencyToken":true},"JobId":{},"OrganizationId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"CreateAlias":{"input":{"type":"structure","required":["OrganizationId","EntityId","Alias"],"members":{"OrganizationId":{},"EntityId":{},"Alias":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"CreateAvailabilityConfiguration":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"ClientToken":{"idempotencyToken":true},"OrganizationId":{},"DomainName":{},"EwsProvider":{"shape":"Sm"},"LambdaProvider":{"shape":"Sq"}}},"output":{"type":"structure","members":{}},"idempotent":true},"CreateGroup":{"input":{"type":"structure","required":["OrganizationId","Name"],"members":{"OrganizationId":{},"Name":{}}},"output":{"type":"structure","members":{"GroupId":{}}},"idempotent":true},"CreateImpersonationRole":{"input":{"type":"structure","required":["OrganizationId","Name","Type","Rules"],"members":{"ClientToken":{"idempotencyToken":true},"OrganizationId":{},"Name":{},"Type":{},"Description":{},"Rules":{"shape":"S10"}}},"output":{"type":"structure","members":{"ImpersonationRoleId":{}}}},"CreateMobileDeviceAccessRule":{"input":{"type":"structure","required":["OrganizationId","Name","Effect"],"members":{"OrganizationId":{},"ClientToken":{"idempotencyToken":true},"Name":{},"Description":{},"Effect":{},"DeviceTypes":{"shape":"S1d"},"NotDeviceTypes":{"shape":"S1d"},"DeviceModels":{"shape":"S1f"},"NotDeviceModels":{"shape":"S1f"},"DeviceOperatingSystems":{"shape":"S1h"},"NotDeviceOperatingSystems":{"shape":"S1h"},"DeviceUserAgents":{"shape":"S1j"},"NotDeviceUserAgents":{"shape":"S1j"}}},"output":{"type":"structure","members":{"MobileDeviceAccessRuleId":{}}}},"CreateOrganization":{"input":{"type":"structure","required":["Alias"],"members":{"DirectoryId":{},"Alias":{},"ClientToken":{"idempotencyToken":true},"Domains":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"HostedZoneId":{}}}},"KmsKeyArn":{},"EnableInteroperability":{"type":"boolean"}}},"output":{"type":"structure","members":{"OrganizationId":{}}},"idempotent":true},"CreateResource":{"input":{"type":"structure","required":["OrganizationId","Name","Type"],"members":{"OrganizationId":{},"Name":{},"Type":{}}},"output":{"type":"structure","members":{"ResourceId":{}}},"idempotent":true},"CreateUser":{"input":{"type":"structure","required":["OrganizationId","Name","DisplayName","Password"],"members":{"OrganizationId":{},"Name":{},"DisplayName":{},"Password":{"shape":"Sp"}}},"output":{"type":"structure","members":{"UserId":{}}},"idempotent":true},"DeleteAccessControlRule":{"input":{"type":"structure","required":["OrganizationId","Name"],"members":{"OrganizationId":{},"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteAlias":{"input":{"type":"structure","required":["OrganizationId","EntityId","Alias"],"members":{"OrganizationId":{},"EntityId":{},"Alias":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteAvailabilityConfiguration":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"OrganizationId":{},"DomainName":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteEmailMonitoringConfiguration":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId"],"members":{"OrganizationId":{},"GroupId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteImpersonationRole":{"input":{"type":"structure","required":["OrganizationId","ImpersonationRoleId"],"members":{"OrganizationId":{},"ImpersonationRoleId":{}}},"output":{"type":"structure","members":{}}},"DeleteMailboxPermissions":{"input":{"type":"structure","required":["OrganizationId","EntityId","GranteeId"],"members":{"OrganizationId":{},"EntityId":{},"GranteeId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteMobileDeviceAccessOverride":{"input":{"type":"structure","required":["OrganizationId","UserId","DeviceId"],"members":{"OrganizationId":{},"UserId":{},"DeviceId":{}}},"output":{"type":"structure","members":{}}},"DeleteMobileDeviceAccessRule":{"input":{"type":"structure","required":["OrganizationId","MobileDeviceAccessRuleId"],"members":{"OrganizationId":{},"MobileDeviceAccessRuleId":{}}},"output":{"type":"structure","members":{}}},"DeleteOrganization":{"input":{"type":"structure","required":["OrganizationId","DeleteDirectory"],"members":{"ClientToken":{"idempotencyToken":true},"OrganizationId":{},"DeleteDirectory":{"type":"boolean"}}},"output":{"type":"structure","members":{"OrganizationId":{},"State":{}}},"idempotent":true},"DeleteResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId"],"members":{"OrganizationId":{},"ResourceId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteRetentionPolicy":{"input":{"type":"structure","required":["OrganizationId","Id"],"members":{"OrganizationId":{},"Id":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteUser":{"input":{"type":"structure","required":["OrganizationId","UserId"],"members":{"OrganizationId":{},"UserId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeregisterFromWorkMail":{"input":{"type":"structure","required":["OrganizationId","EntityId"],"members":{"OrganizationId":{},"EntityId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeregisterMailDomain":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"OrganizationId":{},"DomainName":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DescribeEmailMonitoringConfiguration":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"RoleArn":{},"LogGroupArn":{}}},"idempotent":true},"DescribeGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId"],"members":{"OrganizationId":{},"GroupId":{}}},"output":{"type":"structure","members":{"GroupId":{},"Name":{},"Email":{},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}},"idempotent":true},"DescribeInboundDmarcSettings":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"Enforced":{"type":"boolean"}}},"idempotent":true},"DescribeMailboxExportJob":{"input":{"type":"structure","required":["JobId","OrganizationId"],"members":{"JobId":{},"OrganizationId":{}}},"output":{"type":"structure","members":{"EntityId":{},"Description":{},"RoleArn":{},"KmsKeyArn":{},"S3BucketName":{},"S3Prefix":{},"S3Path":{},"EstimatedProgress":{"type":"integer"},"State":{},"ErrorInfo":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}},"idempotent":true},"DescribeOrganization":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"OrganizationId":{},"Alias":{},"State":{},"DirectoryId":{},"DirectoryType":{},"DefaultMailDomain":{},"CompletedDate":{"type":"timestamp"},"ErrorMessage":{},"ARN":{}}},"idempotent":true},"DescribeResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId"],"members":{"OrganizationId":{},"ResourceId":{}}},"output":{"type":"structure","members":{"ResourceId":{},"Email":{},"Name":{},"Type":{},"BookingOptions":{"shape":"S3p"},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}},"idempotent":true},"DescribeUser":{"input":{"type":"structure","required":["OrganizationId","UserId"],"members":{"OrganizationId":{},"UserId":{}}},"output":{"type":"structure","members":{"UserId":{},"Name":{},"Email":{},"DisplayName":{},"State":{},"UserRole":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}},"idempotent":true},"DisassociateDelegateFromResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId","EntityId"],"members":{"OrganizationId":{},"ResourceId":{},"EntityId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DisassociateMemberFromGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId","MemberId"],"members":{"OrganizationId":{},"GroupId":{},"MemberId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"GetAccessControlEffect":{"input":{"type":"structure","required":["OrganizationId","IpAddress","Action"],"members":{"OrganizationId":{},"IpAddress":{},"Action":{},"UserId":{},"ImpersonationRoleId":{}}},"output":{"type":"structure","members":{"Effect":{},"MatchedRules":{"type":"list","member":{}}}}},"GetDefaultRetentionPolicy":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"Id":{},"Name":{},"Description":{},"FolderConfigurations":{"shape":"S45"}}},"idempotent":true},"GetImpersonationRole":{"input":{"type":"structure","required":["OrganizationId","ImpersonationRoleId"],"members":{"OrganizationId":{},"ImpersonationRoleId":{}}},"output":{"type":"structure","members":{"ImpersonationRoleId":{},"Name":{},"Type":{},"Description":{},"Rules":{"shape":"S10"},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}},"GetImpersonationRoleEffect":{"input":{"type":"structure","required":["OrganizationId","ImpersonationRoleId","TargetUser"],"members":{"OrganizationId":{},"ImpersonationRoleId":{},"TargetUser":{}}},"output":{"type":"structure","members":{"Type":{},"Effect":{},"MatchedRules":{"type":"list","member":{"type":"structure","members":{"ImpersonationRuleId":{},"Name":{}}}}}}},"GetMailDomain":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"OrganizationId":{},"DomainName":{}}},"output":{"type":"structure","members":{"Records":{"type":"list","member":{"type":"structure","members":{"Type":{},"Hostname":{},"Value":{}}}},"IsTestDomain":{"type":"boolean"},"IsDefault":{"type":"boolean"},"OwnershipVerificationStatus":{},"DkimVerificationStatus":{}}},"idempotent":true},"GetMailboxDetails":{"input":{"type":"structure","required":["OrganizationId","UserId"],"members":{"OrganizationId":{},"UserId":{}}},"output":{"type":"structure","members":{"MailboxQuota":{"type":"integer"},"MailboxSize":{"type":"double"}}},"idempotent":true},"GetMobileDeviceAccessEffect":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"DeviceType":{},"DeviceModel":{},"DeviceOperatingSystem":{},"DeviceUserAgent":{}}},"output":{"type":"structure","members":{"Effect":{},"MatchedRules":{"type":"list","member":{"type":"structure","members":{"MobileDeviceAccessRuleId":{},"Name":{}}}}}}},"GetMobileDeviceAccessOverride":{"input":{"type":"structure","required":["OrganizationId","UserId","DeviceId"],"members":{"OrganizationId":{},"UserId":{},"DeviceId":{}}},"output":{"type":"structure","members":{"UserId":{},"DeviceId":{},"Effect":{},"Description":{},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}},"ListAccessControlRules":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"Rules":{"type":"list","member":{"type":"structure","members":{"Name":{},"Effect":{},"Description":{},"IpRanges":{"shape":"S50"},"NotIpRanges":{"shape":"S50"},"Actions":{"shape":"S52"},"NotActions":{"shape":"S52"},"UserIds":{"shape":"S53"},"NotUserIds":{"shape":"S53"},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"},"ImpersonationRoleIds":{"shape":"S54"},"NotImpersonationRoleIds":{"shape":"S54"}}}}}}},"ListAliases":{"input":{"type":"structure","required":["OrganizationId","EntityId"],"members":{"OrganizationId":{},"EntityId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Aliases":{"type":"list","member":{}},"NextToken":{}}},"idempotent":true},"ListAvailabilityConfigurations":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AvailabilityConfigurations":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"ProviderType":{},"EwsProvider":{"type":"structure","members":{"EwsEndpoint":{},"EwsUsername":{}}},"LambdaProvider":{"shape":"Sq"},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}},"NextToken":{}}}},"ListGroupMembers":{"input":{"type":"structure","required":["OrganizationId","GroupId"],"members":{"OrganizationId":{},"GroupId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Members":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Type":{},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"ListGroups":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Groups":{"type":"list","member":{"type":"structure","members":{"Id":{},"Email":{},"Name":{},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"ListImpersonationRoles":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Roles":{"type":"list","member":{"type":"structure","members":{"ImpersonationRoleId":{},"Name":{},"Type":{},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}},"NextToken":{}}}},"ListMailDomains":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"MailDomains":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"DefaultDomain":{"type":"boolean"}}}},"NextToken":{}}},"idempotent":true},"ListMailboxExportJobs":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Jobs":{"type":"list","member":{"type":"structure","members":{"JobId":{},"EntityId":{},"Description":{},"S3BucketName":{},"S3Path":{},"EstimatedProgress":{"type":"integer"},"State":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"ListMailboxPermissions":{"input":{"type":"structure","required":["OrganizationId","EntityId"],"members":{"OrganizationId":{},"EntityId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Permissions":{"type":"list","member":{"type":"structure","required":["GranteeId","GranteeType","PermissionValues"],"members":{"GranteeId":{},"GranteeType":{},"PermissionValues":{"shape":"S65"}}}},"NextToken":{}}},"idempotent":true},"ListMobileDeviceAccessOverrides":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"UserId":{},"DeviceId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Overrides":{"type":"list","member":{"type":"structure","members":{"UserId":{},"DeviceId":{},"Effect":{},"Description":{},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}},"NextToken":{}}}},"ListMobileDeviceAccessRules":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"Rules":{"type":"list","member":{"type":"structure","members":{"MobileDeviceAccessRuleId":{},"Name":{},"Description":{},"Effect":{},"DeviceTypes":{"shape":"S1d"},"NotDeviceTypes":{"shape":"S1d"},"DeviceModels":{"shape":"S1f"},"NotDeviceModels":{"shape":"S1f"},"DeviceOperatingSystems":{"shape":"S1h"},"NotDeviceOperatingSystems":{"shape":"S1h"},"DeviceUserAgents":{"shape":"S1j"},"NotDeviceUserAgents":{"shape":"S1j"},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}}}}},"ListOrganizations":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"OrganizationSummaries":{"type":"list","member":{"type":"structure","members":{"OrganizationId":{},"Alias":{},"DefaultMailDomain":{},"ErrorMessage":{},"State":{}}}},"NextToken":{}}},"idempotent":true},"ListResourceDelegates":{"input":{"type":"structure","required":["OrganizationId","ResourceId"],"members":{"OrganizationId":{},"ResourceId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Delegates":{"type":"list","member":{"type":"structure","required":["Id","Type"],"members":{"Id":{},"Type":{}}}},"NextToken":{}}},"idempotent":true},"ListResources":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Resources":{"type":"list","member":{"type":"structure","members":{"Id":{},"Email":{},"Name":{},"Type":{},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S6t"}}}},"ListUsers":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Users":{"type":"list","member":{"type":"structure","members":{"Id":{},"Email":{},"Name":{},"DisplayName":{},"State":{},"UserRole":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"PutAccessControlRule":{"input":{"type":"structure","required":["Name","Effect","Description","OrganizationId"],"members":{"Name":{},"Effect":{},"Description":{},"IpRanges":{"shape":"S50"},"NotIpRanges":{"shape":"S50"},"Actions":{"shape":"S52"},"NotActions":{"shape":"S52"},"UserIds":{"shape":"S53"},"NotUserIds":{"shape":"S53"},"OrganizationId":{},"ImpersonationRoleIds":{"shape":"S54"},"NotImpersonationRoleIds":{"shape":"S54"}}},"output":{"type":"structure","members":{}}},"PutEmailMonitoringConfiguration":{"input":{"type":"structure","required":["OrganizationId","RoleArn","LogGroupArn"],"members":{"OrganizationId":{},"RoleArn":{},"LogGroupArn":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"PutInboundDmarcSettings":{"input":{"type":"structure","required":["OrganizationId","Enforced"],"members":{"OrganizationId":{},"Enforced":{"type":"boolean"}}},"output":{"type":"structure","members":{}},"idempotent":true},"PutMailboxPermissions":{"input":{"type":"structure","required":["OrganizationId","EntityId","GranteeId","PermissionValues"],"members":{"OrganizationId":{},"EntityId":{},"GranteeId":{},"PermissionValues":{"shape":"S65"}}},"output":{"type":"structure","members":{}},"idempotent":true},"PutMobileDeviceAccessOverride":{"input":{"type":"structure","required":["OrganizationId","UserId","DeviceId","Effect"],"members":{"OrganizationId":{},"UserId":{},"DeviceId":{},"Effect":{},"Description":{}}},"output":{"type":"structure","members":{}}},"PutRetentionPolicy":{"input":{"type":"structure","required":["OrganizationId","Name","FolderConfigurations"],"members":{"OrganizationId":{},"Id":{},"Name":{},"Description":{"type":"string","sensitive":true},"FolderConfigurations":{"shape":"S45"}}},"output":{"type":"structure","members":{}},"idempotent":true},"RegisterMailDomain":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"ClientToken":{"idempotencyToken":true},"OrganizationId":{},"DomainName":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"RegisterToWorkMail":{"input":{"type":"structure","required":["OrganizationId","EntityId","Email"],"members":{"OrganizationId":{},"EntityId":{},"Email":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"ResetPassword":{"input":{"type":"structure","required":["OrganizationId","UserId","Password"],"members":{"OrganizationId":{},"UserId":{},"Password":{"shape":"Sp"}}},"output":{"type":"structure","members":{}},"idempotent":true},"StartMailboxExportJob":{"input":{"type":"structure","required":["ClientToken","OrganizationId","EntityId","RoleArn","KmsKeyArn","S3BucketName","S3Prefix"],"members":{"ClientToken":{"idempotencyToken":true},"OrganizationId":{},"EntityId":{},"Description":{},"RoleArn":{},"KmsKeyArn":{},"S3BucketName":{},"S3Prefix":{}}},"output":{"type":"structure","members":{"JobId":{}}},"idempotent":true},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S6t"}}},"output":{"type":"structure","members":{}}},"TestAvailabilityConfiguration":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"DomainName":{},"EwsProvider":{"shape":"Sm"},"LambdaProvider":{"shape":"Sq"}}},"output":{"type":"structure","members":{"TestPassed":{"type":"boolean"},"FailureReason":{}}}},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateAvailabilityConfiguration":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"OrganizationId":{},"DomainName":{},"EwsProvider":{"shape":"Sm"},"LambdaProvider":{"shape":"Sq"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateDefaultMailDomain":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"OrganizationId":{},"DomainName":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateImpersonationRole":{"input":{"type":"structure","required":["OrganizationId","ImpersonationRoleId","Name","Type","Rules"],"members":{"OrganizationId":{},"ImpersonationRoleId":{},"Name":{},"Type":{},"Description":{},"Rules":{"shape":"S10"}}},"output":{"type":"structure","members":{}}},"UpdateMailboxQuota":{"input":{"type":"structure","required":["OrganizationId","UserId","MailboxQuota"],"members":{"OrganizationId":{},"UserId":{},"MailboxQuota":{"type":"integer"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateMobileDeviceAccessRule":{"input":{"type":"structure","required":["OrganizationId","MobileDeviceAccessRuleId","Name","Effect"],"members":{"OrganizationId":{},"MobileDeviceAccessRuleId":{},"Name":{},"Description":{},"Effect":{},"DeviceTypes":{"shape":"S1d"},"NotDeviceTypes":{"shape":"S1d"},"DeviceModels":{"shape":"S1f"},"NotDeviceModels":{"shape":"S1f"},"DeviceOperatingSystems":{"shape":"S1h"},"NotDeviceOperatingSystems":{"shape":"S1h"},"DeviceUserAgents":{"shape":"S1j"},"NotDeviceUserAgents":{"shape":"S1j"}}},"output":{"type":"structure","members":{}}},"UpdatePrimaryEmailAddress":{"input":{"type":"structure","required":["OrganizationId","EntityId","Email"],"members":{"OrganizationId":{},"EntityId":{},"Email":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId"],"members":{"OrganizationId":{},"ResourceId":{},"Name":{},"BookingOptions":{"shape":"S3p"}}},"output":{"type":"structure","members":{}},"idempotent":true}},"shapes":{"Sm":{"type":"structure","required":["EwsEndpoint","EwsUsername","EwsPassword"],"members":{"EwsEndpoint":{},"EwsUsername":{},"EwsPassword":{"shape":"Sp"}}},"Sp":{"type":"string","sensitive":true},"Sq":{"type":"structure","required":["LambdaArn"],"members":{"LambdaArn":{}}},"S10":{"type":"list","member":{"type":"structure","required":["ImpersonationRuleId","Effect"],"members":{"ImpersonationRuleId":{},"Name":{},"Description":{},"Effect":{},"TargetUsers":{"shape":"S16"},"NotTargetUsers":{"shape":"S16"}}}},"S16":{"type":"list","member":{}},"S1d":{"type":"list","member":{}},"S1f":{"type":"list","member":{}},"S1h":{"type":"list","member":{}},"S1j":{"type":"list","member":{}},"S3p":{"type":"structure","members":{"AutoAcceptRequests":{"type":"boolean"},"AutoDeclineRecurringRequests":{"type":"boolean"},"AutoDeclineConflictingRequests":{"type":"boolean"}}},"S45":{"type":"list","member":{"type":"structure","required":["Name","Action"],"members":{"Name":{},"Action":{},"Period":{"type":"integer"}}}},"S50":{"type":"list","member":{}},"S52":{"type":"list","member":{}},"S53":{"type":"list","member":{}},"S54":{"type":"list","member":{}},"S65":{"type":"list","member":{}},"S6t":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-10-01","endpointPrefix":"workmail","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon WorkMail","serviceId":"WorkMail","signatureVersion":"v4","targetPrefix":"WorkMailService","uid":"workmail-2017-10-01"},"operations":{"AssociateDelegateToResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId","EntityId"],"members":{"OrganizationId":{},"ResourceId":{},"EntityId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"AssociateMemberToGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId","MemberId"],"members":{"OrganizationId":{},"GroupId":{},"MemberId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"AssumeImpersonationRole":{"input":{"type":"structure","required":["OrganizationId","ImpersonationRoleId"],"members":{"OrganizationId":{},"ImpersonationRoleId":{}}},"output":{"type":"structure","members":{"Token":{},"ExpiresIn":{"type":"long"}}}},"CancelMailboxExportJob":{"input":{"type":"structure","required":["ClientToken","JobId","OrganizationId"],"members":{"ClientToken":{"idempotencyToken":true},"JobId":{},"OrganizationId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"CreateAlias":{"input":{"type":"structure","required":["OrganizationId","EntityId","Alias"],"members":{"OrganizationId":{},"EntityId":{},"Alias":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"CreateAvailabilityConfiguration":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"ClientToken":{"idempotencyToken":true},"OrganizationId":{},"DomainName":{},"EwsProvider":{"shape":"Sm"},"LambdaProvider":{"shape":"Sq"}}},"output":{"type":"structure","members":{}},"idempotent":true},"CreateGroup":{"input":{"type":"structure","required":["OrganizationId","Name"],"members":{"OrganizationId":{},"Name":{},"HiddenFromGlobalAddressList":{"type":"boolean"}}},"output":{"type":"structure","members":{"GroupId":{}}},"idempotent":true},"CreateImpersonationRole":{"input":{"type":"structure","required":["OrganizationId","Name","Type","Rules"],"members":{"ClientToken":{"idempotencyToken":true},"OrganizationId":{},"Name":{},"Type":{},"Description":{},"Rules":{"shape":"S11"}}},"output":{"type":"structure","members":{"ImpersonationRoleId":{}}}},"CreateMobileDeviceAccessRule":{"input":{"type":"structure","required":["OrganizationId","Name","Effect"],"members":{"OrganizationId":{},"ClientToken":{"idempotencyToken":true},"Name":{},"Description":{},"Effect":{},"DeviceTypes":{"shape":"S1d"},"NotDeviceTypes":{"shape":"S1d"},"DeviceModels":{"shape":"S1f"},"NotDeviceModels":{"shape":"S1f"},"DeviceOperatingSystems":{"shape":"S1h"},"NotDeviceOperatingSystems":{"shape":"S1h"},"DeviceUserAgents":{"shape":"S1j"},"NotDeviceUserAgents":{"shape":"S1j"}}},"output":{"type":"structure","members":{"MobileDeviceAccessRuleId":{}}}},"CreateOrganization":{"input":{"type":"structure","required":["Alias"],"members":{"DirectoryId":{},"Alias":{},"ClientToken":{"idempotencyToken":true},"Domains":{"type":"list","member":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"HostedZoneId":{}}}},"KmsKeyArn":{},"EnableInteroperability":{"type":"boolean"}}},"output":{"type":"structure","members":{"OrganizationId":{}}},"idempotent":true},"CreateResource":{"input":{"type":"structure","required":["OrganizationId","Name","Type"],"members":{"OrganizationId":{},"Name":{},"Type":{},"Description":{},"HiddenFromGlobalAddressList":{"type":"boolean"}}},"output":{"type":"structure","members":{"ResourceId":{}}},"idempotent":true},"CreateUser":{"input":{"type":"structure","required":["OrganizationId","Name","DisplayName"],"members":{"OrganizationId":{},"Name":{},"DisplayName":{"shape":"S23"},"Password":{"shape":"Sp"},"Role":{},"FirstName":{"shape":"S23"},"LastName":{"shape":"S23"},"HiddenFromGlobalAddressList":{"type":"boolean"}}},"output":{"type":"structure","members":{"UserId":{}}},"idempotent":true},"DeleteAccessControlRule":{"input":{"type":"structure","required":["OrganizationId","Name"],"members":{"OrganizationId":{},"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteAlias":{"input":{"type":"structure","required":["OrganizationId","EntityId","Alias"],"members":{"OrganizationId":{},"EntityId":{},"Alias":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteAvailabilityConfiguration":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"OrganizationId":{},"DomainName":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteEmailMonitoringConfiguration":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId"],"members":{"OrganizationId":{},"GroupId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteImpersonationRole":{"input":{"type":"structure","required":["OrganizationId","ImpersonationRoleId"],"members":{"OrganizationId":{},"ImpersonationRoleId":{}}},"output":{"type":"structure","members":{}}},"DeleteMailboxPermissions":{"input":{"type":"structure","required":["OrganizationId","EntityId","GranteeId"],"members":{"OrganizationId":{},"EntityId":{},"GranteeId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteMobileDeviceAccessOverride":{"input":{"type":"structure","required":["OrganizationId","UserId","DeviceId"],"members":{"OrganizationId":{},"UserId":{},"DeviceId":{}}},"output":{"type":"structure","members":{}}},"DeleteMobileDeviceAccessRule":{"input":{"type":"structure","required":["OrganizationId","MobileDeviceAccessRuleId"],"members":{"OrganizationId":{},"MobileDeviceAccessRuleId":{}}},"output":{"type":"structure","members":{}}},"DeleteOrganization":{"input":{"type":"structure","required":["OrganizationId","DeleteDirectory"],"members":{"ClientToken":{"idempotencyToken":true},"OrganizationId":{},"DeleteDirectory":{"type":"boolean"},"ForceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{"OrganizationId":{},"State":{}}},"idempotent":true},"DeleteResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId"],"members":{"OrganizationId":{},"ResourceId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteRetentionPolicy":{"input":{"type":"structure","required":["OrganizationId","Id"],"members":{"OrganizationId":{},"Id":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteUser":{"input":{"type":"structure","required":["OrganizationId","UserId"],"members":{"OrganizationId":{},"UserId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeregisterFromWorkMail":{"input":{"type":"structure","required":["OrganizationId","EntityId"],"members":{"OrganizationId":{},"EntityId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeregisterMailDomain":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"OrganizationId":{},"DomainName":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DescribeEmailMonitoringConfiguration":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"RoleArn":{},"LogGroupArn":{}}},"idempotent":true},"DescribeEntity":{"input":{"type":"structure","required":["OrganizationId","Email"],"members":{"OrganizationId":{},"Email":{}}},"output":{"type":"structure","members":{"EntityId":{},"Name":{},"Type":{}}},"idempotent":true},"DescribeGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId"],"members":{"OrganizationId":{},"GroupId":{}}},"output":{"type":"structure","members":{"GroupId":{},"Name":{},"Email":{},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"},"HiddenFromGlobalAddressList":{"type":"boolean"}}},"idempotent":true},"DescribeInboundDmarcSettings":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"Enforced":{"type":"boolean"}}},"idempotent":true},"DescribeMailboxExportJob":{"input":{"type":"structure","required":["JobId","OrganizationId"],"members":{"JobId":{},"OrganizationId":{}}},"output":{"type":"structure","members":{"EntityId":{},"Description":{},"RoleArn":{},"KmsKeyArn":{},"S3BucketName":{},"S3Prefix":{},"S3Path":{},"EstimatedProgress":{"type":"integer"},"State":{},"ErrorInfo":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}},"idempotent":true},"DescribeOrganization":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"OrganizationId":{},"Alias":{},"State":{},"DirectoryId":{},"DirectoryType":{},"DefaultMailDomain":{},"CompletedDate":{"type":"timestamp"},"ErrorMessage":{},"ARN":{},"MigrationAdmin":{},"InteroperabilityEnabled":{"type":"boolean"}}},"idempotent":true},"DescribeResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId"],"members":{"OrganizationId":{},"ResourceId":{}}},"output":{"type":"structure","members":{"ResourceId":{},"Email":{},"Name":{},"Type":{},"BookingOptions":{"shape":"S3v"},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"},"Description":{},"HiddenFromGlobalAddressList":{"type":"boolean"}}},"idempotent":true},"DescribeUser":{"input":{"type":"structure","required":["OrganizationId","UserId"],"members":{"OrganizationId":{},"UserId":{}}},"output":{"type":"structure","members":{"UserId":{},"Name":{},"Email":{},"DisplayName":{"shape":"S23"},"State":{},"UserRole":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"},"MailboxProvisionedDate":{"type":"timestamp"},"MailboxDeprovisionedDate":{"type":"timestamp"},"FirstName":{"shape":"S23"},"LastName":{"shape":"S23"},"HiddenFromGlobalAddressList":{"type":"boolean"},"Initials":{"shape":"S23"},"Telephone":{"shape":"S23"},"Street":{"shape":"S23"},"JobTitle":{"shape":"S23"},"City":{"shape":"S23"},"Company":{"shape":"S23"},"ZipCode":{"shape":"S23"},"Department":{"shape":"S23"},"Country":{"shape":"S23"},"Office":{"shape":"S23"}}},"idempotent":true},"DisassociateDelegateFromResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId","EntityId"],"members":{"OrganizationId":{},"ResourceId":{},"EntityId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DisassociateMemberFromGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId","MemberId"],"members":{"OrganizationId":{},"GroupId":{},"MemberId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"GetAccessControlEffect":{"input":{"type":"structure","required":["OrganizationId","IpAddress","Action"],"members":{"OrganizationId":{},"IpAddress":{},"Action":{},"UserId":{},"ImpersonationRoleId":{}}},"output":{"type":"structure","members":{"Effect":{},"MatchedRules":{"type":"list","member":{}}}}},"GetDefaultRetentionPolicy":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"Id":{},"Name":{},"Description":{},"FolderConfigurations":{"shape":"S4a"}}},"idempotent":true},"GetImpersonationRole":{"input":{"type":"structure","required":["OrganizationId","ImpersonationRoleId"],"members":{"OrganizationId":{},"ImpersonationRoleId":{}}},"output":{"type":"structure","members":{"ImpersonationRoleId":{},"Name":{},"Type":{},"Description":{},"Rules":{"shape":"S11"},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}},"GetImpersonationRoleEffect":{"input":{"type":"structure","required":["OrganizationId","ImpersonationRoleId","TargetUser"],"members":{"OrganizationId":{},"ImpersonationRoleId":{},"TargetUser":{}}},"output":{"type":"structure","members":{"Type":{},"Effect":{},"MatchedRules":{"type":"list","member":{"type":"structure","members":{"ImpersonationRuleId":{},"Name":{}}}}}}},"GetMailDomain":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"OrganizationId":{},"DomainName":{}}},"output":{"type":"structure","members":{"Records":{"type":"list","member":{"type":"structure","members":{"Type":{},"Hostname":{},"Value":{}}}},"IsTestDomain":{"type":"boolean"},"IsDefault":{"type":"boolean"},"OwnershipVerificationStatus":{},"DkimVerificationStatus":{}}},"idempotent":true},"GetMailboxDetails":{"input":{"type":"structure","required":["OrganizationId","UserId"],"members":{"OrganizationId":{},"UserId":{}}},"output":{"type":"structure","members":{"MailboxQuota":{"type":"integer"},"MailboxSize":{"type":"double"}}},"idempotent":true},"GetMobileDeviceAccessEffect":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"DeviceType":{},"DeviceModel":{},"DeviceOperatingSystem":{},"DeviceUserAgent":{}}},"output":{"type":"structure","members":{"Effect":{},"MatchedRules":{"type":"list","member":{"type":"structure","members":{"MobileDeviceAccessRuleId":{},"Name":{}}}}}}},"GetMobileDeviceAccessOverride":{"input":{"type":"structure","required":["OrganizationId","UserId","DeviceId"],"members":{"OrganizationId":{},"UserId":{},"DeviceId":{}}},"output":{"type":"structure","members":{"UserId":{},"DeviceId":{},"Effect":{},"Description":{},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}},"ListAccessControlRules":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"Rules":{"type":"list","member":{"type":"structure","members":{"Name":{},"Effect":{},"Description":{},"IpRanges":{"shape":"S55"},"NotIpRanges":{"shape":"S55"},"Actions":{"shape":"S57"},"NotActions":{"shape":"S57"},"UserIds":{"shape":"S58"},"NotUserIds":{"shape":"S58"},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"},"ImpersonationRoleIds":{"shape":"S59"},"NotImpersonationRoleIds":{"shape":"S59"}}}}}}},"ListAliases":{"input":{"type":"structure","required":["OrganizationId","EntityId"],"members":{"OrganizationId":{},"EntityId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Aliases":{"type":"list","member":{}},"NextToken":{}}},"idempotent":true},"ListAvailabilityConfigurations":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AvailabilityConfigurations":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"ProviderType":{},"EwsProvider":{"type":"structure","members":{"EwsEndpoint":{},"EwsUsername":{}}},"LambdaProvider":{"shape":"Sq"},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}},"NextToken":{}}}},"ListGroupMembers":{"input":{"type":"structure","required":["OrganizationId","GroupId"],"members":{"OrganizationId":{},"GroupId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Members":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Type":{},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"ListGroups":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"type":"structure","members":{"NamePrefix":{},"PrimaryEmailPrefix":{},"State":{}}}}},"output":{"type":"structure","members":{"Groups":{"type":"list","member":{"type":"structure","members":{"Id":{},"Email":{},"Name":{},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"ListGroupsForEntity":{"input":{"type":"structure","required":["OrganizationId","EntityId"],"members":{"OrganizationId":{},"EntityId":{},"Filters":{"type":"structure","members":{"GroupNamePrefix":{}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Groups":{"type":"list","member":{"type":"structure","members":{"GroupId":{},"GroupName":{}}}},"NextToken":{}}},"idempotent":true},"ListImpersonationRoles":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Roles":{"type":"list","member":{"type":"structure","members":{"ImpersonationRoleId":{},"Name":{},"Type":{},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}},"NextToken":{}}}},"ListMailDomains":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"MailDomains":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"DefaultDomain":{"type":"boolean"}}}},"NextToken":{}}},"idempotent":true},"ListMailboxExportJobs":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Jobs":{"type":"list","member":{"type":"structure","members":{"JobId":{},"EntityId":{},"Description":{},"S3BucketName":{},"S3Path":{},"EstimatedProgress":{"type":"integer"},"State":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"ListMailboxPermissions":{"input":{"type":"structure","required":["OrganizationId","EntityId"],"members":{"OrganizationId":{},"EntityId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Permissions":{"type":"list","member":{"type":"structure","required":["GranteeId","GranteeType","PermissionValues"],"members":{"GranteeId":{},"GranteeType":{},"PermissionValues":{"shape":"S6g"}}}},"NextToken":{}}},"idempotent":true},"ListMobileDeviceAccessOverrides":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"UserId":{},"DeviceId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Overrides":{"type":"list","member":{"type":"structure","members":{"UserId":{},"DeviceId":{},"Effect":{},"Description":{},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}},"NextToken":{}}}},"ListMobileDeviceAccessRules":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"Rules":{"type":"list","member":{"type":"structure","members":{"MobileDeviceAccessRuleId":{},"Name":{},"Description":{},"Effect":{},"DeviceTypes":{"shape":"S1d"},"NotDeviceTypes":{"shape":"S1d"},"DeviceModels":{"shape":"S1f"},"NotDeviceModels":{"shape":"S1f"},"DeviceOperatingSystems":{"shape":"S1h"},"NotDeviceOperatingSystems":{"shape":"S1h"},"DeviceUserAgents":{"shape":"S1j"},"NotDeviceUserAgents":{"shape":"S1j"},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}}}}},"ListOrganizations":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"OrganizationSummaries":{"type":"list","member":{"type":"structure","members":{"OrganizationId":{},"Alias":{},"DefaultMailDomain":{},"ErrorMessage":{},"State":{}}}},"NextToken":{}}},"idempotent":true},"ListResourceDelegates":{"input":{"type":"structure","required":["OrganizationId","ResourceId"],"members":{"OrganizationId":{},"ResourceId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Delegates":{"type":"list","member":{"type":"structure","required":["Id","Type"],"members":{"Id":{},"Type":{}}}},"NextToken":{}}},"idempotent":true},"ListResources":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"type":"structure","members":{"NamePrefix":{},"PrimaryEmailPrefix":{},"State":{}}}}},"output":{"type":"structure","members":{"Resources":{"type":"list","member":{"type":"structure","members":{"Id":{},"Email":{},"Name":{},"Type":{},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"},"Description":{}}}},"NextToken":{}}},"idempotent":true},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S75"}}}},"ListUsers":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"type":"structure","members":{"UsernamePrefix":{},"DisplayNamePrefix":{"shape":"S23"},"PrimaryEmailPrefix":{},"State":{}}}}},"output":{"type":"structure","members":{"Users":{"type":"list","member":{"type":"structure","members":{"Id":{},"Email":{},"Name":{},"DisplayName":{},"State":{},"UserRole":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"PutAccessControlRule":{"input":{"type":"structure","required":["Name","Effect","Description","OrganizationId"],"members":{"Name":{},"Effect":{},"Description":{},"IpRanges":{"shape":"S55"},"NotIpRanges":{"shape":"S55"},"Actions":{"shape":"S57"},"NotActions":{"shape":"S57"},"UserIds":{"shape":"S58"},"NotUserIds":{"shape":"S58"},"OrganizationId":{},"ImpersonationRoleIds":{"shape":"S59"},"NotImpersonationRoleIds":{"shape":"S59"}}},"output":{"type":"structure","members":{}}},"PutEmailMonitoringConfiguration":{"input":{"type":"structure","required":["OrganizationId","RoleArn","LogGroupArn"],"members":{"OrganizationId":{},"RoleArn":{},"LogGroupArn":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"PutInboundDmarcSettings":{"input":{"type":"structure","required":["OrganizationId","Enforced"],"members":{"OrganizationId":{},"Enforced":{"type":"boolean"}}},"output":{"type":"structure","members":{}},"idempotent":true},"PutMailboxPermissions":{"input":{"type":"structure","required":["OrganizationId","EntityId","GranteeId","PermissionValues"],"members":{"OrganizationId":{},"EntityId":{},"GranteeId":{},"PermissionValues":{"shape":"S6g"}}},"output":{"type":"structure","members":{}},"idempotent":true},"PutMobileDeviceAccessOverride":{"input":{"type":"structure","required":["OrganizationId","UserId","DeviceId","Effect"],"members":{"OrganizationId":{},"UserId":{},"DeviceId":{},"Effect":{},"Description":{}}},"output":{"type":"structure","members":{}}},"PutRetentionPolicy":{"input":{"type":"structure","required":["OrganizationId","Name","FolderConfigurations"],"members":{"OrganizationId":{},"Id":{},"Name":{},"Description":{"type":"string","sensitive":true},"FolderConfigurations":{"shape":"S4a"}}},"output":{"type":"structure","members":{}},"idempotent":true},"RegisterMailDomain":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"ClientToken":{"idempotencyToken":true},"OrganizationId":{},"DomainName":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"RegisterToWorkMail":{"input":{"type":"structure","required":["OrganizationId","EntityId","Email"],"members":{"OrganizationId":{},"EntityId":{},"Email":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"ResetPassword":{"input":{"type":"structure","required":["OrganizationId","UserId","Password"],"members":{"OrganizationId":{},"UserId":{},"Password":{"shape":"Sp"}}},"output":{"type":"structure","members":{}},"idempotent":true},"StartMailboxExportJob":{"input":{"type":"structure","required":["ClientToken","OrganizationId","EntityId","RoleArn","KmsKeyArn","S3BucketName","S3Prefix"],"members":{"ClientToken":{"idempotencyToken":true},"OrganizationId":{},"EntityId":{},"Description":{},"RoleArn":{},"KmsKeyArn":{},"S3BucketName":{},"S3Prefix":{}}},"output":{"type":"structure","members":{"JobId":{}}},"idempotent":true},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S75"}}},"output":{"type":"structure","members":{}}},"TestAvailabilityConfiguration":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"DomainName":{},"EwsProvider":{"shape":"Sm"},"LambdaProvider":{"shape":"Sq"}}},"output":{"type":"structure","members":{"TestPassed":{"type":"boolean"},"FailureReason":{}}}},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateAvailabilityConfiguration":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"OrganizationId":{},"DomainName":{},"EwsProvider":{"shape":"Sm"},"LambdaProvider":{"shape":"Sq"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateDefaultMailDomain":{"input":{"type":"structure","required":["OrganizationId","DomainName"],"members":{"OrganizationId":{},"DomainName":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId"],"members":{"OrganizationId":{},"GroupId":{},"HiddenFromGlobalAddressList":{"type":"boolean"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateImpersonationRole":{"input":{"type":"structure","required":["OrganizationId","ImpersonationRoleId","Name","Type","Rules"],"members":{"OrganizationId":{},"ImpersonationRoleId":{},"Name":{},"Type":{},"Description":{},"Rules":{"shape":"S11"}}},"output":{"type":"structure","members":{}}},"UpdateMailboxQuota":{"input":{"type":"structure","required":["OrganizationId","UserId","MailboxQuota"],"members":{"OrganizationId":{},"UserId":{},"MailboxQuota":{"type":"integer"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateMobileDeviceAccessRule":{"input":{"type":"structure","required":["OrganizationId","MobileDeviceAccessRuleId","Name","Effect"],"members":{"OrganizationId":{},"MobileDeviceAccessRuleId":{},"Name":{},"Description":{},"Effect":{},"DeviceTypes":{"shape":"S1d"},"NotDeviceTypes":{"shape":"S1d"},"DeviceModels":{"shape":"S1f"},"NotDeviceModels":{"shape":"S1f"},"DeviceOperatingSystems":{"shape":"S1h"},"NotDeviceOperatingSystems":{"shape":"S1h"},"DeviceUserAgents":{"shape":"S1j"},"NotDeviceUserAgents":{"shape":"S1j"}}},"output":{"type":"structure","members":{}}},"UpdatePrimaryEmailAddress":{"input":{"type":"structure","required":["OrganizationId","EntityId","Email"],"members":{"OrganizationId":{},"EntityId":{},"Email":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId"],"members":{"OrganizationId":{},"ResourceId":{},"Name":{},"BookingOptions":{"shape":"S3v"},"Description":{},"Type":{},"HiddenFromGlobalAddressList":{"type":"boolean"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateUser":{"input":{"type":"structure","required":["OrganizationId","UserId"],"members":{"OrganizationId":{},"UserId":{},"Role":{},"DisplayName":{"shape":"S23"},"FirstName":{"shape":"S23"},"LastName":{"shape":"S23"},"HiddenFromGlobalAddressList":{"type":"boolean"},"Initials":{"shape":"S23"},"Telephone":{"shape":"S23"},"Street":{"shape":"S23"},"JobTitle":{"shape":"S23"},"City":{"shape":"S23"},"Company":{"shape":"S23"},"ZipCode":{"shape":"S23"},"Department":{"shape":"S23"},"Country":{"shape":"S23"},"Office":{"shape":"S23"}}},"output":{"type":"structure","members":{}},"idempotent":true}},"shapes":{"Sm":{"type":"structure","required":["EwsEndpoint","EwsUsername","EwsPassword"],"members":{"EwsEndpoint":{},"EwsUsername":{},"EwsPassword":{"shape":"Sp"}}},"Sp":{"type":"string","sensitive":true},"Sq":{"type":"structure","required":["LambdaArn"],"members":{"LambdaArn":{}}},"S11":{"type":"list","member":{"type":"structure","required":["ImpersonationRuleId","Effect"],"members":{"ImpersonationRuleId":{},"Name":{},"Description":{},"Effect":{},"TargetUsers":{"shape":"S17"},"NotTargetUsers":{"shape":"S17"}}}},"S17":{"type":"list","member":{}},"S1d":{"type":"list","member":{}},"S1f":{"type":"list","member":{}},"S1h":{"type":"list","member":{}},"S1j":{"type":"list","member":{}},"S23":{"type":"string","sensitive":true},"S3v":{"type":"structure","members":{"AutoAcceptRequests":{"type":"boolean"},"AutoDeclineRecurringRequests":{"type":"boolean"},"AutoDeclineConflictingRequests":{"type":"boolean"}}},"S4a":{"type":"list","member":{"type":"structure","required":["Name","Action"],"members":{"Name":{},"Action":{},"Period":{"type":"integer"}}}},"S55":{"type":"list","member":{}},"S57":{"type":"list","member":{}},"S58":{"type":"list","member":{}},"S59":{"type":"list","member":{}},"S6g":{"type":"list","member":{}},"S75":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}}} /***/ }), /* 620 */ /***/ (function(module, exports) { - module.exports = {"pagination":{"ListAliases":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListAvailabilityConfigurations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"AvailabilityConfigurations"},"ListGroupMembers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListGroups":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListImpersonationRoles":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMailDomains":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMailboxExportJobs":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMailboxPermissions":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMobileDeviceAccessOverrides":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListOrganizations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListResourceDelegates":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListResources":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListUsers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}} + module.exports = {"pagination":{"ListAliases":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListAvailabilityConfigurations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"AvailabilityConfigurations"},"ListGroupMembers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListGroups":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListGroupsForEntity":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListImpersonationRoles":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMailDomains":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMailboxExportJobs":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMailboxPermissions":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMobileDeviceAccessOverrides":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListOrganizations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListResourceDelegates":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListResources":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListUsers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}} /***/ }), /* 621 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index 35908c6a51..e043170051 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1459.0 +// AWS SDK for JavaScript v2.1460.0 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:a,convertToBuffer:i}},{"buffer/":440}],342:[function(e,t,r){function a(e,t){this.hash=new e,this.outer=new e;var r=i(e,t),a=new Uint8Array(e.BLOCK_SIZE);a.set(r);for(var s=0;se.BLOCK_SIZE){var a=new e;a.update(r),r=a.digest()}var i=new Uint8Array(e.BLOCK_SIZE);return i.set(r),i}var s=e("./browserHashUtils");t.exports=a,a.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},a.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":341}],343:[function(e,t,r){function a(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function i(e,t,r,a,i,s){return((t=(t+e&4294967295)+(a+s&4294967295)&4294967295)<>>32-i)+r&4294967295}function s(e,t,r,a,s,o,n){return i(t&r|~t&a,e,t,s,o,n)}function o(e,t,r,a,s,o,n){return i(t&a|r&~a,e,t,s,o,n)}function n(e,t,r,a,s,o,n){return i(t^r^a,e,t,s,o,n)}function u(e,t,r,a,s,o,n){return i(r^(t|~a),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=a,a.BLOCK_SIZE=c,a.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,a=t.byteLength;for(this.bytesHashed+=a;a>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),a--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,a=t.bufferLength,i=t.bytesHashed,s=8*i;if(r.setUint8(this.bufferLength++,128),a%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},a.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,a=r[0],i=r[1],p=r[2],m=r[3];a=s(a,i,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,a,i,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,a,i,t.getUint32(8,!0),17,606105819),i=s(i,p,m,a,t.getUint32(12,!0),22,3250441966),a=s(a,i,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,a,i,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,a,i,t.getUint32(24,!0),17,2821735955),i=s(i,p,m,a,t.getUint32(28,!0),22,4249261313),a=s(a,i,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,a,i,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,a,i,t.getUint32(40,!0),17,4294925233),i=s(i,p,m,a,t.getUint32(44,!0),22,2304563134),a=s(a,i,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,a,i,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,a,i,t.getUint32(56,!0),17,2792965006),i=s(i,p,m,a,t.getUint32(60,!0),22,1236535329),a=o(a,i,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,a,i,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,a,i,t.getUint32(44,!0),14,643717713),i=o(i,p,m,a,t.getUint32(0,!0),20,3921069994),a=o(a,i,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,a,i,p,t.getUint32(40,!0),9,38016083),p=o(p,m,a,i,t.getUint32(60,!0),14,3634488961),i=o(i,p,m,a,t.getUint32(16,!0),20,3889429448),a=o(a,i,p,m,t.getUint32(36,!0),5,568446438),m=o(m,a,i,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,a,i,t.getUint32(12,!0),14,4107603335),i=o(i,p,m,a,t.getUint32(32,!0),20,1163531501),a=o(a,i,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,a,i,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,a,i,t.getUint32(28,!0),14,1735328473),i=o(i,p,m,a,t.getUint32(48,!0),20,2368359562),a=n(a,i,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,a,i,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,a,i,t.getUint32(44,!0),16,1839030562),i=n(i,p,m,a,t.getUint32(56,!0),23,4259657740),a=n(a,i,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,a,i,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,a,i,t.getUint32(28,!0),16,4139469664),i=n(i,p,m,a,t.getUint32(40,!0),23,3200236656),a=n(a,i,p,m,t.getUint32(52,!0),4,681279174),m=n(m,a,i,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,a,i,t.getUint32(12,!0),16,3572445317),i=n(i,p,m,a,t.getUint32(24,!0),23,76029189),a=n(a,i,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,a,i,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,a,i,t.getUint32(60,!0),16,530742520),i=n(i,p,m,a,t.getUint32(8,!0),23,3299628645),a=u(a,i,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,a,i,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,a,i,t.getUint32(56,!0),15,2878612391),i=u(i,p,m,a,t.getUint32(20,!0),21,4237533241),a=u(a,i,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,a,i,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,a,i,t.getUint32(40,!0),15,4293915773),i=u(i,p,m,a,t.getUint32(4,!0),21,2240044497),a=u(a,i,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,a,i,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,a,i,t.getUint32(24,!0),15,2734768916),i=u(i,p,m,a,t.getUint32(52,!0),21,1309151649),a=u(a,i,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,a,i,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,a,i,t.getUint32(8,!0),15,718787259),i=u(i,p,m,a,t.getUint32(36,!0),21,3951481745),r[0]=a+r[0]&4294967295,r[1]=i+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":341,"buffer/":440}],344:[function(e,t,r){function a(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var i=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=a,a.BLOCK_SIZE=64,a.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new i(20),a=new DataView(r.buffer);return a.setUint32(0,this.h0,!1),a.setUint32(4,this.h1,!1),a.setUint32(8,this.h2,!1),a.setUint32(12,this.h3,!1),a.setUint32(16,this.h4,!1),e?r.toString(e):r},a.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,a,i=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),a=1518500249):e<40?(r=s^o^n,a=1859775393):e<60?(r=s&o|n&(s|o),a=2400959708):(r=s^o^n,a=3395469782);var p=(i<<5|i>>>27)+r+u+a+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=i,i=p}for(this.h0=this.h0+i|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":341,"buffer/":440}],345:[function(e,t,r){function a(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var i=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=a,a.BLOCK_SIZE=64,a.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),a=this.bufferLength;if(r.setUint8(this.bufferLength++,128),a%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new i(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},a.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,a=r[0],i=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var S=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,g=((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+(a&i^a&s^i&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=i,i=a,a=S+g|0}r[0]+=a,r[1]+=i,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":341,"buffer/":440}],346:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var a=e("./core");if(t.exports=a,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),a.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===i)var i={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":340,"./core":350,"./credentials":351, -"./credentials/chainable_temporary_credentials":352,"./credentials/cognito_identity_credentials":353,"./credentials/credential_provider_chain":354,"./credentials/saml_credentials":355,"./credentials/temporary_credentials":356,"./credentials/web_identity_credentials":357,"./event-stream/buffered-create-event-stream":365,"./http/xhr":373,"./realclock/browserClock":393,"./util":428,"./xml/browser_parser":429,_process:445,"buffer/":440,"querystring/":452,"url/":454}],347:[function(e,t,r){var a=e("../core"),i=a.util.url,s=a.util.crypto.lib,o=a.util.base64.encode,n=a.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,a){var i=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(i.toString(),a)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=i.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};a.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),a={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a["CloudFront-"+i]=r[i]);return S(a,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var a=i.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);a.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(a.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(i.format(a)):i.format(a)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=a.CloudFront.Signer},{"../core":350}],348:[function(e,t,r){var a=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var i;a.Config=a.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),a.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:i.credentials)}function r(e,t){return new a.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var i=this;i.credentials?"function"==typeof i.credentials.get?function(){i.credentials.get(function(e){e&&(e=r("Could not load credentials from "+i.credentials.constructor.name,e)),t(e)})}():function(){var e=null;i.credentials.accessKeyId&&i.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():i.credentialProvider?i.credentialProvider.resolve(function(e,a){e&&(e=r("Could not load credentials from any providers",e)),i.credentials=a,t(e)}):t(r("No credentials to load"))},getToken:function(e){function t(t){e(t,t?null:i.token)}function r(e,t){return new a.util.error(t||new Error,{code:"TokenError",message:e,name:"TokenError"})}var i=this;i.token?"function"==typeof i.token.get?function(){i.token.get(function(e){e&&(e=r("Could not load token from "+i.token.constructor.name,e)),t(e)})}():function(){var e=null;i.token.token||(e=r("Missing token")),t(e)}():i.tokenProvider?i.tokenProvider.resolve(function(e,a){e&&(e=r("Could not load token from any providers",e)),i.token=a,t(e)}):t(r("No token to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),a.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||a.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(a.util.readFileSync(e)),r=new a.FileSystemCredentials(e),i=new a.CredentialProviderChain;return i.providers.unshift(r),i.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){a.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=a.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1,token:null},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=a.util.copy(e),e.credentials=new a.Credentials(e)),e},setPromisesDependency:function(e){i=e,null===e&&"function"==typeof Promise&&(i=Promise);var t=[a.Request,a.Credentials,a.CredentialProviderChain];a.S3&&(t.push(a.S3),a.S3.ManagedUpload&&t.push(a.S3.ManagedUpload)),a.util.addPromises(t,i)},getPromisesDependency:function(){return i}}),a.config=new a.Config},{"./core":350,"./credentials":351,"./credentials/credential_provider_chain":354}],349:[function(e,t,r){(function(r){(function(){function a(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function i(e,t){e=e||{};var i;if(e[t.clientConfig]&&(i=a(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return i;if(!s.util.isNode())return i;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(i=a(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return i}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(i=a(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return i}return i}var s=e("./core");t.exports=i}).call(this)}).call(this,e("_process"))},{"./core":350,_process:445}],350:[function(e,t,r){var a={util:e("./util")};({}).toString(),t.exports=a,a.util.update(a,{VERSION:"2.1459.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),e("./maintenance_mode_message"),a.events=new a.SequentialExecutor,a.util.memoizedProperty(a,"endpointCache",function(){return new a.EndpointCache(a.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":465,"./api_loader":339,"./config":348,"./event_listeners":371,"./http":372,"./json/builder":374,"./json/parser":375,"./maintenance_mode_message":376,"./model/api":377,"./model/operation":379,"./model/paginator":380,"./model/resource_waiter":381,"./model/shape":382,"./param_validator":383,"./protocol/json":386,"./protocol/query":387,"./protocol/rest":388,"./protocol/rest_json":389,"./protocol/rest_xml":390,"./request":397,"./resource_waiter":398,"./response":399,"./sequential_executor":401,"./service":402,"./signers/request_signer":420,"./util":428,"./xml/builder":430}],351:[function(e,t,r){var a=e("./core");a.Credentials=a.util.inherit({constructor:function(){if(a.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=a.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){a.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):a.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),a.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=a.util.promisifyMethod("get",e),this.prototype.refreshPromise=a.util.promisifyMethod("refresh",e)},a.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},a.util.addPromises(a.Credentials)},{"./core":350}],352:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.ChainableTemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=a.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new a.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=a.util.merge({params:t,credentials:e.masterCredentials||a.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(a,i){var s={};if(a)return void e(a);i&&(s.TokenCode=i),t.service[r](s,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,i){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(a.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,i)}):e(null)}})},{"../../clients/sts":334,"../core":350}],353:[function(e,t,r){var a=e("../core"),i=e("../../clients/cognitoidentity"),s=e("../../clients/sts");a.CognitoIdentityCredentials=a.util.inherit(a.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=a.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,a){!r&&a.IdentityId?(t.params.IdentityId=a.IdentityId,e(null,a.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,a){r?t.clearIdOnNotAuthorized(r):(t.cacheId(a),t.data=a,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,a){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(a),t.params.WebIdentityToken=a.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(a.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new a.WebIdentityCredentials(this.params,e),!this.cognito){var t=a.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,a.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=a.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":265,"../../clients/sts":334,"../core":350}],354:[function(e,t,r){var a=e("../core");a.CredentialProviderChain=a.util.inherit(a.Credentials,{constructor:function(e){this.providers=e||a.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||i===s.length)return a.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[i++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var i=0,s=r.providers.slice(0);t()}return r}}),a.CredentialProviderChain.defaultProviders=[],a.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=a.util.promisifyMethod("resolve",e)},a.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},a.util.addPromises(a.CredentialProviderChain)},{"../core":350}],355:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.SAMLCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,a){r||t.service.credentialsFrom(a,t),e(r)})},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":334,"../core":350}],356:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.TemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||a.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new a.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":334,"../core":350}],357:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.WebIdentityCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=a.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,a){t.data=null,r||(t.data=a,t.service.credentialsFrom(a,t)),e(r)})},createClients:function(){if(!this.service){var e=a.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},{"../../clients/sts":334,"../core":350}],358:[function(e,t,r){(function(r){(function(){function a(e){var t=e.service,r=t.api||{},a={};return t.config.region&&(a.region=t.config.region),r.serviceId&&(a.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(a.accessKeyId=t.config.credentials.accessKeyId),a}function i(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(a){var s=r.members[a];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:a;e[o]=String(t[a])}else i(e,t[a],s)})}function s(e,t){var r={};return i(r,e.params,t),r}function o(e){var t=e.service,r=t.api,i=r.operations?r.operations[e.operation]:void 0,o=i?i.input:void 0,n=s(e,o),p=a(e);Object.keys(n).length>0&&(p=b.update(p,n),i&&(p.operation=i.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:i.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,i=r.api,o=i.operations?i.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=a(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(i.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,a){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var i=g[c];b.arrayEach(i,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(a&&(y.endpointCache.put(c,a.Endpoints),e.httpRequest.updateEndpoint(a.Endpoints[0].Address),g[c])){var i=g[c];b.arrayEach(i,function(e){e.request.httpRequest.updateEndpoint(a.Endpoints[0].Address),e.callback()}),delete g[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var i=e.request,o=i.service.api.operations||{},n=o[i.operation]?o[i.operation].input:void 0,u=s(i,n),p=a(i);Object.keys(u).length>0&&(p=b.update(p,u),o[i.operation]&&(p.operation=o[i.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var a=0;a=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function i(e,t){e=e||{};var i;if(e[t.clientConfig]&&(i=a(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return i;if(!s.util.isNode())return i;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(i=a(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return i}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(i=a(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return i}return i}var s=e("./core");t.exports=i}).call(this)}).call(this,e("_process"))},{"./core":350,_process:445}],350:[function(e,t,r){var a={util:e("./util")};({}).toString(),t.exports=a,a.util.update(a,{VERSION:"2.1460.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),e("./maintenance_mode_message"),a.events=new a.SequentialExecutor,a.util.memoizedProperty(a,"endpointCache",function(){return new a.EndpointCache(a.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":465,"./api_loader":339,"./config":348,"./event_listeners":371,"./http":372,"./json/builder":374,"./json/parser":375,"./maintenance_mode_message":376,"./model/api":377,"./model/operation":379,"./model/paginator":380,"./model/resource_waiter":381,"./model/shape":382,"./param_validator":383,"./protocol/json":386,"./protocol/query":387,"./protocol/rest":388,"./protocol/rest_json":389,"./protocol/rest_xml":390,"./request":397,"./resource_waiter":398,"./response":399,"./sequential_executor":401,"./service":402,"./signers/request_signer":420,"./util":428,"./xml/builder":430}],351:[function(e,t,r){var a=e("./core");a.Credentials=a.util.inherit({constructor:function(){if(a.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=a.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){a.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):a.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),a.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=a.util.promisifyMethod("get",e),this.prototype.refreshPromise=a.util.promisifyMethod("refresh",e)},a.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},a.util.addPromises(a.Credentials)},{"./core":350}],352:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.ChainableTemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=a.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new a.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=a.util.merge({params:t,credentials:e.masterCredentials||a.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(a,i){var s={};if(a)return void e(a);i&&(s.TokenCode=i),t.service[r](s,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,i){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(a.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,i)}):e(null)}})},{"../../clients/sts":334,"../core":350}],353:[function(e,t,r){var a=e("../core"),i=e("../../clients/cognitoidentity"),s=e("../../clients/sts");a.CognitoIdentityCredentials=a.util.inherit(a.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=a.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,a){!r&&a.IdentityId?(t.params.IdentityId=a.IdentityId,e(null,a.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,a){r?t.clearIdOnNotAuthorized(r):(t.cacheId(a),t.data=a,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,a){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(a),t.params.WebIdentityToken=a.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(a.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new a.WebIdentityCredentials(this.params,e),!this.cognito){var t=a.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,a.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=a.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":265,"../../clients/sts":334,"../core":350}],354:[function(e,t,r){var a=e("../core");a.CredentialProviderChain=a.util.inherit(a.Credentials,{constructor:function(e){this.providers=e||a.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||i===s.length)return a.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[i++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var i=0,s=r.providers.slice(0);t()}return r}}),a.CredentialProviderChain.defaultProviders=[],a.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=a.util.promisifyMethod("resolve",e)},a.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},a.util.addPromises(a.CredentialProviderChain)},{"../core":350}],355:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.SAMLCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,a){r||t.service.credentialsFrom(a,t),e(r)})},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":334,"../core":350}],356:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.TemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||a.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new a.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":334,"../core":350}],357:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.WebIdentityCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=a.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,a){t.data=null,r||(t.data=a,t.service.credentialsFrom(a,t)),e(r)})},createClients:function(){if(!this.service){var e=a.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},{"../../clients/sts":334,"../core":350}],358:[function(e,t,r){(function(r){(function(){function a(e){var t=e.service,r=t.api||{},a={};return t.config.region&&(a.region=t.config.region),r.serviceId&&(a.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(a.accessKeyId=t.config.credentials.accessKeyId),a}function i(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(a){var s=r.members[a];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:a;e[o]=String(t[a])}else i(e,t[a],s)})}function s(e,t){var r={};return i(r,e.params,t),r}function o(e){var t=e.service,r=t.api,i=r.operations?r.operations[e.operation]:void 0,o=i?i.input:void 0,n=s(e,o),p=a(e);Object.keys(n).length>0&&(p=b.update(p,n),i&&(p.operation=i.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:i.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,i=r.api,o=i.operations?i.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=a(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(i.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,a){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var i=g[c];b.arrayEach(i,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(a&&(y.endpointCache.put(c,a.Endpoints),e.httpRequest.updateEndpoint(a.Endpoints[0].Address),g[c])){var i=g[c];b.arrayEach(i,function(e){e.request.httpRequest.updateEndpoint(a.Endpoints[0].Address),e.callback()}),delete g[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var i=e.request,o=i.service.api.operations||{},n=o[i.operation]?o[i.operation].input:void 0,u=s(i,n),p=a(i);Object.keys(u).length>0&&(p=b.update(p,u),o[i.operation]&&(p.operation=o[i.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var a=0;a-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;a.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&i(t),new a(t)},a.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&i(e),parseInt(e.toString("hex"),16)*(t?-1:1)},a.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:a}},{"../core":350}],368:[function(e,t,r){function a(e,t,r){var a=s(t),o=a.headers[":message-type"];if(o){if("error"===o.value)throw i(a);if("event"!==o.value)return}var n=a.headers[":event-type"],u=r.members[n.value];if(u){var p={},m=u.eventPayloadMemberName;if(m){var c=u.members[m];"binary"===c.type?p[m]=a.body:p[m]=e.parse(a.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();i.util.computeSha256(s,function(r,a){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=a,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=r(e),a=i.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=i.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(r){if(a&&a.isStreaming){if(a.requiresLength)throw r;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw r}throw r}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("SET_TRACE_ID","afterBuild",function(e){if(i.util.isNode()&&!Object.hasOwnProperty.call(e.httpRequest.headers,"X-Amzn-Trace-Id")){var r=t.env.AWS_LAMBDA_FUNCTION_NAME,a=t.env._X_AMZN_TRACE_ID;"string"==typeof r&&r.length>0&&"string"==typeof a&&a.length>0&&(e.httpRequest.headers["X-Amzn-Trace-Id"]=a)}}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new i.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],function(e){e?t(e):o()}):o()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,a){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=a,r.httpResponse.headers=t,r.httpResponse.body=i.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var s=t.date||t.Date,o=r.request.service;if(s){var n=Date.parse(s);o.config.correctClockSkew&&o.isClockSkewed(n)&&o.applyClockOffset(n)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(i.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],a={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[a,t])}t.httpResponse.buffers.push(i.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=i.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new i.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new s).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",i.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",i.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof i.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(i.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"' at port `"+e.port+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=i.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new s).addNamedListeners(function(t){t("LOG_REQUEST","complete",function(t){function r(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var a={};return i.util.each(t,function(t,i){Object.prototype.hasOwnProperty.call(e.members,t)?a[t]=r(e.members[t],i):a[t]=i}),a;case"list":var s=[];return i.util.arrayEach(t,function(t,a){s.push(r(e.member,t))}),s;case"map":var o={};return i.util.each(t,function(t,a){o[t]=r(e.value,a)}),o;default:return t}}var a=t.request,s=a.service.config.logger;if(s){var o=function(){var o=t.request.service.getSkewCorrectedDate().getTime(),n=(o-a.startTime.getTime())/1e3,u=!!s.isTTY,p=t.httpResponse.statusCode,m=a.params;if(a.service.api.operations&&a.service.api.operations[a.operation]&&a.service.api.operations[a.operation].input){m=r(a.service.api.operations[a.operation].input,a.params)}var c=e("util").inspect(m,!0,null),l="";return u&&(l+=""),l+="[AWS "+a.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+=""),l+=" "+i.util.string.lowerFirst(a.operation),l+="("+c+")",u&&(l+=""),l}();"function"==typeof s.log?s.log(o):"function"==typeof s.write&&s.write(o+"\n")}})}),Json:(new s).addNamedListeners(function(t){var r=e("./protocol/json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Rest:(new s).addNamedListeners(function(t){var r=e("./protocol/rest");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestJson:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError),t("UNSET_CONTENT_LENGTH","afterBuild",r.unsetContentLength)}),RestXml:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_xml");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Query:(new s).addNamedListeners(function(t){var r=e("./protocol/query");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)})}}).call(this)}).call(this,e("_process"))},{"./core":350,"./discover_endpoint":358,"./protocol/json":386,"./protocol/query":387,"./protocol/rest":388,"./protocol/rest_json":389,"./protocol/rest_xml":390,"./sequential_executor":401,_process:445,util:439}],372:[function(e,t,r){var a=e("./core"),i=a.util.inherit;a.Endpoint=i({constructor:function(e,t){if(a.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return a.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:a.config.sslEnabled)?"https":"http")+"://"+e}a.util.update(this,a.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),a.HttpRequest=i({constructor:function(e,t){e=new a.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=a.util.userAgent()},getUserAgentHeaderName:function(){return(a.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=a.util.queryStringParse(e),a.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new a.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),a.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),a.HttpClient=i({}),a.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":350}],373:[function(e,t,r){var a=e("../core"),i=e("events").EventEmitter;e("../http"),a.XHRClient=a.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new i,p=n.protocol+"//"+n.hostname;80!==n.port&&443!==n.port&&(p+=":"+n.port),p+=e.path;var m=new XMLHttpRequest,c=!1;e.stream=m,m.addEventListener("readystatechange",function(){try{if(0===m.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!c&&(u.statusCode=m.status,u.headers=o.parseHeaders(m.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,m.statusText),c=!0),this.readyState===this.DONE&&o.finishRequest(m,u)},!1),m.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),m.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),m.addEventListener("timeout",function(){s(a.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(a.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(a.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),a.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&m.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(m.timeout=t.timeout),t.xhrWithCredentials&&(m.withCredentials=!0);try{m.responseType="arraybuffer"}catch(e){}try{e.body?m.send(e.body):m.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;m.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return a.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],a=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=a)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var i=e.response;r=new a.util.Buffer(i.byteLength);for(var s=new Uint8Array(i),o=0;o-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function l(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function d(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function y(){s.apply(this,arguments),this.toType=function(e){var t=h.base64.decode(e);if(this.isSensitive&&h.isNode()&&"function"==typeof h.Buffer.alloc){ var r=h.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=h.base64.encode}function b(){y.apply(this,arguments)}function S(){s.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var g=e("./collection"),h=e("../util");s.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},s.types={structure:n,list:u,map:p,boolean:S,timestamp:m,float:l,integer:d,string:c,base64:b,binary:y},s.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},s.create=function(e,t,r){if(e.isShape)return e;var a=s.resolve(e,t);if(a){var i=Object.keys(e);t.documentation||(i=i.filter(function(e){return!e.match(/documentation/)}));var o=function(){a.constructor.call(this,e,t,r)};return o.prototype=a,new o}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var n=e.type;if(s.normalizedTypes[e.type]&&(e.type=s.normalizedTypes[e.type]),s.types[e.type])return new s.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+n)},s.shapes={StructureShape:n,ListShape:u,MapShape:p,StringShape:c,BooleanShape:S,Base64Shape:b},t.exports=s},{"../util":428,"./collection":378}],383:[function(e,t,r){var a=e("./core");a.ParamValidator=a.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var i=this.errors.join("\n* ");throw i="There were "+this.errors.length+" validation errors:\n* "+i,a.util.error(new Error(i),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(a.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){if(e.isDocument)return!0;this.validateType(t,r,["object"],"structure");for(var a,i=0;e.required&&i= 1, but found "'+t+'" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,a){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+a+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,i){if(null===e||void 0===e)return!1;for(var s=!1,o=0;o63)throw u.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw p.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})})}var u=e("../util"),p=e("../core");t.exports={populateHostPrefix:a}},{"../core":350,"../util":428}],386:[function(e,t,r){function a(e){var t=e.httpRequest,r=e.service.api,a=r.targetPrefix+"."+r.operations[e.operation].name,i=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===i&&(i="1.0"),r.awsQueryCompatible&&(t.params||(t.params={}),Object.assign(t.params,e.params)),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+i,t.headers["X-Amz-Target"]=a,p(e)}function i(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var a=JSON.parse(r.body.toString()),i=a.__type||a.code||a.Code;i&&(t.code=i.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=a.message||a.Message||null;for(var s in a||{})"code"!==s&&"message"!==s&&(t["["+s+"]"]="See error."+s+" for details.",Object.defineProperty(t,s,{value:a[s],enumerable:!1,writable:!0}))}catch(a){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=o.error(new Error,t)}function s(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],a=r.output||{},i=new u;e.data=i.parse(t,a)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:a,extractError:i,extractData:s}},{"../json/builder":374,"../json/parser":375,"../util":428,"./helpers":385}],387:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=n.queryParamsToString(r.params),m(e)}function i(e){var t,r=e.httpResponse.body.toString();if(r.match("=0?"&":"?";var n=[];m.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t=0&&delete e.httpRequest.headers["Content-Length"]}function i(e){var t=new l,r=e.service.api.operations[e.operation].input;if(r.payload){var a={},i=r.members[r.payload];a=e.params[r.payload],"structure"===i.type?(e.httpRequest.body=t.build(a||{},i),s(e)):void 0!==a&&(e.httpRequest.body=a,("binary"===i.type||i.isStreaming)&&s(e,!0))}else e.httpRequest.body=t.build(e.params,r),s(e)}function s(e,t){if(!e.httpRequest.headers["Content-Type"]){var r=t?"binary/octet-stream":"application/json";e.httpRequest.headers["Content-Type"]=r}}function o(e){m.buildRequest(e),y.indexOf(e.httpRequest.method)<0&&i(e)}function n(e){c.extractError(e)}function u(e){m.extractData(e);var t,r=e.request,a=r.service.api.operations[r.operation],i=r.service.api.operations[r.operation].output||{};a.hasEventOutput;if(i.payload){var s=i.members[i.payload],o=e.httpResponse.body;if(s.isEventStream)t=new d,e.data[payload]=p.createEventStream(2===AWS.HttpClient.streamsApiVersion?e.httpResponse.stream:o,t,s);else if("structure"===s.type||"list"===s.type){var t=new d;e.data[i.payload]=t.parse(o,s)}else"binary"===s.type||s.isStreaming?e.data[i.payload]=o:e.data[i.payload]=s.toType(o)}else{var n=e.data;c.extractData(e),e.data=p.merge(n,e.data)}}var p=e("../util"),m=e("./rest"),c=e("./json"),l=e("../json/builder"),d=e("../json/parser"),y=["GET","HEAD","DELETE"];t.exports={buildRequest:o,extractError:n,extractData:u,unsetContentLength:a}},{"../json/builder":374,"../json/parser":375,"../util":428,"./json":386,"./rest":388}],390:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation].input,r=new n.XML.Builder,a=e.params,i=t.payload;if(i){var s=t.members[i];if(void 0===(a=a[i]))return;if("structure"===s.type){var o=s.name;e.httpRequest.body=r.toXML(a,s,o,!0)}else e.httpRequest.body=a}else e.httpRequest.body=r.toXML(a,t,t.name||t.shape||u.string.upperFirst(e.operation)+"Request")}function i(e){p.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&a(e)}function s(e){p.extractError(e);var t;try{t=(new n.XML.Parser).parse(e.httpResponse.body.toString())}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=u.error(new Error,{code:t.Code,message:t.Message}):e.error=u.error(new Error,{code:e.httpResponse.statusCode,message:null})}function o(e){p.extractData(e);var t,r=e.request,a=e.httpResponse.body,i=r.service.api.operations[r.operation],s=i.output,o=(i.hasEventOutput,s.payload);if(o){var m=s.members[o];m.isEventStream?(t=new n.XML.Parser,e.data[o]=u.createEventStream(2===n.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,m)):"structure"===m.type?(t=new n.XML.Parser,e.data[o]=t.parse(a.toString(),m)):"binary"===m.type||m.isStreaming?e.data[o]=a:e.data[o]=m.toType(a)}else if(a.length>0){t=new n.XML.Parser;var c=t.parse(a.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:i,extractError:s,extractData:o}},{"../core":350,"../util":428,"./rest":388}],391:[function(e,t,r){function a(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,a){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=i(s);n=e?e+"."+n:n,u(n,o,s,a)}})}function o(e,t,r,a){var i=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+i+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,a),u(e+m,s,r.value,a)})}function n(e,t,r,a){var s=r.member||{};if(0===t.length)return void a.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(i(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,a)})}function u(e,t,r,a){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,a):"list"===r.type?n(e,t,r,a):"map"===r.type?o(e,t,r,a):a(e,r.toWireFormat(t).toString()))}var p=e("../util");a.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=a},{"../util":428}],392:[function(e,t,r){var a=e("../core"),i=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};a.RDS.Signer=a.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=a.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new a.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),i=new a.Service(u),i.api=s;var p=i.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,a){a&&(a=r.convertUrlToAuthToken(a)),t(e,a)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=a.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||a.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":350}],393:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],394:[function(e,t,r){function a(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function i(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:a,isGlobalRegion:i,getRealRegion:s}},{}],395:[function(e,t,r){function a(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function i(e){var t=e.config.region,r=a(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,"*"],[r,"*"],["*",i],[t,"internal-*"],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=i(e),r=e.config.useFipsEndpoint,a=e.config.useDualstackEndpoint,o=0;o=0){u=!0;var p=0}var m=function(){u&&p!==n?i.emit("error",a.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===a.HttpClient.streamsApiVersion?i.end():i.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===a.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",m),i.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(i,{end:!1})}else c.pipe(i);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){i.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,i.emit("error",e)})}}),i},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),a.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new a.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",a.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",a.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),a.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},a.Request.deletePromisesFromClass=function(){delete this.prototype.promise},a.util.addPromises(a.Request),a.util.mixin(a.Request,a.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":350,"./state_machine":427,_process:445,jmespath:444}],398:[function(e,t,r){function a(e){var t=e.request._waiter,r=t.config.acceptors,a=!1,i="retry";r.forEach(function(r){if(!a){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(a=!0,i=r.state)}}),!a&&e.error&&(i="failure"),"success"===i?t.setSuccess(e):t.setError(e,"retry"===i)}var i=e("./core"),s=i.util.inherit,o=e("jmespath");i.ResourceWaiter=s({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var a=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(a,t)},pathAll:function(e,t,r){try{var a=o.search(e.data,r)}catch(e){return!1}Array.isArray(a)||(a=[a]);var i=a.length;if(!i)return!1;for(var s=0;s=1&&t.doneParts===t.numParts&&t.finishMultiPart()}))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(a.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"==typeof e.body)e.body=a.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=a.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,i=a.util.copy(r.config);i.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(i),t.service.config.params=a.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}else t.service=new a.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=i(e.body)}catch(e){}if(e.totalBytes){var t=Math.ceil(e.totalBytes/e.maxTotalParts);t>e.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=i(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var a=r.slice(e.partSize);e.partBuffers.push(a),e.partBufferLength+=a.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var i={Body:e};this.tags&&(i.Tagging=this.getTaggingHeader());var s=t.service.putObject(i);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=a.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(o),null}if(t.completeInfo[r]&&null!==t.completeInfo[r].ETag)return null;t.activeParts++,t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())},getTaggingHeader:function(){for(var e=[],t=0;t-1&&r.splice(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var a=this.listeners(e),i=a.length;return this.callListeners(a,t,r),i>0},callListeners:function(e,t,r,i){function s(i){if(i&&(n=a.util.error(n||new Error,i),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=i||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([s]));try{u.apply(o,t)}catch(e){n=a.util.error(n||new Error,e)}if(n&&o._haltHandlersOnError)return void r.call(o,n)}r.call(o,n)},addListeners:function(e){var t=this;return e._events&&(e=e._events),a.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),a.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,a){return this[e]=r,this.addListener(t,r,a),this},addNamedAsyncListener:function(e,t,r,a){return r._isAsync=!0,this.addNamedListener(e,t,r,a)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),a.SequentialExecutor.prototype.addListener=a.SequentialExecutor.prototype.on,t.exports=a.SequentialExecutor},{"./core":350}],402:[function(e,t,r){(function(r){(function(){var a=e("./core"),i=e("./model/api"),s=e("./region_config"),o=a.util.inherit,n=0,u=e("./region/utils");a.Service=o({constructor:function(e){if(!this.loadServiceClass)throw a.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;u.isFipsRegion(t)&&(e.region=u.getRealRegion(t),e.useFipsEndpoint=!0),u.isGlobalRegion(t)&&(e.region=u.getRealRegion(t))}"boolean"==typeof e.useDualstack&&"boolean"!=typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var r=this.loadServiceClass(e||{});if(r){var i=a.util.copy(e),s=new r(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return i},enumerable:!1,configurable:!0}),s._clientId=++n,s}this.initialize(e)},initialize:function(e){var t=a.config[this.serviceIdentifier];if(this.config=new a.Config(a.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),a.SequentialExecutor.call(this),a.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||a.Service._clientSideMonitoring)&&this.publisher){var i=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){i.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){i.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(a.util.isEmpty(this.api)){if(t.apiConfig)return a.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new a.Config(a.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&a.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?a.util.isType(e,Date)&&(e=a.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,i=t.length-1;i>=0;i--)if("*"!==t[i][t[i].length-1]&&(r=t[i]),t[i].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var i=this.api.operations[e];i&&(t=a.util.copy(t),a.util.each(this.config.params,function(e,r){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new a.Request(this,e,t);return this.addAllRequestListeners(s),this.attachMonitoringEmitter(s),r&&s.send(r),s},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var a=this.makeRequest(e,t).toUnauthenticated();return r?a.send(r):a},waitFor:function(e,t,r){return new a.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[a.events,a.EventListeners.Core,this.serviceInterface(),a.EventListeners.CorePost],r=0;r299?(i.code&&(r.FinalAwsException=i.code),i.message&&(r.FinalAwsExceptionMessage=i.message)):((i.code||i.name)&&(r.FinalSdkException=i.code||i.name),i.message&&(r.FinalSdkExceptionMessage=i.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},a=e.response;return a.httpResponse.statusCode&&(r.HttpStatusCode=a.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),a.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),a.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=a.httpResponse.headers["x-amzn-requestid"]),a.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=a.httpResponse.headers["x-amz-request-id"]),a.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=a.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,a=r.error;return r.httpResponse.statusCode>299?(a.code&&(t.AwsException=a.code),a.message&&(t.AwsExceptionMessage=a.message)):((a.code||a.name)&&(t.SdkException=a.code||a.name),a.message&&(t.SdkExceptionMessage=a.message)),t},attachMonitoringEmitter:function(e){var t,r,i,s,o,n,u=0,p=this;e.on("validate",function(){s=a.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=a.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){i=Math.round(a.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=i>=0?i:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,i=i||Math.round(a.util.realClock.now()-r),s.AttemptLatency=i>=0?i:0,s.Region=o,p.emit("apiCallAttempt",[s])}),e.addNamedListener("API_CALL","complete",function(){var t=p.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=n;var r=Math.round(a.util.realClock.now()-s);t.Latency=r>=0?r:0;var i=e.response;i.error&&i.error.retryable&&"number"==typeof i.retryCount&&"number"==typeof i.maxRetries&&i.retryCount>=i.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,r=null,i="";if(e){r=(e.service.api.operations||{})[e.operation]||null,i=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===i||"v4-unsigned-body"===i?"v4":"bearer"===i?"bearer":this.api.signatureVersion,a.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return a.EventListeners.Query;case"json":return a.EventListeners.Json;case"rest-json":return a.EventListeners.RestJson;case"rest-xml":return a.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return a.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new a.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var i=new Error;throw a.util.error(i,"No pagination configuration for "+e)}return null}return r}}),a.util.update(a.Service,{defineMethods:function(e){a.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){"none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){a.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var i=o(a.Service,r||{});if("string"==typeof e){a.Service.addVersions(i,t);var s=i.serviceIdentifier||e;i.serviceIdentifier=s}else i.prototype.api=e,a.Service.defineMethods(i);if(a.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&a.util.clientSideMonitoring){var n=a.util.clientSideMonitoring.Publisher,u=a.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(a.Service._clientSideMonitoring=!0)}return a.SequentialExecutor.call(i.prototype),a.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r=0){throw a.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody), diff --git a/lib/core.js b/lib/core.js index 791e1ccf6d..7b1176971e 100644 --- a/lib/core.js +++ b/lib/core.js @@ -20,7 +20,7 @@ AWS.util.update(AWS, { /** * @constant */ - VERSION: '2.1459.0', + VERSION: '2.1460.0', /** * @api private diff --git a/package.json b/package.json index 0dc16db567..e90ec9b8f0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aws-sdk", "description": "AWS SDK for JavaScript", - "version": "2.1459.0", + "version": "2.1460.0", "author": { "name": "Amazon Web Services", "email": "",