diff --git a/CHANGELOG.md b/CHANGELOG.md index 8881a4302c6..7c1425d6532 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +Release v1.38.2 (2021-03-22) +=== + +### Service Client Updates +* `service/codeartifact`: Updates service documentation +* `service/ec2`: Updates service API and documentation + * This release adds support for UEFI boot on selected AMD- and Intel-based EC2 instances. +* `service/macie2`: Updates service API and documentation +* `service/redshift`: Updates service API and documentation + * Added support to enable AQUA in Amazon Redshift clusters. + Release v1.38.1 (2021-03-19) === diff --git a/aws/version.go b/aws/version.go index 3f67c7cb7cf..7c62743eb53 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.38.1" +const SDKVersion = "1.38.2" diff --git a/models/apis/codeartifact/2018-09-22/docs-2.json b/models/apis/codeartifact/2018-09-22/docs-2.json index 0f485eeac95..5e545462c76 100644 --- a/models/apis/codeartifact/2018-09-22/docs-2.json +++ b/models/apis/codeartifact/2018-09-22/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "
AWS CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, NuGet, and pip. 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.
AWS 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 NuGet
CLI, the Maven CLI ( mvn
), and pip
.
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 AWS Key Management Service (AWS 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.
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.
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:
npm
pypi
maven
nuget
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 AWS account that called this method.
ListRepositoriesInDomain
: Returns a list of the repositories in a domain.
ListTagsForResource
: Returns a list of the tags associated with a resource.
PutDomainPermissionsPolicy
: Attaches a resource policy to a domain.
PutRepositoryPermissionsPolicy
: Sets the resource policy on a repository that specifies permissions to access it.
TagResource
: Adds or updates tags for a resource.
UntagResource
: Removes a tag from a resource.
UpdatePackageVersionsStatus
: Updates the status of one or more versions of a package.
UpdateRepository
: Updates the properties of a repository.
AWS CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, and pip. 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.
AWS 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
), and pip
.
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 AWS Key Management Service (AWS 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, and Maven 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.
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.
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:
npm
pypi
maven
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 AWS account that called this method.
ListRepositoriesInDomain
: Returns a list of the repositories in a domain.
PutDomainPermissionsPolicy
: Attaches a resource policy to a domain.
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.
Adds an existing external connection to a repository. One external connection is allowed per repository.
A repository can have one or more upstream repositories, or an external connection.
Copies package versions from one repository to another repository in the same domain.
You must specify versions
or versionRevisions
. You cannot specify both.
Creates a repository.
", "DeleteDomain": "Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain with repositories, first delete its repositories.
", "DeleteDomainPermissionsPolicy": "Deletes the resource policy set on a domain.
", - "DeletePackageVersions": " 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, ListackageVersions
), but you can restore them using UpdatePackageVersionsStatus
.
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, ListackageVersions), but you can restore them using UpdatePackageVersionsStatus.
Deletes a repository.
", "DeleteRepositoryPermissionsPolicy": "Deletes the resource policy that is set on a repository. After a resource policy is deleted, the permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.
Use DeleteRepositoryPermissionsPolicy
with caution. After a policy is deleted, AWS users, roles, and accounts lose permissions to perform the repository actions granted by the deleted policy.
Returns a DomainDescription
object that contains information about the requested domain.
Returns the resource policy attached to the specified domain.
The policy is a resource-based policy, not an identity-based policy. For more information, see Identity-based policies and resource-based policies in the AWS Identity and Access Management User Guide.
Returns an asset (or file) that is in a package. For example, for a Maven package version, use GetPackageVersionAsset
to download a JAR
file, a POM
file, or any other assets in the package version.
Gets the readme file or descriptive text for a package version. For packages that do not contain a readme file, CodeArtifact extracts a description from a metadata file. For example, from the <description>
element in the pom.xml
file of a Maven package.
The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.
", - "GetRepositoryEndpoint": "Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:
npm
pypi
maven
nuget
Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:
npm
pypi
maven
Returns the resource policy that is set on a repository.
", - "ListDomains": " Returns a list of DomainSummary
objects for all domains owned by the AWS account that makes this call. Each returned DomainSummary
object contains information about a domain.
Returns a list of DomainSummary objects for all domains owned by the AWS account that makes this call. Each returned DomainSummary
object contains information about a domain.
Returns a list of AssetSummary
objects for assets in a package version.
Returns the direct dependencies for a package version. The dependencies are returned as PackageDependency
objects. CodeArtifact extracts the dependencies for a package version from the metadata file for the package format (for example, the package.json
file for npm packages and the pom.xml
file for Maven). Any package version dependencies that are not listed in the configuration file are not returned.
Returns a list of PackageVersionSummary
objects for package versions in a repository that match the request parameters.
The name of the domain that contains the repository.
", "CopyPackageVersionsRequest$domain": "The name of the domain that contains the source and destination repositories.
", "CreateDomainRequest$domain": "The name of the domain to create. All domain names in an AWS Region that are in the same AWS 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.
", - "CreateRepositoryRequest$domain": "The domain that contains the created repository.
", + "CreateRepositoryRequest$domain": "The name of the domain that contains the created repository.
", "DeleteDomainPermissionsPolicyRequest$domain": "The name of the domain associated with the resource policy to be deleted.
", "DeleteDomainRequest$domain": "The name of the domain to delete.
", "DeletePackageVersionsRequest$domain": "The name of the domain that contains the package to delete.
", @@ -328,20 +328,20 @@ "DomainSummary$name": "The name of the domain.
", "GetAuthorizationTokenRequest$domain": "The name of the domain that is in scope for the generated authorization token.
", "GetDomainPermissionsPolicyRequest$domain": "The name of the domain to which the resource policy is attached.
", - "GetPackageVersionAssetRequest$domain": "The domain that contains the repository that contains the package version with the requested asset.
", + "GetPackageVersionAssetRequest$domain": "The name of the domain that contains the repository that contains the package version with the requested asset.
", "GetPackageVersionReadmeRequest$domain": "The name of the domain that contains the repository that contains the package version with the requested readme file.
", "GetRepositoryEndpointRequest$domain": "The name of the domain that contains the repository.
", "GetRepositoryPermissionsPolicyRequest$domain": "The name of the domain containing the repository whose associated resource policy is to be retrieved.
", "ListPackageVersionAssetsRequest$domain": "The name of the domain that contains the repository associated with the package version assets.
", - "ListPackageVersionDependenciesRequest$domain": "The domain that contains the repository that contains the requested package version dependencies.
", + "ListPackageVersionDependenciesRequest$domain": "The name of the domain that contains the repository that contains the requested package version dependencies.
", "ListPackageVersionsRequest$domain": "The name of the domain that contains the repository that contains the returned package versions.
", - "ListPackagesRequest$domain": "The domain that contains the repository that contains the requested list of packages.
", + "ListPackagesRequest$domain": "The name of the domain that contains the repository that contains the requested list of packages.
", "ListRepositoriesInDomainRequest$domain": "The name of the domain that contains the returned list of repositories.
", "PutDomainPermissionsPolicyRequest$domain": "The name of the domain on which to set the resource policy.
", "PutRepositoryPermissionsPolicyRequest$domain": "The name of the domain containing the repository to set the resource policy on.
", "RepositoryDescription$domainName": "The name of the domain that contains the repository.
", "RepositorySummary$domainName": "The name of the domain that contains the repository.
", - "UpdatePackageVersionsStatusRequest$domain": "The domain that contains the repository that contains the package versions with a status to be updated.
", + "UpdatePackageVersionsStatusRequest$domain": "The name of the domain that contains the repository that contains the package versions with a status to be updated.
", "UpdateRepositoryRequest$domain": "The name of the domain associated with the repository to update.
" } }, @@ -361,7 +361,7 @@ "DomainSummaryList": { "base": null, "refs": { - "ListDomainsResult$domains": " The returned list of DomainSummary
objects.
The returned list of DomainSummary objects.
" } }, "ErrorMessage": { @@ -373,7 +373,7 @@ "ExternalConnectionName": { "base": null, "refs": { - "AssociateExternalConnectionRequest$externalConnection": "The name of the external connection to add to the repository. The following values are supported:
public:npmjs
- for the npm public repository.
public:pypi
- for the Python Package Index.
public:maven-central
- for Maven Central.
public:maven-googleandroid
- for the Google Android repository.
public:maven-gradleplugins
- for the Gradle plugins repository.
public:maven-commonsware
- for the CommonsWare Android repository.
public:nuget-org
- for the NuGet Gallery.
The name of the external connection to add to the repository. The following values are supported:
public:npmjs
- for the npm public repository.
public:pypi
- for the Python Package Index.
public:maven-central
- for Maven Central.
public:maven-googleandroid
- for the Google Android repository.
public:maven-gradleplugins
- for the Gradle plugins repository.
public:maven-commonsware
- for the CommonsWare Android repository.
The name of the external connection to be removed from the repository.
", "RepositoryExternalConnectionInfo$externalConnectionName": "The name of the external connection associated with a repository.
" } @@ -622,25 +622,25 @@ "PackageFormat": { "base": null, "refs": { - "CopyPackageVersionsRequest$format": "The format of the package that is copied. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
nuget
: A NuGet package.
The format of the package versions to delete. The valid values are:
npm
pypi
maven
nuget
A format that specifies the type of the requested package version. The valid values are:
npm
pypi
maven
nuget
A format that specifies the type of package versions you want to dispose. The valid values are:
npm
pypi
maven
nuget
A format that specifies the type of the package version with the requested asset file. The valid values are:
npm
pypi
maven
nuget
A format that specifies the type of the package version with the requested readme file. The valid values are:
npm
pypi
maven
nuget
The format of the package with the requested readme file. Valid format types are:
npm
pypi
maven
nuget
Returns which endpoint of a repository to return. A repository has one endpoint for each package format:
npm
pypi
maven
nuget
The format of the package that contains the returned package version assets. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
nuget
: A NuGet package.
The format of the package that is copied. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
The format of the package versions to delete. The valid values are:
npm
pypi
maven
A format that specifies the type of the requested package version. The valid values are:
npm
pypi
maven
A format that specifies the type of package versions you want to dispose. The valid values are:
npm
pypi
maven
A format that specifies the type of the package version with the requested asset file. The valid values are:
npm
pypi
maven
A format that specifies the type of the package version with the requested readme file. The valid values are:
npm
pypi
maven
The format of the package with the requested readme file. Valid format types are:
npm
pypi
maven
Returns which endpoint of a repository to return. A repository has one endpoint for each package format:
npm
pypi
maven
The format of the package that contains the returned package version assets. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
The format of the package that contains the returned package version assets.
", - "ListPackageVersionDependenciesRequest$format": "The format of the package with the requested dependencies. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
nuget
: A NuGet package.
A format that specifies the type of the package that contains the returned dependencies. The valid values are:
npm
pypi
maven
nuget
The format of the returned packages. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
nuget
: A NuGet package.
A format of the package. Valid package format values are:
npm
pypi
maven
nuget
The format of the packages. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
nuget
: A NuGet package.
The format of the package. Valid values are:
npm
pypi
maven
nuget
The format of the package version. The valid package formats are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
nuget
: A NuGet package.
The package format associated with a repository's external connection. The valid package formats are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
nuget
: A NuGet package.
A format that specifies the type of the package with the statuses to update. The valid values are:
npm
pypi
maven
nuget
The format of the package with the requested dependencies. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
A format that specifies the type of the package that contains the returned dependencies. The valid values are:
npm
pypi
maven
The format of the returned packages. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
A format of the package. Valid package format values are:
npm
pypi
maven
The format of the packages. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
The format of the package. Valid values are:
npm
pypi
maven
The format of the package version. The valid package formats are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
The package format associated with a repository's external connection. The valid package formats are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
A format that specifies the type of the package with the statuses to update. The valid values are:
npm
pypi
maven
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
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
A NuGet package does not contain a corresponding component, so NuGet packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a 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 is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
Details about a package version.
", "refs": { - "DescribePackageVersionResult$packageVersion": " A PackageVersionDescription
object that contains information about the requested package version.
A PackageVersionDescription object that contains information about the requested package version.
" } }, "PackageVersionError": { diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index dc916b83ed5..edbb34f3af2 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -5626,6 +5626,27 @@ } }, "Boolean":{"type":"boolean"}, + "BootModeType":{ + "type":"string", + "enum":[ + "legacy-bios", + "uefi" + ] + }, + "BootModeTypeList":{ + "type":"list", + "member":{ + "shape":"BootModeType", + "locationName":"item" + } + }, + "BootModeValues":{ + "type":"string", + "enum":[ + "legacy-bios", + "uefi" + ] + }, "BundleId":{"type":"string"}, "BundleIdStringList":{ "type":"list", @@ -7834,8 +7855,8 @@ "members":{ "DestinationCidrBlock":{"shape":"String"}, "LocalGatewayRouteTableId":{"shape":"LocalGatewayRoutetableId"}, - "LocalGatewayVirtualInterfaceGroupId":{"shape":"LocalGatewayVirtualInterfaceGroupId"}, - "DryRun":{"shape":"Boolean"} + "DryRun":{"shape":"Boolean"}, + "LocalGatewayVirtualInterfaceGroupId":{"shape":"LocalGatewayVirtualInterfaceGroupId"} } }, "CreateLocalGatewayRouteResult":{ @@ -18068,6 +18089,10 @@ "VirtualizationType":{ "shape":"VirtualizationType", "locationName":"virtualizationType" + }, + "BootMode":{ + "shape":"BootModeValues", + "locationName":"bootMode" } } }, @@ -18105,6 +18130,10 @@ "SriovNetSupport":{ "shape":"AttributeValue", "locationName":"sriovNetSupport" + }, + "BootMode":{ + "shape":"AttributeValue", + "locationName":"bootMode" } } }, @@ -18117,7 +18146,8 @@ "launchPermission", "productCodes", "blockDeviceMapping", - "sriovNetSupport" + "sriovNetSupport", + "bootMode" ] }, "ImageDiskContainer":{ @@ -18958,6 +18988,10 @@ "EnclaveOptions":{ "shape":"EnclaveOptions", "locationName":"enclaveOptions" + }, + "BootMode":{ + "shape":"BootModeValues", + "locationName":"bootMode" } } }, @@ -20289,6 +20323,10 @@ "AutoRecoverySupported":{ "shape":"AutoRecoveryFlag", "locationName":"autoRecoverySupported" + }, + "SupportedBootModes":{ + "shape":"BootModeTypeList", + "locationName":"supportedBootModes" } } }, @@ -25538,7 +25576,8 @@ "VirtualizationType":{ "shape":"String", "locationName":"virtualizationType" - } + }, + "BootMode":{"shape":"BootModeValues"} } }, "RegisterImageResult":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index b2d8fa392af..96c7dd0b0db 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -1085,8 +1085,8 @@ "InstanceAttribute$DisableApiTermination": "If the value is true
, you can't terminate the instance through the Amazon EC2 console, CLI, or API; otherwise, you can.
Indicates whether enhanced networking with ENA is enabled.
", "InstanceAttribute$EbsOptimized": "Indicates whether the instance is optimized for Amazon EBS I/O.
", - "InstanceAttribute$SourceDestCheck": "Indicates whether source/destination checking is enabled. A value of true
means that checking is enabled, and false
means that checking is disabled. This value must be false
for a NAT instance to perform NAT.
Specifies whether source/destination checking is enabled. A value of true
means that checking is enabled, and false
means that checking is disabled. This value must be false
for a NAT instance to perform NAT.
Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true
, source/destination checks are enabled; otherwise, they are disabled. The default value is true
. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.
Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true
, source/destination checks are enabled; otherwise, they are disabled. The default value is true
. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.
If the value is true
, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot Instances.
Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
", "ModifyInstanceAttributeRequest$EnaSupport": "Set to true
to enable enhanced networking with ENA for the instance.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
", @@ -1108,6 +1108,7 @@ "ImageAttribute$KernelId": "The kernel ID.
", "ImageAttribute$RamdiskId": "The RAM disk ID.
", "ImageAttribute$SriovNetSupport": "Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
", + "ImageAttribute$BootMode": null, "InstanceAttribute$InstanceInitiatedShutdownBehavior": "Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
", "InstanceAttribute$InstanceType": "The instance type.
", "InstanceAttribute$KernelId": "The kernel ID.
", @@ -1723,7 +1724,7 @@ "ImportVolumeRequest$DryRun": "Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
", "Instance$EnaSupport": "Specifies whether enhanced networking with ENA is enabled.
", - "Instance$SourceDestCheck": "Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true
means that checking is enabled, and false
means that checking is disabled. The value must be false
for the instance to perform NAT. For more information, see NAT instances in the Amazon VPC User Guide.
Indicates whether source/destination checking is enabled.
", "InstanceNetworkInterface$SourceDestCheck": "Indicates whether to validate network traffic to or from this network interface.
", "InstanceNetworkInterfaceAttachment$DeleteOnTermination": "Indicates whether the network interface is deleted when the instance is terminated.
", "InstanceNetworkInterfaceSpecification$AssociatePublicIpAddress": "Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true
.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.
" + } + }, + "BootModeValues": { + "base": null, + "refs": { + "Image$BootMode": "The boot mode of the image. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
", + "Instance$BootMode": "The boot mode of the instance. For more information, see Boot modes in the Amazon EC2 User Guide.
", + "RegisterImageRequest$BootMode": "The boot mode of the AMI. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
" + } + }, "BundleId": { "base": null, "refs": { @@ -6693,8 +6714,8 @@ "DescribeInstanceCreditSpecificationsRequest$Filters": "The filters.
instance-id
- The ID of the instance.
The filters.
availability-zone
- The Availability Zone of the instance.
event.code
- The code for the scheduled event (instance-reboot
| system-reboot
| system-maintenance
| instance-retirement
| instance-stop
).
event.description
- A description of the event.
event.instance-event-id
- The ID of the event whose date and time you are modifying.
event.not-after
- The latest end time for the scheduled event (for example, 2014-09-15T17:15:20.000Z
).
event.not-before
- The earliest start time for the scheduled event (for example, 2014-09-15T17:15:20.000Z
).
event.not-before-deadline
- The deadline for starting the event (for example, 2014-09-15T17:15:20.000Z
).
instance-state-code
- The code for the instance state, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).
instance-state-name
- The state of the instance (pending
| running
| shutting-down
| terminated
| stopping
| stopped
).
instance-status.reachability
- Filters on instance status where the name is reachability
(passed
| failed
| initializing
| insufficient-data
).
instance-status.status
- The status of the instance (ok
| impaired
| initializing
| insufficient-data
| not-applicable
).
system-status.reachability
- Filters on system status where the name is reachability
(passed
| failed
| initializing
| insufficient-data
).
system-status.status
- The system status of the instance (ok
| impaired
| initializing
| insufficient-data
| not-applicable
).
One or more filters. Filter names and values are case-sensitive.
location
- This depends on the location type. For example, if the location type is region
(default), the location is the Region code (for example, us-east-2
.)
instance-type
- The instance type. For example, c5.2xlarge
.
One or more filters. Filter names and values are case-sensitive.
auto-recovery-supported
- Indicates whether auto recovery is supported (true
| false
).
bare-metal
- Indicates whether it is a bare metal instance type (true
| false
).
burstable-performance-supported
- Indicates whether it is a burstable performance instance type (true
| false
).
current-generation
- Indicates whether this instance type is the latest generation instance type of an instance family (true
| false
).
ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps
- The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
ebs-info.ebs-optimized-info.baseline-iops
- The baseline input/output storage operations per second for an EBS-optimized instance type.
ebs-info.ebs-optimized-info.baseline-throughput-in-mbps
- The baseline throughput performance for an EBS-optimized instance type, in MB/s.
ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps
- The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
ebs-info.ebs-optimized-info.maximum-iops
- The maximum input/output storage operations per second for an EBS-optimized instance type.
ebs-info.ebs-optimized-info.maximum-throughput-in-mbps
- The maximum throughput performance for an EBS-optimized instance type, in MB/s.
ebs-info.ebs-optimized-support
- Indicates whether the instance type is EBS-optimized (supported
| unsupported
| default
).
ebs-info.encryption-support
- Indicates whether EBS encryption is supported (supported
| unsupported
).
ebs-info.nvme-support
- Indicates whether non-volatile memory express (NVMe) is supported for EBS volumes (required
| supported
| unsupported
).
free-tier-eligible
- Indicates whether the instance type is eligible to use in the free tier (true
| false
).
hibernation-supported
- Indicates whether On-Demand hibernation is supported (true
| false
).
hypervisor
- The hypervisor (nitro
| xen
).
instance-storage-info.disk.count
- The number of local disks.
instance-storage-info.disk.size-in-gb
- The storage size of each instance storage disk, in GB.
instance-storage-info.disk.type
- The storage technology for the local instance storage disks (hdd
| ssd
).
instance-storage-info.nvme-support
- Indicates whether non-volatile memory express (NVMe) is supported for instance store (required
| supported
) | unsupported
).
instance-storage-info.total-size-in-gb
- The total amount of storage available from all local instance storage, in GB.
instance-storage-supported
- Indicates whether the instance type has local instance storage (true
| false
).
instance-type
- The instance type (for example c5.2xlarge
or c5*).
memory-info.size-in-mib
- The memory size.
network-info.efa-supported
- Indicates whether the instance type supports Elastic Fabric Adapter (EFA) (true
| false
).
network-info.ena-support
- Indicates whether Elastic Network Adapter (ENA) is supported or required (required
| supported
| unsupported
).
network-info.ipv4-addresses-per-interface
- The maximum number of private IPv4 addresses per network interface.
network-info.ipv6-addresses-per-interface
- The maximum number of private IPv6 addresses per network interface.
network-info.ipv6-supported
- Indicates whether the instance type supports IPv6 (true
| false
).
network-info.maximum-network-interfaces
- The maximum number of network interfaces per instance.
network-info.network-performance
- The network performance (for example, \"25 Gigabit\").
processor-info.supported-architecture
- The CPU architecture (arm64
| i386
| x86_64
).
processor-info.sustained-clock-speed-in-ghz
- The CPU clock speed, in GHz.
supported-root-device-type
- The root device type (ebs
| instance-store
).
supported-usage-class
- The usage class (on-demand
| spot
).
supported-virtualization-type
- The virtualization type (hvm
| paravirtual
).
vcpu-info.default-cores
- The default number of cores for the instance type.
vcpu-info.default-threads-per-core
- The default number of threads per core for the instance type.
vcpu-info.default-vcpus
- The default number of vCPUs for the instance type.
vcpu-info.valid-cores
- The number of cores that can be configured for the instance type.
vcpu-info.valid-threads-per-core
- The number of threads per core that can be configured for the instance type. For example, \"1\" or \"1,2\".
The filters.
affinity
- The affinity setting for an instance running on a Dedicated Host (default
| host
).
architecture
- The instance architecture (i386
| x86_64
| arm64
).
availability-zone
- The Availability Zone of the instance.
block-device-mapping.attach-time
- The attach time for an EBS volume mapped to the instance, for example, 2010-09-15T17:15:20.000Z
.
block-device-mapping.delete-on-termination
- A Boolean that indicates whether the EBS volume is deleted on instance termination.
block-device-mapping.device-name
- The device name specified in the block device mapping (for example, /dev/sdh
or xvdh
).
block-device-mapping.status
- The status for the EBS volume (attaching
| attached
| detaching
| detached
).
block-device-mapping.volume-id
- The volume ID of the EBS volume.
client-token
- The idempotency token you provided when you launched the instance.
dns-name
- The public DNS name of the instance.
group-id
- The ID of the security group for the instance. EC2-Classic only.
group-name
- The name of the security group for the instance. EC2-Classic only.
hibernation-options.configured
- A Boolean that indicates whether the instance is enabled for hibernation. A value of true
means that the instance is enabled for hibernation.
host-id
- The ID of the Dedicated Host on which the instance is running, if applicable.
hypervisor
- The hypervisor type of the instance (ovm
| xen
). The value xen
is used for both Xen and Nitro hypervisors.
iam-instance-profile.arn
- The instance profile associated with the instance. Specified as an ARN.
image-id
- The ID of the image used to launch the instance.
instance-id
- The ID of the instance.
instance-lifecycle
- Indicates whether this is a Spot Instance or a Scheduled Instance (spot
| scheduled
).
instance-state-code
- The state of the instance, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).
instance-state-name
- The state of the instance (pending
| running
| shutting-down
| terminated
| stopping
| stopped
).
instance-type
- The type of instance (for example, t2.micro
).
instance.group-id
- The ID of the security group for the instance.
instance.group-name
- The name of the security group for the instance.
ip-address
- The public IPv4 address of the instance.
kernel-id
- The kernel ID.
key-name
- The name of the key pair used when the instance was launched.
launch-index
- When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on).
launch-time
- The time when the instance was launched.
metadata-options.http-tokens
- The metadata request authorization state (optional
| required
)
metadata-options.http-put-response-hop-limit
- The http metadata request put response hop limit (integer, possible values 1
to 64
)
metadata-options.http-endpoint
- Enable or disable metadata access on http endpoint (enabled
| disabled
)
monitoring-state
- Indicates whether detailed monitoring is enabled (disabled
| enabled
).
network-interface.addresses.private-ip-address
- The private IPv4 address associated with the network interface.
network-interface.addresses.primary
- Specifies whether the IPv4 address of the network interface is the primary private IPv4 address.
network-interface.addresses.association.public-ip
- The ID of the association of an Elastic IP address (IPv4) with a network interface.
network-interface.addresses.association.ip-owner-id
- The owner ID of the private IPv4 address associated with the network interface.
network-interface.association.public-ip
- The address of the Elastic IP address (IPv4) bound to the network interface.
network-interface.association.ip-owner-id
- The owner of the Elastic IP address (IPv4) associated with the network interface.
network-interface.association.allocation-id
- The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.
network-interface.association.association-id
- The association ID returned when the network interface was associated with an IPv4 address.
network-interface.attachment.attachment-id
- The ID of the interface attachment.
network-interface.attachment.instance-id
- The ID of the instance to which the network interface is attached.
network-interface.attachment.instance-owner-id
- The owner ID of the instance to which the network interface is attached.
network-interface.attachment.device-index
- The device index to which the network interface is attached.
network-interface.attachment.status
- The status of the attachment (attaching
| attached
| detaching
| detached
).
network-interface.attachment.attach-time
- The time that the network interface was attached to an instance.
network-interface.attachment.delete-on-termination
- Specifies whether the attachment is deleted when an instance is terminated.
network-interface.availability-zone
- The Availability Zone for the network interface.
network-interface.description
- The description of the network interface.
network-interface.group-id
- The ID of a security group associated with the network interface.
network-interface.group-name
- The name of a security group associated with the network interface.
network-interface.ipv6-addresses.ipv6-address
- The IPv6 address associated with the network interface.
network-interface.mac-address
- The MAC address of the network interface.
network-interface.network-interface-id
- The ID of the network interface.
network-interface.owner-id
- The ID of the owner of the network interface.
network-interface.private-dns-name
- The private DNS name of the network interface.
network-interface.requester-id
- The requester ID for the network interface.
network-interface.requester-managed
- Indicates whether the network interface is being managed by AWS.
network-interface.status
- The status of the network interface (available
) | in-use
).
network-interface.source-dest-check
- Whether the network interface performs source/destination checking. A value of true
means that checking is enabled, and false
means that checking is disabled. The value must be false
for the network interface to perform network address translation (NAT) in your VPC.
network-interface.subnet-id
- The ID of the subnet for the network interface.
network-interface.vpc-id
- The ID of the VPC for the network interface.
owner-id
- The AWS account ID of the instance owner.
placement-group-name
- The name of the placement group for the instance.
placement-partition-number
- The partition in which the instance is located.
platform
- The platform. To list only Windows instances, use windows
.
private-dns-name
- The private IPv4 DNS name of the instance.
private-ip-address
- The private IPv4 address of the instance.
product-code
- The product code associated with the AMI used to launch the instance.
product-code.type
- The type of product code (devpay
| marketplace
).
ramdisk-id
- The RAM disk ID.
reason
- The reason for the current state of the instance (for example, shows \"User Initiated [date]\" when you stop or terminate the instance). Similar to the state-reason-code filter.
requester-id
- The ID of the entity that launched the instance on your behalf (for example, AWS Management Console, Auto Scaling, and so on).
reservation-id
- The ID of the instance's reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you get one reservation ID. If you launch ten instances using the same launch request, you also get one reservation ID.
root-device-name
- The device name of the root device volume (for example, /dev/sda1
).
root-device-type
- The type of the root device volume (ebs
| instance-store
).
source-dest-check
- Indicates whether the instance performs source/destination checking. A value of true
means that checking is enabled, and false
means that checking is disabled. The value must be false
for the instance to perform network address translation (NAT) in your VPC.
spot-instance-request-id
- The ID of the Spot Instance request.
state-reason-code
- The reason code for the state change.
state-reason-message
- A message that describes the state change.
subnet-id
- The ID of the subnet for the instance.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.
tenancy
- The tenancy of an instance (dedicated
| default
| host
).
virtualization-type
- The virtualization type of the instance (paravirtual
| hvm
).
vpc-id
- The ID of the VPC that the instance is running in.
One or more filters. Filter names and values are case-sensitive.
auto-recovery-supported
- Indicates whether auto recovery is supported (true
| false
).
bare-metal
- Indicates whether it is a bare metal instance type (true
| false
).
burstable-performance-supported
- Indicates whether it is a burstable performance instance type (true
| false
).
current-generation
- Indicates whether this instance type is the latest generation instance type of an instance family (true
| false
).
ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps
- The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
ebs-info.ebs-optimized-info.baseline-iops
- The baseline input/output storage operations per second for an EBS-optimized instance type.
ebs-info.ebs-optimized-info.baseline-throughput-in-mbps
- The baseline throughput performance for an EBS-optimized instance type, in MB/s.
ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps
- The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
ebs-info.ebs-optimized-info.maximum-iops
- The maximum input/output storage operations per second for an EBS-optimized instance type.
ebs-info.ebs-optimized-info.maximum-throughput-in-mbps
- The maximum throughput performance for an EBS-optimized instance type, in MB/s.
ebs-info.ebs-optimized-support
- Indicates whether the instance type is EBS-optimized (supported
| unsupported
| default
).
ebs-info.encryption-support
- Indicates whether EBS encryption is supported (supported
| unsupported
).
ebs-info.nvme-support
- Indicates whether non-volatile memory express (NVMe) is supported for EBS volumes (required
| supported
| unsupported
).
free-tier-eligible
- Indicates whether the instance type is eligible to use in the free tier (true
| false
).
hibernation-supported
- Indicates whether On-Demand hibernation is supported (true
| false
).
hypervisor
- The hypervisor (nitro
| xen
).
instance-storage-info.disk.count
- The number of local disks.
instance-storage-info.disk.size-in-gb
- The storage size of each instance storage disk, in GB.
instance-storage-info.disk.type
- The storage technology for the local instance storage disks (hdd
| ssd
).
instance-storage-info.nvme-support
- Indicates whether non-volatile memory express (NVMe) is supported for instance store (required
| supported
) | unsupported
).
instance-storage-info.total-size-in-gb
- The total amount of storage available from all local instance storage, in GB.
instance-storage-supported
- Indicates whether the instance type has local instance storage (true
| false
).
instance-type
- The instance type (for example c5.2xlarge
or c5*).
memory-info.size-in-mib
- The memory size.
network-info.efa-supported
- Indicates whether the instance type supports Elastic Fabric Adapter (EFA) (true
| false
).
network-info.ena-support
- Indicates whether Elastic Network Adapter (ENA) is supported or required (required
| supported
| unsupported
).
network-info.ipv4-addresses-per-interface
- The maximum number of private IPv4 addresses per network interface.
network-info.ipv6-addresses-per-interface
- The maximum number of private IPv6 addresses per network interface.
network-info.ipv6-supported
- Indicates whether the instance type supports IPv6 (true
| false
).
network-info.maximum-network-interfaces
- The maximum number of network interfaces per instance.
network-info.network-performance
- The network performance (for example, \"25 Gigabit\").
processor-info.supported-architecture
- The CPU architecture (arm64
| i386
| x86_64
).
processor-info.sustained-clock-speed-in-ghz
- The CPU clock speed, in GHz.
supported-boot-mode
- The boot mode (legacy-bios
| uefi
).
supported-root-device-type
- The root device type (ebs
| instance-store
).
supported-usage-class
- The usage class (on-demand
| spot
).
supported-virtualization-type
- The virtualization type (hvm
| paravirtual
).
vcpu-info.default-cores
- The default number of cores for the instance type.
vcpu-info.default-threads-per-core
- The default number of threads per core for the instance type.
vcpu-info.default-vcpus
- The default number of vCPUs for the instance type.
vcpu-info.valid-cores
- The number of cores that can be configured for the instance type.
vcpu-info.valid-threads-per-core
- The number of threads per core that can be configured for the instance type. For example, \"1\" or \"1,2\".
The filters.
affinity
- The affinity setting for an instance running on a Dedicated Host (default
| host
).
architecture
- The instance architecture (i386
| x86_64
| arm64
).
availability-zone
- The Availability Zone of the instance.
block-device-mapping.attach-time
- The attach time for an EBS volume mapped to the instance, for example, 2010-09-15T17:15:20.000Z
.
block-device-mapping.delete-on-termination
- A Boolean that indicates whether the EBS volume is deleted on instance termination.
block-device-mapping.device-name
- The device name specified in the block device mapping (for example, /dev/sdh
or xvdh
).
block-device-mapping.status
- The status for the EBS volume (attaching
| attached
| detaching
| detached
).
block-device-mapping.volume-id
- The volume ID of the EBS volume.
client-token
- The idempotency token you provided when you launched the instance.
dns-name
- The public DNS name of the instance.
group-id
- The ID of the security group for the instance. EC2-Classic only.
group-name
- The name of the security group for the instance. EC2-Classic only.
hibernation-options.configured
- A Boolean that indicates whether the instance is enabled for hibernation. A value of true
means that the instance is enabled for hibernation.
host-id
- The ID of the Dedicated Host on which the instance is running, if applicable.
hypervisor
- The hypervisor type of the instance (ovm
| xen
). The value xen
is used for both Xen and Nitro hypervisors.
iam-instance-profile.arn
- The instance profile associated with the instance. Specified as an ARN.
image-id
- The ID of the image used to launch the instance.
instance-id
- The ID of the instance.
instance-lifecycle
- Indicates whether this is a Spot Instance or a Scheduled Instance (spot
| scheduled
).
instance-state-code
- The state of the instance, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).
instance-state-name
- The state of the instance (pending
| running
| shutting-down
| terminated
| stopping
| stopped
).
instance-type
- The type of instance (for example, t2.micro
).
instance.group-id
- The ID of the security group for the instance.
instance.group-name
- The name of the security group for the instance.
ip-address
- The public IPv4 address of the instance.
kernel-id
- The kernel ID.
key-name
- The name of the key pair used when the instance was launched.
launch-index
- When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on).
launch-time
- The time when the instance was launched.
metadata-options.http-tokens
- The metadata request authorization state (optional
| required
)
metadata-options.http-put-response-hop-limit
- The http metadata request put response hop limit (integer, possible values 1
to 64
)
metadata-options.http-endpoint
- Enable or disable metadata access on http endpoint (enabled
| disabled
)
monitoring-state
- Indicates whether detailed monitoring is enabled (disabled
| enabled
).
network-interface.addresses.private-ip-address
- The private IPv4 address associated with the network interface.
network-interface.addresses.primary
- Specifies whether the IPv4 address of the network interface is the primary private IPv4 address.
network-interface.addresses.association.public-ip
- The ID of the association of an Elastic IP address (IPv4) with a network interface.
network-interface.addresses.association.ip-owner-id
- The owner ID of the private IPv4 address associated with the network interface.
network-interface.association.public-ip
- The address of the Elastic IP address (IPv4) bound to the network interface.
network-interface.association.ip-owner-id
- The owner of the Elastic IP address (IPv4) associated with the network interface.
network-interface.association.allocation-id
- The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.
network-interface.association.association-id
- The association ID returned when the network interface was associated with an IPv4 address.
network-interface.attachment.attachment-id
- The ID of the interface attachment.
network-interface.attachment.instance-id
- The ID of the instance to which the network interface is attached.
network-interface.attachment.instance-owner-id
- The owner ID of the instance to which the network interface is attached.
network-interface.attachment.device-index
- The device index to which the network interface is attached.
network-interface.attachment.status
- The status of the attachment (attaching
| attached
| detaching
| detached
).
network-interface.attachment.attach-time
- The time that the network interface was attached to an instance.
network-interface.attachment.delete-on-termination
- Specifies whether the attachment is deleted when an instance is terminated.
network-interface.availability-zone
- The Availability Zone for the network interface.
network-interface.description
- The description of the network interface.
network-interface.group-id
- The ID of a security group associated with the network interface.
network-interface.group-name
- The name of a security group associated with the network interface.
network-interface.ipv6-addresses.ipv6-address
- The IPv6 address associated with the network interface.
network-interface.mac-address
- The MAC address of the network interface.
network-interface.network-interface-id
- The ID of the network interface.
network-interface.owner-id
- The ID of the owner of the network interface.
network-interface.private-dns-name
- The private DNS name of the network interface.
network-interface.requester-id
- The requester ID for the network interface.
network-interface.requester-managed
- Indicates whether the network interface is being managed by AWS.
network-interface.status
- The status of the network interface (available
) | in-use
).
network-interface.source-dest-check
- Whether the network interface performs source/destination checking. A value of true
means that checking is enabled, and false
means that checking is disabled. The value must be false
for the network interface to perform network address translation (NAT) in your VPC.
network-interface.subnet-id
- The ID of the subnet for the network interface.
network-interface.vpc-id
- The ID of the VPC for the network interface.
outpost-arn
- The Amazon Resource Name (ARN) of the Outpost.
owner-id
- The AWS account ID of the instance owner.
placement-group-name
- The name of the placement group for the instance.
placement-partition-number
- The partition in which the instance is located.
platform
- The platform. To list only Windows instances, use windows
.
private-dns-name
- The private IPv4 DNS name of the instance.
private-ip-address
- The private IPv4 address of the instance.
product-code
- The product code associated with the AMI used to launch the instance.
product-code.type
- The type of product code (devpay
| marketplace
).
ramdisk-id
- The RAM disk ID.
reason
- The reason for the current state of the instance (for example, shows \"User Initiated [date]\" when you stop or terminate the instance). Similar to the state-reason-code filter.
requester-id
- The ID of the entity that launched the instance on your behalf (for example, AWS Management Console, Auto Scaling, and so on).
reservation-id
- The ID of the instance's reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you get one reservation ID. If you launch ten instances using the same launch request, you also get one reservation ID.
root-device-name
- The device name of the root device volume (for example, /dev/sda1
).
root-device-type
- The type of the root device volume (ebs
| instance-store
).
source-dest-check
- Indicates whether the instance performs source/destination checking. A value of true
means that checking is enabled, and false
means that checking is disabled. The value must be false
for the instance to perform network address translation (NAT) in your VPC.
spot-instance-request-id
- The ID of the Spot Instance request.
state-reason-code
- The reason code for the state change.
state-reason-message
- A message that describes the state change.
subnet-id
- The ID of the subnet for the instance.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.
tenancy
- The tenancy of an instance (dedicated
| default
| host
).
virtualization-type
- The virtualization type of the instance (paravirtual
| hvm
).
vpc-id
- The ID of the VPC that the instance is running in.
One or more filters.
attachment.state
- The current state of the attachment between the gateway and the VPC (available
). Present only if a VPC is attached.
attachment.vpc-id
- The ID of an attached VPC.
internet-gateway-id
- The ID of the Internet gateway.
owner-id
- The ID of the AWS account that owns the internet gateway.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
One or more filters.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
The filters.
key-pair-id
- The ID of the key pair.
fingerprint
- The fingerprint of the key pair.
key-name
- The name of the key pair.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
Any parameters that you specify override the same parameters in the launch template.
" + "FleetLaunchTemplateConfigRequest$Overrides": "Any parameters that you specify override the same parameters in the launch template.
For fleets of type request
and maintain
, a maximum of 300 items is allowed across all launch templates.
Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors for you. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.
", + "service" : "Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors foryou. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.
", "operations" : { "AcceptInvitation" : "Accepts an Amazon Macie membership invitation that was received from a specific account.
", "BatchGetCustomDataIdentifiers" : "Retrieves information about one or more custom data identifiers.
", @@ -32,6 +32,7 @@ "GetFindingStatistics" : "Retrieves (queries) aggregated statistical data about findings.
", "GetFindings" : "Retrieves the details of one or more findings.
", "GetFindingsFilter" : "Retrieves the criteria and other settings for a findings filter.
", + "GetFindingsPublicationConfiguration" : "Retrieves the configuration settings for publishing findings to AWS Security Hub.
", "GetInvitationsCount" : "Retrieves the count of Amazon Macie membership invitations that were received by an account.
", "GetMacieSession" : "Retrieves the current status and configuration settings for an Amazon Macie account.
", "GetMasterAccount" : "(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.
", @@ -47,6 +48,7 @@ "ListOrganizationAdminAccounts" : "Retrieves information about the delegated Amazon Macie administrator account for an AWS organization.
", "ListTagsForResource" : "Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
", "PutClassificationExportConfiguration" : "Creates or updates the configuration settings for storing data classification results.
", + "PutFindingsPublicationConfiguration" : "Updates the configuration settings for publishing findings to AWS Security Hub.
", "TagResource" : "Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
", "TestCustomDataIdentifier" : "Tests a custom data identifier.
", "UntagResource" : "Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.
", @@ -481,7 +483,7 @@ } }, "FindingPublishingFrequency" : { - "base" : "The frequency with which Amazon Macie publishes updates to policy findings for an account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values are:
", + "base" : "The frequency with which Amazon Macie publishes updates to policy findings for an account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, see Monitoring and processing findings in the Amazon Macie User Guide. Valid values are:
", "refs" : { "EnableMacieRequest$FindingPublishingFrequency" : "Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).", "GetMacieSessionResponse$FindingPublishingFrequency" : "The frequency with which Macie publishes updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
", @@ -554,6 +556,10 @@ "base" : "Provides information about the criteria and other settings for a findings filter.
", "refs" : { } }, + "GetFindingsPublicationConfigurationResponse" : { + "base" : "Provides information about the current configuration settings for publishing findings to AWS Security Hub automatically.
", + "refs" : { } + }, "GetFindingsRequest" : { "base" : "Specifies one or more findings to retrieve.
", "refs" : { } @@ -701,7 +707,7 @@ "refs" : { "DescribeClassificationJobResponse$JobStatus" : "The current status of the job. Possible values are:
CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.
COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
PAUSED - Amazon Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.
The current status of the job. Possible values are:
CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.
COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
PAUSED - Amazon Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.
The new status for the job. Valid values are:
CANCELLED - Stops the job permanently and cancels it. This value is valid only if the job's current status is IDLE, PAUSED, RUNNING, or USER_PAUSED.
If you specify this value and the job's current status is RUNNING, Amazon Macie immediately begins to stop all processing tasks for the job. You can't resume or restart a job after you cancel it.
RUNNING - Resumes the job. This value is valid only if the job's current status is USER_PAUSED.
If you paused the job while it was actively running and you specify this value less than 30 days after you paused the job, Macie immediately resumes processing from the point where you paused the job. Otherwise, Macie resumes the job according to the schedule and other settings for the job.
USER_PAUSED - Pauses the job temporarily. This value is valid only if the job's current status is IDLE or RUNNING. If you specify this value and the job's current status is RUNNING, Macie immediately begins to pause all processing tasks for the job.
If you pause a one-time job and you don't resume it within 30 days, the job expires and Macie cancels the job. If you pause a recurring job when its status is RUNNING and you don't resume it within 30 days, the job run expires and Macie cancels the run. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.
The new status for the job. Valid values are:
CANCELLED - Stops the job permanently and cancels it. This value is valid only if the job's current status is IDLE, PAUSED, RUNNING, or USER_PAUSED.
If you specify this value and the job's current status is RUNNING, Amazon Macie immediately begins to stop all processing tasks for the job. You can't resume or restart a job after you cancel it.
RUNNING - Resumes the job. This value is valid only if the job's current status is USER_PAUSED.
If you paused the job while it was actively running and you specify this value less than 30 days after you paused the job, Macie immediately resumes processing from the point where you paused the job. Otherwise, Macie resumes the job according to the schedule and other settings for the job.
USER_PAUSED - Pauses the job temporarily. This value is valid only if the job's current status is IDLE, PAUSED, or RUNNING. If you specify this value and the job's current status is RUNNING, Macie immediately begins to pause all processing tasks for the job.
If you pause a one-time job and you don't resume it within 30 days, the job expires and Macie cancels the job. If you pause a recurring job when its status is RUNNING and you don't resume it within 30 days, the job run expires and Macie cancels the run. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.
The status of an Amazon Macie account. Valid values are:
", "refs" : { - "EnableMacieRequest$Status" : "Specifies the status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.
", + "EnableMacieRequest$Status" : "Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.
", "GetMacieSessionResponse$Status" : "The current status of the Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.
", "UpdateMacieSessionRequest$Status" : "Specifies a new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.
", "UpdateMemberSessionRequest$Status" : "Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.
" @@ -898,6 +904,10 @@ "base" : "Provides information about updated settings for storing data classification results.
", "refs" : { } }, + "PutFindingsPublicationConfigurationRequest" : { + "base" : "Specifies configuration settings for publishing findings to AWS Security Hub automatically.
", + "refs" : { } + }, "Range" : { "base" : "Provides details about the location of an occurrence of sensitive data in an Adobe Portable Document Format file, Microsoft Word document, or non-binary text file.
", "refs" : { @@ -909,7 +919,7 @@ "Ranges" : { "base" : "Provides details about the location of occurrences of sensitive data in an Adobe Portable Document Format file, Microsoft Word document, or non-binary text file.
", "refs" : { - "Occurrences$LineRanges" : "An array of objects, one for each occurrence of sensitive data in a Microsoft Word document or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.
This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of: data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.
", + "Occurrences$LineRanges" : "An array of objects, one for each occurrence of sensitive data in a Microsoft Word document or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.
This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of data in: unstructured sections of an otherwise structured file, such as a comment in a file; a malformed file that Amazon Macie analyzes as plain text; and, a CSV or TSV file that has any column names that contain sensitive data.
", "Occurrences$OffsetRanges" : "An array of objects, one for each occurrence of sensitive data in a binary text file. Each object specifies the position of the data relative to the beginning of the file.
This value is typically null. For binary text files, Amazon Macie adds location data to a lineRanges.Range or Page object, depending on the file type.
" } }, @@ -998,6 +1008,13 @@ "S3JobDefinition$Scoping" : "The property- and tag-based conditions that determine which objects to include or exclude from the analysis.
" } }, + "SecurityHubConfiguration" : { + "base" : "Specifies configuration settings that determine which findings are published to AWS Security Hub automatically. For information about how Macie publishes findings to Security Hub, see Amazon Macie integration with Security Hub in the Amazon Macie User Guide.
", + "refs" : { + "GetFindingsPublicationConfigurationResponse$SecurityHubConfiguration" : "The configuration settings that determine which findings are published to AWS Security Hub.
", + "PutFindingsPublicationConfigurationRequest$SecurityHubConfiguration" : "The configuration settings that determine which findings to publish to AWS Security Hub.
" + } + }, "SensitiveData" : { "base" : "Provides information about the category and number of occurrences of sensitive data that produced a finding.
", "refs" : { @@ -1319,6 +1336,8 @@ "ReplicationDetails$Replicated" : "Specifies whether the bucket is configured to replicate one or more objects to any destination.
", "ReplicationDetails$ReplicatedExternally" : "Specifies whether the bucket is configured to replicate one or more objects to an AWS account that isn't part of the same Amazon Macie organization.
", "S3Object$PublicAccess" : "Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.
", + "SecurityHubConfiguration$PublishClassificationFindings" : "Specifies whether to publish sensitive data findings to AWS Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false.
", + "SecurityHubConfiguration$PublishPolicyFindings" : "Specifies whether to publish policy findings to AWS Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true.
", "ServiceLimit$IsServiceLimited" : "Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.
", "SessionContextAttributes$MfaAuthenticated" : "Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
", "UpdateOrganizationConfigurationRequest$AutoEnable" : "Specifies whether to enable Amazon Macie automatically for each account, when the account is added to the AWS organization.
" @@ -1348,7 +1367,7 @@ "ListClassificationJobsRequest$MaxResults" : "The maximum number of items to include in each page of the response.
", "ListCustomDataIdentifiersRequest$MaxResults" : "The maximum number of items to include in each page of the response.
", "ListFindingsRequest$MaxResults" : "The maximum number of items to include in each page of the response.
", - "MonthlySchedule$DayOfMonth" : "The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 31.
If this value exceeds the number of days in a certain month, Macie doesn't run the job that month. Macie runs the job only during months that have the specified day. For example, if this value is 31 and a month has only 30 days, Macie doesn’t run the job that month. To run the job every month, specify a value that’s less than 29.
", + "MonthlySchedule$DayOfMonth" : "The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 31.
If this value exceeds the number of days in a certain month, Macie doesn't run the job that month. Macie runs the job only during months that have the specified day. For example, if this value is 31 and a month has only 30 days, Macie doesn't run the job that month. To run the job every month, specify a value that's less than 29.
", "TestCustomDataIdentifierRequest$MaximumMatchDistance" : "The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.
", "TestCustomDataIdentifierResponse$MatchCount" : "The number of instances of sample text that matched the detection criteria specified in the custom data identifier.
", "UpdateFindingsFilterRequest$Position" : "The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
" @@ -1605,7 +1624,7 @@ "BucketServerSideEncryption$KmsMasterKeyId" : "The Amazon Resource Name (ARN) or unique identifier (key ID) for the AWS Key Management Service (AWS KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.
", "BucketSortCriteria$AttributeName" : "The name of the bucket property to sort the results by. This value can be one of the following properties that Amazon Macie defines as bucket metadata: accountId, bucketName, classifiableObjectCount, classifiableSizeInBytes, objectCount, or sizeInBytes.
", "Cell$CellReference" : "The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.
", - "Cell$ColumnName" : "The name of the column that contains the data, if available.
", + "Cell$ColumnName" : "The name of the column that contains the data, if available. This value is also null if Amazon Macie detects sensitive data in the name of any column in the file.
", "ClassificationDetails$DetailedResultsLocation" : "The path to the folder or file (in Amazon S3) that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.
", "ClassificationDetails$JobArn" : "The Amazon Resource Name (ARN) of the classification job that produced the finding.
", "ClassificationDetails$JobId" : "The unique identifier for the classification job that produced the finding.
", @@ -1716,7 +1735,8 @@ "Member$Arn" : "The Amazon Resource Name (ARN) of the account.
", "Member$Email" : "The email address for the account.
", "Member$MasterAccountId" : "(Deprecated) The AWS account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
", - "Record$JsonPath" : "The path, as a JSONPath expression, to the field in the record that contains the data.
If the name of an element exceeds 20 characters, Amazon Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters.
", + "PutFindingsPublicationConfigurationRequest$ClientToken" : "A unique, case-sensitive token that you provide to ensure the idempotency of the request.
", + "Record$JsonPath" : "The path, as a JSONPath expression, to the field in the record that contains the data. If Amazon Macie detects sensitive data in the name of any element in the path, Macie omits this field.
If the name of an element exceeds 20 characters, Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters.
", "ResourceNotFoundException$Message" : "The explanation of the error that occurred.
", "S3Bucket$Arn" : "The Amazon Resource Name (ARN) of the bucket.
", "S3Bucket$Name" : "The name of the bucket.
", diff --git a/models/apis/redshift/2012-12-01/api-2.json b/models/apis/redshift/2012-12-01/api-2.json index 6ee575ea0b3..7203398f3ae 100644 --- a/models/apis/redshift/2012-12-01/api-2.json +++ b/models/apis/redshift/2012-12-01/api-2.json @@ -1124,6 +1124,22 @@ {"shape":"DependentServiceUnavailableFault"} ] }, + "ModifyAquaConfiguration":{ + "name":"ModifyAquaConfiguration", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ModifyAquaInputMessage"}, + "output":{ + "shape":"ModifyAquaOutputMessage", + "resultWrapper":"ModifyAquaConfigurationResult" + }, + "errors":[ + {"shape":"ClusterNotFoundFault"}, + {"shape":"UnsupportedOperationFault"} + ] + }, "ModifyCluster":{ "name":"ModifyCluster", "http":{ @@ -1649,6 +1665,29 @@ "resize-cluster" ] }, + "AquaConfiguration":{ + "type":"structure", + "members":{ + "AquaStatus":{"shape":"AquaStatus"}, + "AquaConfigurationStatus":{"shape":"AquaConfigurationStatus"} + } + }, + "AquaConfigurationStatus":{ + "type":"string", + "enum":[ + "enabled", + "disabled", + "auto" + ] + }, + "AquaStatus":{ + "type":"string", + "enum":[ + "enabled", + "disabled", + "applying" + ] + }, "AssociatedClusterList":{ "type":"list", "member":{ @@ -1902,7 +1941,8 @@ "ResizeInfo":{"shape":"ResizeInfo"}, "AvailabilityZoneRelocationStatus":{"shape":"String"}, "ClusterNamespaceArn":{"shape":"String"}, - "TotalStorageCapacityInMegaBytes":{"shape":"LongOptional"} + "TotalStorageCapacityInMegaBytes":{"shape":"LongOptional"}, + "AquaConfiguration":{"shape":"AquaConfiguration"} }, "wrapper":true }, @@ -2401,7 +2441,8 @@ "IamRoles":{"shape":"IamRoleArnList"}, "MaintenanceTrackName":{"shape":"String"}, "SnapshotScheduleIdentifier":{"shape":"String"}, - "AvailabilityZoneRelocation":{"shape":"BooleanOptional"} + "AvailabilityZoneRelocation":{"shape":"BooleanOptional"}, + "AquaConfigurationStatus":{"shape":"AquaConfigurationStatus"} } }, "CreateClusterParameterGroupMessage":{ @@ -3854,6 +3895,20 @@ "high-performance" ] }, + "ModifyAquaInputMessage":{ + "type":"structure", + "required":["ClusterIdentifier"], + "members":{ + "ClusterIdentifier":{"shape":"String"}, + "AquaConfigurationStatus":{"shape":"AquaConfigurationStatus"} + } + }, + "ModifyAquaOutputMessage":{ + "type":"structure", + "members":{ + "AquaConfiguration":{"shape":"AquaConfiguration"} + } + }, "ModifyClusterDbRevisionMessage":{ "type":"structure", "required":[ @@ -4539,7 +4594,8 @@ "MaintenanceTrackName":{"shape":"String"}, "SnapshotScheduleIdentifier":{"shape":"String"}, "NumberOfNodes":{"shape":"IntegerOptional"}, - "AvailabilityZoneRelocation":{"shape":"BooleanOptional"} + "AvailabilityZoneRelocation":{"shape":"BooleanOptional"}, + "AquaConfigurationStatus":{"shape":"AquaConfigurationStatus"} } }, "RestoreFromClusterSnapshotResult":{ diff --git a/models/apis/redshift/2012-12-01/docs-2.json b/models/apis/redshift/2012-12-01/docs-2.json index 445749c7b0d..dc91c9c4912 100644 --- a/models/apis/redshift/2012-12-01/docs-2.json +++ b/models/apis/redshift/2012-12-01/docs-2.json @@ -70,6 +70,7 @@ "EnableSnapshotCopy": "Enables the automatic copy of snapshots from one region to another region for a specified cluster.
", "GetClusterCredentials": "Returns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database. The action returns the database user name prefixed with IAM:
if AutoCreate
is False
or IAMA:
if AutoCreate
is True
. You can optionally specify one or more database user groups that the user will join at log on. By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). For more information, see Using IAM Authentication to Generate Database User Credentials in the Amazon Redshift Cluster Management Guide.
The AWS Identity and Access Management (IAM)user or role that executes GetClusterCredentials must have an IAM policy attached that allows access to all necessary actions and resources. For more information about permissions, see Resource Policies for GetClusterCredentials in the Amazon Redshift Cluster Management Guide.
If the DbGroups
parameter is specified, the IAM policy must allow the redshift:JoinGroup
action with access to the listed dbgroups
.
In addition, if the AutoCreate
parameter is set to True
, then the policy must include the redshift:CreateClusterUser
privilege.
If the DbName
parameter is specified, the IAM policy must allow access to the resource dbname
for the specified database name.
Returns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node.
", + "ModifyAquaConfiguration": "Modifies whether a cluster can use AQUA (Advanced Query Accelerator).
", "ModifyCluster": "Modifies the settings for a cluster.
You can also change node type and the number of nodes to scale up or down the cluster. When resizing a cluster, you must specify both the number of nodes and the node type even if one of the parameters does not change.
You can add another security or parameter group, or change the master user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
", "ModifyClusterDbRevision": "Modifies the database revision of a cluster. The database revision is a unique revision of the database running in a cluster.
", "ModifyClusterIamRoles": "Modifies the list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.
A cluster can have up to 10 IAM roles associated at any time.
", @@ -140,6 +141,28 @@ "DescribeNodeConfigurationOptionsMessage$ActionType": "The action type to evaluate for possible node configurations. Specify \"restore-cluster\" to get configuration combinations based on an existing snapshot. Specify \"recommend-node-config\" to get configuration recommendations based on an existing cluster or snapshot. Specify \"resize-cluster\" to get configuration combinations for elastic resize based on an existing cluster.
" } }, + "AquaConfiguration": { + "base": "The AQUA (Advanced Query Accelerator) configuration of the cluster.
", + "refs": { + "Cluster$AquaConfiguration": "The AQUA (Advanced Query Accelerator) configuration of the cluster.
", + "ModifyAquaOutputMessage$AquaConfiguration": "The updated AQUA configuration of the cluster.
" + } + }, + "AquaConfigurationStatus": { + "base": null, + "refs": { + "AquaConfiguration$AquaConfigurationStatus": "The value represents how the cluster is configured to use AQUA. Possible values include the following.
enabled - Use AQUA if it is available for the current AWS Region and Amazon Redshift node type.
disabled - Don't use AQUA.
auto - Amazon Redshift determines whether to use AQUA.
The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) when it is created. Possible values include the following.
enabled - Use AQUA if it is available for the current AWS Region and Amazon Redshift node type.
disabled - Don't use AQUA.
auto - Amazon Redshift determines whether to use AQUA.
The new value of AQUA configuration status. Possible values include the following.
enabled - Use AQUA if it is available for the current AWS Region and Amazon Redshift node type.
disabled - Don't use AQUA.
auto - Amazon Redshift determines whether to use AQUA.
The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following.
enabled - Use AQUA if it is available for the current AWS Region and Amazon Redshift node type.
disabled - Don't use AQUA.
auto - Amazon Redshift determines whether to use AQUA.
The value indicates the status of AQUA on the cluster. Possible values include the following.
enabled - AQUA is enabled.
disabled - AQUA is not enabled.
applying - AQUA status is being applied.
The category of the node configuration recommendation.
" } }, + "ModifyAquaInputMessage": { + "base": null, + "refs": { + } + }, + "ModifyAquaOutputMessage": { + "base": null, + "refs": { + } + }, "ModifyClusterDbRevisionMessage": { "base": null, "refs": { @@ -2613,6 +2646,7 @@ "LoggingStatus$LastFailureMessage": "The message indicating that logs failed to be delivered.
", "MaintenanceTrack$MaintenanceTrackName": "The name of the maintenance track. Possible values are current
and trailing
.
The version number for the cluster release.
", + "ModifyAquaInputMessage$ClusterIdentifier": "The identifier of the cluster to be modified.
", "ModifyClusterDbRevisionMessage$ClusterIdentifier": "The unique identifier of a cluster whose database revision you want to modify.
Example: examplecluster
The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
", "ModifyClusterIamRolesMessage$ClusterIdentifier": "The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
", diff --git a/service/codeartifact/api.go b/service/codeartifact/api.go index 26321dbce71..8446586d735 100644 --- a/service/codeartifact/api.go +++ b/service/codeartifact/api.go @@ -671,8 +671,8 @@ func (c *CodeArtifact) DeletePackageVersionsRequest(input *DeletePackageVersions // 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, ListackageVersions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html) -// ), but you can restore them using UpdatePackageVersionsStatus (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html) . +// with list package APIs (for example, ListackageVersions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html)), +// but you can restore them using UpdatePackageVersionsStatus (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1886,8 +1886,6 @@ func (c *CodeArtifact) GetRepositoryEndpointRequest(input *GetRepositoryEndpoint // // * maven // -// * nuget -// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3857,8 +3855,6 @@ type AssociateExternalConnectionInput struct { // // * public:maven-commonsware - for the CommonsWare Android repository. // - // * public:nuget-org - for the NuGet Gallery. - // // ExternalConnection is a required field ExternalConnection *string `location:"querystring" locationName:"external-connection" type:"string" required:"true"` @@ -4047,8 +4043,6 @@ type CopyPackageVersionsInput struct { // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. // - // * nuget: A NuGet package. - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -4066,9 +4060,6 @@ type CopyPackageVersionsInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the package that is copied. @@ -4375,7 +4366,7 @@ type CreateRepositoryInput struct { // A description of the created repository. Description *string `locationName:"description" type:"string"` - // The domain that contains the created repository. + // The name of the domain that contains the created repository. // // Domain is a required field Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"` @@ -4714,8 +4705,6 @@ type DeletePackageVersionsInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -4728,9 +4717,6 @@ type DeletePackageVersionsInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the package with the versions to delete. @@ -5196,8 +5182,6 @@ type DescribePackageVersionInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -5210,9 +5194,6 @@ type DescribePackageVersionInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the requested package version. @@ -5589,8 +5570,6 @@ type DisposePackageVersionsInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -5603,9 +5582,6 @@ type DisposePackageVersionsInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the package with the versions you want to dispose. @@ -6139,8 +6115,8 @@ type GetPackageVersionAssetInput struct { // Asset is a required field Asset *string `location:"querystring" locationName:"asset" min:"1" type:"string" required:"true"` - // The domain that contains the repository that contains the package version - // with the requested asset. + // The name of the domain that contains the repository that contains the package + // version with the requested asset. // // Domain is a required field Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"` @@ -6158,8 +6134,6 @@ type GetPackageVersionAssetInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -6172,9 +6146,6 @@ type GetPackageVersionAssetInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the package that contains the requested asset. @@ -6384,8 +6355,6 @@ type GetPackageVersionReadmeInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -6398,9 +6367,6 @@ type GetPackageVersionReadmeInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the package version that contains the requested readme file. @@ -6525,8 +6491,6 @@ type GetPackageVersionReadmeOutput struct { // * pypi // // * maven - // - // * nuget Format *string `locationName:"format" type:"string" enum:"PackageFormat"` // The namespace of the package. The package component that specifies its namespace @@ -6538,9 +6502,6 @@ type GetPackageVersionReadmeOutput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // The name of the package that contains the returned readme file. @@ -6623,8 +6584,6 @@ type GetRepositoryEndpointInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -7010,8 +6969,6 @@ type ListPackageVersionAssetsInput struct { // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. // - // * nuget: A NuGet package. - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -7027,9 +6984,6 @@ type ListPackageVersionAssetsInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The token for the next set of results. Use the value returned in the previous @@ -7185,9 +7139,6 @@ type ListPackageVersionAssetsOutput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // If there are additional results, this is the token for the next set of results. @@ -7258,8 +7209,8 @@ func (s *ListPackageVersionAssetsOutput) SetVersionRevision(v string) *ListPacka type ListPackageVersionDependenciesInput struct { _ struct{} `type:"structure"` - // The domain that contains the repository that contains the requested package - // version dependencies. + // The name of the domain that contains the repository that contains the requested + // package version dependencies. // // Domain is a required field Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"` @@ -7278,8 +7229,6 @@ type ListPackageVersionDependenciesInput struct { // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. // - // * nuget: A NuGet package. - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -7292,9 +7241,6 @@ type ListPackageVersionDependenciesInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The token for the next set of results. Use the value returned in the previous @@ -7436,8 +7382,6 @@ type ListPackageVersionDependenciesOutput struct { // * pypi // // * maven - // - // * nuget Format *string `locationName:"format" type:"string" enum:"PackageFormat"` // The namespace of the package. The package component that specifies its namespace @@ -7449,9 +7393,6 @@ type ListPackageVersionDependenciesOutput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // The token for the next set of results. Use the value returned in the previous @@ -7542,8 +7483,6 @@ type ListPackageVersionsInput struct { // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. // - // * nuget: A NuGet package. - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -7559,9 +7498,6 @@ type ListPackageVersionsInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The token for the next set of results. Use the value returned in the previous @@ -7728,8 +7664,6 @@ type ListPackageVersionsOutput struct { // * pypi // // * maven - // - // * nuget Format *string `locationName:"format" type:"string" enum:"PackageFormat"` // The namespace of the package. The package component that specifies its namespace @@ -7741,9 +7675,6 @@ type ListPackageVersionsOutput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // If there are additional results, this is the token for the next set of results. @@ -7806,8 +7737,8 @@ func (s *ListPackageVersionsOutput) SetVersions(v []*PackageVersionSummary) *Lis type ListPackagesInput struct { _ struct{} `type:"structure"` - // The domain that contains the repository that contains the requested list - // of packages. + // The name of the domain that contains the repository that contains the requested + // list of packages. // // Domain is a required field Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"` @@ -7824,8 +7755,6 @@ type ListPackagesInput struct { // // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. - // - // * nuget: A NuGet package. Format *string `location:"querystring" locationName:"format" type:"string" enum:"PackageFormat"` // The maximum number of results to return per page. @@ -7840,9 +7769,6 @@ type ListPackagesInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The token for the next set of results. Use the value returned in the previous @@ -8301,9 +8227,6 @@ type PackageDependency struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // The name of the package that this package depends on. @@ -8362,8 +8285,6 @@ type PackageSummary struct { // * pypi // // * maven - // - // * nuget Format *string `locationName:"format" type:"string" enum:"PackageFormat"` // The namespace of the package. The package component that specifies its namespace @@ -8375,9 +8296,6 @@ type PackageSummary struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // The name of the package. @@ -8430,8 +8348,6 @@ type PackageVersionDescription struct { // // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. - // - // * nuget: A NuGet package. Format *string `locationName:"format" type:"string" enum:"PackageFormat"` // The homepage associated with the package. @@ -8449,9 +8365,6 @@ type PackageVersionDescription struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // The name of the requested package. @@ -9024,8 +8937,6 @@ type RepositoryExternalConnectionInfo struct { // // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. - // - // * nuget: A NuGet package. PackageFormat *string `locationName:"packageFormat" type:"string" enum:"PackageFormat"` // The status of the external connection of a repository. There is one valid @@ -9614,8 +9525,8 @@ func (s UntagResourceOutput) GoString() string { type UpdatePackageVersionsStatusInput struct { _ struct{} `type:"structure"` - // The domain that contains the repository that contains the package versions - // with a status to be updated. + // The name of the domain that contains the repository that contains the package + // versions with a status to be updated. // // Domain is a required field Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"` @@ -9638,8 +9549,6 @@ type UpdatePackageVersionsStatusInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -9652,9 +9561,6 @@ type UpdatePackageVersionsStatusInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the package with the version statuses to update. diff --git a/service/codeartifact/doc.go b/service/codeartifact/doc.go index 7de0782e18d..b76476db364 100644 --- a/service/codeartifact/doc.go +++ b/service/codeartifact/doc.go @@ -4,10 +4,10 @@ // requests to CodeArtifact. // // AWS CodeArtifact is a fully managed artifact repository compatible with language-native -// package managers and build tools such as npm, Apache Maven, NuGet, and pip. -// 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 +// package managers and build tools such as npm, Apache Maven, and pip. 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. // @@ -21,7 +21,7 @@ // 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 NuGet CLI, the Maven CLI ( mvn ), and pip . +// tools like the npm CLI, the Maven CLI ( mvn ), and pip . // // * Domain: Repositories are aggregated into a higher-level entity known // as a domain. All package assets and metadata are stored in the domain, @@ -41,8 +41,7 @@ // to resolve dependencies and install the software. CodeArtifact supports // npm (https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html), // PyPI (https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html), -// Maven (https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven), -// and NuGet (https://docs.aws.amazon.com/codeartifact/latest/ug/using-nuget) +// and Maven (https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven) // 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, @@ -123,7 +122,7 @@ // // * GetRepositoryEndpoint: Returns the endpoint of a repository for a specific // package format. A repository has one endpoint for each package format: -// npm pypi maven nuget +// npm pypi maven // // * GetRepositoryPermissionsPolicy: Returns the resource policy that is // set on a repository. @@ -146,17 +145,11 @@ // // * ListRepositoriesInDomain: Returns a list of the repositories in a domain. // -// * ListTagsForResource: Returns a list of the tags associated with a resource. -// // * PutDomainPermissionsPolicy: Attaches a resource policy to a domain. // // * PutRepositoryPermissionsPolicy: Sets the resource policy on a repository // that specifies permissions to access it. // -// * TagResource: Adds or updates tags for a resource. -// -// * UntagResource: Removes a tag from a resource. -// // * UpdatePackageVersionsStatus: Updates the status of one or more versions // of a package. // diff --git a/service/ec2/api.go b/service/ec2/api.go index 541f544da7f..694a1409b4b 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -65944,6 +65944,9 @@ type DescribeImageAttributeOutput struct { // The block device mapping entries. BlockDeviceMappings []*BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` + // Describes a value for a resource attribute that is a String. + BootMode *AttributeValue `locationName:"bootMode" type:"structure"` + // A description for the AMI. Description *AttributeValue `locationName:"description" type:"structure"` @@ -65983,6 +65986,12 @@ func (s *DescribeImageAttributeOutput) SetBlockDeviceMappings(v []*BlockDeviceMa return s } +// SetBootMode sets the BootMode field's value. +func (s *DescribeImageAttributeOutput) SetBootMode(v *AttributeValue) *DescribeImageAttributeOutput { + s.BootMode = v + return s +} + // SetDescription sets the Description field's value. func (s *DescribeImageAttributeOutput) SetDescription(v *AttributeValue) *DescribeImageAttributeOutput { s.Description = v @@ -66503,9 +66512,12 @@ type DescribeInstanceAttributeOutput struct { // The device name of the root device volume (for example, /dev/sda1). RootDeviceName *AttributeValue `locationName:"rootDeviceName" type:"structure"` - // Indicates whether source/destination checking is enabled. A value of true - // means that checking is enabled, and false means that checking is disabled. - // This value must be false for a NAT instance to perform NAT. + // Enable or disable source/destination checks, which ensure that the instance + // is either the source or the destination of any traffic that it receives. + // If the value is true, source/destination checks are enabled; otherwise, they + // are disabled. The default value is true. You must disable source/destination + // checks if the instance runs services such as network address translation, + // routing, or firewalls. SourceDestCheck *AttributeBooleanValue `locationName:"sourceDestCheck" type:"structure"` // Indicates whether enhanced networking with the Intel 82599 Virtual Function @@ -67165,6 +67177,8 @@ type DescribeInstanceTypesInput struct { // * processor-info.sustained-clock-speed-in-ghz - The CPU clock speed, in // GHz. // + // * supported-boot-mode - The boot mode (legacy-bios | uefi). + // // * supported-root-device-type - The root device type (ebs | instance-store). // // * supported-usage-class - The usage class (on-demand | spot). @@ -67474,6 +67488,8 @@ type DescribeInstancesInput struct { // // * network-interface.vpc-id - The ID of the VPC for the network interface. // + // * outpost-arn - The Amazon Resource Name (ARN) of the Outpost. + // // * owner-id - The AWS account ID of the instance owner. // // * placement-group-name - The name of the placement group for the instance. @@ -82318,6 +82334,9 @@ type FleetLaunchTemplateConfigRequest struct { // Any parameters that you specify override the same parameters in the launch // template. + // + // For fleets of type request and maintain, a maximum of 300 items is allowed + // across all launch templates. Overrides []*FleetLaunchTemplateOverridesRequest `locationNameList:"item" type:"list"` } @@ -86592,6 +86611,10 @@ type Image struct { // Any block device mapping entries. BlockDeviceMappings []*BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` + // The boot mode of the image. For more information, see Boot modes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + // in the Amazon Elastic Compute Cloud User Guide. + BootMode *string `locationName:"bootMode" type:"string" enum:"BootModeValues"` + // The date and time the image was created. CreationDate *string `locationName:"creationDate" type:"string"` @@ -86702,6 +86725,12 @@ func (s *Image) SetBlockDeviceMappings(v []*BlockDeviceMapping) *Image { return s } +// SetBootMode sets the BootMode field's value. +func (s *Image) SetBootMode(v string) *Image { + s.BootMode = &v + return s +} + // SetCreationDate sets the CreationDate field's value. func (s *Image) SetCreationDate(v string) *Image { s.CreationDate = &v @@ -88527,6 +88556,10 @@ type Instance struct { // Any block device mapping entries for the instance. BlockDeviceMappings []*InstanceBlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` + // The boot mode of the instance. For more information, see Boot modes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + // in the Amazon EC2 User Guide. + BootMode *string `locationName:"bootMode" type:"string" enum:"BootModeValues"` + // The ID of the Capacity Reservation. CapacityReservationId *string `locationName:"capacityReservationId" type:"string"` @@ -88652,12 +88685,7 @@ type Instance struct { // The security groups for the instance. SecurityGroups []*GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` - // Specifies whether to enable an instance launched in a VPC to perform NAT. - // This controls whether source/destination checking is enabled on the instance. - // A value of true means that checking is enabled, and false means that checking - // is disabled. The value must be false for the instance to perform NAT. For - // more information, see NAT instances (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html) - // in the Amazon VPC User Guide. + // Indicates whether source/destination checking is enabled. SourceDestCheck *bool `locationName:"sourceDestCheck" type:"boolean"` // If the request is a Spot Instance request, the ID of the request. @@ -88717,6 +88745,12 @@ func (s *Instance) SetBlockDeviceMappings(v []*InstanceBlockDeviceMapping) *Inst return s } +// SetBootMode sets the BootMode field's value. +func (s *Instance) SetBootMode(v string) *Instance { + s.BootMode = &v + return s +} + // SetCapacityReservationId sets the CapacityReservationId field's value. func (s *Instance) SetCapacityReservationId(v string) *Instance { s.CapacityReservationId = &v @@ -90577,6 +90611,10 @@ type InstanceTypeInfo struct { // Describes the processor. ProcessorInfo *ProcessorInfo `locationName:"processorInfo" type:"structure"` + // The supported boot modes. For more information, see Boot modes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + // in the Amazon EC2 User Guide. + SupportedBootModes []*string `locationName:"supportedBootModes" locationNameList:"item" type:"list"` + // The supported root device types. SupportedRootDeviceTypes []*string `locationName:"supportedRootDeviceTypes" locationNameList:"item" type:"list"` @@ -90714,6 +90752,12 @@ func (s *InstanceTypeInfo) SetProcessorInfo(v *ProcessorInfo) *InstanceTypeInfo return s } +// SetSupportedBootModes sets the SupportedBootModes field's value. +func (s *InstanceTypeInfo) SetSupportedBootModes(v []*string) *InstanceTypeInfo { + s.SupportedBootModes = v + return s +} + // SetSupportedRootDeviceTypes sets the SupportedRootDeviceTypes field's value. func (s *InstanceTypeInfo) SetSupportedRootDeviceTypes(v []*string) *InstanceTypeInfo { s.SupportedRootDeviceTypes = v @@ -95915,9 +95959,12 @@ type ModifyInstanceAttributeInput struct { // PV-GRUB (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html). Ramdisk *AttributeValue `locationName:"ramdisk" type:"structure"` - // Specifies whether source/destination checking is enabled. A value of true - // means that checking is enabled, and false means that checking is disabled. - // This value must be false for a NAT instance to perform NAT. + // Enable or disable source/destination checks, which ensure that the instance + // is either the source or the destination of any traffic that it receives. + // If the value is true, source/destination checks are enabled; otherwise, they + // are disabled. The default value is true. You must disable source/destination + // checks if the instance runs services such as network address translation, + // routing, or firewalls. SourceDestCheck *AttributeBooleanValue `type:"structure"` // Set to simple to enable enhanced networking with the Intel 82599 Virtual @@ -104128,6 +104175,10 @@ type RegisterImageInput struct { // in the Amazon Elastic Compute Cloud User Guide. BlockDeviceMappings []*BlockDeviceMapping `locationName:"BlockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` + // The boot mode of the AMI. For more information, see Boot modes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + // in the Amazon Elastic Compute Cloud User Guide. + BootMode *string `type:"string" enum:"BootModeValues"` + // A description for your AMI. Description *string `locationName:"description" type:"string"` @@ -104225,6 +104276,12 @@ func (s *RegisterImageInput) SetBlockDeviceMappings(v []*BlockDeviceMapping) *Re return s } +// SetBootMode sets the BootMode field's value. +func (s *RegisterImageInput) SetBootMode(v string) *RegisterImageInput { + s.BootMode = &v + return s +} + // SetDescription sets the Description field's value. func (s *RegisterImageInput) SetDescription(v string) *RegisterImageInput { s.Description = &v @@ -122355,6 +122412,38 @@ func BgpStatus_Values() []string { } } +const ( + // BootModeTypeLegacyBios is a BootModeType enum value + BootModeTypeLegacyBios = "legacy-bios" + + // BootModeTypeUefi is a BootModeType enum value + BootModeTypeUefi = "uefi" +) + +// BootModeType_Values returns all elements of the BootModeType enum +func BootModeType_Values() []string { + return []string{ + BootModeTypeLegacyBios, + BootModeTypeUefi, + } +} + +const ( + // BootModeValuesLegacyBios is a BootModeValues enum value + BootModeValuesLegacyBios = "legacy-bios" + + // BootModeValuesUefi is a BootModeValues enum value + BootModeValuesUefi = "uefi" +) + +// BootModeValues_Values returns all elements of the BootModeValues enum +func BootModeValues_Values() []string { + return []string{ + BootModeValuesLegacyBios, + BootModeValuesUefi, + } +} + const ( // BundleTaskStatePending is a BundleTaskState enum value BundleTaskStatePending = "pending" @@ -123708,6 +123797,9 @@ const ( // ImageAttributeNameSriovNetSupport is a ImageAttributeName enum value ImageAttributeNameSriovNetSupport = "sriovNetSupport" + + // ImageAttributeNameBootMode is a ImageAttributeName enum value + ImageAttributeNameBootMode = "bootMode" ) // ImageAttributeName_Values returns all elements of the ImageAttributeName enum @@ -123720,6 +123812,7 @@ func ImageAttributeName_Values() []string { ImageAttributeNameProductCodes, ImageAttributeNameBlockDeviceMapping, ImageAttributeNameSriovNetSupport, + ImageAttributeNameBootMode, } } diff --git a/service/macie2/api.go b/service/macie2/api.go index 92b5684b312..0f53ec6020b 100644 --- a/service/macie2/api.go +++ b/service/macie2/api.go @@ -3215,6 +3215,111 @@ func (c *Macie2) GetFindingsFilterWithContext(ctx aws.Context, input *GetFinding return out, req.Send() } +const opGetFindingsPublicationConfiguration = "GetFindingsPublicationConfiguration" + +// GetFindingsPublicationConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the GetFindingsPublicationConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetFindingsPublicationConfiguration for more information on using the GetFindingsPublicationConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetFindingsPublicationConfigurationRequest method. +// req, resp := client.GetFindingsPublicationConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration +func (c *Macie2) GetFindingsPublicationConfigurationRequest(input *GetFindingsPublicationConfigurationInput) (req *request.Request, output *GetFindingsPublicationConfigurationOutput) { + op := &request.Operation{ + Name: opGetFindingsPublicationConfiguration, + HTTPMethod: "GET", + HTTPPath: "/findings-publication-configuration", + } + + if input == nil { + input = &GetFindingsPublicationConfigurationInput{} + } + + output = &GetFindingsPublicationConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetFindingsPublicationConfiguration API operation for Amazon Macie 2. +// +// Retrieves the configuration settings for publishing findings to AWS Security +// Hub. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation GetFindingsPublicationConfiguration for usage and error information. +// +// Returned Error Types: +// * ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// * InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// * ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. +// +// * AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// * ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// * ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// * ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration +func (c *Macie2) GetFindingsPublicationConfiguration(input *GetFindingsPublicationConfigurationInput) (*GetFindingsPublicationConfigurationOutput, error) { + req, out := c.GetFindingsPublicationConfigurationRequest(input) + return out, req.Send() +} + +// GetFindingsPublicationConfigurationWithContext is the same as GetFindingsPublicationConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See GetFindingsPublicationConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) GetFindingsPublicationConfigurationWithContext(ctx aws.Context, input *GetFindingsPublicationConfigurationInput, opts ...request.Option) (*GetFindingsPublicationConfigurationOutput, error) { + req, out := c.GetFindingsPublicationConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetInvitationsCount = "GetInvitationsCount" // GetInvitationsCountRequest generates a "aws/request.Request" representing the @@ -5220,6 +5325,112 @@ func (c *Macie2) PutClassificationExportConfigurationWithContext(ctx aws.Context return out, req.Send() } +const opPutFindingsPublicationConfiguration = "PutFindingsPublicationConfiguration" + +// PutFindingsPublicationConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the PutFindingsPublicationConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutFindingsPublicationConfiguration for more information on using the PutFindingsPublicationConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutFindingsPublicationConfigurationRequest method. +// req, resp := client.PutFindingsPublicationConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration +func (c *Macie2) PutFindingsPublicationConfigurationRequest(input *PutFindingsPublicationConfigurationInput) (req *request.Request, output *PutFindingsPublicationConfigurationOutput) { + op := &request.Operation{ + Name: opPutFindingsPublicationConfiguration, + HTTPMethod: "PUT", + HTTPPath: "/findings-publication-configuration", + } + + if input == nil { + input = &PutFindingsPublicationConfigurationInput{} + } + + output = &PutFindingsPublicationConfigurationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// PutFindingsPublicationConfiguration API operation for Amazon Macie 2. +// +// Updates the configuration settings for publishing findings to AWS Security +// Hub. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation PutFindingsPublicationConfiguration for usage and error information. +// +// Returned Error Types: +// * ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// * InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// * ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. +// +// * AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// * ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// * ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// * ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration +func (c *Macie2) PutFindingsPublicationConfiguration(input *PutFindingsPublicationConfigurationInput) (*PutFindingsPublicationConfigurationOutput, error) { + req, out := c.PutFindingsPublicationConfigurationRequest(input) + return out, req.Send() +} + +// PutFindingsPublicationConfigurationWithContext is the same as PutFindingsPublicationConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See PutFindingsPublicationConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) PutFindingsPublicationConfigurationWithContext(ctx aws.Context, input *PutFindingsPublicationConfigurationInput, opts ...request.Option) (*PutFindingsPublicationConfigurationOutput, error) { + req, out := c.PutFindingsPublicationConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opTagResource = "TagResource" // TagResourceRequest generates a "aws/request.Request" representing the @@ -9275,8 +9486,9 @@ type EnableMacieInput struct { // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to AWS Security Hub and - // Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values - // are: + // Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, + // see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) + // in the Amazon Macie User Guide. Valid values are: FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` // The status of an Amazon Macie account. Valid values are: @@ -10488,6 +10700,49 @@ func (s *GetFindingsOutput) SetFindings(v []*Finding) *GetFindingsOutput { return s } +type GetFindingsPublicationConfigurationInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s GetFindingsPublicationConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetFindingsPublicationConfigurationInput) GoString() string { + return s.String() +} + +// Provides information about the current configuration settings for publishing +// findings to AWS Security Hub automatically. +type GetFindingsPublicationConfigurationOutput struct { + _ struct{} `type:"structure"` + + // Specifies configuration settings that determine which findings are published + // to AWS Security Hub automatically. For information about how Macie publishes + // findings to Security Hub, see Amazon Macie integration with Security Hub + // (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html) + // in the Amazon Macie User Guide. + SecurityHubConfiguration *SecurityHubConfiguration `locationName:"securityHubConfiguration" type:"structure"` +} + +// String returns the string representation +func (s GetFindingsPublicationConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetFindingsPublicationConfigurationOutput) GoString() string { + return s.String() +} + +// SetSecurityHubConfiguration sets the SecurityHubConfiguration field's value. +func (s *GetFindingsPublicationConfigurationOutput) SetSecurityHubConfiguration(v *SecurityHubConfiguration) *GetFindingsPublicationConfigurationOutput { + s.SecurityHubConfiguration = v + return s +} + type GetInvitationsCountInput struct { _ struct{} `type:"structure"` } @@ -10549,8 +10804,9 @@ type GetMacieSessionOutput struct { // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to AWS Security Hub and - // Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values - // are: + // Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, + // see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) + // in the Amazon Macie User Guide. Valid values are: FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` ServiceRole *string `locationName:"serviceRole" type:"string"` @@ -12767,6 +13023,72 @@ func (s *PutClassificationExportConfigurationOutput) SetConfiguration(v *Classif return s } +// Specifies configuration settings for publishing findings to AWS Security +// Hub automatically. +type PutFindingsPublicationConfigurationInput struct { + _ struct{} `type:"structure"` + + ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` + + // Specifies configuration settings that determine which findings are published + // to AWS Security Hub automatically. For information about how Macie publishes + // findings to Security Hub, see Amazon Macie integration with Security Hub + // (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html) + // in the Amazon Macie User Guide. + SecurityHubConfiguration *SecurityHubConfiguration `locationName:"securityHubConfiguration" type:"structure"` +} + +// String returns the string representation +func (s PutFindingsPublicationConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutFindingsPublicationConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutFindingsPublicationConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutFindingsPublicationConfigurationInput"} + if s.SecurityHubConfiguration != nil { + if err := s.SecurityHubConfiguration.Validate(); err != nil { + invalidParams.AddNested("SecurityHubConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *PutFindingsPublicationConfigurationInput) SetClientToken(v string) *PutFindingsPublicationConfigurationInput { + s.ClientToken = &v + return s +} + +// SetSecurityHubConfiguration sets the SecurityHubConfiguration field's value. +func (s *PutFindingsPublicationConfigurationInput) SetSecurityHubConfiguration(v *SecurityHubConfiguration) *PutFindingsPublicationConfigurationInput { + s.SecurityHubConfiguration = v + return s +} + +type PutFindingsPublicationConfigurationOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s PutFindingsPublicationConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutFindingsPublicationConfigurationOutput) GoString() string { + return s.String() +} + // Provides details about the location of an occurrence of sensitive data in // an Adobe Portable Document Format file, Microsoft Word document, or non-binary // text file. @@ -13402,6 +13724,59 @@ func (s *Scoping) SetIncludes(v *JobScopingBlock) *Scoping { return s } +// Specifies configuration settings that determine which findings are published +// to AWS Security Hub automatically. For information about how Macie publishes +// findings to Security Hub, see Amazon Macie integration with Security Hub +// (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html) +// in the Amazon Macie User Guide. +type SecurityHubConfiguration struct { + _ struct{} `type:"structure"` + + // PublishClassificationFindings is a required field + PublishClassificationFindings *bool `locationName:"publishClassificationFindings" type:"boolean" required:"true"` + + // PublishPolicyFindings is a required field + PublishPolicyFindings *bool `locationName:"publishPolicyFindings" type:"boolean" required:"true"` +} + +// String returns the string representation +func (s SecurityHubConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SecurityHubConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SecurityHubConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SecurityHubConfiguration"} + if s.PublishClassificationFindings == nil { + invalidParams.Add(request.NewErrParamRequired("PublishClassificationFindings")) + } + if s.PublishPolicyFindings == nil { + invalidParams.Add(request.NewErrParamRequired("PublishPolicyFindings")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPublishClassificationFindings sets the PublishClassificationFindings field's value. +func (s *SecurityHubConfiguration) SetPublishClassificationFindings(v bool) *SecurityHubConfiguration { + s.PublishClassificationFindings = &v + return s +} + +// SetPublishPolicyFindings sets the PublishPolicyFindings field's value. +func (s *SecurityHubConfiguration) SetPublishPolicyFindings(v bool) *SecurityHubConfiguration { + s.PublishPolicyFindings = &v + return s +} + // Provides information about the category, types, and occurrences of sensitive // data that produced a sensitive data finding. type SensitiveDataItem struct { @@ -14446,8 +14821,9 @@ type UpdateMacieSessionInput struct { // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to AWS Security Hub and - // Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values - // are: + // Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, + // see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) + // in the Amazon Macie User Guide. Valid values are: FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` // The status of an Amazon Macie account. Valid values are: @@ -15248,8 +15624,9 @@ func FindingCategory_Values() []string { // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to AWS Security Hub and -// Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values -// are: +// Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, +// see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) +// in the Amazon Macie User Guide. Valid values are: const ( // FindingPublishingFrequencyFifteenMinutes is a FindingPublishingFrequency enum value FindingPublishingFrequencyFifteenMinutes = "FIFTEEN_MINUTES" diff --git a/service/macie2/doc.go b/service/macie2/doc.go index 42c29162434..ccbd68e5485 100644 --- a/service/macie2/doc.go +++ b/service/macie2/doc.go @@ -8,7 +8,7 @@ // data in AWS. Macie automates the discovery of sensitive data, such as PII // and intellectual property, to provide you with insight into the data that // your organization stores in AWS. Macie also provides an inventory of your -// Amazon S3 buckets, which it continually monitors for you. If Macie detects +// Amazon S3 buckets, which it continually monitors foryou. If Macie detects // sensitive data or potential data access issues, it generates detailed findings // for you to review and act upon as necessary. // diff --git a/service/macie2/macie2iface/interface.go b/service/macie2/macie2iface/interface.go index 3445dd838d3..6331bb2f5fe 100644 --- a/service/macie2/macie2iface/interface.go +++ b/service/macie2/macie2iface/interface.go @@ -183,6 +183,10 @@ type Macie2API interface { GetFindingsFilterWithContext(aws.Context, *macie2.GetFindingsFilterInput, ...request.Option) (*macie2.GetFindingsFilterOutput, error) GetFindingsFilterRequest(*macie2.GetFindingsFilterInput) (*request.Request, *macie2.GetFindingsFilterOutput) + GetFindingsPublicationConfiguration(*macie2.GetFindingsPublicationConfigurationInput) (*macie2.GetFindingsPublicationConfigurationOutput, error) + GetFindingsPublicationConfigurationWithContext(aws.Context, *macie2.GetFindingsPublicationConfigurationInput, ...request.Option) (*macie2.GetFindingsPublicationConfigurationOutput, error) + GetFindingsPublicationConfigurationRequest(*macie2.GetFindingsPublicationConfigurationInput) (*request.Request, *macie2.GetFindingsPublicationConfigurationOutput) + GetInvitationsCount(*macie2.GetInvitationsCountInput) (*macie2.GetInvitationsCountOutput, error) GetInvitationsCountWithContext(aws.Context, *macie2.GetInvitationsCountInput, ...request.Option) (*macie2.GetInvitationsCountOutput, error) GetInvitationsCountRequest(*macie2.GetInvitationsCountInput) (*request.Request, *macie2.GetInvitationsCountOutput) @@ -267,6 +271,10 @@ type Macie2API interface { PutClassificationExportConfigurationWithContext(aws.Context, *macie2.PutClassificationExportConfigurationInput, ...request.Option) (*macie2.PutClassificationExportConfigurationOutput, error) PutClassificationExportConfigurationRequest(*macie2.PutClassificationExportConfigurationInput) (*request.Request, *macie2.PutClassificationExportConfigurationOutput) + PutFindingsPublicationConfiguration(*macie2.PutFindingsPublicationConfigurationInput) (*macie2.PutFindingsPublicationConfigurationOutput, error) + PutFindingsPublicationConfigurationWithContext(aws.Context, *macie2.PutFindingsPublicationConfigurationInput, ...request.Option) (*macie2.PutFindingsPublicationConfigurationOutput, error) + PutFindingsPublicationConfigurationRequest(*macie2.PutFindingsPublicationConfigurationInput) (*request.Request, *macie2.PutFindingsPublicationConfigurationOutput) + TagResource(*macie2.TagResourceInput) (*macie2.TagResourceOutput, error) TagResourceWithContext(aws.Context, *macie2.TagResourceInput, ...request.Option) (*macie2.TagResourceOutput, error) TagResourceRequest(*macie2.TagResourceInput) (*request.Request, *macie2.TagResourceOutput) diff --git a/service/redshift/api.go b/service/redshift/api.go index 7e3362b999c..19e9ac1e45e 100644 --- a/service/redshift/api.go +++ b/service/redshift/api.go @@ -7793,6 +7793,88 @@ func (c *Redshift) GetReservedNodeExchangeOfferingsPagesWithContext(ctx aws.Cont return p.Err() } +const opModifyAquaConfiguration = "ModifyAquaConfiguration" + +// ModifyAquaConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the ModifyAquaConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyAquaConfiguration for more information on using the ModifyAquaConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ModifyAquaConfigurationRequest method. +// req, resp := client.ModifyAquaConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyAquaConfiguration +func (c *Redshift) ModifyAquaConfigurationRequest(input *ModifyAquaConfigurationInput) (req *request.Request, output *ModifyAquaConfigurationOutput) { + op := &request.Operation{ + Name: opModifyAquaConfiguration, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyAquaConfigurationInput{} + } + + output = &ModifyAquaConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyAquaConfiguration API operation for Amazon Redshift. +// +// Modifies whether a cluster can use AQUA (Advanced Query Accelerator). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Redshift's +// API operation ModifyAquaConfiguration for usage and error information. +// +// Returned Error Codes: +// * ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyAquaConfiguration +func (c *Redshift) ModifyAquaConfiguration(input *ModifyAquaConfigurationInput) (*ModifyAquaConfigurationOutput, error) { + req, out := c.ModifyAquaConfigurationRequest(input) + return out, req.Send() +} + +// ModifyAquaConfigurationWithContext is the same as ModifyAquaConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyAquaConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Redshift) ModifyAquaConfigurationWithContext(ctx aws.Context, input *ModifyAquaConfigurationInput, opts ...request.Option) (*ModifyAquaConfigurationOutput, error) { + req, out := c.ModifyAquaConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opModifyCluster = "ModifyCluster" // ModifyClusterRequest generates a "aws/request.Request" representing the @@ -10299,6 +10381,54 @@ func (s *AccountWithRestoreAccess) SetAccountId(v string) *AccountWithRestoreAcc return s } +// The AQUA (Advanced Query Accelerator) configuration of the cluster. +type AquaConfiguration struct { + _ struct{} `type:"structure"` + + // The value represents how the cluster is configured to use AQUA. Possible + // values include the following. + // + // * enabled - Use AQUA if it is available for the current AWS Region and + // Amazon Redshift node type. + // + // * disabled - Don't use AQUA. + // + // * auto - Amazon Redshift determines whether to use AQUA. + AquaConfigurationStatus *string `type:"string" enum:"AquaConfigurationStatus"` + + // The value indicates the status of AQUA on the cluster. Possible values include + // the following. + // + // * enabled - AQUA is enabled. + // + // * disabled - AQUA is not enabled. + // + // * applying - AQUA status is being applied. + AquaStatus *string `type:"string" enum:"AquaStatus"` +} + +// String returns the string representation +func (s AquaConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AquaConfiguration) GoString() string { + return s.String() +} + +// SetAquaConfigurationStatus sets the AquaConfigurationStatus field's value. +func (s *AquaConfiguration) SetAquaConfigurationStatus(v string) *AquaConfiguration { + s.AquaConfigurationStatus = &v + return s +} + +// SetAquaStatus sets the AquaStatus field's value. +func (s *AquaConfiguration) SetAquaStatus(v string) *AquaConfiguration { + s.AquaStatus = &v + return s +} + // Describes an attribute value. type AttributeValueTarget struct { _ struct{} `type:"structure"` @@ -10945,6 +11075,9 @@ type Cluster struct { // be applied automatically to the cluster during the maintenance window. AllowVersionUpgrade *bool `type:"boolean"` + // The AQUA (Advanced Query Accelerator) configuration of the cluster. + AquaConfiguration *AquaConfiguration `type:"structure"` + // The number of days that automatic cluster snapshots are retained. AutomatedSnapshotRetentionPeriod *int64 `type:"integer"` @@ -11209,6 +11342,12 @@ func (s *Cluster) SetAllowVersionUpgrade(v bool) *Cluster { return s } +// SetAquaConfiguration sets the AquaConfiguration field's value. +func (s *Cluster) SetAquaConfiguration(v *AquaConfiguration) *Cluster { + s.AquaConfiguration = v + return s +} + // SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. func (s *Cluster) SetAutomatedSnapshotRetentionPeriod(v int64) *Cluster { s.AutomatedSnapshotRetentionPeriod = &v @@ -12265,6 +12404,17 @@ type CreateClusterInput struct { // Default: true AllowVersionUpgrade *bool `type:"boolean"` + // The value represents how the cluster is configured to use AQUA (Advanced + // Query Accelerator) when it is created. Possible values include the following. + // + // * enabled - Use AQUA if it is available for the current AWS Region and + // Amazon Redshift node type. + // + // * disabled - Don't use AQUA. + // + // * auto - Amazon Redshift determines whether to use AQUA. + AquaConfigurationStatus *string `type:"string" enum:"AquaConfigurationStatus"` + // The number of days that automated snapshots are retained. If the value is // 0, automated snapshots are disabled. Even if automated snapshots are disabled, // you can still create manual snapshots when you want with CreateClusterSnapshot. @@ -12586,6 +12736,12 @@ func (s *CreateClusterInput) SetAllowVersionUpgrade(v bool) *CreateClusterInput return s } +// SetAquaConfigurationStatus sets the AquaConfigurationStatus field's value. +func (s *CreateClusterInput) SetAquaConfigurationStatus(v string) *CreateClusterInput { + s.AquaConfigurationStatus = &v + return s +} + // SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. func (s *CreateClusterInput) SetAutomatedSnapshotRetentionPeriod(v int64) *CreateClusterInput { s.AutomatedSnapshotRetentionPeriod = &v @@ -20049,6 +20205,83 @@ func (s *MaintenanceTrack) SetUpdateTargets(v []*UpdateTarget) *MaintenanceTrack return s } +type ModifyAquaConfigurationInput struct { + _ struct{} `type:"structure"` + + // The new value of AQUA configuration status. Possible values include the following. + // + // * enabled - Use AQUA if it is available for the current AWS Region and + // Amazon Redshift node type. + // + // * disabled - Don't use AQUA. + // + // * auto - Amazon Redshift determines whether to use AQUA. + AquaConfigurationStatus *string `type:"string" enum:"AquaConfigurationStatus"` + + // The identifier of the cluster to be modified. + // + // ClusterIdentifier is a required field + ClusterIdentifier *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s ModifyAquaConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyAquaConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyAquaConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyAquaConfigurationInput"} + if s.ClusterIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ClusterIdentifier")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAquaConfigurationStatus sets the AquaConfigurationStatus field's value. +func (s *ModifyAquaConfigurationInput) SetAquaConfigurationStatus(v string) *ModifyAquaConfigurationInput { + s.AquaConfigurationStatus = &v + return s +} + +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *ModifyAquaConfigurationInput) SetClusterIdentifier(v string) *ModifyAquaConfigurationInput { + s.ClusterIdentifier = &v + return s +} + +type ModifyAquaConfigurationOutput struct { + _ struct{} `type:"structure"` + + // The updated AQUA configuration of the cluster. + AquaConfiguration *AquaConfiguration `type:"structure"` +} + +// String returns the string representation +func (s ModifyAquaConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyAquaConfigurationOutput) GoString() string { + return s.String() +} + +// SetAquaConfiguration sets the AquaConfiguration field's value. +func (s *ModifyAquaConfigurationOutput) SetAquaConfiguration(v *AquaConfiguration) *ModifyAquaConfigurationOutput { + s.AquaConfiguration = v + return s +} + type ModifyClusterDbRevisionInput struct { _ struct{} `type:"structure"` @@ -23054,6 +23287,18 @@ type RestoreFromClusterSnapshotInput struct { // Default: true AllowVersionUpgrade *bool `type:"boolean"` + // The value represents how the cluster is configured to use AQUA (Advanced + // Query Accelerator) after the cluster is restored. Possible values include + // the following. + // + // * enabled - Use AQUA if it is available for the current AWS Region and + // Amazon Redshift node type. + // + // * disabled - Don't use AQUA. + // + // * auto - Amazon Redshift determines whether to use AQUA. + AquaConfigurationStatus *string `type:"string" enum:"AquaConfigurationStatus"` + // The number of days that automated snapshots are retained. If the value is // 0, automated snapshots are disabled. Even if automated snapshots are disabled, // you can still create manual snapshots when you want with CreateClusterSnapshot. @@ -23283,6 +23528,12 @@ func (s *RestoreFromClusterSnapshotInput) SetAllowVersionUpgrade(v bool) *Restor return s } +// SetAquaConfigurationStatus sets the AquaConfigurationStatus field's value. +func (s *RestoreFromClusterSnapshotInput) SetAquaConfigurationStatus(v string) *RestoreFromClusterSnapshotInput { + s.AquaConfigurationStatus = &v + return s +} + // SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. func (s *RestoreFromClusterSnapshotInput) SetAutomatedSnapshotRetentionPeriod(v int64) *RestoreFromClusterSnapshotInput { s.AutomatedSnapshotRetentionPeriod = &v @@ -25467,6 +25718,46 @@ func ActionType_Values() []string { } } +const ( + // AquaConfigurationStatusEnabled is a AquaConfigurationStatus enum value + AquaConfigurationStatusEnabled = "enabled" + + // AquaConfigurationStatusDisabled is a AquaConfigurationStatus enum value + AquaConfigurationStatusDisabled = "disabled" + + // AquaConfigurationStatusAuto is a AquaConfigurationStatus enum value + AquaConfigurationStatusAuto = "auto" +) + +// AquaConfigurationStatus_Values returns all elements of the AquaConfigurationStatus enum +func AquaConfigurationStatus_Values() []string { + return []string{ + AquaConfigurationStatusEnabled, + AquaConfigurationStatusDisabled, + AquaConfigurationStatusAuto, + } +} + +const ( + // AquaStatusEnabled is a AquaStatus enum value + AquaStatusEnabled = "enabled" + + // AquaStatusDisabled is a AquaStatus enum value + AquaStatusDisabled = "disabled" + + // AquaStatusApplying is a AquaStatus enum value + AquaStatusApplying = "applying" +) + +// AquaStatus_Values returns all elements of the AquaStatus enum +func AquaStatus_Values() []string { + return []string{ + AquaStatusEnabled, + AquaStatusDisabled, + AquaStatusApplying, + } +} + const ( // ModeStandard is a Mode enum value ModeStandard = "standard" diff --git a/service/redshift/redshiftiface/interface.go b/service/redshift/redshiftiface/interface.go index 7f89b4679c1..b6ba894e792 100644 --- a/service/redshift/redshiftiface/interface.go +++ b/service/redshift/redshiftiface/interface.go @@ -407,6 +407,10 @@ type RedshiftAPI interface { GetReservedNodeExchangeOfferingsPages(*redshift.GetReservedNodeExchangeOfferingsInput, func(*redshift.GetReservedNodeExchangeOfferingsOutput, bool) bool) error GetReservedNodeExchangeOfferingsPagesWithContext(aws.Context, *redshift.GetReservedNodeExchangeOfferingsInput, func(*redshift.GetReservedNodeExchangeOfferingsOutput, bool) bool, ...request.Option) error + ModifyAquaConfiguration(*redshift.ModifyAquaConfigurationInput) (*redshift.ModifyAquaConfigurationOutput, error) + ModifyAquaConfigurationWithContext(aws.Context, *redshift.ModifyAquaConfigurationInput, ...request.Option) (*redshift.ModifyAquaConfigurationOutput, error) + ModifyAquaConfigurationRequest(*redshift.ModifyAquaConfigurationInput) (*request.Request, *redshift.ModifyAquaConfigurationOutput) + ModifyCluster(*redshift.ModifyClusterInput) (*redshift.ModifyClusterOutput, error) ModifyClusterWithContext(aws.Context, *redshift.ModifyClusterInput, ...request.Option) (*redshift.ModifyClusterOutput, error) ModifyClusterRequest(*redshift.ModifyClusterInput) (*request.Request, *redshift.ModifyClusterOutput)