diff --git a/.changes/2.1583.0.json b/.changes/2.1583.0.json
new file mode 100644
index 0000000000..b8155b9af6
--- /dev/null
+++ b/.changes/2.1583.0.json
@@ -0,0 +1,7 @@
+[
+ {
+ "type": "feature",
+ "category": "CodeArtifact",
+ "description": "This release adds Package groups to CodeArtifact so you can more conveniently configure package origin controls for multiple packages."
+ }
+]
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b8656e7114..dcacb39973 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,10 @@
# Changelog for AWS SDK for JavaScript
-
+
+## 2.1583.0
+* feature: CodeArtifact: This release adds Package groups to CodeArtifact so you can more conveniently configure package origin controls for multiple packages.
+
## 2.1582.0
* feature: AccessAnalyzer: This release adds support for policy validation and external access findings for DynamoDB tables and streams. IAM Access Analyzer helps you author functional and secure resource-based policies and identify cross-account access. Updated service API, documentation, and paginators.
* feature: Connect: This release updates the *InstanceStorageConfig APIs to support a new ResourceType: REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS. Use this resource type to enable streaming for real-time analysis of chat contacts and to associate a Kinesis stream where real-time analysis chat segments will be published.
diff --git a/README.md b/README.md
index 38aae1c9cc..ad9d842204 100644
--- a/README.md
+++ b/README.md
@@ -64,7 +64,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/codeartifact-2018-09-22.min.json b/apis/codeartifact-2018-09-22.min.json
index e36e563b20..7a218dfe14 100644
--- a/apis/codeartifact-2018-09-22.min.json
+++ b/apis/codeartifact-2018-09-22.min.json
@@ -148,6 +148,42 @@
}
}
},
+ "CreatePackageGroup": {
+ "http": {
+ "requestUri": "/v1/package-group"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {},
+ "contactInfo": {},
+ "description": {},
+ "tags": {
+ "shape": "Sz"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "packageGroup": {
+ "shape": "S1c"
+ }
+ }
+ }
+ },
"CreateRepository": {
"http": {
"requestUri": "/v1/repository"
@@ -173,7 +209,7 @@
},
"description": {},
"upstreams": {
- "shape": "S19"
+ "shape": "S1l"
},
"tags": {
"shape": "Sz"
@@ -248,7 +284,7 @@
"type": "structure",
"members": {
"policy": {
- "shape": "S1h"
+ "shape": "S1t"
}
}
}
@@ -297,11 +333,47 @@
"type": "structure",
"members": {
"deletedPackage": {
- "shape": "S1l"
+ "shape": "S1x"
}
}
}
},
+ "DeletePackageGroup": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/v1/package-group"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "location": "querystring",
+ "locationName": "package-group"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "packageGroup": {
+ "shape": "S1c"
+ }
+ }
+ },
+ "idempotent": true
+ },
"DeletePackageVersions": {
"http": {
"requestUri": "/v1/package/versions/delete"
@@ -427,7 +499,7 @@
"type": "structure",
"members": {
"policy": {
- "shape": "S1h"
+ "shape": "S1t"
}
}
}
@@ -515,13 +587,48 @@
"namespace": {},
"name": {},
"originConfiguration": {
- "shape": "S1m"
+ "shape": "S1y"
}
}
}
}
}
},
+ "DescribePackageGroup": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/v1/package-group"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "location": "querystring",
+ "locationName": "package-group"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "packageGroup": {
+ "shape": "S1c"
+ }
+ }
+ }
+ },
"DescribePackageVersion": {
"http": {
"method": "GET",
@@ -600,7 +707,7 @@
"revision": {},
"status": {},
"origin": {
- "shape": "S27"
+ "shape": "S2n"
}
}
}
@@ -741,6 +848,51 @@
}
}
},
+ "GetAssociatedPackageGroup": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/v1/get-associated-package-group"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "format",
+ "package"
+ ],
+ "members": {
+ "domain": {
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "format": {
+ "location": "querystring",
+ "locationName": "format"
+ },
+ "namespace": {
+ "location": "querystring",
+ "locationName": "namespace"
+ },
+ "package": {
+ "location": "querystring",
+ "locationName": "package"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "packageGroup": {
+ "shape": "S1c"
+ },
+ "associationType": {}
+ }
+ }
+ },
"GetAuthorizationToken": {
"http": {
"requestUri": "/v1/authorization-token"
@@ -773,7 +925,8 @@
"expiration": {
"type": "timestamp"
}
- }
+ },
+ "sensitive": true
}
},
"GetDomainPermissionsPolicy": {
@@ -801,7 +954,7 @@
"type": "structure",
"members": {
"policy": {
- "shape": "S1h"
+ "shape": "S1t"
}
}
}
@@ -864,7 +1017,7 @@
"type": "structure",
"members": {
"asset": {
- "shape": "S2o"
+ "shape": "S37"
},
"assetName": {
"location": "header",
@@ -1007,9 +1160,118 @@
"type": "structure",
"members": {
"policy": {
- "shape": "S1h"
+ "shape": "S1t"
+ }
+ }
+ }
+ },
+ "ListAllowedRepositoriesForGroup": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/v1/package-group-allowed-repositories"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup",
+ "originRestrictionType"
+ ],
+ "members": {
+ "domain": {
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "location": "querystring",
+ "locationName": "package-group"
+ },
+ "originRestrictionType": {
+ "location": "querystring",
+ "locationName": "originRestrictionType"
+ },
+ "maxResults": {
+ "location": "querystring",
+ "locationName": "max-results",
+ "type": "integer"
+ },
+ "nextToken": {
+ "location": "querystring",
+ "locationName": "next-token"
}
}
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "allowedRepositories": {
+ "shape": "S3i"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListAssociatedPackages": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/v1/list-associated-packages"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "location": "querystring",
+ "locationName": "package-group"
+ },
+ "maxResults": {
+ "location": "querystring",
+ "locationName": "max-results",
+ "type": "integer"
+ },
+ "nextToken": {
+ "location": "querystring",
+ "locationName": "next-token"
+ },
+ "preview": {
+ "location": "querystring",
+ "locationName": "preview",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "packages": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "format": {},
+ "namespace": {},
+ "package": {},
+ "associationType": {}
+ }
+ }
+ },
+ "nextToken": {}
+ }
}
},
"ListDomains": {
@@ -1048,6 +1310,49 @@
}
}
},
+ "ListPackageGroups": {
+ "http": {
+ "requestUri": "/v1/package-groups"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain"
+ ],
+ "members": {
+ "domain": {
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "maxResults": {
+ "location": "querystring",
+ "locationName": "max-results",
+ "type": "integer"
+ },
+ "nextToken": {
+ "location": "querystring",
+ "locationName": "next-token"
+ },
+ "prefix": {
+ "location": "querystring",
+ "locationName": "prefix"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "packageGroups": {
+ "shape": "S3x"
+ },
+ "nextToken": {}
+ }
+ }
+ },
"ListPackageVersionAssets": {
"http": {
"requestUri": "/v1/package/version/assets"
@@ -1113,7 +1418,7 @@
"assets": {
"type": "list",
"member": {
- "shape": "S35"
+ "shape": "S43"
}
}
}
@@ -1271,7 +1576,7 @@
"revision": {},
"status": {},
"origin": {
- "shape": "S27"
+ "shape": "S2n"
}
}
}
@@ -1340,7 +1645,7 @@
"packages": {
"type": "list",
"member": {
- "shape": "S1l"
+ "shape": "S1x"
}
},
"nextToken": {}
@@ -1373,7 +1678,7 @@
"type": "structure",
"members": {
"repositories": {
- "shape": "S3r"
+ "shape": "S4n"
},
"nextToken": {}
}
@@ -1420,7 +1725,51 @@
"type": "structure",
"members": {
"repositories": {
- "shape": "S3r"
+ "shape": "S4n"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListSubPackageGroups": {
+ "http": {
+ "requestUri": "/v1/package-groups/sub-groups"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "location": "querystring",
+ "locationName": "package-group"
+ },
+ "maxResults": {
+ "location": "querystring",
+ "locationName": "max-results",
+ "type": "integer"
+ },
+ "nextToken": {
+ "location": "querystring",
+ "locationName": "next-token"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "packageGroups": {
+ "shape": "S3x"
},
"nextToken": {}
}
@@ -1497,7 +1846,7 @@
"locationName": "version"
},
"assetContent": {
- "shape": "S2o"
+ "shape": "S37"
},
"assetName": {
"location": "querystring",
@@ -1525,7 +1874,7 @@
"versionRevision": {},
"status": {},
"asset": {
- "shape": "S35"
+ "shape": "S43"
}
}
}
@@ -1552,7 +1901,7 @@
"type": "structure",
"members": {
"policy": {
- "shape": "S1h"
+ "shape": "S1t"
}
}
}
@@ -1596,7 +1945,7 @@
"locationName": "package"
},
"restrictions": {
- "shape": "S1n"
+ "shape": "S1z"
}
}
},
@@ -1604,7 +1953,7 @@
"type": "structure",
"members": {
"originConfiguration": {
- "shape": "S1m"
+ "shape": "S1y"
}
}
}
@@ -1642,7 +1991,7 @@
"type": "structure",
"members": {
"policy": {
- "shape": "S1h"
+ "shape": "S1t"
}
}
}
@@ -1698,6 +2047,99 @@
"members": {}
}
},
+ "UpdatePackageGroup": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/v1/package-group"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {},
+ "contactInfo": {},
+ "description": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "packageGroup": {
+ "shape": "S1c"
+ }
+ }
+ },
+ "idempotent": true
+ },
+ "UpdatePackageGroupOriginConfiguration": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/v1/package-group-origin-configuration"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "location": "querystring",
+ "locationName": "package-group"
+ },
+ "restrictions": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "addAllowedRepositories": {
+ "shape": "S5e"
+ },
+ "removeAllowedRepositories": {
+ "shape": "S5e"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "packageGroup": {
+ "shape": "S1c"
+ },
+ "allowedRepositoryUpdates": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S3i"
+ }
+ }
+ }
+ }
+ },
+ "idempotent": true
+ },
"UpdatePackageVersionsStatus": {
"http": {
"requestUri": "/v1/package/versions/update_status"
@@ -1785,7 +2227,7 @@
},
"description": {},
"upstreams": {
- "shape": "S19"
+ "shape": "S1l"
}
}
},
@@ -1899,7 +2341,56 @@
"s3BucketArn": {}
}
},
- "S19": {
+ "S1c": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "pattern": {},
+ "domainName": {},
+ "domainOwner": {},
+ "createdTime": {
+ "type": "timestamp"
+ },
+ "contactInfo": {},
+ "description": {},
+ "originConfiguration": {
+ "shape": "S1d"
+ },
+ "parent": {
+ "shape": "S1i"
+ }
+ }
+ },
+ "S1d": {
+ "type": "structure",
+ "members": {
+ "restrictions": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "members": {
+ "mode": {},
+ "effectiveMode": {},
+ "inheritedFrom": {
+ "shape": "S1i"
+ },
+ "repositoriesCount": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ }
+ },
+ "S1i": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "pattern": {}
+ }
+ },
+ "S1l": {
"type": "list",
"member": {
"type": "structure",
@@ -1911,7 +2402,7 @@
}
}
},
- "S1h": {
+ "S1t": {
"type": "structure",
"members": {
"resourceArn": {},
@@ -1919,26 +2410,26 @@
"document": {}
}
},
- "S1l": {
+ "S1x": {
"type": "structure",
"members": {
"format": {},
"namespace": {},
"package": {},
"originConfiguration": {
- "shape": "S1m"
+ "shape": "S1y"
}
}
},
- "S1m": {
+ "S1y": {
"type": "structure",
"members": {
"restrictions": {
- "shape": "S1n"
+ "shape": "S1z"
}
}
},
- "S1n": {
+ "S1z": {
"type": "structure",
"required": [
"publish",
@@ -1949,7 +2440,7 @@
"upstream": {}
}
},
- "S27": {
+ "S2n": {
"type": "structure",
"members": {
"domainEntryPoint": {
@@ -1962,11 +2453,38 @@
"originType": {}
}
},
- "S2o": {
+ "S37": {
"type": "blob",
"streaming": true
},
- "S35": {
+ "S3i": {
+ "type": "list",
+ "member": {}
+ },
+ "S3x": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "pattern": {},
+ "domainName": {},
+ "domainOwner": {},
+ "createdTime": {
+ "type": "timestamp"
+ },
+ "contactInfo": {},
+ "description": {},
+ "originConfiguration": {
+ "shape": "S1d"
+ },
+ "parent": {
+ "shape": "S1i"
+ }
+ }
+ }
+ },
+ "S43": {
"type": "structure",
"required": [
"name"
@@ -1983,7 +2501,7 @@
}
}
},
- "S3r": {
+ "S4n": {
"type": "list",
"member": {
"type": "structure",
@@ -1999,6 +2517,16 @@
}
}
}
+ },
+ "S5e": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "repositoryName": {},
+ "originRestrictionType": {}
+ }
+ }
}
}
}
\ No newline at end of file
diff --git a/apis/codeartifact-2018-09-22.normal.json b/apis/codeartifact-2018-09-22.normal.json
index 2631adc581..c65e72c8b5 100644
--- a/apis/codeartifact-2018-09-22.normal.json
+++ b/apis/codeartifact-2018-09-22.normal.json
@@ -123,6 +123,43 @@
],
"documentation": "
Creates a domain. CodeArtifact domains make it easier to manage multiple repositories across an organization. You can use a domain to apply permissions across many repositories owned by different Amazon Web Services accounts. An asset is stored only once in a domain, even if it's in multiple repositories.
Although you can have multiple domains, we recommend a single production domain that contains all published artifacts so that your development teams can find and share packages. You can use a second pre-production domain to test changes to the production domain configuration.
"
},
+ "CreatePackageGroup": {
+ "name": "CreatePackageGroup",
+ "http": {
+ "method": "POST",
+ "requestUri": "/v1/package-group"
+ },
+ "input": {
+ "shape": "CreatePackageGroupRequest"
+ },
+ "output": {
+ "shape": "CreatePackageGroupResult"
+ },
+ "errors": [
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ConflictException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ }
+ ],
+ "documentation": " Creates a package group. For more information about creating package groups, including example CLI commands, see Create a package group in the CodeArtifact User Guide.
"
+ },
"CreateRepository": {
"name": "CreateRepository",
"http": {
@@ -259,6 +296,44 @@
],
"documentation": "Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the DeletePackageVersions API.
"
},
+ "DeletePackageGroup": {
+ "name": "DeletePackageGroup",
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/v1/package-group"
+ },
+ "input": {
+ "shape": "DeletePackageGroupRequest"
+ },
+ "output": {
+ "shape": "DeletePackageGroupResult"
+ },
+ "errors": [
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ConflictException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "documentation": "Deletes a package group. Deleting a package group does not delete packages or package versions associated with the package group. When a package group is deleted, the direct child package groups will become children of the package group's direct parent package group. Therefore, if any of the child groups are inheriting any settings from the parent, those settings could change.
",
+ "idempotent": true
+ },
"DeletePackageVersions": {
"name": "DeletePackageVersions",
"http": {
@@ -423,6 +498,37 @@
],
"documentation": " Returns a PackageDescription object that contains information about the requested package.
"
},
+ "DescribePackageGroup": {
+ "name": "DescribePackageGroup",
+ "http": {
+ "method": "GET",
+ "requestUri": "/v1/package-group"
+ },
+ "input": {
+ "shape": "DescribePackageGroupRequest"
+ },
+ "output": {
+ "shape": "DescribePackageGroupResult"
+ },
+ "errors": [
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ }
+ ],
+ "documentation": "Returns a PackageGroupDescription object that contains information about the requested package group.
"
+ },
"DescribePackageVersion": {
"name": "DescribePackageVersion",
"http": {
@@ -559,6 +665,34 @@
],
"documentation": " Deletes the assets in package versions and sets the package versions' status to Disposed
. A disposed package version cannot be restored in your repository because its assets are deleted.
To view all disposed package versions in a repository, use ListPackageVersions and set the status parameter to Disposed
.
To view information about a disposed package version, use DescribePackageVersion.
"
},
+ "GetAssociatedPackageGroup": {
+ "name": "GetAssociatedPackageGroup",
+ "http": {
+ "method": "GET",
+ "requestUri": "/v1/get-associated-package-group"
+ },
+ "input": {
+ "shape": "GetAssociatedPackageGroupRequest"
+ },
+ "output": {
+ "shape": "GetAssociatedPackageGroupResult"
+ },
+ "errors": [
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ }
+ ],
+ "documentation": "Returns the most closely associated package group to the specified package. This API does not require that the package exist in any repository in the domain. As such, GetAssociatedPackageGroup
can be used to see which package group's origin configuration applies to a package before that package is in a repository. This can be helpful to check if public packages are blocked without ingesting them.
For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
"
+ },
"GetAuthorizationToken": {
"name": "GetAuthorizationToken",
"http": {
@@ -715,7 +849,7 @@
"shape": "ValidationException"
}
],
- "documentation": " Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:
"
+ "documentation": " Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:
-
generic
-
maven
-
npm
-
nuget
-
pypi
-
swift
"
},
"GetRepositoryPermissionsPolicy": {
"name": "GetRepositoryPermissionsPolicy",
@@ -748,6 +882,68 @@
],
"documentation": " Returns the resource policy that is set on a repository.
"
},
+ "ListAllowedRepositoriesForGroup": {
+ "name": "ListAllowedRepositoriesForGroup",
+ "http": {
+ "method": "GET",
+ "requestUri": "/v1/package-group-allowed-repositories"
+ },
+ "input": {
+ "shape": "ListAllowedRepositoriesForGroupRequest"
+ },
+ "output": {
+ "shape": "ListAllowedRepositoriesForGroupResult"
+ },
+ "errors": [
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ }
+ ],
+ "documentation": "Lists the repositories in the added repositories list of the specified restriction type for a package group. For more information about restriction types and added repository lists, see Package group origin controls in the CodeArtifact User Guide.
"
+ },
+ "ListAssociatedPackages": {
+ "name": "ListAssociatedPackages",
+ "http": {
+ "method": "GET",
+ "requestUri": "/v1/list-associated-packages"
+ },
+ "input": {
+ "shape": "ListAssociatedPackagesRequest"
+ },
+ "output": {
+ "shape": "ListAssociatedPackagesResult"
+ },
+ "errors": [
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ }
+ ],
+ "documentation": "Returns a list of packages associated with the requested package group. For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
"
+ },
"ListDomains": {
"name": "ListDomains",
"http": {
@@ -776,6 +972,37 @@
],
"documentation": " Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes this call. Each returned DomainSummary
object contains information about a domain.
"
},
+ "ListPackageGroups": {
+ "name": "ListPackageGroups",
+ "http": {
+ "method": "POST",
+ "requestUri": "/v1/package-groups"
+ },
+ "input": {
+ "shape": "ListPackageGroupsRequest"
+ },
+ "output": {
+ "shape": "ListPackageGroupsResult"
+ },
+ "errors": [
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ }
+ ],
+ "documentation": "Returns a list of package groups in the requested domain.
"
+ },
"ListPackageVersionAssets": {
"name": "ListPackageVersionAssets",
"http": {
@@ -959,6 +1186,37 @@
],
"documentation": " Returns a list of RepositorySummary objects. Each RepositorySummary
contains information about a repository in the specified domain and that matches the input parameters.
"
},
+ "ListSubPackageGroups": {
+ "name": "ListSubPackageGroups",
+ "http": {
+ "method": "POST",
+ "requestUri": "/v1/package-groups/sub-groups"
+ },
+ "input": {
+ "shape": "ListSubPackageGroupsRequest"
+ },
+ "output": {
+ "shape": "ListSubPackageGroupsResult"
+ },
+ "errors": [
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ }
+ ],
+ "documentation": "Returns a list of direct children of the specified package group.
For information package group hierarchy, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
"
+ },
"ListTagsForResource": {
"name": "ListTagsForResource",
"http": {
@@ -1188,6 +1446,76 @@
],
"documentation": "Removes tags from a resource in CodeArtifact.
"
},
+ "UpdatePackageGroup": {
+ "name": "UpdatePackageGroup",
+ "http": {
+ "method": "PUT",
+ "requestUri": "/v1/package-group"
+ },
+ "input": {
+ "shape": "UpdatePackageGroupRequest"
+ },
+ "output": {
+ "shape": "UpdatePackageGroupResult"
+ },
+ "errors": [
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ }
+ ],
+ "documentation": "Updates a package group. This API cannot be used to update a package group's origin configuration or pattern. To update a package group's origin configuration, use UpdatePackageGroupOriginConfiguration.
",
+ "idempotent": true
+ },
+ "UpdatePackageGroupOriginConfiguration": {
+ "name": "UpdatePackageGroupOriginConfiguration",
+ "http": {
+ "method": "PUT",
+ "requestUri": "/v1/package-group-origin-configuration"
+ },
+ "input": {
+ "shape": "UpdatePackageGroupOriginConfigurationRequest"
+ },
+ "output": {
+ "shape": "UpdatePackageGroupOriginConfigurationResult"
+ },
+ "errors": [
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ }
+ ],
+ "documentation": "Updates the package origin configuration for a package group.
The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package group origin controls and configuration, see Package group origin controls in the CodeArtifact User Guide.
",
+ "idempotent": true
+ },
"UpdatePackageVersionsStatus": {
"name": "UpdatePackageVersionsStatus",
"http": {
@@ -1376,6 +1704,34 @@
}
}
},
+ "AssociatedPackage": {
+ "type": "structure",
+ "members": {
+ "format": {
+ "shape": "PackageFormat",
+ "documentation": "A format that specifies the type of the associated package.
"
+ },
+ "namespace": {
+ "shape": "PackageNamespace",
+ "documentation": "The namespace of the associated package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
"
+ },
+ "package": {
+ "shape": "PackageName",
+ "documentation": " The name of the associated package.
"
+ },
+ "associationType": {
+ "shape": "PackageGroupAssociationType",
+ "documentation": "Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
"
+ }
+ },
+ "documentation": " A package associated with a package group.
"
+ },
+ "AssociatedPackageList": {
+ "type": "list",
+ "member": {
+ "shape": "AssociatedPackage"
+ }
+ },
"AuthorizationTokenDurationSeconds": {
"type": "long",
"max": 43200,
@@ -1426,7 +1782,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package versions to be copied. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
. The namespace is required when copying Maven package versions.
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace of the package versions to be copied. The package component that specifies its namespace depends on its type. For example:
The namespace is required when copying package versions of the following formats:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -1467,34 +1823,80 @@
}
}
},
- "CreateDomainRequest": {
+ "CreateDomainRequest": {
+ "type": "structure",
+ "required": [
+ "domain"
+ ],
+ "members": {
+ "domain": {
+ "shape": "DomainName",
+ "documentation": " The name of the domain to create. All domain names in an Amazon Web Services Region that are in the same Amazon Web Services account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.
",
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "encryptionKey": {
+ "shape": "Arn",
+ "documentation": " The encryption key for the domain. This is used to encrypt content stored in a domain. An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key alias ARN. To specify an encryptionKey
, your IAM role must have kms:DescribeKey
and kms:CreateGrant
permissions on the encryption key that is used. For more information, see DescribeKey in the Key Management Service API Reference and Key Management Service API Permissions Reference in the Key Management Service Developer Guide.
CodeArtifact supports only symmetric CMKs. Do not associate an asymmetric CMK with your domain. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.
"
+ },
+ "tags": {
+ "shape": "TagList",
+ "documentation": "One or more tag key-value pairs for the domain.
"
+ }
+ }
+ },
+ "CreateDomainResult": {
+ "type": "structure",
+ "members": {
+ "domain": {
+ "shape": "DomainDescription",
+ "documentation": " Contains information about the created domain after processing the request.
"
+ }
+ }
+ },
+ "CreatePackageGroupRequest": {
"type": "structure",
"required": [
- "domain"
+ "domain",
+ "packageGroup"
],
"members": {
"domain": {
"shape": "DomainName",
- "documentation": " The name of the domain to create. All domain names in an Amazon Web Services Region that are in the same Amazon Web Services account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.
",
+ "documentation": " The name of the domain in which you want to create a package group.
",
"location": "querystring",
"locationName": "domain"
},
- "encryptionKey": {
- "shape": "Arn",
- "documentation": " The encryption key for the domain. This is used to encrypt content stored in a domain. An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key alias ARN. To specify an encryptionKey
, your IAM role must have kms:DescribeKey
and kms:CreateGrant
permissions on the encryption key that is used. For more information, see DescribeKey in the Key Management Service API Reference and Key Management Service API Permissions Reference in the Key Management Service Developer Guide.
CodeArtifact supports only symmetric CMKs. Do not associate an asymmetric CMK with your domain. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.
"
+ "domainOwner": {
+ "shape": "AccountId",
+ "documentation": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
",
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "shape": "PackageGroupPattern",
+ "documentation": "The pattern of the package group to create. The pattern is also the identifier of the package group.
"
+ },
+ "contactInfo": {
+ "shape": "PackageGroupContactInfo",
+ "documentation": " The contact information for the created package group.
"
+ },
+ "description": {
+ "shape": "Description",
+ "documentation": " A description of the package group.
"
},
"tags": {
"shape": "TagList",
- "documentation": "One or more tag key-value pairs for the domain.
"
+ "documentation": "One or more tag key-value pairs for the package group.
"
}
}
},
- "CreateDomainResult": {
+ "CreatePackageGroupResult": {
"type": "structure",
"members": {
- "domain": {
- "shape": "DomainDescription",
- "documentation": " Contains information about the created domain after processing the request.
"
+ "packageGroup": {
+ "shape": "PackageGroupDescription",
+ "documentation": " Information about the created package group after processing the request.
"
}
}
},
@@ -1519,7 +1921,7 @@
},
"repository": {
"shape": "RepositoryName",
- "documentation": " The name of the repository to create.
",
+ "documentation": "The name of the repository to create.
",
"location": "querystring",
"locationName": "repository"
},
@@ -1610,6 +2012,42 @@
}
}
},
+ "DeletePackageGroupRequest": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "shape": "DomainName",
+ "documentation": " The domain that contains the package group to be deleted.
",
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "shape": "AccountId",
+ "documentation": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
",
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "shape": "String",
+ "documentation": "The pattern of the package group to be deleted.
",
+ "location": "querystring",
+ "locationName": "package-group"
+ }
+ }
+ },
+ "DeletePackageGroupResult": {
+ "type": "structure",
+ "members": {
+ "packageGroup": {
+ "shape": "PackageGroupDescription",
+ "documentation": " Information about the deleted package group after processing the request.
"
+ }
+ }
+ },
"DeletePackageRequest": {
"type": "structure",
"required": [
@@ -1645,7 +2083,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its groupId
. The namespace is required when deleting Maven package versions.
-
The namespace of an npm package is its scope
.
-
Python and NuGet packages do not contain corresponding components, packages of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:
The namespace is required when deleting packages of the following formats:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -1701,7 +2139,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package versions to be deleted. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
. The namespace is required when deleting Maven package versions.
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace of the package versions to be deleted. The package component that specifies its namespace depends on its type. For example:
The namespace is required when deleting package versions of the following formats:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -1840,6 +2278,42 @@
}
}
},
+ "DescribePackageGroupRequest": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "shape": "DomainName",
+ "documentation": " The name of the domain that contains the package group.
",
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "shape": "AccountId",
+ "documentation": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
",
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "shape": "PackageGroupPattern",
+ "documentation": "The pattern of the requested package group.
",
+ "location": "querystring",
+ "locationName": "package-group"
+ }
+ }
+ },
+ "DescribePackageGroupResult": {
+ "type": "structure",
+ "members": {
+ "packageGroup": {
+ "shape": "PackageGroupDescription",
+ "documentation": "A PackageGroupDescription object that contains information about the requested package group.
"
+ }
+ }
+ },
"DescribePackageRequest": {
"type": "structure",
"required": [
@@ -1875,7 +2349,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its groupId
. The namespace is required when requesting Maven packages.
-
The namespace of an npm package is its scope
.
-
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting packages of the following formats:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -1935,7 +2409,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the requested package version. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace of the requested package version. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting package versions of the following formats:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -2085,7 +2559,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package versions to be disposed. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace of the package versions to be disposed. The package component that specifies its namespace depends on its type. For example:
The namespace is required when disposing package versions of the following formats:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -2176,7 +2650,7 @@
"documentation": "The name of the external connection that a package was ingested from.
"
}
},
- "documentation": "Information about how a package originally entered the CodeArtifact domain. For packages published directly to CodeArtifact, the entry point is the repository it was published to. For packages ingested from an external repository, the entry point is the external connection that it was ingested from. An external connection is a CodeArtifact repository that is connected to an external repository such as the npm registry or NuGet gallery.
"
+ "documentation": "Information about how a package originally entered the CodeArtifact domain. For packages published directly to CodeArtifact, the entry point is the repository it was published to. For packages ingested from an external repository, the entry point is the external connection that it was ingested from. An external connection is a CodeArtifact repository that is connected to an external repository such as the npm registry or NuGet gallery.
If a package version exists in a repository and is updated, for example if a package of the same version is added with additional assets, the package version's DomainEntryPoint
will not change from the original package version's value.
"
},
"DomainName": {
"type": "string",
@@ -2242,6 +2716,59 @@
"Available"
]
},
+ "GetAssociatedPackageGroupRequest": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "format",
+ "package"
+ ],
+ "members": {
+ "domain": {
+ "shape": "DomainName",
+ "documentation": " The name of the domain that contains the package from which to get the associated package group.
",
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "shape": "AccountId",
+ "documentation": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
",
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "format": {
+ "shape": "PackageFormat",
+ "documentation": " The format of the package from which to get the associated package group.
",
+ "location": "querystring",
+ "locationName": "format"
+ },
+ "namespace": {
+ "shape": "PackageNamespace",
+ "documentation": "The namespace of the package from which to get the associated package group. The package component that specifies its namespace depends on its type. For example:
The namespace is required when getting associated package groups from packages of the following formats:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
+ "location": "querystring",
+ "locationName": "namespace"
+ },
+ "package": {
+ "shape": "PackageName",
+ "documentation": " The package from which to get the associated package group.
",
+ "location": "querystring",
+ "locationName": "package"
+ }
+ }
+ },
+ "GetAssociatedPackageGroupResult": {
+ "type": "structure",
+ "members": {
+ "packageGroup": {
+ "shape": "PackageGroupDescription",
+ "documentation": "The package group that is associated with the requested package.
"
+ },
+ "associationType": {
+ "shape": "PackageGroupAssociationType",
+ "documentation": "Describes the strength of the association between the package and package group. A strong match is also known as an exact match, and a weak match is known as a relative match.
"
+ }
+ }
+ },
"GetAuthorizationTokenRequest": {
"type": "structure",
"required": [
@@ -2279,7 +2806,8 @@
"shape": "Timestamp",
"documentation": " A timestamp that specifies the date and time the authorization token expires.
"
}
- }
+ },
+ "sensitive": true
},
"GetDomainPermissionsPolicyRequest": {
"type": "structure",
@@ -2347,7 +2875,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package version with the requested asset file. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace of the package version with the requested asset file. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting assets from package versions of the following formats:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -2441,7 +2969,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package version with the requested readme file. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
+ "documentation": "The namespace of the package version with the requested readme file. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting the readme from package versions of the following formats:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -2468,7 +2996,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package version with the requested readme file. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
"
+ "documentation": "The namespace of the package version with the requested readme file. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
"
},
"package": {
"shape": "PackageName",
@@ -2605,6 +3133,128 @@
"shape": "LicenseInfo"
}
},
+ "ListAllowedRepositoriesForGroupMaxResults": {
+ "type": "integer",
+ "max": 1000,
+ "min": 1
+ },
+ "ListAllowedRepositoriesForGroupRequest": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup",
+ "originRestrictionType"
+ ],
+ "members": {
+ "domain": {
+ "shape": "DomainName",
+ "documentation": " The name of the domain that contains the package group from which to list allowed repositories.
",
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "shape": "AccountId",
+ "documentation": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
",
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "shape": "PackageGroupPattern",
+ "documentation": "The pattern of the package group from which to list allowed repositories.
",
+ "location": "querystring",
+ "locationName": "package-group"
+ },
+ "originRestrictionType": {
+ "shape": "PackageGroupOriginRestrictionType",
+ "documentation": "The origin configuration restriction type of which to list allowed repositories.
",
+ "location": "querystring",
+ "locationName": "originRestrictionType"
+ },
+ "maxResults": {
+ "shape": "ListAllowedRepositoriesForGroupMaxResults",
+ "documentation": " The maximum number of results to return per page.
",
+ "location": "querystring",
+ "locationName": "max-results"
+ },
+ "nextToken": {
+ "shape": "PaginationToken",
+ "documentation": " The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
",
+ "location": "querystring",
+ "locationName": "next-token"
+ }
+ }
+ },
+ "ListAllowedRepositoriesForGroupResult": {
+ "type": "structure",
+ "members": {
+ "allowedRepositories": {
+ "shape": "RepositoryNameList",
+ "documentation": "The list of allowed repositories for the package group and origin configuration restriction type.
"
+ },
+ "nextToken": {
+ "shape": "PaginationToken",
+ "documentation": " The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
"
+ }
+ }
+ },
+ "ListAssociatedPackagesRequest": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "shape": "DomainName",
+ "documentation": " The name of the domain that contains the package group from which to list associated packages.
",
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "shape": "AccountId",
+ "documentation": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
",
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "shape": "PackageGroupPattern",
+ "documentation": " The pattern of the package group from which to list associated packages.
",
+ "location": "querystring",
+ "locationName": "package-group"
+ },
+ "maxResults": {
+ "shape": "ListPackagesMaxResults",
+ "documentation": " The maximum number of results to return per page.
",
+ "location": "querystring",
+ "locationName": "max-results"
+ },
+ "nextToken": {
+ "shape": "PaginationToken",
+ "documentation": " The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
",
+ "location": "querystring",
+ "locationName": "next-token"
+ },
+ "preview": {
+ "shape": "BooleanOptional",
+ "documentation": " When this flag is included, ListAssociatedPackages
will return a list of packages that would be associated with a package group, even if it does not exist.
",
+ "location": "querystring",
+ "locationName": "preview"
+ }
+ }
+ },
+ "ListAssociatedPackagesResult": {
+ "type": "structure",
+ "members": {
+ "packages": {
+ "shape": "AssociatedPackageList",
+ "documentation": " The list of packages associated with the requested package group.
"
+ },
+ "nextToken": {
+ "shape": "PaginationToken",
+ "documentation": " The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
"
+ }
+ }
+ },
"ListDomainsMaxResults": {
"type": "integer",
"max": 1000,
@@ -2619,16 +3269,72 @@
},
"nextToken": {
"shape": "PaginationToken",
- "documentation": " The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
"
+ "documentation": " The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
"
+ }
+ }
+ },
+ "ListDomainsResult": {
+ "type": "structure",
+ "members": {
+ "domains": {
+ "shape": "DomainSummaryList",
+ "documentation": " The returned list of DomainSummary objects.
"
+ },
+ "nextToken": {
+ "shape": "PaginationToken",
+ "documentation": " The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
"
+ }
+ }
+ },
+ "ListPackageGroupsMaxResults": {
+ "type": "integer",
+ "max": 1000,
+ "min": 1
+ },
+ "ListPackageGroupsRequest": {
+ "type": "structure",
+ "required": [
+ "domain"
+ ],
+ "members": {
+ "domain": {
+ "shape": "DomainName",
+ "documentation": " The domain for which you want to list package groups.
",
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "shape": "AccountId",
+ "documentation": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
",
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "maxResults": {
+ "shape": "ListPackageGroupsMaxResults",
+ "documentation": " The maximum number of results to return per page.
",
+ "location": "querystring",
+ "locationName": "max-results"
+ },
+ "nextToken": {
+ "shape": "PaginationToken",
+ "documentation": " The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
",
+ "location": "querystring",
+ "locationName": "next-token"
+ },
+ "prefix": {
+ "shape": "PackageGroupPatternPrefix",
+ "documentation": " A prefix for which to search package groups. When included, ListPackageGroups
will return only package groups with patterns that match the prefix.
",
+ "location": "querystring",
+ "locationName": "prefix"
}
}
},
- "ListDomainsResult": {
+ "ListPackageGroupsResult": {
"type": "structure",
"members": {
- "domains": {
- "shape": "DomainSummaryList",
- "documentation": " The returned list of DomainSummary objects.
"
+ "packageGroups": {
+ "shape": "PackageGroupSummaryList",
+ "documentation": " The list of package groups in the requested domain.
"
},
"nextToken": {
"shape": "PaginationToken",
@@ -2677,7 +3383,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package version that contains the requested package version assets. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace of the package version that contains the requested package version assets. The package component that specifies its namespace depends on its type. For example:
The namespace is required requesting assets from package versions of the following formats:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -2716,7 +3422,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package version that contains the requested package version assets. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
"
+ "documentation": "The namespace of the package version that contains the requested package version assets. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
"
},
"package": {
"shape": "PackageName",
@@ -2776,7 +3482,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package version with the requested dependencies. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace of the package version with the requested dependencies. The package component that specifies its namespace depends on its type. For example:
The namespace is required when listing dependencies from package versions of the following formats:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -2809,7 +3515,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package version that contains the returned dependencies. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
"
+ "documentation": "The namespace of the package version that contains the returned dependencies. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
"
},
"package": {
"shape": "PackageName",
@@ -2873,7 +3579,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its groupId
.
-
The namespace of an npm package is its scope
.
-
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
The namespace is required when deleting package versions of the following formats:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -2928,7 +3634,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its groupId
.
-
The namespace of an npm package is its scope
.
-
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
"
+ "documentation": "The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
"
},
"package": {
"shape": "PackageName",
@@ -2982,7 +3688,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace
and not --namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
-
The namespace of a Maven package is its groupId
.
-
The namespace of an npm package is its scope
.
-
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace
and not --namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -3134,6 +3840,58 @@
}
}
},
+ "ListSubPackageGroupsRequest": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "shape": "DomainName",
+ "documentation": " The name of the domain which contains the package group from which to list sub package groups.
",
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "shape": "AccountId",
+ "documentation": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
",
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "shape": "PackageGroupPattern",
+ "documentation": " The pattern of the package group from which to list sub package groups.
",
+ "location": "querystring",
+ "locationName": "package-group"
+ },
+ "maxResults": {
+ "shape": "ListPackageGroupsMaxResults",
+ "documentation": " The maximum number of results to return per page.
",
+ "location": "querystring",
+ "locationName": "max-results"
+ },
+ "nextToken": {
+ "shape": "PaginationToken",
+ "documentation": " The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
",
+ "location": "querystring",
+ "locationName": "next-token"
+ }
+ }
+ },
+ "ListSubPackageGroupsResult": {
+ "type": "structure",
+ "members": {
+ "packageGroups": {
+ "shape": "PackageGroupSummaryList",
+ "documentation": " A list of sub package groups for the requested package group.
"
+ },
+ "nextToken": {
+ "shape": "PaginationToken",
+ "documentation": " If there are additional results, this is the token for the next set of results.
"
+ }
+ }
+ },
"ListTagsForResourceRequest": {
"type": "structure",
"required": [
@@ -3163,12 +3921,21 @@
"LongOptional": {
"type": "long"
},
+ "OriginRestrictions": {
+ "type": "map",
+ "key": {
+ "shape": "PackageGroupOriginRestrictionType"
+ },
+ "value": {
+ "shape": "PackageGroupOriginRestrictionMode"
+ }
+ },
"PackageDependency": {
"type": "structure",
"members": {
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package that this package depends on. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its groupId
.
-
The namespace of an npm package is its scope
.
-
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
"
+ "documentation": "The namespace of the package that this package depends on. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
"
},
"package": {
"shape": "PackageName",
@@ -3200,7 +3967,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its groupId
.
-
The namespace of an npm package is its scope
.
-
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
"
+ "documentation": "The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
"
},
"name": {
"shape": "PackageName",
@@ -3224,6 +3991,238 @@
"swift"
]
},
+ "PackageGroupAllowedRepository": {
+ "type": "structure",
+ "members": {
+ "repositoryName": {
+ "shape": "RepositoryName",
+ "documentation": " The name of the allowed repository.
"
+ },
+ "originRestrictionType": {
+ "shape": "PackageGroupOriginRestrictionType",
+ "documentation": "The origin configuration restriction type of the allowed repository.
"
+ }
+ },
+ "documentation": " Details about an allowed repository for a package group, including its name and origin configuration.
"
+ },
+ "PackageGroupAllowedRepositoryList": {
+ "type": "list",
+ "member": {
+ "shape": "PackageGroupAllowedRepository"
+ }
+ },
+ "PackageGroupAllowedRepositoryUpdate": {
+ "type": "map",
+ "key": {
+ "shape": "PackageGroupAllowedRepositoryUpdateType"
+ },
+ "value": {
+ "shape": "RepositoryNameList"
+ }
+ },
+ "PackageGroupAllowedRepositoryUpdateType": {
+ "type": "string",
+ "enum": [
+ "ADDED",
+ "REMOVED"
+ ]
+ },
+ "PackageGroupAllowedRepositoryUpdates": {
+ "type": "map",
+ "key": {
+ "shape": "PackageGroupOriginRestrictionType"
+ },
+ "value": {
+ "shape": "PackageGroupAllowedRepositoryUpdate"
+ }
+ },
+ "PackageGroupAssociationType": {
+ "type": "string",
+ "enum": [
+ "STRONG",
+ "WEAK"
+ ]
+ },
+ "PackageGroupContactInfo": {
+ "type": "string",
+ "max": 1000,
+ "min": 0,
+ "pattern": "\\P{C}*"
+ },
+ "PackageGroupDescription": {
+ "type": "structure",
+ "members": {
+ "arn": {
+ "shape": "Arn",
+ "documentation": " The ARN of the package group.
"
+ },
+ "pattern": {
+ "shape": "PackageGroupPattern",
+ "documentation": " The pattern of the package group. The pattern determines which packages are associated with the package group.
"
+ },
+ "domainName": {
+ "shape": "DomainName",
+ "documentation": " The name of the domain that contains the package group.
"
+ },
+ "domainOwner": {
+ "shape": "AccountId",
+ "documentation": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
"
+ },
+ "createdTime": {
+ "shape": "Timestamp",
+ "documentation": "A timestamp that represents the date and time the package group was created.
"
+ },
+ "contactInfo": {
+ "shape": "PackageGroupContactInfo",
+ "documentation": " The contact information of the package group.
"
+ },
+ "description": {
+ "shape": "Description",
+ "documentation": " The description of the package group.
"
+ },
+ "originConfiguration": {
+ "shape": "PackageGroupOriginConfiguration",
+ "documentation": "The package group origin configuration that determines how package versions can enter repositories.
"
+ },
+ "parent": {
+ "shape": "PackageGroupReference",
+ "documentation": " The direct parent package group of the package group.
"
+ }
+ },
+ "documentation": " The description of the package group.
"
+ },
+ "PackageGroupOriginConfiguration": {
+ "type": "structure",
+ "members": {
+ "restrictions": {
+ "shape": "PackageGroupOriginRestrictions",
+ "documentation": "The origin configuration settings that determine how package versions can enter repositories.
"
+ }
+ },
+ "documentation": "The package group origin configuration that determines how package versions can enter repositories.
"
+ },
+ "PackageGroupOriginRestriction": {
+ "type": "structure",
+ "members": {
+ "mode": {
+ "shape": "PackageGroupOriginRestrictionMode",
+ "documentation": "The package group origin restriction setting. If the value of mode
is ALLOW
, ALLOW_SPECIFIC_REPOSITORIES
, or BLOCK
, then the value of effectiveMode
is the same. Otherwise, when the value is INHERIT
, then the value of effectiveMode
is the value of mode
of the first parent group which does not have a value of INHERIT
.
"
+ },
+ "effectiveMode": {
+ "shape": "PackageGroupOriginRestrictionMode",
+ "documentation": "The effective package group origin restriction setting. If the value of mode
is ALLOW
, ALLOW_SPECIFIC_REPOSITORIES
, or BLOCK
, then the value of effectiveMode
is the same. Otherwise, when the value of mode
is INHERIT
, then the value of effectiveMode
is the value of mode
of the first parent group which does not have a value of INHERIT
.
"
+ },
+ "inheritedFrom": {
+ "shape": "PackageGroupReference",
+ "documentation": "The parent package group that the package group origin restrictions are inherited from.
"
+ },
+ "repositoriesCount": {
+ "shape": "LongOptional",
+ "documentation": "The number of repositories in the allowed repository list.
"
+ }
+ },
+ "documentation": "Contains information about the configured restrictions of the origin controls of a package group.
"
+ },
+ "PackageGroupOriginRestrictionMode": {
+ "type": "string",
+ "enum": [
+ "ALLOW",
+ "ALLOW_SPECIFIC_REPOSITORIES",
+ "BLOCK",
+ "INHERIT"
+ ]
+ },
+ "PackageGroupOriginRestrictionType": {
+ "type": "string",
+ "enum": [
+ "EXTERNAL_UPSTREAM",
+ "INTERNAL_UPSTREAM",
+ "PUBLISH"
+ ]
+ },
+ "PackageGroupOriginRestrictions": {
+ "type": "map",
+ "key": {
+ "shape": "PackageGroupOriginRestrictionType"
+ },
+ "value": {
+ "shape": "PackageGroupOriginRestriction"
+ }
+ },
+ "PackageGroupPattern": {
+ "type": "string",
+ "max": 520,
+ "min": 2,
+ "pattern": "[^\\p{C}\\p{IsWhitespace}]+"
+ },
+ "PackageGroupPatternPrefix": {
+ "type": "string",
+ "max": 520,
+ "min": 0,
+ "pattern": "\\P{C}*"
+ },
+ "PackageGroupReference": {
+ "type": "structure",
+ "members": {
+ "arn": {
+ "shape": "Arn",
+ "documentation": " The ARN of the package group.
"
+ },
+ "pattern": {
+ "shape": "PackageGroupPattern",
+ "documentation": " The pattern of the package group. The pattern determines which packages are associated with the package group, and is also the identifier of the package group.
"
+ }
+ },
+ "documentation": "Information about the identifiers of a package group.
"
+ },
+ "PackageGroupSummary": {
+ "type": "structure",
+ "members": {
+ "arn": {
+ "shape": "Arn",
+ "documentation": " The ARN of the package group.
"
+ },
+ "pattern": {
+ "shape": "PackageGroupPattern",
+ "documentation": " The pattern of the package group. The pattern determines which packages are associated with the package group.
"
+ },
+ "domainName": {
+ "shape": "DomainName",
+ "documentation": " The domain that contains the package group.
"
+ },
+ "domainOwner": {
+ "shape": "AccountId",
+ "documentation": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
"
+ },
+ "createdTime": {
+ "shape": "Timestamp",
+ "documentation": "A timestamp that represents the date and time the repository was created.
"
+ },
+ "contactInfo": {
+ "shape": "PackageGroupContactInfo",
+ "documentation": " The contact information of the package group.
"
+ },
+ "description": {
+ "shape": "Description",
+ "documentation": " The description of the package group.
"
+ },
+ "originConfiguration": {
+ "shape": "PackageGroupOriginConfiguration",
+ "documentation": "Details about the package origin configuration of a package group.
"
+ },
+ "parent": {
+ "shape": "PackageGroupReference",
+ "documentation": " The direct parent package group of the package group.
"
+ }
+ },
+ "documentation": "Details about a package group.
"
+ },
+ "PackageGroupSummaryList": {
+ "type": "list",
+ "member": {
+ "shape": "PackageGroupSummary"
+ }
+ },
"PackageName": {
"type": "string",
"max": 255,
@@ -3273,7 +4272,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its groupId
.
-
The namespace of an npm package is its scope
.
-
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
"
+ "documentation": "The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
"
},
"package": {
"shape": "PackageName",
@@ -3307,7 +4306,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package version. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
"
+ "documentation": "The namespace of the package version. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
"
},
"packageName": {
"shape": "PackageName",
@@ -3684,7 +4683,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its groupId
.
-
The namespace of an npm package is its scope
.
-
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -3826,6 +4825,12 @@
"min": 2,
"pattern": "[A-Za-z0-9][A-Za-z0-9._\\-]{1,99}"
},
+ "RepositoryNameList": {
+ "type": "list",
+ "member": {
+ "shape": "RepositoryName"
+ }
+ },
"RepositorySummary": {
"type": "structure",
"members": {
@@ -4016,6 +5021,100 @@
"type": "structure",
"members": {}
},
+ "UpdatePackageGroupOriginConfigurationRequest": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "shape": "DomainName",
+ "documentation": " The name of the domain which contains the package group for which to update the origin configuration.
",
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "shape": "AccountId",
+ "documentation": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
",
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "shape": "PackageGroupPattern",
+ "documentation": " The pattern of the package group for which to update the origin configuration.
",
+ "location": "querystring",
+ "locationName": "package-group"
+ },
+ "restrictions": {
+ "shape": "OriginRestrictions",
+ "documentation": " The origin configuration settings that determine how package versions can enter repositories.
"
+ },
+ "addAllowedRepositories": {
+ "shape": "PackageGroupAllowedRepositoryList",
+ "documentation": "The repository name and restrictions to add to the allowed repository list of the specified package group.
"
+ },
+ "removeAllowedRepositories": {
+ "shape": "PackageGroupAllowedRepositoryList",
+ "documentation": "The repository name and restrictions to remove from the allowed repository list of the specified package group.
"
+ }
+ }
+ },
+ "UpdatePackageGroupOriginConfigurationResult": {
+ "type": "structure",
+ "members": {
+ "packageGroup": {
+ "shape": "PackageGroupDescription",
+ "documentation": " The package group and information about it after processing the request.
"
+ },
+ "allowedRepositoryUpdates": {
+ "shape": "PackageGroupAllowedRepositoryUpdates",
+ "documentation": "Information about the updated allowed repositories after processing the request.
"
+ }
+ }
+ },
+ "UpdatePackageGroupRequest": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "packageGroup"
+ ],
+ "members": {
+ "domain": {
+ "shape": "DomainName",
+ "documentation": " The name of the domain which contains the package group to be updated.
",
+ "location": "querystring",
+ "locationName": "domain"
+ },
+ "domainOwner": {
+ "shape": "AccountId",
+ "documentation": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
",
+ "location": "querystring",
+ "locationName": "domain-owner"
+ },
+ "packageGroup": {
+ "shape": "PackageGroupPattern",
+ "documentation": " The pattern of the package group to be updated.
"
+ },
+ "contactInfo": {
+ "shape": "PackageGroupContactInfo",
+ "documentation": " Contact information which you want to update the requested package group with.
"
+ },
+ "description": {
+ "shape": "Description",
+ "documentation": " The description you want to update the requested package group with.
"
+ }
+ }
+ },
+ "UpdatePackageGroupResult": {
+ "type": "structure",
+ "members": {
+ "packageGroup": {
+ "shape": "PackageGroupDescription",
+ "documentation": " The package group and information about it after the request has been processed.
"
+ }
+ }
+ },
"UpdatePackageVersionsStatusRequest": {
"type": "structure",
"required": [
@@ -4053,7 +5152,7 @@
},
"namespace": {
"shape": "PackageNamespace",
- "documentation": "The namespace of the package version to be updated. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm package version is its scope
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
-
The namespace of a generic package is its namespace
.
",
+ "documentation": "The namespace of the package version to be updated. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its groupId
.
-
The namespace of an npm or Swift package version is its scope
.
-
The namespace of a generic package is its namespace
.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
",
"location": "querystring",
"locationName": "namespace"
},
@@ -4174,5 +5273,5 @@
}
}
},
- "documentation": " CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to share packages with development teams and pull packages. Packages can be pulled from both public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact repository and another repository, which effectively merges their contents from the point of view of a package manager client.
CodeArtifact Components
Use the information in this guide to help you work with the following CodeArtifact components:
-
Repository: A CodeArtifact repository contains a set of package versions, each of which maps to a set of assets, or files. Repositories are polyglot, so a single repository can contain packages of any supported type. Each repository exposes endpoints for fetching and publishing packages using tools like the npm
CLI, the Maven CLI ( mvn
), Python CLIs ( pip
and twine
), and NuGet CLIs (nuget
and dotnet
).
-
Domain: Repositories are aggregated into a higher-level entity known as a domain. All package assets and metadata are stored in the domain, but are consumed through repositories. A given package asset, such as a Maven JAR file, is stored once per domain, no matter how many repositories it's present in. All of the assets and metadata in a domain are encrypted with the same customer master key (CMK) stored in Key Management Service (KMS).
Each repository is a member of a single domain and can't be moved to a different domain.
The domain allows organizational policy to be applied across multiple repositories, such as which accounts can access repositories in the domain, and which public repositories can be used as sources of packages.
Although an organization can have multiple domains, we recommend a single production domain that contains all published artifacts so that teams can find and share packages across their organization.
-
Package: A package is a bundle of software and the metadata required to resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, and NuGet package formats.
In CodeArtifact, a package consists of:
-
A name (for example, webpack
is the name of a popular npm package)
-
An optional namespace (for example, @types
in @types/node
)
-
A set of versions (for example, 1.0.0
, 1.0.1
, 1.0.2
, etc.)
-
Package-level metadata (for example, npm tags)
-
Package version: A version of a package, such as @types/node 12.6.9
. The version number format and semantics vary for different package formats. For example, npm package versions must conform to the Semantic Versioning specification. In CodeArtifact, a package version consists of the version identifier, metadata at the package version level, and a set of assets.
-
Upstream repository: One repository is upstream of another when the package versions in it can be accessed from the repository endpoint of the downstream repository, effectively merging the contents of the two repositories from the point of view of a client. CodeArtifact allows creating an upstream relationship between two repositories.
-
Asset: An individual file stored in CodeArtifact associated with a package version, such as an npm .tgz
file or Maven POM and JAR files.
CodeArtifact supports these operations:
-
AssociateExternalConnection
: Adds an existing external connection to a repository.
-
CopyPackageVersions
: Copies package versions from one repository to another repository in the same domain.
-
CreateDomain
: Creates a domain
-
CreateRepository
: Creates a CodeArtifact repository in a domain.
-
DeleteDomain
: Deletes a domain. You cannot delete a domain that contains repositories.
-
DeleteDomainPermissionsPolicy
: Deletes the resource policy that is set on a domain.
-
DeletePackage
: Deletes a package and all associated package versions.
-
DeletePackageVersions
: Deletes versions of a package. After a package has been deleted, it can be republished, but its assets and metadata cannot be restored because they have been permanently removed from storage.
-
DeleteRepository
: Deletes a repository.
-
DeleteRepositoryPermissionsPolicy
: Deletes the resource policy that is set on a repository.
-
DescribeDomain
: Returns a DomainDescription
object that contains information about the requested domain.
-
DescribePackage
: Returns a PackageDescription object that contains details about a package.
-
DescribePackageVersion
: Returns a PackageVersionDescription object that contains details about a package version.
-
DescribeRepository
: Returns a RepositoryDescription
object that contains detailed information about the requested repository.
-
DisposePackageVersions
: Disposes versions of a package. A package version with the status Disposed
cannot be restored because they have been permanently removed from storage.
-
DisassociateExternalConnection
: Removes an existing external connection from a repository.
-
GetAuthorizationToken
: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed. The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.
-
GetDomainPermissionsPolicy
: Returns the policy of a resource that is attached to the specified domain.
-
GetPackageVersionAsset
: Returns the contents of an asset that is in a package version.
-
GetPackageVersionReadme
: Gets the readme file or descriptive text for a package version.
-
GetRepositoryEndpoint
: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:
-
GetRepositoryPermissionsPolicy
: Returns the resource policy that is set on a repository.
-
ListDomains
: Returns a list of DomainSummary
objects. Each returned DomainSummary
object contains information about a domain.
-
ListPackages
: Lists the packages in a repository.
-
ListPackageVersionAssets
: Lists the assets for a given package version.
-
ListPackageVersionDependencies
: Returns a list of the direct dependencies for a package version.
-
ListPackageVersions
: Returns a list of package versions for a specified package in a repository.
-
ListRepositories
: Returns a list of repositories owned by the Amazon Web Services account that called this method.
-
ListRepositoriesInDomain
: Returns a list of the repositories in a domain.
-
PublishPackageVersion
: Creates a new package version containing one or more assets.
-
PutDomainPermissionsPolicy
: Attaches a resource policy to a domain.
-
PutPackageOriginConfiguration
: Sets the package origin configuration for a package, which determine how new versions of the package can be added to a specific repository.
-
PutRepositoryPermissionsPolicy
: Sets the resource policy on a repository that specifies permissions to access it.
-
UpdatePackageVersionsStatus
: Updates the status of one or more versions of a package.
-
UpdateRepository
: Updates the properties of a repository.
"
+ "documentation": " CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to share packages with development teams and pull packages. Packages can be pulled from both public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact repository and another repository, which effectively merges their contents from the point of view of a package manager client.
CodeArtifact concepts
-
Repository: A CodeArtifact repository contains a set of package versions, each of which maps to a set of assets, or files. Repositories are polyglot, so a single repository can contain packages of any supported type. Each repository exposes endpoints for fetching and publishing packages using tools like the npm
CLI, the Maven CLI ( mvn
), Python CLIs ( pip
and twine
), NuGet CLIs (nuget
and dotnet
), and the Swift package manager ( swift
).
-
Domain: Repositories are aggregated into a higher-level entity known as a domain. All package assets and metadata are stored in the domain, but are consumed through repositories. A given package asset, such as a Maven JAR file, is stored once per domain, no matter how many repositories it's present in. All of the assets and metadata in a domain are encrypted with the same customer master key (CMK) stored in Key Management Service (KMS).
Each repository is a member of a single domain and can't be moved to a different domain.
The domain allows organizational policy to be applied across multiple repositories, such as which accounts can access repositories in the domain, and which public repositories can be used as sources of packages.
Although an organization can have multiple domains, we recommend a single production domain that contains all published artifacts so that teams can find and share packages across their organization.
-
Package: A package is a bundle of software and the metadata required to resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, NuGet, Swift, and generic package formats.
In CodeArtifact, a package consists of:
-
A name (for example, webpack
is the name of a popular npm package)
-
An optional namespace (for example, @types
in @types/node
)
-
A set of versions (for example, 1.0.0
, 1.0.1
, 1.0.2
, etc.)
-
Package-level metadata (for example, npm tags)
-
Package group: A group of packages that match a specified definition. Package groups can be used to apply configuration to multiple packages that match a defined pattern using package format, package namespace, and package name. You can use package groups to more conveniently configure package origin controls for multiple packages. Package origin controls are used to block or allow ingestion or publishing of new package versions, which protects users from malicious actions known as dependency substitution attacks.
-
Package version: A version of a package, such as @types/node 12.6.9
. The version number format and semantics vary for different package formats. For example, npm package versions must conform to the Semantic Versioning specification. In CodeArtifact, a package version consists of the version identifier, metadata at the package version level, and a set of assets.
-
Upstream repository: One repository is upstream of another when the package versions in it can be accessed from the repository endpoint of the downstream repository, effectively merging the contents of the two repositories from the point of view of a client. CodeArtifact allows creating an upstream relationship between two repositories.
-
Asset: An individual file stored in CodeArtifact associated with a package version, such as an npm .tgz
file or Maven POM and JAR files.
CodeArtifact supported API operations
-
AssociateExternalConnection
: Adds an existing external connection to a repository.
-
CopyPackageVersions
: Copies package versions from one repository to another repository in the same domain.
-
CreateDomain
: Creates a domain.
-
CreatePackageGroup
: Creates a package group.
-
CreateRepository
: Creates a CodeArtifact repository in a domain.
-
DeleteDomain
: Deletes a domain. You cannot delete a domain that contains repositories.
-
DeleteDomainPermissionsPolicy
: Deletes the resource policy that is set on a domain.
-
DeletePackage
: Deletes a package and all associated package versions.
-
DeletePackageGroup
: Deletes a package group. Does not delete packages or package versions that are associated with a package group.
-
DeletePackageVersions
: Deletes versions of a package. After a package has been deleted, it can be republished, but its assets and metadata cannot be restored because they have been permanently removed from storage.
-
DeleteRepository
: Deletes a repository.
-
DeleteRepositoryPermissionsPolicy
: Deletes the resource policy that is set on a repository.
-
DescribeDomain
: Returns a DomainDescription
object that contains information about the requested domain.
-
DescribePackage
: Returns a PackageDescription object that contains details about a package.
-
DescribePackageGroup
: Returns a PackageGroup object that contains details about a package group.
-
DescribePackageVersion
: Returns a PackageVersionDescription object that contains details about a package version.
-
DescribeRepository
: Returns a RepositoryDescription
object that contains detailed information about the requested repository.
-
DisposePackageVersions
: Disposes versions of a package. A package version with the status Disposed
cannot be restored because they have been permanently removed from storage.
-
DisassociateExternalConnection
: Removes an existing external connection from a repository.
-
GetAssociatedPackageGroup
: Returns the most closely associated package group to the specified package.
-
GetAuthorizationToken
: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed. The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.
-
GetDomainPermissionsPolicy
: Returns the policy of a resource that is attached to the specified domain.
-
GetPackageVersionAsset
: Returns the contents of an asset that is in a package version.
-
GetPackageVersionReadme
: Gets the readme file or descriptive text for a package version.
-
GetRepositoryEndpoint
: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:
-
generic
-
maven
-
npm
-
nuget
-
pypi
-
swift
-
GetRepositoryPermissionsPolicy
: Returns the resource policy that is set on a repository.
-
ListAllowedRepositoriesForGroup
: Lists the allowed repositories for a package group that has origin configuration set to ALLOW_SPECIFIC_REPOSITORIES
.
-
ListAssociatedPackages
: Returns a list of packages associated with the requested package group.
-
ListDomains
: Returns a list of DomainSummary
objects. Each returned DomainSummary
object contains information about a domain.
-
ListPackages
: Lists the packages in a repository.
-
ListPackageGroups
: Returns a list of package groups in the requested domain.
-
ListPackageVersionAssets
: Lists the assets for a given package version.
-
ListPackageVersionDependencies
: Returns a list of the direct dependencies for a package version.
-
ListPackageVersions
: Returns a list of package versions for a specified package in a repository.
-
ListRepositories
: Returns a list of repositories owned by the Amazon Web Services account that called this method.
-
ListRepositoriesInDomain
: Returns a list of the repositories in a domain.
-
ListSubPackageGroups
: Returns a list of direct children of the specified package group.
-
PublishPackageVersion
: Creates a new package version containing one or more assets.
-
PutDomainPermissionsPolicy
: Attaches a resource policy to a domain.
-
PutPackageOriginConfiguration
: Sets the package origin configuration for a package, which determine how new versions of the package can be added to a specific repository.
-
PutRepositoryPermissionsPolicy
: Sets the resource policy on a repository that specifies permissions to access it.
-
UpdatePackageGroup
: Updates a package group. This API cannot be used to update a package group's origin configuration or pattern.
-
UpdatePackageGroupOriginConfiguration
: Updates the package origin configuration for a package group.
-
UpdatePackageVersionsStatus
: Updates the status of one or more versions of a package.
-
UpdateRepository
: Updates the properties of a repository.
"
}
\ No newline at end of file
diff --git a/apis/codeartifact-2018-09-22.paginators.json b/apis/codeartifact-2018-09-22.paginators.json
index ef8602842e..b2d125a5df 100644
--- a/apis/codeartifact-2018-09-22.paginators.json
+++ b/apis/codeartifact-2018-09-22.paginators.json
@@ -1,11 +1,29 @@
{
"pagination": {
+ "ListAllowedRepositoriesForGroup": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "allowedRepositories"
+ },
+ "ListAssociatedPackages": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "packages"
+ },
"ListDomains": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "domains"
},
+ "ListPackageGroups": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "packageGroups"
+ },
"ListPackageVersionAssets": {
"input_token": "nextToken",
"output_token": "nextToken",
@@ -35,6 +53,12 @@
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "repositories"
+ },
+ "ListSubPackageGroups": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "packageGroups"
}
}
}
diff --git a/clients/codeartifact.d.ts b/clients/codeartifact.d.ts
index a57c1e45e1..2919f2aed6 100644
--- a/clients/codeartifact.d.ts
+++ b/clients/codeartifact.d.ts
@@ -36,6 +36,14 @@ declare class CodeArtifact extends Service {
* Creates a domain. CodeArtifact domains make it easier to manage multiple repositories across an organization. You can use a domain to apply permissions across many repositories owned by different Amazon Web Services accounts. An asset is stored only once in a domain, even if it's in multiple repositories. Although you can have multiple domains, we recommend a single production domain that contains all published artifacts so that your development teams can find and share packages. You can use a second pre-production domain to test changes to the production domain configuration.
*/
createDomain(callback?: (err: AWSError, data: CodeArtifact.Types.CreateDomainResult) => void): Request;
+ /**
+ * Creates a package group. For more information about creating package groups, including example CLI commands, see Create a package group in the CodeArtifact User Guide.
+ */
+ createPackageGroup(params: CodeArtifact.Types.CreatePackageGroupRequest, callback?: (err: AWSError, data: CodeArtifact.Types.CreatePackageGroupResult) => void): Request;
+ /**
+ * Creates a package group. For more information about creating package groups, including example CLI commands, see Create a package group in the CodeArtifact User Guide.
+ */
+ createPackageGroup(callback?: (err: AWSError, data: CodeArtifact.Types.CreatePackageGroupResult) => void): Request;
/**
* Creates a repository.
*/
@@ -68,6 +76,14 @@ declare class CodeArtifact extends Service {
* Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the DeletePackageVersions API.
*/
deletePackage(callback?: (err: AWSError, data: CodeArtifact.Types.DeletePackageResult) => void): Request;
+ /**
+ * Deletes a package group. Deleting a package group does not delete packages or package versions associated with the package group. When a package group is deleted, the direct child package groups will become children of the package group's direct parent package group. Therefore, if any of the child groups are inheriting any settings from the parent, those settings could change.
+ */
+ deletePackageGroup(params: CodeArtifact.Types.DeletePackageGroupRequest, callback?: (err: AWSError, data: CodeArtifact.Types.DeletePackageGroupResult) => void): Request;
+ /**
+ * Deletes a package group. Deleting a package group does not delete packages or package versions associated with the package group. When a package group is deleted, the direct child package groups will become children of the package group's direct parent package group. Therefore, if any of the child groups are inheriting any settings from the parent, those settings could change.
+ */
+ deletePackageGroup(callback?: (err: AWSError, data: CodeArtifact.Types.DeletePackageGroupResult) => void): Request;
/**
* Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example, ListPackageVersions), but you can restore them using UpdatePackageVersionsStatus.
*/
@@ -108,6 +124,14 @@ declare class CodeArtifact extends Service {
* Returns a PackageDescription object that contains information about the requested package.
*/
describePackage(callback?: (err: AWSError, data: CodeArtifact.Types.DescribePackageResult) => void): Request;
+ /**
+ * Returns a PackageGroupDescription object that contains information about the requested package group.
+ */
+ describePackageGroup(params: CodeArtifact.Types.DescribePackageGroupRequest, callback?: (err: AWSError, data: CodeArtifact.Types.DescribePackageGroupResult) => void): Request;
+ /**
+ * Returns a PackageGroupDescription object that contains information about the requested package group.
+ */
+ describePackageGroup(callback?: (err: AWSError, data: CodeArtifact.Types.DescribePackageGroupResult) => void): Request;
/**
* Returns a PackageVersionDescription object that contains information about the requested package version.
*/
@@ -140,6 +164,14 @@ declare class CodeArtifact extends Service {
* Deletes the assets in package versions and sets the package versions' status to Disposed. A disposed package version cannot be restored in your repository because its assets are deleted. To view all disposed package versions in a repository, use ListPackageVersions and set the status parameter to Disposed. To view information about a disposed package version, use DescribePackageVersion.
*/
disposePackageVersions(callback?: (err: AWSError, data: CodeArtifact.Types.DisposePackageVersionsResult) => void): Request;
+ /**
+ * Returns the most closely associated package group to the specified package. This API does not require that the package exist in any repository in the domain. As such, GetAssociatedPackageGroup can be used to see which package group's origin configuration applies to a package before that package is in a repository. This can be helpful to check if public packages are blocked without ingesting them. For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
+ */
+ getAssociatedPackageGroup(params: CodeArtifact.Types.GetAssociatedPackageGroupRequest, callback?: (err: AWSError, data: CodeArtifact.Types.GetAssociatedPackageGroupResult) => void): Request;
+ /**
+ * Returns the most closely associated package group to the specified package. This API does not require that the package exist in any repository in the domain. As such, GetAssociatedPackageGroup can be used to see which package group's origin configuration applies to a package before that package is in a repository. This can be helpful to check if public packages are blocked without ingesting them. For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
+ */
+ getAssociatedPackageGroup(callback?: (err: AWSError, data: CodeArtifact.Types.GetAssociatedPackageGroupResult) => void): Request;
/**
* Generates a temporary authorization token for accessing repositories in the domain. This API requires the codeartifact:GetAuthorizationToken and sts:GetServiceBearerToken permissions. For more information about authorization tokens, see CodeArtifact authentication and tokens. CodeArtifact authorization tokens are valid for a period of 12 hours when created with the login command. You can call login periodically to refresh the token. When you create an authorization token with the GetAuthorizationToken API, you can set a custom authorization period, up to a maximum of 12 hours, with the durationSeconds parameter. The authorization period begins after login or GetAuthorizationToken is called. If login or GetAuthorizationToken is called while assuming a role, the token lifetime is independent of the maximum session duration of the role. For example, if you call sts assume-role and specify a session duration of 15 minutes, then generate a CodeArtifact authorization token, the token will be valid for the full authorization period even though this is longer than the 15-minute session duration. See Using IAM Roles for more information on controlling session duration.
*/
@@ -173,11 +205,11 @@ declare class CodeArtifact extends Service {
*/
getPackageVersionReadme(callback?: (err: AWSError, data: CodeArtifact.Types.GetPackageVersionReadmeResult) => void): Request;
/**
- * Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: maven npm nuget pypi
+ * Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: generic maven npm nuget pypi swift
*/
getRepositoryEndpoint(params: CodeArtifact.Types.GetRepositoryEndpointRequest, callback?: (err: AWSError, data: CodeArtifact.Types.GetRepositoryEndpointResult) => void): Request;
/**
- * Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: maven npm nuget pypi
+ * Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: generic maven npm nuget pypi swift
*/
getRepositoryEndpoint(callback?: (err: AWSError, data: CodeArtifact.Types.GetRepositoryEndpointResult) => void): Request;
/**
@@ -188,6 +220,22 @@ declare class CodeArtifact extends Service {
* Returns the resource policy that is set on a repository.
*/
getRepositoryPermissionsPolicy(callback?: (err: AWSError, data: CodeArtifact.Types.GetRepositoryPermissionsPolicyResult) => void): Request;
+ /**
+ * Lists the repositories in the added repositories list of the specified restriction type for a package group. For more information about restriction types and added repository lists, see Package group origin controls in the CodeArtifact User Guide.
+ */
+ listAllowedRepositoriesForGroup(params: CodeArtifact.Types.ListAllowedRepositoriesForGroupRequest, callback?: (err: AWSError, data: CodeArtifact.Types.ListAllowedRepositoriesForGroupResult) => void): Request;
+ /**
+ * Lists the repositories in the added repositories list of the specified restriction type for a package group. For more information about restriction types and added repository lists, see Package group origin controls in the CodeArtifact User Guide.
+ */
+ listAllowedRepositoriesForGroup(callback?: (err: AWSError, data: CodeArtifact.Types.ListAllowedRepositoriesForGroupResult) => void): Request;
+ /**
+ * Returns a list of packages associated with the requested package group. For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
+ */
+ listAssociatedPackages(params: CodeArtifact.Types.ListAssociatedPackagesRequest, callback?: (err: AWSError, data: CodeArtifact.Types.ListAssociatedPackagesResult) => void): Request;
+ /**
+ * Returns a list of packages associated with the requested package group. For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
+ */
+ listAssociatedPackages(callback?: (err: AWSError, data: CodeArtifact.Types.ListAssociatedPackagesResult) => void): Request;
/**
* Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes this call. Each returned DomainSummary object contains information about a domain.
*/
@@ -196,6 +244,14 @@ declare class CodeArtifact extends Service {
* Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes this call. Each returned DomainSummary object contains information about a domain.
*/
listDomains(callback?: (err: AWSError, data: CodeArtifact.Types.ListDomainsResult) => void): Request;
+ /**
+ * Returns a list of package groups in the requested domain.
+ */
+ listPackageGroups(params: CodeArtifact.Types.ListPackageGroupsRequest, callback?: (err: AWSError, data: CodeArtifact.Types.ListPackageGroupsResult) => void): Request;
+ /**
+ * Returns a list of package groups in the requested domain.
+ */
+ listPackageGroups(callback?: (err: AWSError, data: CodeArtifact.Types.ListPackageGroupsResult) => void): Request;
/**
* Returns a list of AssetSummary objects for assets in a package version.
*/
@@ -244,6 +300,14 @@ declare class CodeArtifact extends Service {
* Returns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified domain and that matches the input parameters.
*/
listRepositoriesInDomain(callback?: (err: AWSError, data: CodeArtifact.Types.ListRepositoriesInDomainResult) => void): Request;
+ /**
+ * Returns a list of direct children of the specified package group. For information package group hierarchy, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
+ */
+ listSubPackageGroups(params: CodeArtifact.Types.ListSubPackageGroupsRequest, callback?: (err: AWSError, data: CodeArtifact.Types.ListSubPackageGroupsResult) => void): Request;
+ /**
+ * Returns a list of direct children of the specified package group. For information package group hierarchy, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
+ */
+ listSubPackageGroups(callback?: (err: AWSError, data: CodeArtifact.Types.ListSubPackageGroupsResult) => void): Request;
/**
* Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.
*/
@@ -300,6 +364,22 @@ declare class CodeArtifact extends Service {
* Removes tags from a resource in CodeArtifact.
*/
untagResource(callback?: (err: AWSError, data: CodeArtifact.Types.UntagResourceResult) => void): Request;
+ /**
+ * Updates a package group. This API cannot be used to update a package group's origin configuration or pattern. To update a package group's origin configuration, use UpdatePackageGroupOriginConfiguration.
+ */
+ updatePackageGroup(params: CodeArtifact.Types.UpdatePackageGroupRequest, callback?: (err: AWSError, data: CodeArtifact.Types.UpdatePackageGroupResult) => void): Request;
+ /**
+ * Updates a package group. This API cannot be used to update a package group's origin configuration or pattern. To update a package group's origin configuration, use UpdatePackageGroupOriginConfiguration.
+ */
+ updatePackageGroup(callback?: (err: AWSError, data: CodeArtifact.Types.UpdatePackageGroupResult) => void): Request;
+ /**
+ * Updates the package origin configuration for a package group. The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package group origin controls and configuration, see Package group origin controls in the CodeArtifact User Guide.
+ */
+ updatePackageGroupOriginConfiguration(params: CodeArtifact.Types.UpdatePackageGroupOriginConfigurationRequest, callback?: (err: AWSError, data: CodeArtifact.Types.UpdatePackageGroupOriginConfigurationResult) => void): Request;
+ /**
+ * Updates the package origin configuration for a package group. The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package group origin controls and configuration, see Package group origin controls in the CodeArtifact User Guide.
+ */
+ updatePackageGroupOriginConfiguration(callback?: (err: AWSError, data: CodeArtifact.Types.UpdatePackageGroupOriginConfigurationResult) => void): Request;
/**
* Updates the status of one or more versions of a package. Using UpdatePackageVersionsStatus, you can update the status of package versions to Archived, Published, or Unlisted. To set the status of a package version to Disposed, use DisposePackageVersions.
*/
@@ -364,6 +444,25 @@ declare namespace CodeArtifact {
*/
repository?: RepositoryDescription;
}
+ export interface AssociatedPackage {
+ /**
+ * A format that specifies the type of the associated package.
+ */
+ format?: PackageFormat;
+ /**
+ * The namespace of the associated package. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
+ */
+ namespace?: PackageNamespace;
+ /**
+ * The name of the associated package.
+ */
+ package?: PackageName;
+ /**
+ * Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
+ */
+ associationType?: PackageGroupAssociationType;
+ }
+ export type AssociatedPackageList = AssociatedPackage[];
export type AuthorizationTokenDurationSeconds = number;
export type BooleanOptional = boolean;
export interface CopyPackageVersionsRequest {
@@ -388,7 +487,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the package versions to be copied. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace is required when copying Maven package versions. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package versions to be copied. The package component that specifies its namespace depends on its type. For example: The namespace is required when copying package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -442,6 +541,38 @@ declare namespace CodeArtifact {
*/
domain?: DomainDescription;
}
+ export interface CreatePackageGroupRequest {
+ /**
+ * The name of the domain in which you want to create a package group.
+ */
+ domain: DomainName;
+ /**
+ * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
+ */
+ domainOwner?: AccountId;
+ /**
+ * The pattern of the package group to create. The pattern is also the identifier of the package group.
+ */
+ packageGroup: PackageGroupPattern;
+ /**
+ * The contact information for the created package group.
+ */
+ contactInfo?: PackageGroupContactInfo;
+ /**
+ * A description of the package group.
+ */
+ description?: Description;
+ /**
+ * One or more tag key-value pairs for the package group.
+ */
+ tags?: TagList;
+ }
+ export interface CreatePackageGroupResult {
+ /**
+ * Information about the created package group after processing the request.
+ */
+ packageGroup?: PackageGroupDescription;
+ }
export interface CreateRepositoryRequest {
/**
* The name of the domain that contains the created repository.
@@ -452,7 +583,7 @@ declare namespace CodeArtifact {
*/
domainOwner?: AccountId;
/**
- * The name of the repository to create.
+ * The name of the repository to create.
*/
repository: RepositoryName;
/**
@@ -510,6 +641,26 @@ declare namespace CodeArtifact {
*/
domain?: DomainDescription;
}
+ export interface DeletePackageGroupRequest {
+ /**
+ * The domain that contains the package group to be deleted.
+ */
+ domain: DomainName;
+ /**
+ * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
+ */
+ domainOwner?: AccountId;
+ /**
+ * The pattern of the package group to be deleted.
+ */
+ packageGroup: String;
+ }
+ export interface DeletePackageGroupResult {
+ /**
+ * Information about the deleted package group after processing the request.
+ */
+ packageGroup?: PackageGroupDescription;
+ }
export interface DeletePackageRequest {
/**
* The name of the domain that contains the package to delete.
@@ -528,7 +679,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace is required when deleting Maven package versions. The namespace of an npm package is its scope. Python and NuGet packages do not contain corresponding components, packages of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example: The namespace is required when deleting packages of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -557,7 +708,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the package versions to be deleted. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace is required when deleting Maven package versions. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package versions to be deleted. The package component that specifies its namespace depends on its type. For example: The namespace is required when deleting package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -640,6 +791,26 @@ declare namespace CodeArtifact {
export interface DescribeDomainResult {
domain?: DomainDescription;
}
+ export interface DescribePackageGroupRequest {
+ /**
+ * The name of the domain that contains the package group.
+ */
+ domain: DomainName;
+ /**
+ * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
+ */
+ domainOwner?: AccountId;
+ /**
+ * The pattern of the requested package group.
+ */
+ packageGroup: PackageGroupPattern;
+ }
+ export interface DescribePackageGroupResult {
+ /**
+ * A PackageGroupDescription object that contains information about the requested package group.
+ */
+ packageGroup?: PackageGroupDescription;
+ }
export interface DescribePackageRequest {
/**
* The name of the domain that contains the repository that contains the package.
@@ -658,7 +829,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the requested package. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace is required when requesting Maven packages. The namespace of an npm package is its scope. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the requested package. The package component that specifies its namespace depends on its type. For example: The namespace is required when requesting packages of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -690,7 +861,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the requested package version. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the requested package version. The package component that specifies its namespace depends on its type. For example: The namespace is required when requesting package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -771,7 +942,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the package versions to be disposed. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package versions to be disposed. The package component that specifies its namespace depends on its type. For example: The namespace is required when disposing package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -881,6 +1052,38 @@ declare namespace CodeArtifact {
export type ErrorMessage = string;
export type ExternalConnectionName = string;
export type ExternalConnectionStatus = "Available"|string;
+ export interface GetAssociatedPackageGroupRequest {
+ /**
+ * The name of the domain that contains the package from which to get the associated package group.
+ */
+ domain: DomainName;
+ /**
+ * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
+ */
+ domainOwner?: AccountId;
+ /**
+ * The format of the package from which to get the associated package group.
+ */
+ format: PackageFormat;
+ /**
+ * The namespace of the package from which to get the associated package group. The package component that specifies its namespace depends on its type. For example: The namespace is required when getting associated package groups from packages of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
+ */
+ namespace?: PackageNamespace;
+ /**
+ * The package from which to get the associated package group.
+ */
+ package: PackageName;
+ }
+ export interface GetAssociatedPackageGroupResult {
+ /**
+ * The package group that is associated with the requested package.
+ */
+ packageGroup?: PackageGroupDescription;
+ /**
+ * Describes the strength of the association between the package and package group. A strong match is also known as an exact match, and a weak match is known as a relative match.
+ */
+ associationType?: PackageGroupAssociationType;
+ }
export interface GetAuthorizationTokenRequest {
/**
* The name of the domain that is in scope for the generated authorization token.
@@ -939,7 +1142,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the package version with the requested asset file. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package version with the requested asset file. The package component that specifies its namespace depends on its type. For example: The namespace is required when requesting assets from package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -995,7 +1198,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the package version with the requested readme file. The package version component that specifies its namespace depends on its type. For example: The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
+ * The namespace of the package version with the requested readme file. The package component that specifies its namespace depends on its type. For example: The namespace is required when requesting the readme from package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1013,7 +1216,7 @@ declare namespace CodeArtifact {
*/
format?: PackageFormat;
/**
- * The namespace of the package version with the requested readme file. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
+ * The namespace of the package version with the requested readme file. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1091,6 +1294,79 @@ declare namespace CodeArtifact {
url?: String;
}
export type LicenseInfoList = LicenseInfo[];
+ export type ListAllowedRepositoriesForGroupMaxResults = number;
+ export interface ListAllowedRepositoriesForGroupRequest {
+ /**
+ * The name of the domain that contains the package group from which to list allowed repositories.
+ */
+ domain: DomainName;
+ /**
+ * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
+ */
+ domainOwner?: AccountId;
+ /**
+ * The pattern of the package group from which to list allowed repositories.
+ */
+ packageGroup: PackageGroupPattern;
+ /**
+ * The origin configuration restriction type of which to list allowed repositories.
+ */
+ originRestrictionType: PackageGroupOriginRestrictionType;
+ /**
+ * The maximum number of results to return per page.
+ */
+ maxResults?: ListAllowedRepositoriesForGroupMaxResults;
+ /**
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
+ */
+ nextToken?: PaginationToken;
+ }
+ export interface ListAllowedRepositoriesForGroupResult {
+ /**
+ * The list of allowed repositories for the package group and origin configuration restriction type.
+ */
+ allowedRepositories?: RepositoryNameList;
+ /**
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
+ */
+ nextToken?: PaginationToken;
+ }
+ export interface ListAssociatedPackagesRequest {
+ /**
+ * The name of the domain that contains the package group from which to list associated packages.
+ */
+ domain: DomainName;
+ /**
+ * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
+ */
+ domainOwner?: AccountId;
+ /**
+ * The pattern of the package group from which to list associated packages.
+ */
+ packageGroup: PackageGroupPattern;
+ /**
+ * The maximum number of results to return per page.
+ */
+ maxResults?: ListPackagesMaxResults;
+ /**
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
+ */
+ nextToken?: PaginationToken;
+ /**
+ * When this flag is included, ListAssociatedPackages will return a list of packages that would be associated with a package group, even if it does not exist.
+ */
+ preview?: BooleanOptional;
+ }
+ export interface ListAssociatedPackagesResult {
+ /**
+ * The list of packages associated with the requested package group.
+ */
+ packages?: AssociatedPackageList;
+ /**
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
+ */
+ nextToken?: PaginationToken;
+ }
export type ListDomainsMaxResults = number;
export interface ListDomainsRequest {
/**
@@ -1112,6 +1388,39 @@ declare namespace CodeArtifact {
*/
nextToken?: PaginationToken;
}
+ export type ListPackageGroupsMaxResults = number;
+ export interface ListPackageGroupsRequest {
+ /**
+ * The domain for which you want to list package groups.
+ */
+ domain: DomainName;
+ /**
+ * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
+ */
+ domainOwner?: AccountId;
+ /**
+ * The maximum number of results to return per page.
+ */
+ maxResults?: ListPackageGroupsMaxResults;
+ /**
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
+ */
+ nextToken?: PaginationToken;
+ /**
+ * A prefix for which to search package groups. When included, ListPackageGroups will return only package groups with patterns that match the prefix.
+ */
+ prefix?: PackageGroupPatternPrefix;
+ }
+ export interface ListPackageGroupsResult {
+ /**
+ * The list of package groups in the requested domain.
+ */
+ packageGroups?: PackageGroupSummaryList;
+ /**
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
+ */
+ nextToken?: PaginationToken;
+ }
export type ListPackageVersionAssetsMaxResults = number;
export interface ListPackageVersionAssetsRequest {
/**
@@ -1131,7 +1440,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the package version that contains the requested package version assets. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package version that contains the requested package version assets. The package component that specifies its namespace depends on its type. For example: The namespace is required requesting assets from package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1157,7 +1466,7 @@ declare namespace CodeArtifact {
*/
format?: PackageFormat;
/**
- * The namespace of the package version that contains the requested package version assets. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
+ * The namespace of the package version that contains the requested package version assets. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1199,7 +1508,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the package version with the requested dependencies. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package version with the requested dependencies. The package component that specifies its namespace depends on its type. For example: The namespace is required when listing dependencies from package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1221,7 +1530,7 @@ declare namespace CodeArtifact {
*/
format?: PackageFormat;
/**
- * The namespace of the package version that contains the returned dependencies. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
+ * The namespace of the package version that contains the returned dependencies. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1264,7 +1573,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example: The namespace is required when deleting package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1302,7 +1611,7 @@ declare namespace CodeArtifact {
*/
format?: PackageFormat;
/**
- * The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
+ * The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1337,7 +1646,7 @@ declare namespace CodeArtifact {
*/
format?: PackageFormat;
/**
- * The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace and not --namespace-prefix, it has prefix-matching behavior. Each package format uses namespace as follows: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace and not --namespace-prefix, it has prefix-matching behavior. Each package format uses namespace as follows: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1433,6 +1742,38 @@ declare namespace CodeArtifact {
*/
nextToken?: PaginationToken;
}
+ export interface ListSubPackageGroupsRequest {
+ /**
+ * The name of the domain which contains the package group from which to list sub package groups.
+ */
+ domain: DomainName;
+ /**
+ * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
+ */
+ domainOwner?: AccountId;
+ /**
+ * The pattern of the package group from which to list sub package groups.
+ */
+ packageGroup: PackageGroupPattern;
+ /**
+ * The maximum number of results to return per page.
+ */
+ maxResults?: ListPackageGroupsMaxResults;
+ /**
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
+ */
+ nextToken?: PaginationToken;
+ }
+ export interface ListSubPackageGroupsResult {
+ /**
+ * A list of sub package groups for the requested package group.
+ */
+ packageGroups?: PackageGroupSummaryList;
+ /**
+ * If there are additional results, this is the token for the next set of results.
+ */
+ nextToken?: PaginationToken;
+ }
export interface ListTagsForResourceRequest {
/**
* The Amazon Resource Name (ARN) of the resource to get tags for.
@@ -1447,9 +1788,10 @@ declare namespace CodeArtifact {
}
export type Long = number;
export type LongOptional = number;
+ export type OriginRestrictions = {[key: string]: PackageGroupOriginRestrictionMode};
export interface PackageDependency {
/**
- * The namespace of the package that this package depends on. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
+ * The namespace of the package that this package depends on. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1472,7 +1814,7 @@ declare namespace CodeArtifact {
*/
format?: PackageFormat;
/**
- * The namespace of the package. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1485,6 +1827,138 @@ declare namespace CodeArtifact {
originConfiguration?: PackageOriginConfiguration;
}
export type PackageFormat = "npm"|"pypi"|"maven"|"nuget"|"generic"|"swift"|string;
+ export interface PackageGroupAllowedRepository {
+ /**
+ * The name of the allowed repository.
+ */
+ repositoryName?: RepositoryName;
+ /**
+ * The origin configuration restriction type of the allowed repository.
+ */
+ originRestrictionType?: PackageGroupOriginRestrictionType;
+ }
+ export type PackageGroupAllowedRepositoryList = PackageGroupAllowedRepository[];
+ export type PackageGroupAllowedRepositoryUpdate = {[key: string]: RepositoryNameList};
+ export type PackageGroupAllowedRepositoryUpdateType = "ADDED"|"REMOVED"|string;
+ export type PackageGroupAllowedRepositoryUpdates = {[key: string]: PackageGroupAllowedRepositoryUpdate};
+ export type PackageGroupAssociationType = "STRONG"|"WEAK"|string;
+ export type PackageGroupContactInfo = string;
+ export interface PackageGroupDescription {
+ /**
+ * The ARN of the package group.
+ */
+ arn?: Arn;
+ /**
+ * The pattern of the package group. The pattern determines which packages are associated with the package group.
+ */
+ pattern?: PackageGroupPattern;
+ /**
+ * The name of the domain that contains the package group.
+ */
+ domainName?: DomainName;
+ /**
+ * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
+ */
+ domainOwner?: AccountId;
+ /**
+ * A timestamp that represents the date and time the package group was created.
+ */
+ createdTime?: Timestamp;
+ /**
+ * The contact information of the package group.
+ */
+ contactInfo?: PackageGroupContactInfo;
+ /**
+ * The description of the package group.
+ */
+ description?: Description;
+ /**
+ * The package group origin configuration that determines how package versions can enter repositories.
+ */
+ originConfiguration?: PackageGroupOriginConfiguration;
+ /**
+ * The direct parent package group of the package group.
+ */
+ parent?: PackageGroupReference;
+ }
+ export interface PackageGroupOriginConfiguration {
+ /**
+ * The origin configuration settings that determine how package versions can enter repositories.
+ */
+ restrictions?: PackageGroupOriginRestrictions;
+ }
+ export interface PackageGroupOriginRestriction {
+ /**
+ * The package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.
+ */
+ mode?: PackageGroupOriginRestrictionMode;
+ /**
+ * The effective package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value of mode is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.
+ */
+ effectiveMode?: PackageGroupOriginRestrictionMode;
+ /**
+ * The parent package group that the package group origin restrictions are inherited from.
+ */
+ inheritedFrom?: PackageGroupReference;
+ /**
+ * The number of repositories in the allowed repository list.
+ */
+ repositoriesCount?: LongOptional;
+ }
+ export type PackageGroupOriginRestrictionMode = "ALLOW"|"ALLOW_SPECIFIC_REPOSITORIES"|"BLOCK"|"INHERIT"|string;
+ export type PackageGroupOriginRestrictionType = "EXTERNAL_UPSTREAM"|"INTERNAL_UPSTREAM"|"PUBLISH"|string;
+ export type PackageGroupOriginRestrictions = {[key: string]: PackageGroupOriginRestriction};
+ export type PackageGroupPattern = string;
+ export type PackageGroupPatternPrefix = string;
+ export interface PackageGroupReference {
+ /**
+ * The ARN of the package group.
+ */
+ arn?: Arn;
+ /**
+ * The pattern of the package group. The pattern determines which packages are associated with the package group, and is also the identifier of the package group.
+ */
+ pattern?: PackageGroupPattern;
+ }
+ export interface PackageGroupSummary {
+ /**
+ * The ARN of the package group.
+ */
+ arn?: Arn;
+ /**
+ * The pattern of the package group. The pattern determines which packages are associated with the package group.
+ */
+ pattern?: PackageGroupPattern;
+ /**
+ * The domain that contains the package group.
+ */
+ domainName?: DomainName;
+ /**
+ * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
+ */
+ domainOwner?: AccountId;
+ /**
+ * A timestamp that represents the date and time the repository was created.
+ */
+ createdTime?: Timestamp;
+ /**
+ * The contact information of the package group.
+ */
+ contactInfo?: PackageGroupContactInfo;
+ /**
+ * The description of the package group.
+ */
+ description?: Description;
+ /**
+ * Details about the package origin configuration of a package group.
+ */
+ originConfiguration?: PackageGroupOriginConfiguration;
+ /**
+ * The direct parent package group of the package group.
+ */
+ parent?: PackageGroupReference;
+ }
+ export type PackageGroupSummaryList = PackageGroupSummary[];
export type PackageName = string;
export type PackageNamespace = string;
export interface PackageOriginConfiguration {
@@ -1509,7 +1983,7 @@ declare namespace CodeArtifact {
*/
format?: PackageFormat;
/**
- * The namespace of the package. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1529,7 +2003,7 @@ declare namespace CodeArtifact {
*/
format?: PackageFormat;
/**
- * The namespace of the package version. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package version. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1745,7 +2219,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
@@ -1845,6 +2319,7 @@ declare namespace CodeArtifact {
}
export type RepositoryExternalConnectionInfoList = RepositoryExternalConnectionInfo[];
export type RepositoryName = string;
+ export type RepositoryNameList = RepositoryName[];
export interface RepositorySummary {
/**
* The name of the repository.
@@ -1943,6 +2418,70 @@ declare namespace CodeArtifact {
}
export interface UntagResourceResult {
}
+ export interface UpdatePackageGroupOriginConfigurationRequest {
+ /**
+ * The name of the domain which contains the package group for which to update the origin configuration.
+ */
+ domain: DomainName;
+ /**
+ * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
+ */
+ domainOwner?: AccountId;
+ /**
+ * The pattern of the package group for which to update the origin configuration.
+ */
+ packageGroup: PackageGroupPattern;
+ /**
+ * The origin configuration settings that determine how package versions can enter repositories.
+ */
+ restrictions?: OriginRestrictions;
+ /**
+ * The repository name and restrictions to add to the allowed repository list of the specified package group.
+ */
+ addAllowedRepositories?: PackageGroupAllowedRepositoryList;
+ /**
+ * The repository name and restrictions to remove from the allowed repository list of the specified package group.
+ */
+ removeAllowedRepositories?: PackageGroupAllowedRepositoryList;
+ }
+ export interface UpdatePackageGroupOriginConfigurationResult {
+ /**
+ * The package group and information about it after processing the request.
+ */
+ packageGroup?: PackageGroupDescription;
+ /**
+ * Information about the updated allowed repositories after processing the request.
+ */
+ allowedRepositoryUpdates?: PackageGroupAllowedRepositoryUpdates;
+ }
+ export interface UpdatePackageGroupRequest {
+ /**
+ * The name of the domain which contains the package group to be updated.
+ */
+ domain: DomainName;
+ /**
+ * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
+ */
+ domainOwner?: AccountId;
+ /**
+ * The pattern of the package group to be updated.
+ */
+ packageGroup: PackageGroupPattern;
+ /**
+ * Contact information which you want to update the requested package group with.
+ */
+ contactInfo?: PackageGroupContactInfo;
+ /**
+ * The description you want to update the requested package group with.
+ */
+ description?: Description;
+ }
+ export interface UpdatePackageGroupResult {
+ /**
+ * The package group and information about it after the request has been processed.
+ */
+ packageGroup?: PackageGroupDescription;
+ }
export interface UpdatePackageVersionsStatusRequest {
/**
* The name of the domain that contains the repository that contains the package versions with a status to be updated.
@@ -1961,7 +2500,7 @@ declare namespace CodeArtifact {
*/
format: PackageFormat;
/**
- * The namespace of the package version to be updated. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace. The namespace of a generic package is its namespace.
+ * The namespace of the package version to be updated. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
*/
namespace?: PackageNamespace;
/**
diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js
index 5bad405ff2..cc03b894ec 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.1582.0',
+ VERSION: '2.1583.0',
/**
* @api private
diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js
index 3cefe77585..f5246e2931 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.1582.0',
+ VERSION: '2.1583.0',
/**
* @api private
@@ -59967,13 +59967,13 @@ return /******/ (function(modules) { // webpackBootstrap
/* 924 */
/***/ (function(module, exports) {
- module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-09-22","endpointPrefix":"codeartifact","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"CodeArtifact","serviceId":"codeartifact","signatureVersion":"v4","signingName":"codeartifact","uid":"codeartifact-2018-09-22"},"operations":{"AssociateExternalConnection":{"http":{"requestUri":"/v1/repository/external-connection"},"input":{"type":"structure","required":["domain","repository","externalConnection"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"externalConnection":{"location":"querystring","locationName":"external-connection"}}},"output":{"type":"structure","members":{"repository":{"shape":"S7"}}}},"CopyPackageVersions":{"http":{"requestUri":"/v1/package/versions/copy"},"input":{"type":"structure","required":["domain","sourceRepository","destinationRepository","format","package"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"sourceRepository":{"location":"querystring","locationName":"source-repository"},"destinationRepository":{"location":"querystring","locationName":"destination-repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"versions":{"shape":"Sk"},"versionRevisions":{"shape":"Sm"},"allowOverwrite":{"type":"boolean"},"includeFromUpstream":{"type":"boolean"}}},"output":{"type":"structure","members":{"successfulVersions":{"shape":"Sq"},"failedVersions":{"shape":"Su"}}}},"CreateDomain":{"http":{"requestUri":"/v1/domain"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"encryptionKey":{},"tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{"domain":{"shape":"S14"}}}},"CreateRepository":{"http":{"requestUri":"/v1/repository"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"description":{},"upstreams":{"shape":"S19"},"tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{"repository":{"shape":"S7"}}}},"DeleteDomain":{"http":{"method":"DELETE","requestUri":"/v1/domain"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"}}},"output":{"type":"structure","members":{"domain":{"shape":"S14"}}}},"DeleteDomainPermissionsPolicy":{"http":{"method":"DELETE","requestUri":"/v1/domain/permissions/policy"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"policyRevision":{"location":"querystring","locationName":"policy-revision"}}},"output":{"type":"structure","members":{"policy":{"shape":"S1h"}}}},"DeletePackage":{"http":{"method":"DELETE","requestUri":"/v1/package"},"input":{"type":"structure","required":["domain","repository","format","package"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"}}},"output":{"type":"structure","members":{"deletedPackage":{"shape":"S1l"}}}},"DeletePackageVersions":{"http":{"requestUri":"/v1/package/versions/delete"},"input":{"type":"structure","required":["domain","repository","format","package","versions"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"versions":{"shape":"Sk"},"expectedStatus":{}}},"output":{"type":"structure","members":{"successfulVersions":{"shape":"Sq"},"failedVersions":{"shape":"Su"}}}},"DeleteRepository":{"http":{"method":"DELETE","requestUri":"/v1/repository"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"}}},"output":{"type":"structure","members":{"repository":{"shape":"S7"}}}},"DeleteRepositoryPermissionsPolicy":{"http":{"method":"DELETE","requestUri":"/v1/repository/permissions/policies"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"policyRevision":{"location":"querystring","locationName":"policy-revision"}}},"output":{"type":"structure","members":{"policy":{"shape":"S1h"}}}},"DescribeDomain":{"http":{"method":"GET","requestUri":"/v1/domain"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"}}},"output":{"type":"structure","members":{"domain":{"shape":"S14"}}}},"DescribePackage":{"http":{"method":"GET","requestUri":"/v1/package"},"input":{"type":"structure","required":["domain","repository","format","package"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"}}},"output":{"type":"structure","required":["package"],"members":{"package":{"type":"structure","members":{"format":{},"namespace":{},"name":{},"originConfiguration":{"shape":"S1m"}}}}}},"DescribePackageVersion":{"http":{"method":"GET","requestUri":"/v1/package/version"},"input":{"type":"structure","required":["domain","repository","format","package","packageVersion"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"packageVersion":{"location":"querystring","locationName":"version"}}},"output":{"type":"structure","required":["packageVersion"],"members":{"packageVersion":{"type":"structure","members":{"format":{},"namespace":{},"packageName":{},"displayName":{},"version":{},"summary":{},"homePage":{},"sourceCodeRepository":{},"publishedTime":{"type":"timestamp"},"licenses":{"type":"list","member":{"type":"structure","members":{"name":{},"url":{}}}},"revision":{},"status":{},"origin":{"shape":"S27"}}}}}},"DescribeRepository":{"http":{"method":"GET","requestUri":"/v1/repository"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"}}},"output":{"type":"structure","members":{"repository":{"shape":"S7"}}}},"DisassociateExternalConnection":{"http":{"method":"DELETE","requestUri":"/v1/repository/external-connection"},"input":{"type":"structure","required":["domain","repository","externalConnection"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"externalConnection":{"location":"querystring","locationName":"external-connection"}}},"output":{"type":"structure","members":{"repository":{"shape":"S7"}}}},"DisposePackageVersions":{"http":{"requestUri":"/v1/package/versions/dispose"},"input":{"type":"structure","required":["domain","repository","format","package","versions"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"versions":{"shape":"Sk"},"versionRevisions":{"shape":"Sm"},"expectedStatus":{}}},"output":{"type":"structure","members":{"successfulVersions":{"shape":"Sq"},"failedVersions":{"shape":"Su"}}}},"GetAuthorizationToken":{"http":{"requestUri":"/v1/authorization-token"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"durationSeconds":{"location":"querystring","locationName":"duration","type":"long"}}},"output":{"type":"structure","members":{"authorizationToken":{},"expiration":{"type":"timestamp"}}}},"GetDomainPermissionsPolicy":{"http":{"method":"GET","requestUri":"/v1/domain/permissions/policy"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"}}},"output":{"type":"structure","members":{"policy":{"shape":"S1h"}}}},"GetPackageVersionAsset":{"http":{"method":"GET","requestUri":"/v1/package/version/asset"},"input":{"type":"structure","required":["domain","repository","format","package","packageVersion","asset"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"packageVersion":{"location":"querystring","locationName":"version"},"asset":{"location":"querystring","locationName":"asset"},"packageVersionRevision":{"location":"querystring","locationName":"revision"}}},"output":{"type":"structure","members":{"asset":{"shape":"S2o"},"assetName":{"location":"header","locationName":"X-AssetName"},"packageVersion":{"location":"header","locationName":"X-PackageVersion"},"packageVersionRevision":{"location":"header","locationName":"X-PackageVersionRevision"}},"payload":"asset"}},"GetPackageVersionReadme":{"http":{"method":"GET","requestUri":"/v1/package/version/readme"},"input":{"type":"structure","required":["domain","repository","format","package","packageVersion"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"packageVersion":{"location":"querystring","locationName":"version"}}},"output":{"type":"structure","members":{"format":{},"namespace":{},"package":{},"version":{},"versionRevision":{},"readme":{}}}},"GetRepositoryEndpoint":{"http":{"method":"GET","requestUri":"/v1/repository/endpoint"},"input":{"type":"structure","required":["domain","repository","format"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"}}},"output":{"type":"structure","members":{"repositoryEndpoint":{}}}},"GetRepositoryPermissionsPolicy":{"http":{"method":"GET","requestUri":"/v1/repository/permissions/policy"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"}}},"output":{"type":"structure","members":{"policy":{"shape":"S1h"}}}},"ListDomains":{"http":{"requestUri":"/v1/domains"},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"domains":{"type":"list","member":{"type":"structure","members":{"name":{},"owner":{},"arn":{},"status":{},"createdTime":{"type":"timestamp"},"encryptionKey":{}}}},"nextToken":{}}}},"ListPackageVersionAssets":{"http":{"requestUri":"/v1/package/version/assets"},"input":{"type":"structure","required":["domain","repository","format","package","packageVersion"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"packageVersion":{"location":"querystring","locationName":"version"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"format":{},"namespace":{},"package":{},"version":{},"versionRevision":{},"nextToken":{},"assets":{"type":"list","member":{"shape":"S35"}}}}},"ListPackageVersionDependencies":{"http":{"requestUri":"/v1/package/version/dependencies"},"input":{"type":"structure","required":["domain","repository","format","package","packageVersion"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"packageVersion":{"location":"querystring","locationName":"version"},"nextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"format":{},"namespace":{},"package":{},"version":{},"versionRevision":{},"nextToken":{},"dependencies":{"type":"list","member":{"type":"structure","members":{"namespace":{},"package":{},"dependencyType":{},"versionRequirement":{}}}}}}},"ListPackageVersions":{"http":{"requestUri":"/v1/package/versions"},"input":{"type":"structure","required":["domain","repository","format","package"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"status":{"location":"querystring","locationName":"status"},"sortBy":{"location":"querystring","locationName":"sortBy"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"},"originType":{"location":"querystring","locationName":"originType"}}},"output":{"type":"structure","members":{"defaultDisplayVersion":{},"format":{},"namespace":{},"package":{},"versions":{"type":"list","member":{"type":"structure","required":["version","status"],"members":{"version":{},"revision":{},"status":{},"origin":{"shape":"S27"}}}},"nextToken":{}}}},"ListPackages":{"http":{"requestUri":"/v1/packages"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"packagePrefix":{"location":"querystring","locationName":"package-prefix"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"},"publish":{"location":"querystring","locationName":"publish"},"upstream":{"location":"querystring","locationName":"upstream"}}},"output":{"type":"structure","members":{"packages":{"type":"list","member":{"shape":"S1l"}},"nextToken":{}}}},"ListRepositories":{"http":{"requestUri":"/v1/repositories"},"input":{"type":"structure","members":{"repositoryPrefix":{"location":"querystring","locationName":"repository-prefix"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"repositories":{"shape":"S3r"},"nextToken":{}}}},"ListRepositoriesInDomain":{"http":{"requestUri":"/v1/domain/repositories"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"administratorAccount":{"location":"querystring","locationName":"administrator-account"},"repositoryPrefix":{"location":"querystring","locationName":"repository-prefix"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"repositories":{"shape":"S3r"},"nextToken":{}}}},"ListTagsForResource":{"http":{"requestUri":"/v1/tags"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"Sz"}}}},"PublishPackageVersion":{"http":{"requestUri":"/v1/package/version/publish"},"input":{"type":"structure","required":["domain","repository","format","package","packageVersion","assetContent","assetName","assetSHA256"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"packageVersion":{"location":"querystring","locationName":"version"},"assetContent":{"shape":"S2o"},"assetName":{"location":"querystring","locationName":"asset"},"assetSHA256":{"location":"header","locationName":"x-amz-content-sha256"},"unfinished":{"location":"querystring","locationName":"unfinished","type":"boolean"}},"payload":"assetContent"},"output":{"type":"structure","members":{"format":{},"namespace":{},"package":{},"version":{},"versionRevision":{},"status":{},"asset":{"shape":"S35"}}}},"PutDomainPermissionsPolicy":{"http":{"method":"PUT","requestUri":"/v1/domain/permissions/policy"},"input":{"type":"structure","required":["domain","policyDocument"],"members":{"domain":{},"domainOwner":{},"policyRevision":{},"policyDocument":{}}},"output":{"type":"structure","members":{"policy":{"shape":"S1h"}}}},"PutPackageOriginConfiguration":{"http":{"requestUri":"/v1/package"},"input":{"type":"structure","required":["domain","repository","format","package","restrictions"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"restrictions":{"shape":"S1n"}}},"output":{"type":"structure","members":{"originConfiguration":{"shape":"S1m"}}}},"PutRepositoryPermissionsPolicy":{"http":{"method":"PUT","requestUri":"/v1/repository/permissions/policy"},"input":{"type":"structure","required":["domain","repository","policyDocument"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"policyRevision":{},"policyDocument":{}}},"output":{"type":"structure","members":{"policy":{"shape":"S1h"}}}},"TagResource":{"http":{"requestUri":"/v1/tag"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"},"tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"requestUri":"/v1/untag"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"},"tagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdatePackageVersionsStatus":{"http":{"requestUri":"/v1/package/versions/update_status"},"input":{"type":"structure","required":["domain","repository","format","package","versions","targetStatus"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"versions":{"shape":"Sk"},"versionRevisions":{"shape":"Sm"},"expectedStatus":{},"targetStatus":{}}},"output":{"type":"structure","members":{"successfulVersions":{"shape":"Sq"},"failedVersions":{"shape":"Su"}}}},"UpdateRepository":{"http":{"method":"PUT","requestUri":"/v1/repository"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"description":{},"upstreams":{"shape":"S19"}}},"output":{"type":"structure","members":{"repository":{"shape":"S7"}}}}},"shapes":{"S7":{"type":"structure","members":{"name":{},"administratorAccount":{},"domainName":{},"domainOwner":{},"arn":{},"description":{},"upstreams":{"type":"list","member":{"type":"structure","members":{"repositoryName":{}}}},"externalConnections":{"type":"list","member":{"type":"structure","members":{"externalConnectionName":{},"packageFormat":{},"status":{}}}},"createdTime":{"type":"timestamp"}}},"Sk":{"type":"list","member":{}},"Sm":{"type":"map","key":{},"value":{}},"Sq":{"type":"map","key":{},"value":{"type":"structure","members":{"revision":{},"status":{}}}},"Su":{"type":"map","key":{},"value":{"type":"structure","members":{"errorCode":{},"errorMessage":{}}}},"Sz":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"S14":{"type":"structure","members":{"name":{},"owner":{},"arn":{},"status":{},"createdTime":{"type":"timestamp"},"encryptionKey":{},"repositoryCount":{"type":"integer"},"assetSizeBytes":{"type":"long"},"s3BucketArn":{}}},"S19":{"type":"list","member":{"type":"structure","required":["repositoryName"],"members":{"repositoryName":{}}}},"S1h":{"type":"structure","members":{"resourceArn":{},"revision":{},"document":{}}},"S1l":{"type":"structure","members":{"format":{},"namespace":{},"package":{},"originConfiguration":{"shape":"S1m"}}},"S1m":{"type":"structure","members":{"restrictions":{"shape":"S1n"}}},"S1n":{"type":"structure","required":["publish","upstream"],"members":{"publish":{},"upstream":{}}},"S27":{"type":"structure","members":{"domainEntryPoint":{"type":"structure","members":{"repositoryName":{},"externalConnectionName":{}}},"originType":{}}},"S2o":{"type":"blob","streaming":true},"S35":{"type":"structure","required":["name"],"members":{"name":{},"size":{"type":"long"},"hashes":{"type":"map","key":{},"value":{}}}},"S3r":{"type":"list","member":{"type":"structure","members":{"name":{},"administratorAccount":{},"domainName":{},"domainOwner":{},"arn":{},"description":{},"createdTime":{"type":"timestamp"}}}}}}
+ module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-09-22","endpointPrefix":"codeartifact","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"CodeArtifact","serviceId":"codeartifact","signatureVersion":"v4","signingName":"codeartifact","uid":"codeartifact-2018-09-22"},"operations":{"AssociateExternalConnection":{"http":{"requestUri":"/v1/repository/external-connection"},"input":{"type":"structure","required":["domain","repository","externalConnection"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"externalConnection":{"location":"querystring","locationName":"external-connection"}}},"output":{"type":"structure","members":{"repository":{"shape":"S7"}}}},"CopyPackageVersions":{"http":{"requestUri":"/v1/package/versions/copy"},"input":{"type":"structure","required":["domain","sourceRepository","destinationRepository","format","package"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"sourceRepository":{"location":"querystring","locationName":"source-repository"},"destinationRepository":{"location":"querystring","locationName":"destination-repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"versions":{"shape":"Sk"},"versionRevisions":{"shape":"Sm"},"allowOverwrite":{"type":"boolean"},"includeFromUpstream":{"type":"boolean"}}},"output":{"type":"structure","members":{"successfulVersions":{"shape":"Sq"},"failedVersions":{"shape":"Su"}}}},"CreateDomain":{"http":{"requestUri":"/v1/domain"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"encryptionKey":{},"tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{"domain":{"shape":"S14"}}}},"CreatePackageGroup":{"http":{"requestUri":"/v1/package-group"},"input":{"type":"structure","required":["domain","packageGroup"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"packageGroup":{},"contactInfo":{},"description":{},"tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{"packageGroup":{"shape":"S1c"}}}},"CreateRepository":{"http":{"requestUri":"/v1/repository"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"description":{},"upstreams":{"shape":"S1l"},"tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{"repository":{"shape":"S7"}}}},"DeleteDomain":{"http":{"method":"DELETE","requestUri":"/v1/domain"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"}}},"output":{"type":"structure","members":{"domain":{"shape":"S14"}}}},"DeleteDomainPermissionsPolicy":{"http":{"method":"DELETE","requestUri":"/v1/domain/permissions/policy"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"policyRevision":{"location":"querystring","locationName":"policy-revision"}}},"output":{"type":"structure","members":{"policy":{"shape":"S1t"}}}},"DeletePackage":{"http":{"method":"DELETE","requestUri":"/v1/package"},"input":{"type":"structure","required":["domain","repository","format","package"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"}}},"output":{"type":"structure","members":{"deletedPackage":{"shape":"S1x"}}}},"DeletePackageGroup":{"http":{"method":"DELETE","requestUri":"/v1/package-group"},"input":{"type":"structure","required":["domain","packageGroup"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"packageGroup":{"location":"querystring","locationName":"package-group"}}},"output":{"type":"structure","members":{"packageGroup":{"shape":"S1c"}}},"idempotent":true},"DeletePackageVersions":{"http":{"requestUri":"/v1/package/versions/delete"},"input":{"type":"structure","required":["domain","repository","format","package","versions"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"versions":{"shape":"Sk"},"expectedStatus":{}}},"output":{"type":"structure","members":{"successfulVersions":{"shape":"Sq"},"failedVersions":{"shape":"Su"}}}},"DeleteRepository":{"http":{"method":"DELETE","requestUri":"/v1/repository"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"}}},"output":{"type":"structure","members":{"repository":{"shape":"S7"}}}},"DeleteRepositoryPermissionsPolicy":{"http":{"method":"DELETE","requestUri":"/v1/repository/permissions/policies"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"policyRevision":{"location":"querystring","locationName":"policy-revision"}}},"output":{"type":"structure","members":{"policy":{"shape":"S1t"}}}},"DescribeDomain":{"http":{"method":"GET","requestUri":"/v1/domain"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"}}},"output":{"type":"structure","members":{"domain":{"shape":"S14"}}}},"DescribePackage":{"http":{"method":"GET","requestUri":"/v1/package"},"input":{"type":"structure","required":["domain","repository","format","package"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"}}},"output":{"type":"structure","required":["package"],"members":{"package":{"type":"structure","members":{"format":{},"namespace":{},"name":{},"originConfiguration":{"shape":"S1y"}}}}}},"DescribePackageGroup":{"http":{"method":"GET","requestUri":"/v1/package-group"},"input":{"type":"structure","required":["domain","packageGroup"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"packageGroup":{"location":"querystring","locationName":"package-group"}}},"output":{"type":"structure","members":{"packageGroup":{"shape":"S1c"}}}},"DescribePackageVersion":{"http":{"method":"GET","requestUri":"/v1/package/version"},"input":{"type":"structure","required":["domain","repository","format","package","packageVersion"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"packageVersion":{"location":"querystring","locationName":"version"}}},"output":{"type":"structure","required":["packageVersion"],"members":{"packageVersion":{"type":"structure","members":{"format":{},"namespace":{},"packageName":{},"displayName":{},"version":{},"summary":{},"homePage":{},"sourceCodeRepository":{},"publishedTime":{"type":"timestamp"},"licenses":{"type":"list","member":{"type":"structure","members":{"name":{},"url":{}}}},"revision":{},"status":{},"origin":{"shape":"S2n"}}}}}},"DescribeRepository":{"http":{"method":"GET","requestUri":"/v1/repository"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"}}},"output":{"type":"structure","members":{"repository":{"shape":"S7"}}}},"DisassociateExternalConnection":{"http":{"method":"DELETE","requestUri":"/v1/repository/external-connection"},"input":{"type":"structure","required":["domain","repository","externalConnection"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"externalConnection":{"location":"querystring","locationName":"external-connection"}}},"output":{"type":"structure","members":{"repository":{"shape":"S7"}}}},"DisposePackageVersions":{"http":{"requestUri":"/v1/package/versions/dispose"},"input":{"type":"structure","required":["domain","repository","format","package","versions"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"versions":{"shape":"Sk"},"versionRevisions":{"shape":"Sm"},"expectedStatus":{}}},"output":{"type":"structure","members":{"successfulVersions":{"shape":"Sq"},"failedVersions":{"shape":"Su"}}}},"GetAssociatedPackageGroup":{"http":{"method":"GET","requestUri":"/v1/get-associated-package-group"},"input":{"type":"structure","required":["domain","format","package"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"}}},"output":{"type":"structure","members":{"packageGroup":{"shape":"S1c"},"associationType":{}}}},"GetAuthorizationToken":{"http":{"requestUri":"/v1/authorization-token"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"durationSeconds":{"location":"querystring","locationName":"duration","type":"long"}}},"output":{"type":"structure","members":{"authorizationToken":{},"expiration":{"type":"timestamp"}},"sensitive":true}},"GetDomainPermissionsPolicy":{"http":{"method":"GET","requestUri":"/v1/domain/permissions/policy"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"}}},"output":{"type":"structure","members":{"policy":{"shape":"S1t"}}}},"GetPackageVersionAsset":{"http":{"method":"GET","requestUri":"/v1/package/version/asset"},"input":{"type":"structure","required":["domain","repository","format","package","packageVersion","asset"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"packageVersion":{"location":"querystring","locationName":"version"},"asset":{"location":"querystring","locationName":"asset"},"packageVersionRevision":{"location":"querystring","locationName":"revision"}}},"output":{"type":"structure","members":{"asset":{"shape":"S37"},"assetName":{"location":"header","locationName":"X-AssetName"},"packageVersion":{"location":"header","locationName":"X-PackageVersion"},"packageVersionRevision":{"location":"header","locationName":"X-PackageVersionRevision"}},"payload":"asset"}},"GetPackageVersionReadme":{"http":{"method":"GET","requestUri":"/v1/package/version/readme"},"input":{"type":"structure","required":["domain","repository","format","package","packageVersion"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"packageVersion":{"location":"querystring","locationName":"version"}}},"output":{"type":"structure","members":{"format":{},"namespace":{},"package":{},"version":{},"versionRevision":{},"readme":{}}}},"GetRepositoryEndpoint":{"http":{"method":"GET","requestUri":"/v1/repository/endpoint"},"input":{"type":"structure","required":["domain","repository","format"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"}}},"output":{"type":"structure","members":{"repositoryEndpoint":{}}}},"GetRepositoryPermissionsPolicy":{"http":{"method":"GET","requestUri":"/v1/repository/permissions/policy"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"}}},"output":{"type":"structure","members":{"policy":{"shape":"S1t"}}}},"ListAllowedRepositoriesForGroup":{"http":{"method":"GET","requestUri":"/v1/package-group-allowed-repositories"},"input":{"type":"structure","required":["domain","packageGroup","originRestrictionType"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"packageGroup":{"location":"querystring","locationName":"package-group"},"originRestrictionType":{"location":"querystring","locationName":"originRestrictionType"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"allowedRepositories":{"shape":"S3i"},"nextToken":{}}}},"ListAssociatedPackages":{"http":{"method":"GET","requestUri":"/v1/list-associated-packages"},"input":{"type":"structure","required":["domain","packageGroup"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"packageGroup":{"location":"querystring","locationName":"package-group"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"},"preview":{"location":"querystring","locationName":"preview","type":"boolean"}}},"output":{"type":"structure","members":{"packages":{"type":"list","member":{"type":"structure","members":{"format":{},"namespace":{},"package":{},"associationType":{}}}},"nextToken":{}}}},"ListDomains":{"http":{"requestUri":"/v1/domains"},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"domains":{"type":"list","member":{"type":"structure","members":{"name":{},"owner":{},"arn":{},"status":{},"createdTime":{"type":"timestamp"},"encryptionKey":{}}}},"nextToken":{}}}},"ListPackageGroups":{"http":{"requestUri":"/v1/package-groups"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"},"prefix":{"location":"querystring","locationName":"prefix"}}},"output":{"type":"structure","members":{"packageGroups":{"shape":"S3x"},"nextToken":{}}}},"ListPackageVersionAssets":{"http":{"requestUri":"/v1/package/version/assets"},"input":{"type":"structure","required":["domain","repository","format","package","packageVersion"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"packageVersion":{"location":"querystring","locationName":"version"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"format":{},"namespace":{},"package":{},"version":{},"versionRevision":{},"nextToken":{},"assets":{"type":"list","member":{"shape":"S43"}}}}},"ListPackageVersionDependencies":{"http":{"requestUri":"/v1/package/version/dependencies"},"input":{"type":"structure","required":["domain","repository","format","package","packageVersion"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"packageVersion":{"location":"querystring","locationName":"version"},"nextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"format":{},"namespace":{},"package":{},"version":{},"versionRevision":{},"nextToken":{},"dependencies":{"type":"list","member":{"type":"structure","members":{"namespace":{},"package":{},"dependencyType":{},"versionRequirement":{}}}}}}},"ListPackageVersions":{"http":{"requestUri":"/v1/package/versions"},"input":{"type":"structure","required":["domain","repository","format","package"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"status":{"location":"querystring","locationName":"status"},"sortBy":{"location":"querystring","locationName":"sortBy"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"},"originType":{"location":"querystring","locationName":"originType"}}},"output":{"type":"structure","members":{"defaultDisplayVersion":{},"format":{},"namespace":{},"package":{},"versions":{"type":"list","member":{"type":"structure","required":["version","status"],"members":{"version":{},"revision":{},"status":{},"origin":{"shape":"S2n"}}}},"nextToken":{}}}},"ListPackages":{"http":{"requestUri":"/v1/packages"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"packagePrefix":{"location":"querystring","locationName":"package-prefix"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"},"publish":{"location":"querystring","locationName":"publish"},"upstream":{"location":"querystring","locationName":"upstream"}}},"output":{"type":"structure","members":{"packages":{"type":"list","member":{"shape":"S1x"}},"nextToken":{}}}},"ListRepositories":{"http":{"requestUri":"/v1/repositories"},"input":{"type":"structure","members":{"repositoryPrefix":{"location":"querystring","locationName":"repository-prefix"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"repositories":{"shape":"S4n"},"nextToken":{}}}},"ListRepositoriesInDomain":{"http":{"requestUri":"/v1/domain/repositories"},"input":{"type":"structure","required":["domain"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"administratorAccount":{"location":"querystring","locationName":"administrator-account"},"repositoryPrefix":{"location":"querystring","locationName":"repository-prefix"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"repositories":{"shape":"S4n"},"nextToken":{}}}},"ListSubPackageGroups":{"http":{"requestUri":"/v1/package-groups/sub-groups"},"input":{"type":"structure","required":["domain","packageGroup"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"packageGroup":{"location":"querystring","locationName":"package-group"},"maxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"nextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"packageGroups":{"shape":"S3x"},"nextToken":{}}}},"ListTagsForResource":{"http":{"requestUri":"/v1/tags"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"Sz"}}}},"PublishPackageVersion":{"http":{"requestUri":"/v1/package/version/publish"},"input":{"type":"structure","required":["domain","repository","format","package","packageVersion","assetContent","assetName","assetSHA256"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"packageVersion":{"location":"querystring","locationName":"version"},"assetContent":{"shape":"S37"},"assetName":{"location":"querystring","locationName":"asset"},"assetSHA256":{"location":"header","locationName":"x-amz-content-sha256"},"unfinished":{"location":"querystring","locationName":"unfinished","type":"boolean"}},"payload":"assetContent"},"output":{"type":"structure","members":{"format":{},"namespace":{},"package":{},"version":{},"versionRevision":{},"status":{},"asset":{"shape":"S43"}}}},"PutDomainPermissionsPolicy":{"http":{"method":"PUT","requestUri":"/v1/domain/permissions/policy"},"input":{"type":"structure","required":["domain","policyDocument"],"members":{"domain":{},"domainOwner":{},"policyRevision":{},"policyDocument":{}}},"output":{"type":"structure","members":{"policy":{"shape":"S1t"}}}},"PutPackageOriginConfiguration":{"http":{"requestUri":"/v1/package"},"input":{"type":"structure","required":["domain","repository","format","package","restrictions"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"restrictions":{"shape":"S1z"}}},"output":{"type":"structure","members":{"originConfiguration":{"shape":"S1y"}}}},"PutRepositoryPermissionsPolicy":{"http":{"method":"PUT","requestUri":"/v1/repository/permissions/policy"},"input":{"type":"structure","required":["domain","repository","policyDocument"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"policyRevision":{},"policyDocument":{}}},"output":{"type":"structure","members":{"policy":{"shape":"S1t"}}}},"TagResource":{"http":{"requestUri":"/v1/tag"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"},"tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"requestUri":"/v1/untag"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"},"tagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdatePackageGroup":{"http":{"method":"PUT","requestUri":"/v1/package-group"},"input":{"type":"structure","required":["domain","packageGroup"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"packageGroup":{},"contactInfo":{},"description":{}}},"output":{"type":"structure","members":{"packageGroup":{"shape":"S1c"}}},"idempotent":true},"UpdatePackageGroupOriginConfiguration":{"http":{"method":"PUT","requestUri":"/v1/package-group-origin-configuration"},"input":{"type":"structure","required":["domain","packageGroup"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"packageGroup":{"location":"querystring","locationName":"package-group"},"restrictions":{"type":"map","key":{},"value":{}},"addAllowedRepositories":{"shape":"S5e"},"removeAllowedRepositories":{"shape":"S5e"}}},"output":{"type":"structure","members":{"packageGroup":{"shape":"S1c"},"allowedRepositoryUpdates":{"type":"map","key":{},"value":{"type":"map","key":{},"value":{"shape":"S3i"}}}}},"idempotent":true},"UpdatePackageVersionsStatus":{"http":{"requestUri":"/v1/package/versions/update_status"},"input":{"type":"structure","required":["domain","repository","format","package","versions","targetStatus"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"format":{"location":"querystring","locationName":"format"},"namespace":{"location":"querystring","locationName":"namespace"},"package":{"location":"querystring","locationName":"package"},"versions":{"shape":"Sk"},"versionRevisions":{"shape":"Sm"},"expectedStatus":{},"targetStatus":{}}},"output":{"type":"structure","members":{"successfulVersions":{"shape":"Sq"},"failedVersions":{"shape":"Su"}}}},"UpdateRepository":{"http":{"method":"PUT","requestUri":"/v1/repository"},"input":{"type":"structure","required":["domain","repository"],"members":{"domain":{"location":"querystring","locationName":"domain"},"domainOwner":{"location":"querystring","locationName":"domain-owner"},"repository":{"location":"querystring","locationName":"repository"},"description":{},"upstreams":{"shape":"S1l"}}},"output":{"type":"structure","members":{"repository":{"shape":"S7"}}}}},"shapes":{"S7":{"type":"structure","members":{"name":{},"administratorAccount":{},"domainName":{},"domainOwner":{},"arn":{},"description":{},"upstreams":{"type":"list","member":{"type":"structure","members":{"repositoryName":{}}}},"externalConnections":{"type":"list","member":{"type":"structure","members":{"externalConnectionName":{},"packageFormat":{},"status":{}}}},"createdTime":{"type":"timestamp"}}},"Sk":{"type":"list","member":{}},"Sm":{"type":"map","key":{},"value":{}},"Sq":{"type":"map","key":{},"value":{"type":"structure","members":{"revision":{},"status":{}}}},"Su":{"type":"map","key":{},"value":{"type":"structure","members":{"errorCode":{},"errorMessage":{}}}},"Sz":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"S14":{"type":"structure","members":{"name":{},"owner":{},"arn":{},"status":{},"createdTime":{"type":"timestamp"},"encryptionKey":{},"repositoryCount":{"type":"integer"},"assetSizeBytes":{"type":"long"},"s3BucketArn":{}}},"S1c":{"type":"structure","members":{"arn":{},"pattern":{},"domainName":{},"domainOwner":{},"createdTime":{"type":"timestamp"},"contactInfo":{},"description":{},"originConfiguration":{"shape":"S1d"},"parent":{"shape":"S1i"}}},"S1d":{"type":"structure","members":{"restrictions":{"type":"map","key":{},"value":{"type":"structure","members":{"mode":{},"effectiveMode":{},"inheritedFrom":{"shape":"S1i"},"repositoriesCount":{"type":"long"}}}}}},"S1i":{"type":"structure","members":{"arn":{},"pattern":{}}},"S1l":{"type":"list","member":{"type":"structure","required":["repositoryName"],"members":{"repositoryName":{}}}},"S1t":{"type":"structure","members":{"resourceArn":{},"revision":{},"document":{}}},"S1x":{"type":"structure","members":{"format":{},"namespace":{},"package":{},"originConfiguration":{"shape":"S1y"}}},"S1y":{"type":"structure","members":{"restrictions":{"shape":"S1z"}}},"S1z":{"type":"structure","required":["publish","upstream"],"members":{"publish":{},"upstream":{}}},"S2n":{"type":"structure","members":{"domainEntryPoint":{"type":"structure","members":{"repositoryName":{},"externalConnectionName":{}}},"originType":{}}},"S37":{"type":"blob","streaming":true},"S3i":{"type":"list","member":{}},"S3x":{"type":"list","member":{"type":"structure","members":{"arn":{},"pattern":{},"domainName":{},"domainOwner":{},"createdTime":{"type":"timestamp"},"contactInfo":{},"description":{},"originConfiguration":{"shape":"S1d"},"parent":{"shape":"S1i"}}}},"S43":{"type":"structure","required":["name"],"members":{"name":{},"size":{"type":"long"},"hashes":{"type":"map","key":{},"value":{}}}},"S4n":{"type":"list","member":{"type":"structure","members":{"name":{},"administratorAccount":{},"domainName":{},"domainOwner":{},"arn":{},"description":{},"createdTime":{"type":"timestamp"}}}},"S5e":{"type":"list","member":{"type":"structure","members":{"repositoryName":{},"originRestrictionType":{}}}}}}
/***/ }),
/* 925 */
/***/ (function(module, exports) {
- module.exports = {"pagination":{"ListDomains":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"domains"},"ListPackageVersionAssets":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"assets"},"ListPackageVersions":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"versions"},"ListPackages":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"packages"},"ListRepositories":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"repositories"},"ListRepositoriesInDomain":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"repositories"}}}
+ module.exports = {"pagination":{"ListAllowedRepositoriesForGroup":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"allowedRepositories"},"ListAssociatedPackages":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"packages"},"ListDomains":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"domains"},"ListPackageGroups":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"packageGroups"},"ListPackageVersionAssets":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"assets"},"ListPackageVersions":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"versions"},"ListPackages":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"packages"},"ListRepositories":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"repositories"},"ListRepositoriesInDomain":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"repositories"},"ListSubPackageGroups":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"packageGroups"}}}
/***/ }),
/* 926 */
diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js
index ede417c00c..705f83d53e 100644
--- a/dist/aws-sdk.js
+++ b/dist/aws-sdk.js
@@ -1,4 +1,4 @@
-// AWS SDK for JavaScript v2.1582.0
+// AWS SDK for JavaScript v2.1583.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.1582.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.1583.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+="[33m"),l+="[AWS "+a.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+="[0;1m"),l+=" "+i.util.string.lowerFirst(a.operation),l+="("+c+")",u&&(l+="[0m"),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