diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fc7b8acc23..13e3711459f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +Release v1.54.6 (2024-06-20) +=== + +### Service Client Updates +* `service/bedrock-runtime`: Updates service API and documentation +* `service/codeartifact`: Updates service API and documentation +* `service/compute-optimizer`: Updates service API and documentation +* `service/cost-optimization-hub`: Updates service API, documentation, and waiters +* `service/dynamodb`: Updates service API, documentation, waiters, paginators, and examples + * Doc-only update for DynamoDB. Fixed Important note in 6 Global table APIs - CreateGlobalTable, DescribeGlobalTable, DescribeGlobalTableSettings, ListGlobalTables, UpdateGlobalTable, and UpdateGlobalTableSettings. +* `service/glue`: Updates service paginators + * Fix Glue paginators for Jobs, JobRuns, Triggers, Blueprints and Workflows. +* `service/ivs-realtime`: Updates service API, documentation, and waiters +* `service/sagemaker`: Updates service API and documentation + * Adds support for model references in Hub service, and adds support for cross-account access of Hubs +* `service/securityhub`: Updates service API and documentation + Release v1.54.5 (2024-06-19) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 59ced8fa158..5eb8c077917 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -1079,6 +1079,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -1091,6 +1094,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "sa-east-1", + }: endpoint{}, endpointKey{ Region: "us-east-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 994800f978a..193f4be1a5c 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.54.5" +const SDKVersion = "1.54.6" diff --git a/models/apis/bedrock-runtime/2023-09-30/api-2.json b/models/apis/bedrock-runtime/2023-09-30/api-2.json index 33a1b20e542..5d52afd7cd2 100644 --- a/models/apis/bedrock-runtime/2023-09-30/api-2.json +++ b/models/apis/bedrock-runtime/2023-09-30/api-2.json @@ -211,6 +211,9 @@ }, "ContentBlock": { "members": { + "document": { + "shape": "DocumentBlock" + }, "guardContent": { "shape": "GuardrailConverseContentBlock" }, @@ -538,6 +541,57 @@ }, "type": "structure" }, + "DocumentBlock": { + "members": { + "format": { + "shape": "DocumentFormat" + }, + "name": { + "shape": "DocumentBlockNameString" + }, + "source": { + "shape": "DocumentSource" + } + }, + "required": [ + "format", + "name", + "source" + ], + "type": "structure" + }, + "DocumentBlockNameString": { + "max": 64, + "min": 1, + "type": "string" + }, + "DocumentFormat": { + "enum": [ + "pdf", + "csv", + "doc", + "docx", + "xls", + "xlsx", + "html", + "txt", + "md" + ], + "type": "string" + }, + "DocumentSource": { + "members": { + "bytes": { + "shape": "DocumentSourceBytesBlob" + } + }, + "type": "structure", + "union": true + }, + "DocumentSourceBytesBlob": { + "min": 1, + "type": "blob" + }, "GuardrailAssessment": { "members": { "contentPolicy": { @@ -1564,6 +1618,9 @@ }, "ToolResultContentBlock": { "members": { + "document": { + "shape": "DocumentBlock" + }, "image": { "shape": "ImageBlock" }, diff --git a/models/apis/bedrock-runtime/2023-09-30/docs-2.json b/models/apis/bedrock-runtime/2023-09-30/docs-2.json index f01324e69ec..f9803ea0e2d 100644 --- a/models/apis/bedrock-runtime/2023-09-30/docs-2.json +++ b/models/apis/bedrock-runtime/2023-09-30/docs-2.json @@ -187,6 +187,37 @@ "ToolUseBlock$input": "
The input to pass to the tool.
" } }, + "DocumentBlock": { + "base": "A document to include in a message when sending a Converse or ConverseStream request. You can include up to 5 documents in a request. The maximum document size is 50 MB.
", + "refs": { + "ContentBlock$document": "A document to include in the message.
", + "ToolResultContentBlock$document": "A tool result that is a document.
" + } + }, + "DocumentBlockNameString": { + "base": null, + "refs": { + "DocumentBlock$name": "A name for the document.
" + } + }, + "DocumentFormat": { + "base": null, + "refs": { + "DocumentBlock$format": "The format of a document, or its extension.
" + } + }, + "DocumentSource": { + "base": "Contains the content of the document included in a message when sending a Converse or ConverseStream request or in the response.
", + "refs": { + "DocumentBlock$source": "Contains the content of the document.
" + } + }, + "DocumentSourceBytesBlob": { + "base": null, + "refs": { + "DocumentSource$bytes": "A base64-encoded string of a UTF-8 encoded file, that is the document to include in the message.
" + } + }, "GuardrailAssessment": { "base": "A behavior assessment of the guardrail policies used in a call to the Converse API.
", "refs": { diff --git a/models/apis/codeartifact/2018-09-22/api-2.json b/models/apis/codeartifact/2018-09-22/api-2.json index 9f8ff4a307e..6092d2b33a5 100644 --- a/models/apis/codeartifact/2018-09-22/api-2.json +++ b/models/apis/codeartifact/2018-09-22/api-2.json @@ -5,11 +5,13 @@ "endpointPrefix":"codeartifact", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"CodeArtifact", "serviceId":"codeartifact", "signatureVersion":"v4", "signingName":"codeartifact", - "uid":"codeartifact-2018-09-22" + "uid":"codeartifact-2018-09-22", + "auth":["aws.auth#sigv4"] }, "operations":{ "AssociateExternalConnection":{ @@ -2621,7 +2623,8 @@ "nuget", "generic", "ruby", - "swift" + "swift", + "cargo" ] }, "PackageGroupAllowedRepository":{ diff --git a/models/apis/codeartifact/2018-09-22/docs-2.json b/models/apis/codeartifact/2018-09-22/docs-2.json index ebf16b8553e..67a17d3ec9f 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": "CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to share packages with development teams and pull packages. Packages can be pulled from both public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact repository and another repository, which effectively merges their contents from the point of view of a package manager client.
CodeArtifact concepts
Repository: A CodeArtifact repository contains a set of package versions, each of which maps to a set of assets, or files. Repositories are polyglot, so a single repository can contain packages of any supported type. Each repository exposes endpoints for fetching and publishing packages using tools such as the npm
CLI or the Maven CLI ( mvn
). For a list of supported package managers, see the CodeArtifact User Guide.
Domain: Repositories are aggregated into a higher-level entity known as a domain. All package assets and metadata are stored in the domain, but are consumed through repositories. A given package asset, such as a Maven JAR file, is stored once per domain, no matter how many repositories it's present in. All of the assets and metadata in a domain are encrypted with the same customer master key (CMK) stored in Key Management Service (KMS).
Each repository is a member of a single domain and can't be moved to a different domain.
The domain allows organizational policy to be applied across multiple repositories, such as which accounts can access repositories in the domain, and which public repositories can be used as sources of packages.
Although an organization can have multiple domains, we recommend a single production domain that contains all published artifacts so that teams can find and share packages across their organization.
Package: A package is a bundle of software and the metadata required to resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, NuGet, Swift, Ruby, and generic package formats. For more information about the supported package formats and how to use CodeArtifact with them, see the CodeArtifact User Guide.
In CodeArtifact, a package consists of:
A name (for example, webpack
is the name of a popular npm package)
An optional namespace (for example, @types
in @types/node
)
A set of versions (for example, 1.0.0
, 1.0.1
, 1.0.2
, etc.)
Package-level metadata (for example, npm tags)
Package group: A group of packages that match a specified definition. Package groups can be used to apply configuration to multiple packages that match a defined pattern using package format, package namespace, and package name. You can use package groups to more conveniently configure package origin controls for multiple packages. Package origin controls are used to block or allow ingestion or publishing of new package versions, which protects users from malicious actions known as dependency substitution attacks.
Package version: A version of a package, such as @types/node 12.6.9
. The version number format and semantics vary for different package formats. For example, npm package versions must conform to the Semantic Versioning specification. In CodeArtifact, a package version consists of the version identifier, metadata at the package version level, and a set of assets.
Upstream repository: One repository is upstream of another when the package versions in it can be accessed from the repository endpoint of the downstream repository, effectively merging the contents of the two repositories from the point of view of a client. CodeArtifact allows creating an upstream relationship between two repositories.
Asset: An individual file stored in CodeArtifact associated with a package version, such as an npm .tgz
file or Maven POM and JAR files.
CodeArtifact supported API operations
AssociateExternalConnection
: Adds an existing external connection to a repository.
CopyPackageVersions
: Copies package versions from one repository to another repository in the same domain.
CreateDomain
: Creates a domain.
CreatePackageGroup
: Creates a package group.
CreateRepository
: Creates a CodeArtifact repository in a domain.
DeleteDomain
: Deletes a domain. You cannot delete a domain that contains repositories.
DeleteDomainPermissionsPolicy
: Deletes the resource policy that is set on a domain.
DeletePackage
: Deletes a package and all associated package versions.
DeletePackageGroup
: Deletes a package group. Does not delete packages or package versions that are associated with a package group.
DeletePackageVersions
: Deletes versions of a package. After a package has been deleted, it can be republished, but its assets and metadata cannot be restored because they have been permanently removed from storage.
DeleteRepository
: Deletes a repository.
DeleteRepositoryPermissionsPolicy
: Deletes the resource policy that is set on a repository.
DescribeDomain
: Returns a DomainDescription
object that contains information about the requested domain.
DescribePackage
: Returns a PackageDescription object that contains details about a package.
DescribePackageGroup
: Returns a PackageGroup object that contains details about a package group.
DescribePackageVersion
: Returns a PackageVersionDescription object that contains details about a package version.
DescribeRepository
: Returns a RepositoryDescription
object that contains detailed information about the requested repository.
DisposePackageVersions
: Disposes versions of a package. A package version with the status Disposed
cannot be restored because they have been permanently removed from storage.
DisassociateExternalConnection
: Removes an existing external connection from a repository.
GetAssociatedPackageGroup
: Returns the most closely associated package group to the specified package.
GetAuthorizationToken
: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed. The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.
GetDomainPermissionsPolicy
: Returns the policy of a resource that is attached to the specified domain.
GetPackageVersionAsset
: Returns the contents of an asset that is in a package version.
GetPackageVersionReadme
: Gets the readme file or descriptive text for a package version.
GetRepositoryEndpoint
: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:
generic
maven
npm
nuget
pypi
ruby
swift
GetRepositoryPermissionsPolicy
: Returns the resource policy that is set on a repository.
ListAllowedRepositoriesForGroup
: Lists the allowed repositories for a package group that has origin configuration set to ALLOW_SPECIFIC_REPOSITORIES
.
ListAssociatedPackages
: Returns a list of packages associated with the requested package group.
ListDomains
: Returns a list of DomainSummary
objects. Each returned DomainSummary
object contains information about a domain.
ListPackages
: Lists the packages in a repository.
ListPackageGroups
: Returns a list of package groups in the requested domain.
ListPackageVersionAssets
: Lists the assets for a given package version.
ListPackageVersionDependencies
: Returns a list of the direct dependencies for a package version.
ListPackageVersions
: Returns a list of package versions for a specified package in a repository.
ListRepositories
: Returns a list of repositories owned by the Amazon Web Services account that called this method.
ListRepositoriesInDomain
: Returns a list of the repositories in a domain.
ListSubPackageGroups
: Returns a list of direct children of the specified package group.
PublishPackageVersion
: Creates a new package version containing one or more assets.
PutDomainPermissionsPolicy
: Attaches a resource policy to a domain.
PutPackageOriginConfiguration
: Sets the package origin configuration for a package, which determine how new versions of the package can be added to a specific repository.
PutRepositoryPermissionsPolicy
: Sets the resource policy on a repository that specifies permissions to access it.
UpdatePackageGroup
: Updates a package group. This API cannot be used to update a package group's origin configuration or pattern.
UpdatePackageGroupOriginConfiguration
: Updates the package origin configuration for a package group.
UpdatePackageVersionsStatus
: Updates the status of one or more versions of a package.
UpdateRepository
: Updates the properties of a repository.
CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to share packages with development teams and pull packages. Packages can be pulled from both public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact repository and another repository, which effectively merges their contents from the point of view of a package manager client.
CodeArtifact concepts
Repository: A CodeArtifact repository contains a set of package versions, each of which maps to a set of assets, or files. Repositories are polyglot, so a single repository can contain packages of any supported type. Each repository exposes endpoints for fetching and publishing packages using tools such as the npm
CLI or the Maven CLI ( mvn
). For a list of supported package managers, see the CodeArtifact User Guide.
Domain: Repositories are aggregated into a higher-level entity known as a domain. All package assets and metadata are stored in the domain, but are consumed through repositories. A given package asset, such as a Maven JAR file, is stored once per domain, no matter how many repositories it's present in. All of the assets and metadata in a domain are encrypted with the same customer master key (CMK) stored in Key Management Service (KMS).
Each repository is a member of a single domain and can't be moved to a different domain.
The domain allows organizational policy to be applied across multiple repositories, such as which accounts can access repositories in the domain, and which public repositories can be used as sources of packages.
Although an organization can have multiple domains, we recommend a single production domain that contains all published artifacts so that teams can find and share packages across their organization.
Package: A package is a bundle of software and the metadata required to resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, NuGet, Swift, Ruby, Cargo, and generic package formats. For more information about the supported package formats and how to use CodeArtifact with them, see the CodeArtifact User Guide.
In CodeArtifact, a package consists of:
A name (for example, webpack
is the name of a popular npm package)
An optional namespace (for example, @types
in @types/node
)
A set of versions (for example, 1.0.0
, 1.0.1
, 1.0.2
, etc.)
Package-level metadata (for example, npm tags)
Package group: A group of packages that match a specified definition. Package groups can be used to apply configuration to multiple packages that match a defined pattern using package format, package namespace, and package name. You can use package groups to more conveniently configure package origin controls for multiple packages. Package origin controls are used to block or allow ingestion or publishing of new package versions, which protects users from malicious actions known as dependency substitution attacks.
Package version: A version of a package, such as @types/node 12.6.9
. The version number format and semantics vary for different package formats. For example, npm package versions must conform to the Semantic Versioning specification. In CodeArtifact, a package version consists of the version identifier, metadata at the package version level, and a set of assets.
Upstream repository: One repository is upstream of another when the package versions in it can be accessed from the repository endpoint of the downstream repository, effectively merging the contents of the two repositories from the point of view of a client. CodeArtifact allows creating an upstream relationship between two repositories.
Asset: An individual file stored in CodeArtifact associated with a package version, such as an npm .tgz
file or Maven POM and JAR files.
CodeArtifact supported API operations
AssociateExternalConnection
: Adds an existing external connection to a repository.
CopyPackageVersions
: Copies package versions from one repository to another repository in the same domain.
CreateDomain
: Creates a domain.
CreatePackageGroup
: Creates a package group.
CreateRepository
: Creates a CodeArtifact repository in a domain.
DeleteDomain
: Deletes a domain. You cannot delete a domain that contains repositories.
DeleteDomainPermissionsPolicy
: Deletes the resource policy that is set on a domain.
DeletePackage
: Deletes a package and all associated package versions.
DeletePackageGroup
: Deletes a package group. Does not delete packages or package versions that are associated with a package group.
DeletePackageVersions
: Deletes versions of a package. After a package has been deleted, it can be republished, but its assets and metadata cannot be restored because they have been permanently removed from storage.
DeleteRepository
: Deletes a repository.
DeleteRepositoryPermissionsPolicy
: Deletes the resource policy that is set on a repository.
DescribeDomain
: Returns a DomainDescription
object that contains information about the requested domain.
DescribePackage
: Returns a PackageDescription object that contains details about a package.
DescribePackageGroup
: Returns a PackageGroup object that contains details about a package group.
DescribePackageVersion
: Returns a PackageVersionDescription object that contains details about a package version.
DescribeRepository
: Returns a RepositoryDescription
object that contains detailed information about the requested repository.
DisposePackageVersions
: Disposes versions of a package. A package version with the status Disposed
cannot be restored because they have been permanently removed from storage.
DisassociateExternalConnection
: Removes an existing external connection from a repository.
GetAssociatedPackageGroup
: Returns the most closely associated package group to the specified package.
GetAuthorizationToken
: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed. The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.
GetDomainPermissionsPolicy
: Returns the policy of a resource that is attached to the specified domain.
GetPackageVersionAsset
: Returns the contents of an asset that is in a package version.
GetPackageVersionReadme
: Gets the readme file or descriptive text for a package version.
GetRepositoryEndpoint
: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:
cargo
generic
maven
npm
nuget
pypi
ruby
swift
GetRepositoryPermissionsPolicy
: Returns the resource policy that is set on a repository.
ListAllowedRepositoriesForGroup
: Lists the allowed repositories for a package group that has origin configuration set to ALLOW_SPECIFIC_REPOSITORIES
.
ListAssociatedPackages
: Returns a list of packages associated with the requested package group.
ListDomains
: Returns a list of DomainSummary
objects. Each returned DomainSummary
object contains information about a domain.
ListPackages
: Lists the packages in a repository.
ListPackageGroups
: Returns a list of package groups in the requested domain.
ListPackageVersionAssets
: Lists the assets for a given package version.
ListPackageVersionDependencies
: Returns a list of the direct dependencies for a package version.
ListPackageVersions
: Returns a list of package versions for a specified package in a repository.
ListRepositories
: Returns a list of repositories owned by the Amazon Web Services account that called this method.
ListRepositoriesInDomain
: Returns a list of the repositories in a domain.
ListSubPackageGroups
: Returns a list of direct children of the specified package group.
PublishPackageVersion
: Creates a new package version containing one or more assets.
PutDomainPermissionsPolicy
: Attaches a resource policy to a domain.
PutPackageOriginConfiguration
: Sets the package origin configuration for a package, which determine how new versions of the package can be added to a specific repository.
PutRepositoryPermissionsPolicy
: Sets the resource policy on a repository that specifies permissions to access it.
UpdatePackageGroup
: Updates a package group. This API cannot be used to update a package group's origin configuration or pattern.
UpdatePackageGroupOriginConfiguration
: Updates the package origin configuration for a package group.
UpdatePackageVersionsStatus
: Updates the status of one or more versions of a package.
UpdateRepository
: Updates the properties of a repository.
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.
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 IAM 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.
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:
generic
maven
npm
nuget
pypi
ruby
swift
Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:
cargo
generic
maven
npm
nuget
pypi
ruby
swift
Returns the resource policy that is set on a repository.
", "ListAllowedRepositoriesForGroup": "Lists the repositories in the added repositories list of the specified restriction type for a package group. For more information about restriction types and added repository lists, see Package group origin controls in the CodeArtifact User Guide.
", "ListAssociatedPackages": "Returns a list of packages associated with the requested package group. For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
", @@ -513,7 +513,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:nuget-org
- for the NuGet Gallery.
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:maven-clojars
- for the Clojars repository.
The name of the external connection to add to the repository. The following values are supported:
public:npmjs
- for the npm public repository.
public:nuget-org
- for the NuGet Gallery.
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:maven-clojars
- for the Clojars repository.
public:ruby-gems-org
- for RubyGems.org.
public:crates-io
- for Crates.io.
The name of the external connection to be removed from the repository.
", "DomainEntryPoint$externalConnectionName": "The name of the external connection that a package was ingested from.
", "RepositoryExternalConnectionInfo$externalConnectionName": "The name of the external connection associated with a repository.
" @@ -1040,32 +1040,32 @@ "PackageNamespace": { "base": null, "refs": { - "AssociatedPackage$namespace": "The namespace of the associated package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package versions to be copied. The package component that specifies its namespace depends on its type. For example:
The namespace is required when copying package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:
The namespace is required when deleting packages of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package versions to be deleted. The package component that specifies its namespace depends on its type. For example:
The namespace is required when deleting package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting packages of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the requested package version. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package versions to be disposed. The package component that specifies its namespace depends on its type. For example:
The namespace is required when disposing package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package from which to get the associated package group. The package component that specifies its namespace depends on its type. For example:
The namespace is required when getting associated package groups from packages of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version with the requested asset file. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting assets from package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version with the requested readme file. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting the readme from package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version with the requested readme file. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version that contains the requested package version assets. The package component that specifies its namespace depends on its type. For example:
The namespace is required requesting assets from package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version that contains the requested package version assets. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version with the requested dependencies. The package component that specifies its namespace depends on its type. For example:
The namespace is required when listing dependencies from package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version that contains the returned dependencies. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
The namespace is required when deleting package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace
and not --namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package that this package depends on. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats 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 version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats 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 version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the associated package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package versions to be copied. The package component that specifies its namespace depends on its type. For example:
The namespace is required when copying package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:
The namespace is required when deleting packages of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package versions to be deleted. The package component that specifies its namespace depends on its type. For example:
The namespace is required when deleting package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting packages of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the requested package version. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package versions to be disposed. The package component that specifies its namespace depends on its type. For example:
The namespace is required when disposing package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package from which to get the associated package group. The package component that specifies its namespace depends on its type. For example:
The namespace is required when getting associated package groups from packages of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version with the requested asset file. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting assets from package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version with the requested readme file. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting the readme from package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version with the requested readme file. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version that contains the requested package version assets. The package component that specifies its namespace depends on its type. For example:
The namespace is required requesting assets from package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version that contains the requested package version assets. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version with the requested dependencies. The package component that specifies its namespace depends on its type. For example:
The namespace is required when listing dependencies from package versions of the following formats:
Maven
The namespace of a Maven package version is its groupId
.
The namespace of an npm package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version that contains the returned dependencies. The package component that specifies its namespace depends on its type. For example:
The namespace is required when listing dependencies from package versions of the following formats:
Maven
The namespace of a Maven package version is its groupId
.
The namespace of an npm package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
The namespace is required when deleting package versions of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace
and not --namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package that this package depends on. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats 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 version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats 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 version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version to publish.
", "PublishPackageVersionResult$namespace": "The namespace of the package version.
", - "PutPackageOriginConfigurationRequest$namespace": "The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version to be updated. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of the package version to be updated. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
Exports optimization recommendations for Amazon ECS services on Fargate.
Recommendations are exported in a CSV file, and its metadata in a JSON file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.
You can only have one Amazon ECS service export job in progress per Amazon Web Services Region.
", "ExportLambdaFunctionRecommendations": "Exports optimization recommendations for Lambda functions.
Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.
You can have only one Lambda function export job in progress per Amazon Web Services Region.
", "ExportLicenseRecommendations": "Export optimization recommendations for your licenses.
Recommendations are exported in a comma-separated values (CSV) file, and its metadata in a JavaScript Object Notation (JSON) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.
You can have only one license export job in progress per Amazon Web Services Region.
", + "ExportRDSDatabaseRecommendations": "Export optimization recommendations for your Amazon Relational Database Service (Amazon RDS).
Recommendations are exported in a comma-separated values (CSV) file, and its metadata in a JavaScript Object Notation (JSON) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.
You can have only one Amazon RDS export job in progress per Amazon Web Services Region.
", "GetAutoScalingGroupRecommendations": "Returns Auto Scaling group recommendations.
Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
", "GetEBSVolumeRecommendations": "Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.
Compute Optimizer generates recommendations for Amazon EBS volumes that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
", "GetEC2InstanceRecommendations": "Returns Amazon EC2 instance recommendations.
Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
", @@ -21,6 +22,8 @@ "GetEnrollmentStatusesForOrganization": "Returns the Compute Optimizer enrollment (opt-in) status of organization member accounts, if your account is an organization management account.
To get the enrollment status of standalone accounts, use the GetEnrollmentStatus action.
", "GetLambdaFunctionRecommendations": "Returns Lambda function recommendations.
Compute Optimizer generates recommendations for functions that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
", "GetLicenseRecommendations": "Returns license recommendations for Amazon EC2 instances that run on a specific license.
Compute Optimizer generates recommendations for licenses that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
", + "GetRDSDatabaseRecommendationProjectedMetrics": "Returns the projected metrics of Amazon RDS recommendations.
", + "GetRDSDatabaseRecommendations": "Returns Amazon RDS recommendations.
Compute Optimizer generates recommendations for Amazon RDS that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
", "GetRecommendationPreferences": "Returns existing recommendation preferences, such as enhanced infrastructure metrics.
Use the scope
parameter to specify which preferences to return. You can specify to return preferences for an organization, a specific account ID, or a specific EC2 instance or Auto Scaling group Amazon Resource Name (ARN).
For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
", "GetRecommendationSummaries": "Returns the optimization findings for an account.
It returns the number of:
Amazon EC2 instances in an account that are Underprovisioned
, Overprovisioned
, or Optimized
.
Auto Scaling groups in an account that are NotOptimized
, or Optimized
.
Amazon EBS volumes in an account that are NotOptimized
, or Optimized
.
Lambda functions in an account that are NotOptimized
, or Optimized
.
Amazon ECS services in an account that are Underprovisioned
, Overprovisioned
, or Optimized
.
Creates a new recommendation preference or updates an existing recommendation preference, such as enhanced infrastructure metrics.
For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
", @@ -54,6 +57,7 @@ "InstanceRecommendation$accountId": "The Amazon Web Services account ID of the instance.
", "LambdaFunctionRecommendation$accountId": "The Amazon Web Services account ID of the function.
", "LicenseRecommendation$accountId": "The Amazon Web Services account ID of the license.
", + "RDSDBRecommendation$accountId": "The Amazon Web Services account ID of the Amazon RDS.
", "RecommendationSummary$accountId": "The Amazon Web Services account ID of the recommendation summary.
", "VolumeRecommendation$accountId": "The Amazon Web Services account ID of the volume.
" } @@ -67,15 +71,23 @@ "ExportECSServiceRecommendationsRequest$accountIds": "The Amazon Web Services account IDs for the export Amazon ECS service recommendations.
If your account is the management account or the delegated administrator of an organization, use this parameter to specify the member account you want to export recommendations to.
This parameter can't be specified together with the include member accounts parameter. The parameters are mutually exclusive.
If this parameter or the include member accounts parameter is omitted, the recommendations for member accounts aren't included in the export.
You can specify multiple account IDs per request.
", "ExportLambdaFunctionRecommendationsRequest$accountIds": "The IDs of the Amazon Web Services accounts for which to export Lambda function recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
", "ExportLicenseRecommendationsRequest$accountIds": "The IDs of the Amazon Web Services accounts for which to export license recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.
This parameter can't be specified together with the include member accounts parameter. The parameters are mutually exclusive.
If this parameter is omitted, recommendations for member accounts aren't included in the export.
You can specify multiple account IDs per request.
", + "ExportRDSDatabaseRecommendationsRequest$accountIds": "The Amazon Web Services account IDs for the export Amazon RDS recommendations.
If your account is the management account or the delegated administrator of an organization, use this parameter to specify the member account you want to export recommendations to.
This parameter can't be specified together with the include member accounts parameter. The parameters are mutually exclusive.
If this parameter or the include member accounts parameter is omitted, the recommendations for member accounts aren't included in the export.
You can specify multiple account IDs per request.
", "GetAutoScalingGroupRecommendationsRequest$accountIds": "The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
", "GetEBSVolumeRecommendationsRequest$accountIds": "The ID of the Amazon Web Services account for which to return volume recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return volume recommendations.
Only one account ID can be specified per request.
", "GetEC2InstanceRecommendationsRequest$accountIds": "The ID of the Amazon Web Services account for which to return instance recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.
Only one account ID can be specified per request.
", "GetECSServiceRecommendationsRequest$accountIds": "Return the Amazon ECS service recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon ECS service recommendations to specific member accounts.
You can only specify one account ID per request.
", "GetLambdaFunctionRecommendationsRequest$accountIds": "The ID of the Amazon Web Services account for which to return function recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return function recommendations.
Only one account ID can be specified per request.
", "GetLicenseRecommendationsRequest$accountIds": "The ID of the Amazon Web Services account for which to return license recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations.
Only one account ID can be specified per request.
", + "GetRDSDatabaseRecommendationsRequest$accountIds": "Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.
You can only specify one account ID per request.
", "GetRecommendationSummariesRequest$accountIds": "The ID of the Amazon Web Services account for which to return recommendation summaries.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return recommendation summaries.
Only one account ID can be specified per request.
" } }, + "AllocatedStorage": { + "base": null, + "refs": { + "DBStorageConfiguration$allocatedStorage": "The size of the RDS storage in gigabytes (GB).
" + } + }, "AutoScalingConfiguration": { "base": null, "refs": { @@ -196,8 +208,9 @@ "CpuVendorArchitectures": { "base": null, "refs": { - "EffectiveRecommendationPreferences$cpuVendorArchitectures": "Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64
with:
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.
A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.
A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.
For example, when you specify AWS_ARM64
with:
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.
A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.
A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64
with:
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton instance types only.
A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton instance type recommendations only.
A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton instance types only.
Describes the CPU vendor and architecture for Amazon RDS recommendations.
", + "RecommendationPreferences$cpuVendorArchitectures": "Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.
For example, when you specify AWS_ARM64
with:
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton instance types only.
A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton instance type recommendations only.
A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton instance types only.
The currency of the estimated monthly savings.
", "EstimatedMonthlySavings$currency": "The currency of the estimated monthly savings.
", "InstanceEstimatedMonthlySavings$currency": "The currency of the estimated monthly savings.
", - "LambdaEstimatedMonthlySavings$currency": "The currency of the estimated monthly savings.
" + "LambdaEstimatedMonthlySavings$currency": "The currency of the estimated monthly savings.
", + "RDSInstanceEstimatedMonthlySavings$currency": "The currency of the estimated monthly savings.
", + "RDSStorageEstimatedMonthlySavings$currency": "The currency of the estimated monthly savings.
" + } + }, + "CurrentDBInstanceClass": { + "base": null, + "refs": { + "RDSDBRecommendation$currentDBInstanceClass": "The DB instance class of the current RDS instance.
" } }, "CurrentInstanceType": { @@ -263,6 +284,19 @@ "CustomizableMetricParameters$threshold": "The threshold value used for the specified metric parameter.
You can only specify the threshold value for CPU utilization.
Describes the DB instance class recommendation option for your Amazon RDS instance.
" + } + }, + "DBStorageConfiguration": { + "base": "The configuration of the recommended RDS storage.
", + "refs": { + "RDSDBRecommendation$currentStorageConfiguration": "The configuration of the current RDS storage.
", + "RDSDBStorageRecommendationOption$storageConfiguration": "The recommended storage configuration.
" + } + }, "DeleteRecommendationPreferencesRequest": { "base": null, "refs": { @@ -562,12 +596,25 @@ "InstanceRecommendation$effectiveRecommendationPreferences": "An object that describes the effective recommendation preferences for the instance.
" } }, + "Engine": { + "base": null, + "refs": { + "RDSDBRecommendation$engine": "The engine of the RDS instance.
" + } + }, + "EngineVersion": { + "base": null, + "refs": { + "RDSDBRecommendation$engineVersion": "The database engine version.
" + } + }, "EnhancedInfrastructureMetrics": { "base": null, "refs": { "EffectiveRecommendationPreferences$enhancedInfrastructureMetrics": "Describes the activation status of the enhanced infrastructure metrics preference.
A status of Active
confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive
confirms that it's not yet applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
", "GetEffectiveRecommendationPreferencesResponse$enhancedInfrastructureMetrics": "The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable preferences that you might have set at the resource, account, and organization level.
A status of Active
confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive
confirms that it's not yet applied to recommendations.
To validate whether the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences
value in the response of the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
", "PutRecommendationPreferencesRequest$enhancedInfrastructureMetrics": "The status of the enhanced infrastructure metrics recommendation preference to create or update.
Specify the Active
status to activate the preference, or specify Inactive
to deactivate the preference.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
", + "RDSEffectiveRecommendationPreferences$enhancedInfrastructureMetrics": "Describes the activation status of the enhanced infrastructure metrics preference.
A status of Active
confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive
confirms that it's not yet applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
", "RecommendationPreferencesDetail$enhancedInfrastructureMetrics": "The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is applied to the recommendations, and a status of Inactive
confirms that the preference isn't yet applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
" } }, @@ -676,6 +723,16 @@ "refs": { } }, + "ExportRDSDatabaseRecommendationsRequest": { + "base": null, + "refs": { + } + }, + "ExportRDSDatabaseRecommendationsResponse": { + "base": null, + "refs": { + } + }, "ExportableAutoScalingGroupField": { "base": null, "refs": { @@ -736,6 +793,18 @@ "ExportLicenseRecommendationsRequest$fieldsToExport": "The recommendations data to include in the export file. For more information about the fields that can be exported, see Exported files in the Compute Optimizer User Guide.
" } }, + "ExportableRDSDBField": { + "base": null, + "refs": { + "ExportableRDSDBFields$member": null + } + }, + "ExportableRDSDBFields": { + "base": null, + "refs": { + "ExportRDSDatabaseRecommendationsRequest$fieldsToExport": "The recommendations data to include in the export file. For more information about the fields that can be exported, see Exported files in the Compute Optimizer User Guide.
" + } + }, "ExportableVolumeField": { "base": null, "refs": { @@ -795,7 +864,8 @@ "ExportEC2InstanceRecommendationsRequest$fileFormat": "The format of the export file.
The only export file format currently supported is Csv
.
The format of the export file.
The CSV file is the only export file format currently supported.
", "ExportLambdaFunctionRecommendationsRequest$fileFormat": "The format of the export file.
The only export file format currently supported is Csv
.
The format of the export file.
A CSV file is the only export format currently supported.
" + "ExportLicenseRecommendationsRequest$fileFormat": "The format of the export file.
A CSV file is the only export format currently supported.
", + "ExportRDSDatabaseRecommendationsRequest$fileFormat": "The format of the export file.
The CSV file is the only export file format currently supported.
" } }, "Filter": { @@ -825,7 +895,8 @@ "Filter$values": "The value of the filter.
The valid values for this parameter are as follows, depending on what you specify for the name
parameter and the resource type that you wish to filter results for:
Specify Optimized
or NotOptimized
if you specify the name
parameter as Finding
and you want to filter results for Auto Scaling groups.
Specify Underprovisioned
, Overprovisioned
, or Optimized
if you specify the name
parameter as Finding
and you want to filter results for EC2 instances.
Specify Ec2Instance
or AutoScalingGroup
if you specify the name
parameter as RecommendationSourceType
.
Specify one of the following options if you specify the name
parameter as FindingReasonCodes
:
CPUOverprovisioned
— The instance’s CPU configuration can be sized down while still meeting the performance requirements of your workload.
CPUUnderprovisioned
— The instance’s CPU configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better CPU performance.
MemoryOverprovisioned
— The instance’s memory configuration can be sized down while still meeting the performance requirements of your workload.
MemoryUnderprovisioned
— The instance’s memory configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better memory performance.
EBSThroughputOverprovisioned
— The instance’s EBS throughput configuration can be sized down while still meeting the performance requirements of your workload.
EBSThroughputUnderprovisioned
— The instance’s EBS throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS throughput performance.
EBSIOPSOverprovisioned
— The instance’s EBS IOPS configuration can be sized down while still meeting the performance requirements of your workload.
EBSIOPSUnderprovisioned
— The instance’s EBS IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS performance.
NetworkBandwidthOverprovisioned
— The instance’s network bandwidth configuration can be sized down while still meeting the performance requirements of your workload.
NetworkBandwidthUnderprovisioned
— The instance’s network bandwidth configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network bandwidth performance. This finding reason happens when the NetworkIn
or NetworkOut
performance of an instance is impacted.
NetworkPPSOverprovisioned
— The instance’s network PPS (packets per second) configuration can be sized down while still meeting the performance requirements of your workload.
NetworkPPSUnderprovisioned
— The instance’s network PPS (packets per second) configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network PPS performance.
DiskIOPSOverprovisioned
— The instance’s disk IOPS configuration can be sized down while still meeting the performance requirements of your workload.
DiskIOPSUnderprovisioned
— The instance’s disk IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk IOPS performance.
DiskThroughputOverprovisioned
— The instance’s disk throughput configuration can be sized down while still meeting the performance requirements of your workload.
DiskThroughputUnderprovisioned
— The instance’s disk throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk throughput performance.
The value of the filter.
The valid values for this parameter are as follows, depending on what you specify for the name
parameter:
Specify Ec2Instance
or AutoScalingGroup
if you specify the name
parameter as ResourceType
. There is no filter for EBS volumes because volume recommendations cannot be exported at this time.
Specify Queued
, InProgress
, Complete
, or Failed
if you specify the name
parameter as JobStatus
.
The value of the filter.
The valid values for this parameter are as follows, depending on what you specify for the name
parameter:
Specify Optimized
, NotOptimized
, or Unavailable
if you specify the name
parameter as Finding
.
Specify MemoryOverprovisioned
, MemoryUnderprovisioned
, InsufficientData
, or Inconclusive
if you specify the name
parameter as FindingReasonCode
.
The value of the filter.
The valid values for this parameter are as follows, depending on what you specify for the name
parameter:
If you specify the name
parameter as Finding
, then specify Optimized
, NotOptimized
, or InsufficentMetrics
.
If you specify the name
parameter as FindingReasonCode
, then specify Optimized
, LicenseOverprovisioned
, InvalidCloudwatchApplicationInsights
, or CloudwatchApplicationInsightsError
.
The value of the filter.
The valid values for this parameter are as follows, depending on what you specify for the name
parameter:
If you specify the name
parameter as Finding
, then specify Optimized
, NotOptimized
, or InsufficentMetrics
.
If you specify the name
parameter as FindingReasonCode
, then specify Optimized
, LicenseOverprovisioned
, InvalidCloudwatchApplicationInsights
, or CloudwatchApplicationInsightsError
.
The value of the filter.
" } }, "Filters": { @@ -841,7 +912,7 @@ "base": null, "refs": { "AutoScalingGroupRecommendation$finding": "The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized
—An Auto Scaling group is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.
Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer determines that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized resources, Compute Optimizer might recommend a new generation instance type.
The finding classification of the instance.
Findings for instances include:
Underprovisioned
—An instance is considered under-provisioned when at least one specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of your workload. Under-provisioned instances may lead to poor application performance.
Overprovisioned
—An instance is considered over-provisioned when at least one specification of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to unnecessary infrastructure cost.
Optimized
—An instance is considered optimized when all specifications of your instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned. For optimized resources, Compute Optimizer might recommend a new generation instance type.
The finding classification of the instance.
Findings for instances include:
Underprovisioned
—An instance is considered under-provisioned when at least one specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of your workload. Under-provisioned instances may lead to poor application performance.
Overprovisioned
—An instance is considered over-provisioned when at least one specification of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to unnecessary infrastructure cost.
Optimized
—An instance is considered optimized when all specifications of your instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned. For optimized resources, Compute Optimizer might recommend a new generation instance type.
The valid values in your API responses appear as OVER_PROVISIONED, UNDER_PROVISIONED, or OPTIMIZED.
The finding classification of the recommendation.
" } }, @@ -980,6 +1051,26 @@ "refs": { } }, + "GetRDSDatabaseRecommendationProjectedMetricsRequest": { + "base": null, + "refs": { + } + }, + "GetRDSDatabaseRecommendationProjectedMetricsResponse": { + "base": null, + "refs": { + } + }, + "GetRDSDatabaseRecommendationsRequest": { + "base": null, + "refs": { + } + }, + "GetRDSDatabaseRecommendationsResponse": { + "base": null, + "refs": { + } + }, "GetRecommendationError": { "base": "Describes an error experienced when getting recommendations.
For example, an error is returned if you request recommendations for an unsupported Auto Scaling group, or if you request recommendations for an instance of an unsupported instance family.
", "refs": { @@ -993,7 +1084,8 @@ "GetEBSVolumeRecommendationsResponse$errors": "An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an unsupported volume.
", "GetEC2InstanceRecommendationsResponse$errors": "An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an instance of an unsupported instance family.
", "GetECSServiceRecommendationsResponse$errors": "An array of objects that describe errors of the request.
", - "GetLicenseRecommendationsResponse$errors": "An array of objects that describe errors of the request.
" + "GetLicenseRecommendationsResponse$errors": "An array of objects that describe errors of the request.
", + "GetRDSDatabaseRecommendationsResponse$errors": "An array of objects that describe errors of the request.
" } }, "GetRecommendationPreferencesRequest": { @@ -1061,6 +1153,12 @@ "GetRecommendationError$identifier": "The ID of the error.
" } }, + "Idle": { + "base": null, + "refs": { + "RDSDBRecommendation$idle": "This indicates if the RDS instance is idle or not.
" + } + }, "IncludeMemberAccounts": { "base": null, "refs": { @@ -1070,6 +1168,7 @@ "ExportECSServiceRecommendationsRequest$includeMemberAccounts": "If your account is the management account or the delegated administrator of an organization, this parameter indicates whether to include recommendations for resources in all member accounts of the organization.
The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.
If this parameter is omitted, recommendations for member accounts of the organization aren't included in the export file.
If this parameter or the account ID parameter is omitted, recommendations for member accounts aren't included in the export.
", "ExportLambdaFunctionRecommendationsRequest$includeMemberAccounts": "Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization.
The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
", "ExportLicenseRecommendationsRequest$includeMemberAccounts": "Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization.
The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.
If this parameter is omitted, recommendations for member accounts of the organization aren't included in the export file .
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
", + "ExportRDSDatabaseRecommendationsRequest$includeMemberAccounts": "If your account is the management account or the delegated administrator of an organization, this parameter indicates whether to include recommendations for resources in all member accounts of the organization.
The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.
If this parameter is omitted, recommendations for member accounts of the organization aren't included in the export file.
If this parameter or the account ID parameter is omitted, recommendations for member accounts aren't included in the export.
", "UpdateEnrollmentStatusRequest$includeMemberAccounts": "Indicates whether to enroll member accounts of the organization if the account is the management account of an organization.
" } }, @@ -1238,6 +1337,7 @@ "ExportECSServiceRecommendationsResponse$jobId": "The identification number of the export job.
To view the status of an export job, use the DescribeRecommendationExportJobs action and specify the job ID.
", "ExportLambdaFunctionRecommendationsResponse$jobId": "The identification number of the export job.
Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.
", "ExportLicenseRecommendationsResponse$jobId": "The identification number of the export job.
To view the status of an export job, use the DescribeRecommendationExportJobs action and specify the job ID.
", + "ExportRDSDatabaseRecommendationsResponse$jobId": "The identification number of the export job.
To view the status of an export job, use the DescribeRecommendationExportJobs action and specify the job ID.
", "JobIds$member": null, "RecommendationExportJob$jobId": "The identification number of the export job.
" } @@ -1401,6 +1501,7 @@ "InstanceRecommendation$lastRefreshTimestamp": "The timestamp of when the instance recommendation was last generated.
", "LambdaFunctionRecommendation$lastRefreshTimestamp": "The timestamp of when the function recommendation was last generated.
", "LicenseRecommendation$lastRefreshTimestamp": "The timestamp of when the license recommendation was last generated.
", + "RDSDBRecommendation$lastRefreshTimestamp": "The timestamp of when the Amazon RDS recommendation was last generated.
", "VolumeRecommendation$lastRefreshTimestamp": "The timestamp of when the volume recommendation was last generated.
" } }, @@ -1518,6 +1619,7 @@ "InstanceRecommendation$lookBackPeriodInDays": "The number of days for which utilization metrics were analyzed for the instance.
", "LambdaFunctionRecommendation$lookbackPeriodInDays": "The number of days for which utilization metrics were analyzed for the function.
", "LicenseRecommendation$lookbackPeriodInDays": "The number of days for which utilization metrics were analyzed for an instance that runs on a license.
", + "RDSDBRecommendation$lookbackPeriodInDays": "The number of days the Amazon RDS utilization metrics were analyzed.
", "VolumeRecommendation$lookBackPeriodInDays": "The number of days for which utilization metrics were analyzed for the volume.
" } }, @@ -1527,6 +1629,7 @@ "EffectiveRecommendationPreferences$lookBackPeriod": "The number of days the utilization metrics of the Amazon Web Services resource are analyzed.
", "GetEffectiveRecommendationPreferencesResponse$lookBackPeriod": "The number of days the utilization metrics of the Amazon Web Services resource are analyzed.
To validate that the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences
value in the response of the GetAutoScalingGroupRecommendations or GetEC2InstanceRecommendations actions.
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14
.
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
The number of days the utilization metrics of the Amazon RDS are analyzed.
", "RecommendationPreferencesDetail$lookBackPeriod": "The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. If the preference isn’t set, this object is null.
" } }, @@ -1553,6 +1656,7 @@ "GetEnrollmentStatusesForOrganizationRequest$maxResults": "The maximum number of account enrollment statuses to return with a single request. You can specify up to 100 statuses to return with each request.
To retrieve the remaining results, make another request with the returned nextToken
value.
The maximum number of function recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
The maximum number of license recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
The maximum number of Amazon RDS recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
The maximum number of recommendation preferences to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
The maximum number of recommendation summaries to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
The statistic of the utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum
statistic, which is the highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization metrics using the Average
statistic, which is the value of Sum
/ SampleCount
during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.
The statistic of the projected metrics.
", "GetECSServiceRecommendationProjectedMetricsRequest$stat": "The statistic of the projected metrics.
", + "GetRDSDatabaseRecommendationProjectedMetricsRequest$stat": "The statistic of the projected metrics.
", "UtilizationMetric$statistic": "The statistic of the utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum
statistic, which is the highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization metrics using the Average
statistic, which is the value of Sum
/ SampleCount
during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.
The values of the projected utilization metrics.
", "LambdaFunctionUtilizationMetric$value": "The value of the utilization metric.
", "MetricValues$member": null, + "RDSDBUtilizationMetric$value": "The value of the utilization metric.
", "UtilizationMetric$value": "The value of the utilization metric.
" } }, @@ -1652,7 +1758,8 @@ "refs": { "ECSServiceProjectedMetric$upperBoundValues": "The upper bound values for the projected metric.
", "ECSServiceProjectedMetric$lowerBoundValues": "The lower bound values for the projected metric.
", - "ProjectedMetric$values": "The values of the projected utilization metrics.
" + "ProjectedMetric$values": "The values of the projected utilization metrics.
", + "RDSDatabaseProjectedMetric$values": "The values for the projected metric.
" } }, "MetricsSource": { @@ -1698,6 +1805,8 @@ "GetLambdaFunctionRecommendationsResponse$nextToken": "The token to use to advance to the next page of function recommendations.
This value is null when there are no more pages of function recommendations to return.
", "GetLicenseRecommendationsRequest$nextToken": "The token to advance to the next page of license recommendations.
", "GetLicenseRecommendationsResponse$nextToken": "The token to use to advance to the next page of license recommendations.
", + "GetRDSDatabaseRecommendationsRequest$nextToken": "The token to advance to the next page of Amazon RDS recommendations.
", + "GetRDSDatabaseRecommendationsResponse$nextToken": "The token to advance to the next page of Amazon RDS recommendations.
", "GetRecommendationPreferencesRequest$nextToken": "The token to advance to the next page of recommendation preferences.
", "GetRecommendationPreferencesResponse$nextToken": "The token to use to advance to the next page of recommendation preferences.
This value is null when there are no more pages of recommendation preferences to return.
", "GetRecommendationSummariesRequest$nextToken": "The token to advance to the next page of recommendation summaries.
", @@ -1713,6 +1822,18 @@ "ServiceConfiguration$cpu": "The number of CPU units used by the tasks in the Amazon ECS service.
" } }, + "NullableIOPS": { + "base": null, + "refs": { + "DBStorageConfiguration$iops": "The provisioned IOPs of the RDS storage.
" + } + }, + "NullableMaxAllocatedStorage": { + "base": null, + "refs": { + "DBStorageConfiguration$maxAllocatedStorage": "The maximum limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the RDS instance.
" + } + }, "NullableMemory": { "base": null, "refs": { @@ -1727,6 +1848,12 @@ "MemorySizeConfiguration$memoryReservation": "The limit of memory reserve for the container.
" } }, + "NullableStorageThroughput": { + "base": null, + "refs": { + "DBStorageConfiguration$storageThroughput": "The storage throughput of the RDS storage.
" + } + }, "NumberOfCores": { "base": null, "refs": { @@ -1762,6 +1889,7 @@ "refs": { "AutoScalingGroupRecommendationOption$performanceRisk": "The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended resource is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely you should validate whether the recommendation will meet the performance requirements of your workload before migrating your resource.
The performance risk of the instance recommendation option.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended resource is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely you should validate whether the recommendation will meet the performance requirements of your workload before migrating your resource.
The performance risk of the RDS instance recommendation option.
", "VolumeRecommendationOption$performanceRisk": "The performance risk of the volume recommendation option.
Performance risk is the likelihood of the recommended volume type meeting the performance requirement of your workload.
The value ranges from 0
- 4
, with 0
meaning that the recommended resource is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely you should validate whether the recommendation will meet the performance requirements of your workload before migrating your resource.
The granularity, in seconds, of the projected metrics data points.
", - "GetECSServiceRecommendationProjectedMetricsRequest$period": "The granularity, in seconds, of the projected metrics data points.
" + "GetECSServiceRecommendationProjectedMetricsRequest$period": "The granularity, in seconds, of the projected metrics data points.
", + "GetRDSDatabaseRecommendationProjectedMetricsRequest$period": "The granularity, in seconds, of the projected metrics data points.
" } }, "PlatformDifference": { @@ -1848,6 +1977,195 @@ "refs": { } }, + "RDSDBInstanceRecommendationOption": { + "base": "Describes the recommendation options for an Amazon RDS instance.
", + "refs": { + "RDSDBInstanceRecommendationOptions$member": null + } + }, + "RDSDBInstanceRecommendationOptions": { + "base": null, + "refs": { + "RDSDBRecommendation$instanceRecommendationOptions": "An array of objects that describe the recommendation options for the Amazon RDS instance.
" + } + }, + "RDSDBMetricName": { + "base": null, + "refs": { + "RDSDBUtilizationMetric$name": "The name of the utilization metric.
", + "RDSDatabaseProjectedMetric$name": "The name of the projected metric.
" + } + }, + "RDSDBMetricStatistic": { + "base": null, + "refs": { + "RDSDBUtilizationMetric$statistic": "The statistic of the utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum
statistic, which is the highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization metrics using the Average
statistic, which is the value of Sum
/ SampleCount
during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.
An array of objects that describe the projected utilization metrics of the RDS instance recommendation option.
" + } + }, + "RDSDBRecommendation": { + "base": "Describes an Amazon RDS recommendation.
", + "refs": { + "RDSDBRecommendations$member": null + } + }, + "RDSDBRecommendationFilter": { + "base": "Describes a filter that returns a more specific list of Amazon RDS recommendations. Use this filter with the GetECSServiceRecommendations action.
", + "refs": { + "RDSDBRecommendationFilters$member": null + } + }, + "RDSDBRecommendationFilterName": { + "base": null, + "refs": { + "RDSDBRecommendationFilter$name": "The name of the filter.
Specify Finding
to return recommendations with a specific finding classification.
You can filter your Amazon RDS recommendations by tag:key
and tag-key
tags.
A tag:key
is a key and value combination of a tag assigned to your Amazon RDS recommendations. Use the tag key in the filter name and the tag value as the filter value. For example, to find all Amazon RDS service recommendations that have a tag with the key of Owner
and the value of TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
A tag-key
is the key of a tag assigned to your Amazon RDS recommendations. Use this filter to find all of your Amazon RDS recommendations that have a tag with a specific key. This doesn’t consider the tag value. For example, you can find your Amazon RDS service recommendations with a tag key value of Owner
or without any tag keys assigned.
An array of objects to specify a filter that exports a more specific set of Amazon RDS recommendations.
", + "GetRDSDatabaseRecommendationsRequest$filters": "An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.
" + } + }, + "RDSDBRecommendations": { + "base": null, + "refs": { + "GetRDSDatabaseRecommendationsResponse$rdsDBRecommendations": "An array of objects that describe the Amazon RDS recommendations.
" + } + }, + "RDSDBStorageRecommendationOption": { + "base": "Describes the recommendation options for Amazon RDS storage.
", + "refs": { + "RDSDBStorageRecommendationOptions$member": null + } + }, + "RDSDBStorageRecommendationOptions": { + "base": null, + "refs": { + "RDSDBRecommendation$storageRecommendationOptions": "An array of objects that describe the recommendation options for Amazon RDS storage.
" + } + }, + "RDSDBUtilizationMetric": { + "base": "Describes the utilization metric of an Amazon RDS.
To determine the performance difference between your current Amazon RDS and the recommended option, compare the utilization metric data of your service against its projected utilization metric data.
", + "refs": { + "RDSDBProjectedUtilizationMetrics$member": null, + "RDSDBUtilizationMetrics$member": null + } + }, + "RDSDBUtilizationMetrics": { + "base": null, + "refs": { + "RDSDBRecommendation$utilizationMetrics": "An array of objects that describe the utilization metrics of the Amazon RDS.
" + } + }, + "RDSDatabaseProjectedMetric": { + "base": "Describes the projected metrics of an Amazon RDS recommendation option.
To determine the performance difference between your current Amazon RDS and the recommended option, compare the metric data of your service against its projected metric data.
", + "refs": { + "RDSDatabaseProjectedMetrics$member": null + } + }, + "RDSDatabaseProjectedMetrics": { + "base": null, + "refs": { + "RDSDatabaseRecommendedOptionProjectedMetric$projectedMetrics": "An array of objects that describe the projected metric.
" + } + }, + "RDSDatabaseRecommendedOptionProjectedMetric": { + "base": "Describes the projected metrics of an Amazon RDS recommendation option.
To determine the performance difference between your current Amazon RDS and the recommended option, compare the metric data of your service against its projected metric data.
", + "refs": { + "RDSDatabaseRecommendedOptionProjectedMetrics$member": null + } + }, + "RDSDatabaseRecommendedOptionProjectedMetrics": { + "base": null, + "refs": { + "GetRDSDatabaseRecommendationProjectedMetricsResponse$recommendedOptionProjectedMetrics": "An array of objects that describes the projected metrics.
" + } + }, + "RDSEffectiveRecommendationPreferences": { + "base": "Describes the effective recommendation preferences for Amazon RDS.
", + "refs": { + "RDSDBRecommendation$effectiveRecommendationPreferences": "Describes the effective recommendation preferences for Amazon RDS.
" + } + }, + "RDSInstanceEstimatedMonthlySavings": { + "base": "Describes the estimated monthly savings possible for Amazon RDS instances by adopting Compute Optimizer recommendations. This is based on Amazon RDS pricing after applying Savings Plans discounts.
", + "refs": { + "RDSInstanceSavingsOpportunityAfterDiscounts$estimatedMonthlySavings": "The estimated monthly savings possible by adopting Compute Optimizer’s Amazon RDS instance recommendations. This includes any applicable Savings Plans discounts.
" + } + }, + "RDSInstanceFinding": { + "base": null, + "refs": { + "RDSDBRecommendation$instanceFinding": "The finding classification of an Amazon RDS instance.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough resource specifications, an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive resource specifications, an Amazon RDS is considered over-provisioned.
Optimized
— When the specifications of your Amazon RDS instance meet the performance requirements of your workload, the service is considered optimized.
The reason for the finding classification of an Amazon RDS instance.
" + } + }, + "RDSInstanceSavingsOpportunityAfterDiscounts": { + "base": "Describes the savings opportunity for Amazon RDS instance recommendations after applying Savings Plans discounts.
Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
", + "refs": { + "RDSDBInstanceRecommendationOption$savingsOpportunityAfterDiscounts": "Describes the savings opportunity for Amazon RDS recommendations or for the recommendation option.
Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
" + } + }, + "RDSSavingsEstimationMode": { + "base": "Describes the savings estimation mode used for calculating savings opportunity for Amazon RDS.
", + "refs": { + "RDSEffectiveRecommendationPreferences$savingsEstimationMode": "Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon RDS.
" + } + }, + "RDSSavingsEstimationModeSource": { + "base": null, + "refs": { + "RDSSavingsEstimationMode$source": "Describes the source for calculating the savings opportunity for Amazon RDS.
" + } + }, + "RDSStorageEstimatedMonthlySavings": { + "base": "Describes the estimated monthly savings possible for Amazon RDS storage by adopting Compute Optimizer recommendations. This is based on Amazon RDS pricing after applying Savings Plans discounts.
", + "refs": { + "RDSStorageSavingsOpportunityAfterDiscounts$estimatedMonthlySavings": "The estimated monthly savings possible by adopting Compute Optimizer’s Amazon RDS storage recommendations. This includes any applicable Savings Plans discounts.
" + } + }, + "RDSStorageFinding": { + "base": null, + "refs": { + "RDSDBRecommendation$storageFinding": "The finding classification of Amazon RDS storage.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough storage, an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive storage, an Amazon RDS is considered over-provisioned.
Optimized
— When the storage of your Amazon RDS meet the performance requirements of your workload, the service is considered optimized.
The reason for the finding classification of Amazon RDS storage.
" + } + }, + "RDSStorageSavingsOpportunityAfterDiscounts": { + "base": "Describes the savings opportunity for Amazon RDS storage recommendations after applying Savings Plans discounts.
Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
", + "refs": { + "RDSDBStorageRecommendationOption$savingsOpportunityAfterDiscounts": "Describes the savings opportunity for Amazon RDS storage recommendations or for the recommendation option.
Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
" + } + }, "Rank": { "base": null, "refs": { @@ -1855,6 +2173,9 @@ "InstanceRecommendationOption$rank": "The rank of the instance recommendation option.
The top recommendation option is ranked as 1
.
The rank of the function recommendation option.
The top recommendation option is ranked as 1
.
The rank of the license recommendation option.
The top recommendation option is ranked as 1
.
The rank identifier of the RDS instance recommendation option.
", + "RDSDBStorageRecommendationOption$rank": "The rank identifier of the RDS storage recommendation option.
", + "RDSDatabaseRecommendedOptionProjectedMetric$rank": "The rank identifier of the RDS instance recommendation option.
", "RecommendedOptionProjectedMetric$rank": "The rank of the recommendation option projected metric.
The top recommendation option is ranked as 1
.
The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as 1
is related to the recommendation option that is also ranked as 1
in the same response.
The rank of the volume recommendation option.
The top recommendation option is ranked as 1
.
Describes the recommendation preferences to return in the response of a GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations, and GetEC2RecommendationProjectedMetrics request.
", + "base": "Describes the recommendation preferences to return in the response of a GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations, GetEC2RecommendationProjectedMetrics, GetRDSDatabaseRecommendations, and GetRDSDatabaseRecommendationProjectedMetrics request.
", "refs": { "ExportAutoScalingGroupRecommendationsRequest$recommendationPreferences": "An object to specify the preferences for the Auto Scaling group recommendations to export.
", "ExportEC2InstanceRecommendationsRequest$recommendationPreferences": "An object to specify the preferences for the Amazon EC2 instance recommendations to export.
", + "ExportRDSDatabaseRecommendationsRequest$recommendationPreferences": null, "GetAutoScalingGroupRecommendationsRequest$recommendationPreferences": "An object to specify the preferences for the Auto Scaling group recommendations to return in the response.
", "GetEC2InstanceRecommendationsRequest$recommendationPreferences": "An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.
", - "GetEC2RecommendationProjectedMetricsRequest$recommendationPreferences": "An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
" + "GetEC2RecommendationProjectedMetricsRequest$recommendationPreferences": "An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
", + "GetRDSDatabaseRecommendationProjectedMetricsRequest$recommendationPreferences": null, + "GetRDSDatabaseRecommendationsRequest$recommendationPreferences": null } }, "RecommendationPreferencesDetail": { @@ -1960,6 +2284,12 @@ "RecommendationSummaries$member": null } }, + "RecommendedDBInstanceClass": { + "base": null, + "refs": { + "RDSDatabaseRecommendedOptionProjectedMetric$recommendedDBInstanceClass": "The recommended DB instance class for the Amazon RDS.
" + } + }, "RecommendedInstanceType": { "base": null, "refs": { @@ -1982,14 +2312,17 @@ "base": null, "refs": { "GetEffectiveRecommendationPreferencesRequest$resourceArn": "The Amazon Resource Name (ARN) of the resource for which to confirm effective recommendation preferences. Only EC2 instance and Auto Scaling group ARNs are currently supported.
", + "GetRDSDatabaseRecommendationProjectedMetricsRequest$resourceArn": "The ARN that identifies the Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
The ARN that identifies the Amazon EC2 instance.
", + "RDSDBRecommendation$resourceArn": "The ARN of the current Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
The ARN that identifies the Amazon EC2 instance.
The following is the format of the ARN:
arn:aws:ec2:region:aws_account_id:instance/instance-id
The ARN that identifies the Amazon EC2 instance.
The following is the format of the ARN:
arn:aws:ec2:region:aws_account_id:instance/instance-id
The ARN that identifies the Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
The following is the format of a DB Cluster ARN:
arn:aws:rds:{region}:{accountId}:cluster:{resourceName}
The target resource type of the recommendation preference to delete.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling group.
The valid values for this parameter are Ec2Instance
and AutoScalingGroup
.
The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling group.
The valid values for this parameter are Ec2Instance
and AutoScalingGroup
.
The target resource type of the recommendation preference to create.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling group.
The valid values for this parameter are Ec2Instance
and AutoScalingGroup
.
The target resource type of the recommendation preference to delete.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling group.
The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling group.
The target resource type of the recommendation preference to create.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling group.
The resource type of the exported recommendations.
", "RecommendationPreferencesDetail$resourceType": "The target resource type of the recommendation preference to create.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling group.
An object that describes the destination Amazon S3 bucket of a recommendations export file.
", "ExportECSServiceRecommendationsResponse$s3Destination": null, "ExportLambdaFunctionRecommendationsResponse$s3Destination": null, - "ExportLicenseRecommendationsResponse$s3Destination": null + "ExportLicenseRecommendationsResponse$s3Destination": null, + "ExportRDSDatabaseRecommendationsResponse$s3Destination": null } }, "S3DestinationConfig": { @@ -2033,7 +2367,8 @@ "ExportEC2InstanceRecommendationsRequest$s3DestinationConfig": "An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job.
You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permissions policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer User Guide.
", "ExportECSServiceRecommendationsRequest$s3DestinationConfig": null, "ExportLambdaFunctionRecommendationsRequest$s3DestinationConfig": null, - "ExportLicenseRecommendationsRequest$s3DestinationConfig": null + "ExportLicenseRecommendationsRequest$s3DestinationConfig": null, + "ExportRDSDatabaseRecommendationsRequest$s3DestinationConfig": null } }, "SavingsEstimationMode": { @@ -2051,6 +2386,8 @@ "InstanceRecommendationOption$savingsOpportunity": "An object that describes the savings opportunity for the instance recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
", "LambdaFunctionMemoryRecommendationOption$savingsOpportunity": "An object that describes the savings opportunity for the Lambda function recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
", "LicenseRecommendationOption$savingsOpportunity": null, + "RDSDBInstanceRecommendationOption$savingsOpportunity": null, + "RDSDBStorageRecommendationOption$savingsOpportunity": null, "RecommendationSummary$savingsOpportunity": "An object that describes the savings opportunity for a given resource type. Savings opportunity includes the estimated monthly savings amount and percentage.
", "VolumeRecommendationOption$savingsOpportunity": "An object that describes the savings opportunity for the EBS volume recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
" } @@ -2063,6 +2400,8 @@ "ECSSavingsOpportunityAfterDiscounts$savingsOpportunityPercentage": "The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
", "InstanceSavingsOpportunityAfterDiscounts$savingsOpportunityPercentage": "The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s EC2 instance recommendations.
", "LambdaSavingsOpportunityAfterDiscounts$savingsOpportunityPercentage": "The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Lambda function recommendations. This includes any applicable Savings Plans discounts.
", + "RDSInstanceSavingsOpportunityAfterDiscounts$savingsOpportunityPercentage": "The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon RDS instance recommendations. This includes any applicable Savings Plans discounts.
", + "RDSStorageSavingsOpportunityAfterDiscounts$savingsOpportunityPercentage": "The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon RDS storage recommendations. This includes any applicable Savings Plans discounts.
", "SavingsOpportunity$savingsOpportunityPercentage": "The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.
" } }, @@ -2129,6 +2468,12 @@ "UpdateEnrollmentStatusResponse$statusReason": "The reason for the enrollment status of the account. For example, an account might show a status of Pending
because member accounts of an organization require more time to be enrolled in the service.
The type of RDS storage.
" + } + }, "Summaries": { "base": null, "refs": { @@ -2173,6 +2518,7 @@ "InstanceRecommendation$tags": "A list of tags assigned to your Amazon EC2 instance recommendations.
", "LambdaFunctionRecommendation$tags": "A list of tags assigned to your Lambda function recommendations.
", "LicenseRecommendation$tags": "A list of tags assigned to an EC2 instance.
", + "RDSDBRecommendation$tags": "A list of tags assigned to your Amazon RDS recommendations.
", "VolumeRecommendation$tags": "A list of tags assigned to your Amazon EBS volume recommendations.
" } }, @@ -2194,6 +2540,8 @@ "GetEC2RecommendationProjectedMetricsRequest$endTime": "The timestamp of the last projected metrics data point to return.
", "GetECSServiceRecommendationProjectedMetricsRequest$startTime": "The timestamp of the first projected metrics data point to return.
", "GetECSServiceRecommendationProjectedMetricsRequest$endTime": "The timestamp of the last projected metrics data point to return.
", + "GetRDSDatabaseRecommendationProjectedMetricsRequest$startTime": "The timestamp of the first projected metrics data point to return.
", + "GetRDSDatabaseRecommendationProjectedMetricsRequest$endTime": "The timestamp of the last projected metrics data point to return.
", "Timestamps$member": null } }, @@ -2201,7 +2549,8 @@ "base": null, "refs": { "ECSServiceProjectedMetric$timestamps": "The timestamps of the projected metric.
", - "ProjectedMetric$timestamps": "The timestamps of the projected utilization metric.
" + "ProjectedMetric$timestamps": "The timestamps of the projected utilization metric.
", + "RDSDatabaseProjectedMetric$timestamps": "The timestamps of the projected metric.
" } }, "UpdateEnrollmentStatusRequest": { @@ -2235,7 +2584,7 @@ } }, "UtilizationPreference": { - "base": "The preference to control the resource’s CPU utilization thresholds - threshold and headroom.
This preference is only available for the Amazon EC2 instance resource type.
The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom.
This preference is only available for the Amazon EC2 instance resource type.
The value of the estimated monthly savings for Amazon ECS services.
", "EstimatedMonthlySavings$value": "The value of the estimated monthly savings.
", "InstanceEstimatedMonthlySavings$value": "The value of the estimated monthly savings.
", - "LambdaEstimatedMonthlySavings$value": "The value of the estimated monthly savings.
" + "LambdaEstimatedMonthlySavings$value": "The value of the estimated monthly savings.
", + "RDSInstanceEstimatedMonthlySavings$value": "The value of the estimated monthly savings for Amazon RDS instances.
", + "RDSStorageEstimatedMonthlySavings$value": "The value of the estimated monthly savings for Amazon RDS storage.
" } }, "VeryLow": { diff --git a/models/apis/cost-optimization-hub/2022-07-26/api-2.json b/models/apis/cost-optimization-hub/2022-07-26/api-2.json index 9df87de89fa..1c4e2f85eea 100644 --- a/models/apis/cost-optimization-hub/2022-07-26/api-2.json +++ b/models/apis/cost-optimization-hub/2022-07-26/api-2.json @@ -2,9 +2,11 @@ "version":"2.0", "metadata":{ "apiVersion":"2022-07-26", + "auth":["aws.auth#sigv4"], "endpointPrefix":"cost-optimization-hub", "jsonVersion":"1.0", "protocol":"json", + "protocols":["json"], "serviceFullName":"Cost Optimization Hub", "serviceId":"Cost Optimization Hub", "signatureVersion":"v4", @@ -133,9 +135,9 @@ "type":"structure", "members":{ "accountId":{"shape":"AccountId"}, - "createdTimestamp":{"shape":"Timestamp"}, + "status":{"shape":"EnrollmentStatus"}, "lastUpdatedTimestamp":{"shape":"Timestamp"}, - "status":{"shape":"EnrollmentStatus"} + "createdTimestamp":{"shape":"Timestamp"} } }, "AccountEnrollmentStatuses":{ @@ -144,7 +146,7 @@ }, "AccountId":{ "type":"string", - "pattern":"^[0-9]{12}$" + "pattern":"[0-9]{12}" }, "AccountIdList":{ "type":"list", @@ -183,10 +185,10 @@ "ComputeConfiguration":{ "type":"structure", "members":{ - "architecture":{"shape":"String"}, + "vCpu":{"shape":"Double"}, "memorySizeInMB":{"shape":"Integer"}, - "platform":{"shape":"String"}, - "vCpu":{"shape":"Double"} + "architecture":{"shape":"String"}, + "platform":{"shape":"String"} } }, "ComputeSavingsPlans":{ @@ -200,12 +202,18 @@ "type":"structure", "members":{ "accountScope":{"shape":"String"}, - "hourlyCommitment":{"shape":"String"}, + "term":{"shape":"String"}, "paymentOption":{"shape":"String"}, - "term":{"shape":"String"} + "hourlyCommitment":{"shape":"String"} } }, "Datetime":{"type":"timestamp"}, + "DbInstanceConfiguration":{ + "type":"structure", + "members":{ + "dbInstanceClass":{"shape":"String"} + } + }, "Double":{ "type":"double", "box":true @@ -220,9 +228,9 @@ "EbsVolumeConfiguration":{ "type":"structure", "members":{ - "attachmentState":{"shape":"String"}, + "storage":{"shape":"StorageConfiguration"}, "performance":{"shape":"BlockStoragePerformanceConfiguration"}, - "storage":{"shape":"StorageConfiguration"} + "attachmentState":{"shape":"String"} } }, "Ec2AutoScalingGroup":{ @@ -262,11 +270,11 @@ "type":"structure", "members":{ "accountScope":{"shape":"String"}, + "term":{"shape":"String"}, + "paymentOption":{"shape":"String"}, "hourlyCommitment":{"shape":"String"}, "instanceFamily":{"shape":"String"}, - "paymentOption":{"shape":"String"}, - "savingsPlansRegion":{"shape":"String"}, - "term":{"shape":"String"} + "savingsPlansRegion":{"shape":"String"} } }, "Ec2ReservedInstances":{ @@ -280,21 +288,21 @@ "type":"structure", "members":{ "accountScope":{"shape":"String"}, - "currentGeneration":{"shape":"String"}, - "instanceFamily":{"shape":"String"}, - "instanceType":{"shape":"String"}, - "monthlyRecurringCost":{"shape":"String"}, + "service":{"shape":"String"}, "normalizedUnitsToPurchase":{"shape":"String"}, + "term":{"shape":"String"}, + "paymentOption":{"shape":"String"}, "numberOfInstancesToPurchase":{"shape":"String"}, "offeringClass":{"shape":"String"}, - "paymentOption":{"shape":"String"}, - "platform":{"shape":"String"}, + "instanceFamily":{"shape":"String"}, + "instanceType":{"shape":"String"}, "reservedInstancesRegion":{"shape":"String"}, - "service":{"shape":"String"}, - "sizeFlexEligible":{"shape":"Boolean"}, + "currentGeneration":{"shape":"String"}, + "platform":{"shape":"String"}, "tenancy":{"shape":"String"}, - "term":{"shape":"String"}, - "upfrontCost":{"shape":"String"} + "sizeFlexEligible":{"shape":"Boolean"}, + "upfrontCost":{"shape":"String"}, + "monthlyRecurringCost":{"shape":"String"} } }, "EcsService":{ @@ -321,18 +329,18 @@ "type":"structure", "members":{ "accountScope":{"shape":"String"}, - "currentGeneration":{"shape":"String"}, - "instanceFamily":{"shape":"String"}, - "instanceType":{"shape":"String"}, - "monthlyRecurringCost":{"shape":"String"}, + "service":{"shape":"String"}, "normalizedUnitsToPurchase":{"shape":"String"}, - "numberOfInstancesToPurchase":{"shape":"String"}, + "term":{"shape":"String"}, "paymentOption":{"shape":"String"}, + "numberOfInstancesToPurchase":{"shape":"String"}, + "instanceFamily":{"shape":"String"}, + "instanceType":{"shape":"String"}, "reservedInstancesRegion":{"shape":"String"}, - "service":{"shape":"String"}, + "currentGeneration":{"shape":"String"}, "sizeFlexEligible":{"shape":"Boolean"}, - "term":{"shape":"String"}, - "upfrontCost":{"shape":"String"} + "upfrontCost":{"shape":"String"}, + "monthlyRecurringCost":{"shape":"String"} } }, "EnrollmentStatus":{ @@ -345,25 +353,25 @@ "EstimatedDiscounts":{ "type":"structure", "members":{ - "otherDiscount":{"shape":"Double"}, + "savingsPlansDiscount":{"shape":"Double"}, "reservedInstancesDiscount":{"shape":"Double"}, - "savingsPlansDiscount":{"shape":"Double"} + "otherDiscount":{"shape":"Double"} } }, "Filter":{ "type":"structure", "members":{ - "accountIds":{"shape":"AccountIdList"}, - "actionTypes":{"shape":"ActionTypeList"}, + "restartNeeded":{"shape":"Boolean"}, + "rollbackPossible":{"shape":"Boolean"}, "implementationEfforts":{"shape":"ImplementationEffortList"}, - "recommendationIds":{"shape":"RecommendationIdList"}, + "accountIds":{"shape":"AccountIdList"}, "regions":{"shape":"RegionList"}, - "resourceArns":{"shape":"ResourceArnList"}, - "resourceIds":{"shape":"ResourceIdList"}, "resourceTypes":{"shape":"ResourceTypeList"}, - "restartNeeded":{"shape":"Boolean"}, - "rollbackPossible":{"shape":"Boolean"}, - "tags":{"shape":"TagList"} + "actionTypes":{"shape":"ActionTypeList"}, + "tags":{"shape":"TagList"}, + "resourceIds":{"shape":"ResourceIdList"}, + "resourceArns":{"shape":"ResourceArnList"}, + "recommendationIds":{"shape":"RecommendationIdList"} } }, "GetPreferencesRequest":{ @@ -374,8 +382,8 @@ "GetPreferencesResponse":{ "type":"structure", "members":{ - "memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"}, - "savingsEstimationMode":{"shape":"SavingsEstimationMode"} + "savingsEstimationMode":{"shape":"SavingsEstimationMode"}, + "memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"} } }, "GetRecommendationRequest":{ @@ -388,28 +396,28 @@ "GetRecommendationResponse":{ "type":"structure", "members":{ + "recommendationId":{"shape":"String"}, + "resourceId":{"shape":"String"}, + "resourceArn":{"shape":"String"}, "accountId":{"shape":"String"}, - "actionType":{"shape":"ActionType"}, - "costCalculationLookbackPeriodInDays":{"shape":"Integer"}, "currencyCode":{"shape":"String"}, - "currentResourceDetails":{"shape":"ResourceDetails"}, - "currentResourceType":{"shape":"ResourceType"}, - "estimatedMonthlyCost":{"shape":"Double"}, - "estimatedMonthlySavings":{"shape":"Double"}, - "estimatedSavingsOverCostCalculationLookbackPeriod":{"shape":"Double"}, - "estimatedSavingsPercentage":{"shape":"Double"}, - "implementationEffort":{"shape":"ImplementationEffort"}, - "lastRefreshTimestamp":{"shape":"Datetime"}, - "recommendationId":{"shape":"String"}, "recommendationLookbackPeriodInDays":{"shape":"Integer"}, - "recommendedResourceDetails":{"shape":"ResourceDetails"}, + "costCalculationLookbackPeriodInDays":{"shape":"Integer"}, + "estimatedSavingsPercentage":{"shape":"Double"}, + "estimatedSavingsOverCostCalculationLookbackPeriod":{"shape":"Double"}, + "currentResourceType":{"shape":"ResourceType"}, "recommendedResourceType":{"shape":"ResourceType"}, "region":{"shape":"String"}, - "resourceArn":{"shape":"String"}, - "resourceId":{"shape":"String"}, + "source":{"shape":"Source"}, + "lastRefreshTimestamp":{"shape":"Datetime"}, + "estimatedMonthlySavings":{"shape":"Double"}, + "estimatedMonthlyCost":{"shape":"Double"}, + "implementationEffort":{"shape":"ImplementationEffort"}, "restartNeeded":{"shape":"Boolean"}, + "actionType":{"shape":"ActionType"}, "rollbackPossible":{"shape":"Boolean"}, - "source":{"shape":"Source"}, + "currentResourceDetails":{"shape":"ResourceDetails"}, + "recommendedResourceDetails":{"shape":"ResourceDetails"}, "tags":{"shape":"TagList"} } }, @@ -464,17 +472,17 @@ "ListEnrollmentStatusesRequest":{ "type":"structure", "members":{ - "accountId":{"shape":"AccountId"}, "includeOrganizationInfo":{"shape":"PrimitiveBoolean"}, - "maxResults":{"shape":"MaxResults"}, - "nextToken":{"shape":"String"} + "accountId":{"shape":"AccountId"}, + "nextToken":{"shape":"String"}, + "maxResults":{"shape":"MaxResults"} } }, "ListEnrollmentStatusesResponse":{ "type":"structure", "members":{ - "includeMemberAccounts":{"shape":"Boolean"}, "items":{"shape":"AccountEnrollmentStatuses"}, + "includeMemberAccounts":{"shape":"Boolean"}, "nextToken":{"shape":"String"} } }, @@ -497,10 +505,10 @@ "ListRecommendationSummariesResponse":{ "type":"structure", "members":{ - "currencyCode":{"shape":"String"}, "estimatedTotalDedupedSavings":{"shape":"Double"}, - "groupBy":{"shape":"String"}, "items":{"shape":"RecommendationSummariesList"}, + "groupBy":{"shape":"String"}, + "currencyCode":{"shape":"String"}, "nextToken":{"shape":"String"} } }, @@ -508,10 +516,10 @@ "type":"structure", "members":{ "filter":{"shape":"Filter"}, + "orderBy":{"shape":"OrderBy"}, "includeAllRecommendations":{"shape":"PrimitiveBoolean"}, "maxResults":{"shape":"ListRecommendationsRequestMaxResultsInteger"}, - "nextToken":{"shape":"String"}, - "orderBy":{"shape":"OrderBy"} + "nextToken":{"shape":"String"} } }, "ListRecommendationsRequestMaxResultsInteger":{ @@ -551,17 +559,17 @@ "type":"structure", "members":{ "accountScope":{"shape":"String"}, - "currentGeneration":{"shape":"String"}, - "instanceType":{"shape":"String"}, - "monthlyRecurringCost":{"shape":"String"}, + "service":{"shape":"String"}, "normalizedUnitsToPurchase":{"shape":"String"}, - "numberOfInstancesToPurchase":{"shape":"String"}, + "term":{"shape":"String"}, "paymentOption":{"shape":"String"}, + "numberOfInstancesToPurchase":{"shape":"String"}, + "instanceType":{"shape":"String"}, "reservedInstancesRegion":{"shape":"String"}, - "service":{"shape":"String"}, + "currentGeneration":{"shape":"String"}, "sizeFlexEligible":{"shape":"Boolean"}, - "term":{"shape":"String"}, - "upfrontCost":{"shape":"String"} + "upfrontCost":{"shape":"String"}, + "monthlyRecurringCost":{"shape":"String"} } }, "Order":{ @@ -579,6 +587,35 @@ } }, "PrimitiveBoolean":{"type":"boolean"}, + "RdsDbInstance":{ + "type":"structure", + "members":{ + "configuration":{"shape":"RdsDbInstanceConfiguration"}, + "costCalculation":{"shape":"ResourceCostCalculation"} + } + }, + "RdsDbInstanceConfiguration":{ + "type":"structure", + "members":{ + "instance":{"shape":"DbInstanceConfiguration"} + } + }, + "RdsDbInstanceStorage":{ + "type":"structure", + "members":{ + "configuration":{"shape":"RdsDbInstanceStorageConfiguration"}, + "costCalculation":{"shape":"ResourceCostCalculation"} + } + }, + "RdsDbInstanceStorageConfiguration":{ + "type":"structure", + "members":{ + "storageType":{"shape":"String"}, + "allocatedStorageInGb":{"shape":"Double"}, + "iops":{"shape":"Double"}, + "storageThroughput":{"shape":"Double"} + } + }, "RdsReservedInstances":{ "type":"structure", "members":{ @@ -590,46 +627,46 @@ "type":"structure", "members":{ "accountScope":{"shape":"String"}, - "currentGeneration":{"shape":"String"}, - "databaseEdition":{"shape":"String"}, - "databaseEngine":{"shape":"String"}, - "deploymentOption":{"shape":"String"}, - "instanceFamily":{"shape":"String"}, - "instanceType":{"shape":"String"}, - "licenseModel":{"shape":"String"}, - "monthlyRecurringCost":{"shape":"String"}, + "service":{"shape":"String"}, "normalizedUnitsToPurchase":{"shape":"String"}, - "numberOfInstancesToPurchase":{"shape":"String"}, + "term":{"shape":"String"}, "paymentOption":{"shape":"String"}, + "numberOfInstancesToPurchase":{"shape":"String"}, + "instanceFamily":{"shape":"String"}, + "instanceType":{"shape":"String"}, "reservedInstancesRegion":{"shape":"String"}, - "service":{"shape":"String"}, "sizeFlexEligible":{"shape":"Boolean"}, - "term":{"shape":"String"}, - "upfrontCost":{"shape":"String"} + "currentGeneration":{"shape":"String"}, + "upfrontCost":{"shape":"String"}, + "monthlyRecurringCost":{"shape":"String"}, + "licenseModel":{"shape":"String"}, + "databaseEdition":{"shape":"String"}, + "databaseEngine":{"shape":"String"}, + "deploymentOption":{"shape":"String"} } }, "Recommendation":{ "type":"structure", "members":{ + "recommendationId":{"shape":"String"}, "accountId":{"shape":"String"}, - "actionType":{"shape":"String"}, - "currencyCode":{"shape":"String"}, - "currentResourceSummary":{"shape":"String"}, + "region":{"shape":"String"}, + "resourceId":{"shape":"String"}, + "resourceArn":{"shape":"String"}, "currentResourceType":{"shape":"String"}, - "estimatedMonthlyCost":{"shape":"Double"}, + "recommendedResourceType":{"shape":"String"}, "estimatedMonthlySavings":{"shape":"Double"}, "estimatedSavingsPercentage":{"shape":"Double"}, + "estimatedMonthlyCost":{"shape":"Double"}, + "currencyCode":{"shape":"String"}, "implementationEffort":{"shape":"String"}, - "lastRefreshTimestamp":{"shape":"Datetime"}, - "recommendationId":{"shape":"String"}, - "recommendationLookbackPeriodInDays":{"shape":"Integer"}, - "recommendedResourceSummary":{"shape":"String"}, - "recommendedResourceType":{"shape":"String"}, - "region":{"shape":"String"}, - "resourceArn":{"shape":"String"}, - "resourceId":{"shape":"String"}, "restartNeeded":{"shape":"Boolean"}, + "actionType":{"shape":"String"}, "rollbackPossible":{"shape":"Boolean"}, + "currentResourceSummary":{"shape":"String"}, + "recommendedResourceSummary":{"shape":"String"}, + "lastRefreshTimestamp":{"shape":"Datetime"}, + "recommendationLookbackPeriodInDays":{"shape":"Integer"}, "source":{"shape":"Source"}, "tags":{"shape":"TagList"} } @@ -651,8 +688,8 @@ "RecommendationSummary":{ "type":"structure", "members":{ - "estimatedMonthlySavings":{"shape":"Double"}, "group":{"shape":"String"}, + "estimatedMonthlySavings":{"shape":"Double"}, "recommendationCount":{"shape":"Integer"} } }, @@ -667,18 +704,18 @@ "type":"structure", "members":{ "accountScope":{"shape":"String"}, - "currentGeneration":{"shape":"String"}, - "instanceFamily":{"shape":"String"}, - "instanceType":{"shape":"String"}, - "monthlyRecurringCost":{"shape":"String"}, + "service":{"shape":"String"}, "normalizedUnitsToPurchase":{"shape":"String"}, - "numberOfInstancesToPurchase":{"shape":"String"}, + "term":{"shape":"String"}, "paymentOption":{"shape":"String"}, + "numberOfInstancesToPurchase":{"shape":"String"}, + "instanceFamily":{"shape":"String"}, + "instanceType":{"shape":"String"}, "reservedInstancesRegion":{"shape":"String"}, - "service":{"shape":"String"}, "sizeFlexEligible":{"shape":"Boolean"}, - "term":{"shape":"String"}, - "upfrontCost":{"shape":"String"} + "currentGeneration":{"shape":"String"}, + "upfrontCost":{"shape":"String"}, + "monthlyRecurringCost":{"shape":"String"} } }, "RegionList":{ @@ -696,10 +733,10 @@ "ReservedInstancesPricing":{ "type":"structure", "members":{ - "estimatedMonthlyAmortizedReservationCost":{"shape":"Double"}, "estimatedOnDemandCost":{"shape":"Double"}, "monthlyReservationEligibleCost":{"shape":"Double"}, - "savingsPercentage":{"shape":"Double"} + "savingsPercentage":{"shape":"Double"}, + "estimatedMonthlyAmortizedReservationCost":{"shape":"Double"} } }, "ResourceArnList":{ @@ -711,26 +748,28 @@ "ResourceCostCalculation":{ "type":"structure", "members":{ - "pricing":{"shape":"ResourcePricing"}, - "usages":{"shape":"UsageList"} + "usages":{"shape":"UsageList"}, + "pricing":{"shape":"ResourcePricing"} } }, "ResourceDetails":{ "type":"structure", "members":{ - "computeSavingsPlans":{"shape":"ComputeSavingsPlans"}, + "lambdaFunction":{"shape":"LambdaFunction"}, + "ecsService":{"shape":"EcsService"}, + "ec2Instance":{"shape":"Ec2Instance"}, "ebsVolume":{"shape":"EbsVolume"}, "ec2AutoScalingGroup":{"shape":"Ec2AutoScalingGroup"}, - "ec2Instance":{"shape":"Ec2Instance"}, - "ec2InstanceSavingsPlans":{"shape":"Ec2InstanceSavingsPlans"}, "ec2ReservedInstances":{"shape":"Ec2ReservedInstances"}, - "ecsService":{"shape":"EcsService"}, + "rdsReservedInstances":{"shape":"RdsReservedInstances"}, "elastiCacheReservedInstances":{"shape":"ElastiCacheReservedInstances"}, - "lambdaFunction":{"shape":"LambdaFunction"}, "openSearchReservedInstances":{"shape":"OpenSearchReservedInstances"}, - "rdsReservedInstances":{"shape":"RdsReservedInstances"}, "redshiftReservedInstances":{"shape":"RedshiftReservedInstances"}, - "sageMakerSavingsPlans":{"shape":"SageMakerSavingsPlans"} + "ec2InstanceSavingsPlans":{"shape":"Ec2InstanceSavingsPlans"}, + "computeSavingsPlans":{"shape":"ComputeSavingsPlans"}, + "sageMakerSavingsPlans":{"shape":"SageMakerSavingsPlans"}, + "rdsDbInstance":{"shape":"RdsDbInstance"}, + "rdsDbInstanceStorage":{"shape":"RdsDbInstanceStorage"} }, "union":true }, @@ -755,10 +794,10 @@ "ResourcePricing":{ "type":"structure", "members":{ - "estimatedCostAfterDiscounts":{"shape":"Double"}, "estimatedCostBeforeDiscounts":{"shape":"Double"}, + "estimatedNetUnusedAmortizedCommitments":{"shape":"Double"}, "estimatedDiscounts":{"shape":"EstimatedDiscounts"}, - "estimatedNetUnusedAmortizedCommitments":{"shape":"Double"} + "estimatedCostAfterDiscounts":{"shape":"Double"} } }, "ResourceType":{ @@ -776,7 +815,9 @@ "RdsReservedInstances", "OpenSearchReservedInstances", "RedshiftReservedInstances", - "ElastiCacheReservedInstances" + "ElastiCacheReservedInstances", + "RdsDbInstanceStorage", + "RdsDbInstance" ] }, "ResourceTypeList":{ @@ -796,9 +837,9 @@ "type":"structure", "members":{ "accountScope":{"shape":"String"}, - "hourlyCommitment":{"shape":"String"}, + "term":{"shape":"String"}, "paymentOption":{"shape":"String"}, - "term":{"shape":"String"} + "hourlyCommitment":{"shape":"String"} } }, "SavingsEstimationMode":{ @@ -817,10 +858,10 @@ "SavingsPlansPricing":{ "type":"structure", "members":{ - "estimatedMonthlyCommitment":{"shape":"Double"}, - "estimatedOnDemandCost":{"shape":"Double"}, "monthlySavingsPlansEligibleCost":{"shape":"Double"}, - "savingsPercentage":{"shape":"Double"} + "estimatedMonthlyCommitment":{"shape":"Double"}, + "savingsPercentage":{"shape":"Double"}, + "estimatedOnDemandCost":{"shape":"Double"} } }, "Source":{ @@ -833,8 +874,8 @@ "StorageConfiguration":{ "type":"structure", "members":{ - "sizeInGb":{"shape":"Double"}, - "type":{"shape":"String"} + "type":{"shape":"String"}, + "sizeInGb":{"shape":"Double"} } }, "String":{"type":"string"}, @@ -863,8 +904,8 @@ "type":"structure", "required":["status"], "members":{ - "includeMemberAccounts":{"shape":"Boolean"}, - "status":{"shape":"EnrollmentStatus"} + "status":{"shape":"EnrollmentStatus"}, + "includeMemberAccounts":{"shape":"Boolean"} } }, "UpdateEnrollmentStatusResponse":{ @@ -876,25 +917,25 @@ "UpdatePreferencesRequest":{ "type":"structure", "members":{ - "memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"}, - "savingsEstimationMode":{"shape":"SavingsEstimationMode"} + "savingsEstimationMode":{"shape":"SavingsEstimationMode"}, + "memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"} } }, "UpdatePreferencesResponse":{ "type":"structure", "members":{ - "memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"}, - "savingsEstimationMode":{"shape":"SavingsEstimationMode"} + "savingsEstimationMode":{"shape":"SavingsEstimationMode"}, + "memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"} } }, "Usage":{ "type":"structure", "members":{ + "usageType":{"shape":"String"}, + "usageAmount":{"shape":"Double"}, "operation":{"shape":"String"}, "productCode":{"shape":"String"}, - "unit":{"shape":"String"}, - "usageAmount":{"shape":"Double"}, - "usageType":{"shape":"String"} + "unit":{"shape":"String"} } }, "UsageList":{ @@ -905,9 +946,9 @@ "type":"structure", "required":["message"], "members":{ - "fields":{"shape":"ValidationExceptionDetails"}, "message":{"shape":"String"}, - "reason":{"shape":"ValidationExceptionReason"} + "reason":{"shape":"ValidationExceptionReason"}, + "fields":{"shape":"ValidationExceptionDetails"} }, "exception":true }, diff --git a/models/apis/cost-optimization-hub/2022-07-26/docs-2.json b/models/apis/cost-optimization-hub/2022-07-26/docs-2.json index 182d23c4e5b..194c01d17ae 100644 --- a/models/apis/cost-optimization-hub/2022-07-26/docs-2.json +++ b/models/apis/cost-optimization-hub/2022-07-26/docs-2.json @@ -105,35 +105,44 @@ "Recommendation$lastRefreshTimestamp": "The time when the recommendation was last generated.
" } }, + "DbInstanceConfiguration": { + "base": "The DB instance configuration used for recommendations.
", + "refs": { + "RdsDbInstanceConfiguration$instance": "Details about the instance configuration.
" + } + }, "Double": { "base": null, "refs": { "BlockStoragePerformanceConfiguration$iops": "The number of I/O operations per second.
", "BlockStoragePerformanceConfiguration$throughput": "The throughput that the volume supports.
", "ComputeConfiguration$vCpu": "The number of vCPU cores in the resource.
", - "EstimatedDiscounts$otherDiscount": "Estimated other discounts include all discounts that are not itemized. Itemized discounts include reservedInstanceDiscount
and savingsPlansDiscount
.
Estimated reserved instance discounts.
", "EstimatedDiscounts$savingsPlansDiscount": "Estimated Savings Plans discounts.
", - "GetRecommendationResponse$estimatedMonthlyCost": "The estimated monthly cost of the recommendation.
", - "GetRecommendationResponse$estimatedMonthlySavings": "The estimated monthly savings amount for the recommendation.
", - "GetRecommendationResponse$estimatedSavingsOverCostCalculationLookbackPeriod": "The estimated savings amount over the lookback period used to calculate cost impact for a recommendation.
", + "EstimatedDiscounts$reservedInstancesDiscount": "Estimated reserved instance discounts.
", + "EstimatedDiscounts$otherDiscount": "Estimated other discounts include all discounts that are not itemized. Itemized discounts include reservedInstanceDiscount
and savingsPlansDiscount
.
The estimated savings percentage relative to the total cost over the cost calculation lookback period.
", + "GetRecommendationResponse$estimatedSavingsOverCostCalculationLookbackPeriod": "The estimated savings amount over the lookback period used to calculate cost impact for a recommendation.
", + "GetRecommendationResponse$estimatedMonthlySavings": "The estimated monthly savings amount for the recommendation.
", + "GetRecommendationResponse$estimatedMonthlyCost": "The estimated monthly cost of the current resource. For Reserved Instances and Savings Plans, it refers to the cost for eligible usage.
", "ListRecommendationSummariesResponse$estimatedTotalDedupedSavings": "The total overall savings for the aggregated view.
", - "Recommendation$estimatedMonthlyCost": "The estimated monthly cost for the recommendation.
", + "RdsDbInstanceStorageConfiguration$allocatedStorageInGb": "The new amount of storage in GB to allocate for the DB instance.
", + "RdsDbInstanceStorageConfiguration$iops": "The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.
", + "RdsDbInstanceStorageConfiguration$storageThroughput": "The storage throughput for the DB instance.
", "Recommendation$estimatedMonthlySavings": "The estimated monthly savings amount for the recommendation.
", "Recommendation$estimatedSavingsPercentage": "The estimated savings percentage relative to the total cost over the cost calculation lookback period.
", + "Recommendation$estimatedMonthlyCost": "The estimated monthly cost of the current resource. For Reserved Instances and Savings Plans, it refers to the cost for eligible usage.
", "RecommendationSummary$estimatedMonthlySavings": "The estimated total savings resulting from modifications, on a monthly basis.
", - "ReservedInstancesPricing$estimatedMonthlyAmortizedReservationCost": "The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
", "ReservedInstancesPricing$estimatedOnDemandCost": "The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
", "ReservedInstancesPricing$monthlyReservationEligibleCost": "The cost of paying for the recommended reserved instance monthly.
", "ReservedInstancesPricing$savingsPercentage": "The savings percentage relative to the total On-Demand costs that are associated with this instance.
", - "ResourcePricing$estimatedCostAfterDiscounts": "The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
", + "ReservedInstancesPricing$estimatedMonthlyAmortizedReservationCost": "The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
", "ResourcePricing$estimatedCostBeforeDiscounts": "The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
", "ResourcePricing$estimatedNetUnusedAmortizedCommitments": "The estimated net unused amortized commitment for the recommendation.
", - "SavingsPlansPricing$estimatedMonthlyCommitment": "Estimated monthly commitment for the Savings Plan.
", - "SavingsPlansPricing$estimatedOnDemandCost": "Estimated On-Demand cost you will pay after buying the Savings Plan.
", + "ResourcePricing$estimatedCostAfterDiscounts": "The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
", "SavingsPlansPricing$monthlySavingsPlansEligibleCost": "The cost of paying for the recommended Savings Plan monthly.
", + "SavingsPlansPricing$estimatedMonthlyCommitment": "Estimated monthly commitment for the Savings Plan.
", "SavingsPlansPricing$savingsPercentage": "Estimated savings as a percentage of your overall costs after buying the Savings Plan.
", + "SavingsPlansPricing$estimatedOnDemandCost": "Estimated On-Demand cost you will pay after buying the Savings Plan.
", "StorageConfiguration$sizeInGb": "The storage volume.
", "Usage$usageAmount": "The usage amount.
" } @@ -286,8 +295,8 @@ "base": null, "refs": { "ComputeConfiguration$memorySizeInMB": "The memory size of the resource.
", - "GetRecommendationResponse$costCalculationLookbackPeriodInDays": "The lookback period used to calculate cost impact for a recommendation.
", "GetRecommendationResponse$recommendationLookbackPeriodInDays": "The lookback period that's used to generate the recommendation.
", + "GetRecommendationResponse$costCalculationLookbackPeriodInDays": "The lookback period used to calculate cost impact for a recommendation.
", "Recommendation$recommendationLookbackPeriodInDays": "The lookback period that's used to generate the recommendation.
", "RecommendationSummary$recommendationCount": "The total number of instance recommendations.
" } @@ -396,6 +405,30 @@ "ListRecommendationsRequest$includeAllRecommendations": "List of all recommendations for a resource, or a single recommendation if de-duped by resourceId
.
Contains the details of an Amazon RDS DB instance.
", + "refs": { + "ResourceDetails$rdsDbInstance": "The DB instance recommendation details.
" + } + }, + "RdsDbInstanceConfiguration": { + "base": "The Amazon RDS DB instance configuration used for recommendations.
", + "refs": { + "RdsDbInstance$configuration": "The Amazon RDS DB instance configuration used for recommendations.
" + } + }, + "RdsDbInstanceStorage": { + "base": "Contains the details of an Amazon RDS DB instance storage.
", + "refs": { + "ResourceDetails$rdsDbInstanceStorage": "The DB instance storage recommendation details.
" + } + }, + "RdsDbInstanceStorageConfiguration": { + "base": "The Amazon RDS DB instance storage configuration used for recommendations.
", + "refs": { + "RdsDbInstanceStorage$configuration": "The Amazon RDS DB instance storage configuration used for recommendations.
" + } + }, "RdsReservedInstances": { "base": "The RDS reserved instances recommendation details.
", "refs": { @@ -485,7 +518,9 @@ "Ec2AutoScalingGroup$costCalculation": "Cost impact of the recommendation.
", "Ec2Instance$costCalculation": "Cost impact of the recommendation.
", "EcsService$costCalculation": "Cost impact of the recommendation.
", - "LambdaFunction$costCalculation": "Cost impact of the recommendation.
" + "LambdaFunction$costCalculation": "Cost impact of the recommendation.
", + "RdsDbInstance$costCalculation": null, + "RdsDbInstanceStorage$costCalculation": null } }, "ResourceDetails": { @@ -580,133 +615,135 @@ "ComputeConfiguration$architecture": "The architecture of the resource.
", "ComputeConfiguration$platform": "The platform of the resource. The platform is the specific combination of operating system, license model, and software on an instance.
", "ComputeSavingsPlansConfiguration$accountScope": "The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER
. If the value is LINKED
, recommendations are calculated for individual member accounts only.
The hourly commitment for the Savings Plans type.
", - "ComputeSavingsPlansConfiguration$paymentOption": "The payment option for the commitment.
", "ComputeSavingsPlansConfiguration$term": "The Savings Plans recommendation term in years.
", + "ComputeSavingsPlansConfiguration$paymentOption": "The payment option for the commitment.
", + "ComputeSavingsPlansConfiguration$hourlyCommitment": "The hourly commitment for the Savings Plans type.
", + "DbInstanceConfiguration$dbInstanceClass": "The DB instance class of the DB instance.
", "EbsVolumeConfiguration$attachmentState": "The Amazon Elastic Block Store attachment state.
", "Ec2InstanceSavingsPlansConfiguration$accountScope": "The account scope that you want your recommendations for.
", + "Ec2InstanceSavingsPlansConfiguration$term": "The Savings Plans recommendation term in years.
", + "Ec2InstanceSavingsPlansConfiguration$paymentOption": "The payment option for the commitment.
", "Ec2InstanceSavingsPlansConfiguration$hourlyCommitment": "The hourly commitment for the Savings Plans type.
", "Ec2InstanceSavingsPlansConfiguration$instanceFamily": "The instance family of the recommended Savings Plan.
", - "Ec2InstanceSavingsPlansConfiguration$paymentOption": "The payment option for the commitment.
", "Ec2InstanceSavingsPlansConfiguration$savingsPlansRegion": "The Amazon Web Services Region of the commitment.
", - "Ec2InstanceSavingsPlansConfiguration$term": "The Savings Plans recommendation term in years.
", "Ec2ReservedInstancesConfiguration$accountScope": "The account scope that you want your recommendations for.
", - "Ec2ReservedInstancesConfiguration$currentGeneration": "Determines whether the recommendation is for a current generation instance.
", - "Ec2ReservedInstancesConfiguration$instanceFamily": "The instance family of the recommended reservation.
", - "Ec2ReservedInstancesConfiguration$instanceType": "The type of instance that Amazon Web Services recommends.
", - "Ec2ReservedInstancesConfiguration$monthlyRecurringCost": "How much purchasing reserved instances costs you on a monthly basis.
", + "Ec2ReservedInstancesConfiguration$service": "The service that you want your recommendations for.
", "Ec2ReservedInstancesConfiguration$normalizedUnitsToPurchase": "The number of normalized units that Amazon Web Services recommends that you purchase.
", + "Ec2ReservedInstancesConfiguration$term": "The reserved instances recommendation term in years.
", + "Ec2ReservedInstancesConfiguration$paymentOption": "The payment option for the commitment.
", "Ec2ReservedInstancesConfiguration$numberOfInstancesToPurchase": "The number of instances that Amazon Web Services recommends that you purchase.
", "Ec2ReservedInstancesConfiguration$offeringClass": "Indicates whether the recommendation is for standard or convertible reservations.
", - "Ec2ReservedInstancesConfiguration$paymentOption": "The payment option for the commitment.
", - "Ec2ReservedInstancesConfiguration$platform": "The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.
", + "Ec2ReservedInstancesConfiguration$instanceFamily": "The instance family of the recommended reservation.
", + "Ec2ReservedInstancesConfiguration$instanceType": "The type of instance that Amazon Web Services recommends.
", "Ec2ReservedInstancesConfiguration$reservedInstancesRegion": "The Amazon Web Services Region of the commitment.
", - "Ec2ReservedInstancesConfiguration$service": "The service that you want your recommendations for.
", + "Ec2ReservedInstancesConfiguration$currentGeneration": "Determines whether the recommendation is for a current generation instance.
", + "Ec2ReservedInstancesConfiguration$platform": "The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.
", "Ec2ReservedInstancesConfiguration$tenancy": "Determines whether the recommended reservation is dedicated or shared.
", - "Ec2ReservedInstancesConfiguration$term": "The reserved instances recommendation term in years.
", "Ec2ReservedInstancesConfiguration$upfrontCost": "How much purchasing this instance costs you upfront.
", + "Ec2ReservedInstancesConfiguration$monthlyRecurringCost": "How much purchasing reserved instances costs you on a monthly basis.
", "ElastiCacheReservedInstancesConfiguration$accountScope": "The account scope that you want your recommendations for.
", - "ElastiCacheReservedInstancesConfiguration$currentGeneration": "Determines whether the recommendation is for a current generation instance.
", - "ElastiCacheReservedInstancesConfiguration$instanceFamily": "The instance family of the recommended reservation.
", - "ElastiCacheReservedInstancesConfiguration$instanceType": "The type of instance that Amazon Web Services recommends.
", - "ElastiCacheReservedInstancesConfiguration$monthlyRecurringCost": "How much purchasing reserved instances costs you on a monthly basis.
", + "ElastiCacheReservedInstancesConfiguration$service": "The service that you want your recommendations for.
", "ElastiCacheReservedInstancesConfiguration$normalizedUnitsToPurchase": "The number of normalized units that Amazon Web Services recommends that you purchase.
", - "ElastiCacheReservedInstancesConfiguration$numberOfInstancesToPurchase": "The number of instances that Amazon Web Services recommends that you purchase.
", + "ElastiCacheReservedInstancesConfiguration$term": "The reserved instances recommendation term in years.
", "ElastiCacheReservedInstancesConfiguration$paymentOption": "The payment option for the commitment.
", + "ElastiCacheReservedInstancesConfiguration$numberOfInstancesToPurchase": "The number of instances that Amazon Web Services recommends that you purchase.
", + "ElastiCacheReservedInstancesConfiguration$instanceFamily": "The instance family of the recommended reservation.
", + "ElastiCacheReservedInstancesConfiguration$instanceType": "The type of instance that Amazon Web Services recommends.
", "ElastiCacheReservedInstancesConfiguration$reservedInstancesRegion": "The Amazon Web Services Region of the commitment.
", - "ElastiCacheReservedInstancesConfiguration$service": "The service that you want your recommendations for.
", - "ElastiCacheReservedInstancesConfiguration$term": "The reserved instances recommendation term in years.
", + "ElastiCacheReservedInstancesConfiguration$currentGeneration": "Determines whether the recommendation is for a current generation instance.
", "ElastiCacheReservedInstancesConfiguration$upfrontCost": "How much purchasing this instance costs you upfront.
", + "ElastiCacheReservedInstancesConfiguration$monthlyRecurringCost": "How much purchasing reserved instances costs you on a monthly basis.
", "GetRecommendationRequest$recommendationId": "The ID for the recommendation.
", + "GetRecommendationResponse$recommendationId": "The ID for the recommendation.
", + "GetRecommendationResponse$resourceId": "The unique identifier for the resource. This is the same as the Amazon Resource Name (ARN), if available.
", + "GetRecommendationResponse$resourceArn": "The Amazon Resource Name (ARN) of the resource.
", "GetRecommendationResponse$accountId": "The account that the recommendation is for.
", "GetRecommendationResponse$currencyCode": "The currency code used for the recommendation.
", - "GetRecommendationResponse$recommendationId": "The ID for the recommendation.
", "GetRecommendationResponse$region": "The Amazon Web Services Region of the resource.
", - "GetRecommendationResponse$resourceArn": "The Amazon Resource Name (ARN) of the resource.
", - "GetRecommendationResponse$resourceId": "The unique identifier for the resource. This is the same as the Amazon Resource Name (ARN), if available.
", "InstanceConfiguration$type": "Details about the type.
", "InternalServerException$message": null, "ListEnrollmentStatusesRequest$nextToken": "The token to retrieve the next set of results.
", "ListEnrollmentStatusesResponse$nextToken": "The token to retrieve the next set of results.
", "ListRecommendationSummariesRequest$groupBy": "The grouping of recommendations by a dimension.
", "ListRecommendationSummariesRequest$nextToken": "The token to retrieve the next set of results.
", - "ListRecommendationSummariesResponse$currencyCode": "The currency code used for the recommendation.
", "ListRecommendationSummariesResponse$groupBy": "The dimension used to group the recommendations by.
", + "ListRecommendationSummariesResponse$currencyCode": "The currency code used for the recommendation.
", "ListRecommendationSummariesResponse$nextToken": "The token to retrieve the next set of results.
", "ListRecommendationsRequest$nextToken": "The token to retrieve the next set of results.
", "ListRecommendationsResponse$nextToken": "The token to retrieve the next set of results.
", "OpenSearchReservedInstancesConfiguration$accountScope": "The account scope that you want your recommendations for.
", - "OpenSearchReservedInstancesConfiguration$currentGeneration": "Determines whether the recommendation is for a current generation instance.
", - "OpenSearchReservedInstancesConfiguration$instanceType": "The type of instance that Amazon Web Services recommends.
", - "OpenSearchReservedInstancesConfiguration$monthlyRecurringCost": "How much purchasing reserved instances costs you on a monthly basis.
", + "OpenSearchReservedInstancesConfiguration$service": "The service that you want your recommendations for.
", "OpenSearchReservedInstancesConfiguration$normalizedUnitsToPurchase": "The number of normalized units that Amazon Web Services recommends that you purchase.
", - "OpenSearchReservedInstancesConfiguration$numberOfInstancesToPurchase": "The number of instances that Amazon Web Services recommends that you purchase.
", + "OpenSearchReservedInstancesConfiguration$term": "The reserved instances recommendation term in years.
", "OpenSearchReservedInstancesConfiguration$paymentOption": "The payment option for the commitment.
", + "OpenSearchReservedInstancesConfiguration$numberOfInstancesToPurchase": "The number of instances that Amazon Web Services recommends that you purchase.
", + "OpenSearchReservedInstancesConfiguration$instanceType": "The type of instance that Amazon Web Services recommends.
", "OpenSearchReservedInstancesConfiguration$reservedInstancesRegion": "The Amazon Web Services Region of the commitment.
", - "OpenSearchReservedInstancesConfiguration$service": "The service that you want your recommendations for.
", - "OpenSearchReservedInstancesConfiguration$term": "The reserved instances recommendation term in years.
", + "OpenSearchReservedInstancesConfiguration$currentGeneration": "Determines whether the recommendation is for a current generation instance.
", "OpenSearchReservedInstancesConfiguration$upfrontCost": "How much purchasing this instance costs you upfront.
", + "OpenSearchReservedInstancesConfiguration$monthlyRecurringCost": "How much purchasing reserved instances costs you on a monthly basis.
", "OrderBy$dimension": "Sorts by dimension values.
", + "RdsDbInstanceStorageConfiguration$storageType": "The storage type to associate with the DB instance.
", "RdsReservedInstancesConfiguration$accountScope": "The account scope that you want your recommendations for.
", - "RdsReservedInstancesConfiguration$currentGeneration": "Determines whether the recommendation is for a current generation instance.
", - "RdsReservedInstancesConfiguration$databaseEdition": "The database edition that the recommended reservation supports.
", - "RdsReservedInstancesConfiguration$databaseEngine": "The database engine that the recommended reservation supports.
", - "RdsReservedInstancesConfiguration$deploymentOption": "Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone.
", - "RdsReservedInstancesConfiguration$instanceFamily": "The instance family of the recommended reservation.
", - "RdsReservedInstancesConfiguration$instanceType": "The type of instance that Amazon Web Services recommends.
", - "RdsReservedInstancesConfiguration$licenseModel": "The license model that the recommended reservation supports.
", - "RdsReservedInstancesConfiguration$monthlyRecurringCost": "How much purchasing this instance costs you on a monthly basis.
", + "RdsReservedInstancesConfiguration$service": "The service that you want your recommendations for.
", "RdsReservedInstancesConfiguration$normalizedUnitsToPurchase": "The number of normalized units that Amazon Web Services recommends that you purchase.
", - "RdsReservedInstancesConfiguration$numberOfInstancesToPurchase": "The number of instances that Amazon Web Services recommends that you purchase.
", + "RdsReservedInstancesConfiguration$term": "The reserved instances recommendation term in years.
", "RdsReservedInstancesConfiguration$paymentOption": "The payment option for the commitment.
", + "RdsReservedInstancesConfiguration$numberOfInstancesToPurchase": "The number of instances that Amazon Web Services recommends that you purchase.
", + "RdsReservedInstancesConfiguration$instanceFamily": "The instance family of the recommended reservation.
", + "RdsReservedInstancesConfiguration$instanceType": "The type of instance that Amazon Web Services recommends.
", "RdsReservedInstancesConfiguration$reservedInstancesRegion": "The Amazon Web Services Region of the commitment.
", - "RdsReservedInstancesConfiguration$service": "The service that you want your recommendations for.
", - "RdsReservedInstancesConfiguration$term": "The reserved instances recommendation term in years.
", + "RdsReservedInstancesConfiguration$currentGeneration": "Determines whether the recommendation is for a current generation instance.
", "RdsReservedInstancesConfiguration$upfrontCost": "How much purchasing this instance costs you upfront.
", + "RdsReservedInstancesConfiguration$monthlyRecurringCost": "How much purchasing this instance costs you on a monthly basis.
", + "RdsReservedInstancesConfiguration$licenseModel": "The license model that the recommended reservation supports.
", + "RdsReservedInstancesConfiguration$databaseEdition": "The database edition that the recommended reservation supports.
", + "RdsReservedInstancesConfiguration$databaseEngine": "The database engine that the recommended reservation supports.
", + "RdsReservedInstancesConfiguration$deploymentOption": "Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone.
", + "Recommendation$recommendationId": "The ID for the recommendation.
", "Recommendation$accountId": "The account that the recommendation is for.
", - "Recommendation$actionType": "The type of tasks that can be carried out by this action.
", - "Recommendation$currencyCode": "The currency code used for the recommendation.
", - "Recommendation$currentResourceSummary": "Describes the current resource.
", + "Recommendation$region": "The Amazon Web Services Region of the resource.
", + "Recommendation$resourceId": "The resource ID for the recommendation.
", + "Recommendation$resourceArn": "The Amazon Resource Name (ARN) for the recommendation.
", "Recommendation$currentResourceType": "The current resource type.
", + "Recommendation$recommendedResourceType": "The recommended resource type.
", + "Recommendation$currencyCode": "The currency code used for the recommendation.
", "Recommendation$implementationEffort": "The effort required to implement the recommendation.
", - "Recommendation$recommendationId": "The ID for the recommendation.
", + "Recommendation$actionType": "The type of tasks that can be carried out by this action.
", + "Recommendation$currentResourceSummary": "Describes the current resource.
", "Recommendation$recommendedResourceSummary": "Describes the recommended resource.
", - "Recommendation$recommendedResourceType": "The recommended resource type.
", - "Recommendation$region": "The Amazon Web Services Region of the resource.
", - "Recommendation$resourceArn": "The Amazon Resource Name (ARN) for the recommendation.
", - "Recommendation$resourceId": "The resource ID for the recommendation.
", "RecommendationIdList$member": null, "RecommendationSummary$group": "The grouping of recommendations.
", "RedshiftReservedInstancesConfiguration$accountScope": "The account scope that you want your recommendations for.
", - "RedshiftReservedInstancesConfiguration$currentGeneration": "Determines whether the recommendation is for a current generation instance.
", - "RedshiftReservedInstancesConfiguration$instanceFamily": "The instance family of the recommended reservation.
", - "RedshiftReservedInstancesConfiguration$instanceType": "The type of instance that Amazon Web Services recommends.
", - "RedshiftReservedInstancesConfiguration$monthlyRecurringCost": "How much purchasing reserved instances costs you on a monthly basis.
", + "RedshiftReservedInstancesConfiguration$service": "The service that you want your recommendations for.
", "RedshiftReservedInstancesConfiguration$normalizedUnitsToPurchase": "The number of normalized units that Amazon Web Services recommends that you purchase.
", - "RedshiftReservedInstancesConfiguration$numberOfInstancesToPurchase": "The number of instances that Amazon Web Services recommends that you purchase.
", + "RedshiftReservedInstancesConfiguration$term": "The reserved instances recommendation term in years.
", "RedshiftReservedInstancesConfiguration$paymentOption": "The payment option for the commitment.
", + "RedshiftReservedInstancesConfiguration$numberOfInstancesToPurchase": "The number of instances that Amazon Web Services recommends that you purchase.
", + "RedshiftReservedInstancesConfiguration$instanceFamily": "The instance family of the recommended reservation.
", + "RedshiftReservedInstancesConfiguration$instanceType": "The type of instance that Amazon Web Services recommends.
", "RedshiftReservedInstancesConfiguration$reservedInstancesRegion": "The Amazon Web Services Region of the commitment.
", - "RedshiftReservedInstancesConfiguration$service": "The service that you want your recommendations for.
", - "RedshiftReservedInstancesConfiguration$term": "The reserved instances recommendation term in years.
", + "RedshiftReservedInstancesConfiguration$currentGeneration": "Determines whether the recommendation is for a current generation instance.
", "RedshiftReservedInstancesConfiguration$upfrontCost": "How much purchasing this instance costs you upfront.
", + "RedshiftReservedInstancesConfiguration$monthlyRecurringCost": "How much purchasing reserved instances costs you on a monthly basis.
", "RegionList$member": null, "ResourceArnList$member": null, "ResourceIdList$member": null, "ResourceNotFoundException$message": null, "ResourceNotFoundException$resourceId": "The identifier of the resource that was not found.
", "SageMakerSavingsPlansConfiguration$accountScope": "The account scope that you want your recommendations for.
", - "SageMakerSavingsPlansConfiguration$hourlyCommitment": "The hourly commitment for the Savings Plans type.
", - "SageMakerSavingsPlansConfiguration$paymentOption": "The payment option for the commitment.
", "SageMakerSavingsPlansConfiguration$term": "The Savings Plans recommendation term in years.
", + "SageMakerSavingsPlansConfiguration$paymentOption": "The payment option for the commitment.
", + "SageMakerSavingsPlansConfiguration$hourlyCommitment": "The hourly commitment for the Savings Plans type.
", "StorageConfiguration$type": "The storage type.
", "Tag$key": "The key that's associated with the tag.
", "Tag$value": "The value that's associated with the tag.
", "ThrottlingException$message": null, "UpdateEnrollmentStatusResponse$status": "The enrollment status of the account.
", + "Usage$usageType": "The usage type.
", "Usage$operation": "The operation value.
", "Usage$productCode": "The product code.
", "Usage$unit": "The usage unit.
", - "Usage$usageType": "The usage type.
", "ValidationException$message": null, "ValidationExceptionDetail$fieldName": "The field name where the invalid entry was detected.
", "ValidationExceptionDetail$message": "A message with the reason for the validation exception error.
" @@ -734,8 +771,8 @@ "Timestamp": { "base": null, "refs": { - "AccountEnrollmentStatus$createdTimestamp": "The time when the account enrollment status was created.
", - "AccountEnrollmentStatus$lastUpdatedTimestamp": "The time when the account enrollment status was last updated.
" + "AccountEnrollmentStatus$lastUpdatedTimestamp": "The time when the account enrollment status was last updated.
", + "AccountEnrollmentStatus$createdTimestamp": "The time when the account enrollment status was created.
" } }, "UpdateEnrollmentStatusRequest": { diff --git a/models/apis/cost-optimization-hub/2022-07-26/smoke.json b/models/apis/cost-optimization-hub/2022-07-26/smoke.json new file mode 100644 index 00000000000..a9756813e4a --- /dev/null +++ b/models/apis/cost-optimization-hub/2022-07-26/smoke.json @@ -0,0 +1,6 @@ +{ + "version": 1, + "defaultRegion": "us-west-2", + "testCases": [ + ] +} diff --git a/models/apis/cost-optimization-hub/2022-07-26/waiters-2.json b/models/apis/cost-optimization-hub/2022-07-26/waiters-2.json new file mode 100644 index 00000000000..13f60ee66be --- /dev/null +++ b/models/apis/cost-optimization-hub/2022-07-26/waiters-2.json @@ -0,0 +1,5 @@ +{ + "version": 2, + "waiters": { + } +} diff --git a/models/apis/dynamodb/2012-08-10/api-2.json b/models/apis/dynamodb/2012-08-10/api-2.json index 32f3bceb3bc..8fc4b19f772 100644 --- a/models/apis/dynamodb/2012-08-10/api-2.json +++ b/models/apis/dynamodb/2012-08-10/api-2.json @@ -11,7 +11,8 @@ "serviceId":"DynamoDB", "signatureVersion":"v4", "targetPrefix":"DynamoDB_20120810", - "uid":"dynamodb-2012-08-10" + "uid":"dynamodb-2012-08-10", + "auth":["aws.auth#sigv4"] }, "operations":{ "BatchExecuteStatement":{ diff --git a/models/apis/dynamodb/2012-08-10/docs-2.json b/models/apis/dynamodb/2012-08-10/docs-2.json index ad1433f0a18..42ebea0d339 100644 --- a/models/apis/dynamodb/2012-08-10/docs-2.json +++ b/models/apis/dynamodb/2012-08-10/docs-2.json @@ -6,7 +6,7 @@ "BatchGetItem": "The BatchGetItem
operation returns the attributes of one or more items from one or more tables. You identify requested items by primary key.
A single operation can retrieve up to 16 MB of data, which can contain as many as 100 items. BatchGetItem
returns a partial result if the response size limit is exceeded, the table's provisioned throughput is exceeded, more than 1MB per partition is requested, or an internal processing failure occurs. If a partial result is returned, the operation returns a value for UnprocessedKeys
. You can use this value to retry the operation starting with the next item to get.
If you request more than 100 items, BatchGetItem
returns a ValidationException
with the message \"Too many items requested for the BatchGetItem call.\"
For example, if you ask to retrieve 100 items, but each individual item is 300 KB in size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns an appropriate UnprocessedKeys
value so you can get the next page of results. If desired, your application can include its own logic to assemble the pages of results into one dataset.
If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchGetItem
returns a ProvisionedThroughputExceededException
. If at least one of the items is successfully processed, then BatchGetItem
completes successfully, while returning the keys of the unread items in UnprocessedKeys
.
If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed.
For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide.
By default, BatchGetItem
performs eventually consistent reads on every table in the request. If you want strongly consistent reads instead, you can set ConsistentRead
to true
for any or all tables.
In order to minimize response latency, BatchGetItem
may retrieve items in parallel.
When designing your application, keep in mind that DynamoDB does not return items in any particular order. To help parse the response by item, include the primary key values for the items in your request in the ProjectionExpression
parameter.
If a requested item does not exist, it is not returned in the result. Requests for nonexistent items consume the minimum read capacity units according to the type of read. For more information, see Working with Tables in the Amazon DynamoDB Developer Guide.
", "BatchWriteItem": "The BatchWriteItem
operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem
can transmit up to 16MB of data over the network, consisting of up to 25 item put or delete operations. While individual items can be up to 400 KB once stored, it's important to note that an item's representation might be greater than 400KB while being sent in DynamoDB's JSON format for the API call. For more details on this distinction, see Naming Rules and Data Types.
BatchWriteItem
cannot update items. If you perform a BatchWriteItem
operation on an existing item, that item's values will be overwritten by the operation and it will appear like it was updated. To update items, we recommend you use the UpdateItem
action.
The individual PutItem
and DeleteItem
operations specified in BatchWriteItem
are atomic; however BatchWriteItem
as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems
response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem
in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem
request with those unprocessed items until all items have been processed.
If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem
returns a ProvisionedThroughputExceededException
.
If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed.
For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide.
With BatchWriteItem
, you can efficiently write or delete large amounts of data, such as from Amazon EMR, or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem
does not behave in the same way as individual PutItem
and DeleteItem
calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem
does not return deleted items in the response.
If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem
performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application.
Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit.
If one or more of the following is true, DynamoDB rejects the entire batch write operation:
One or more tables specified in the BatchWriteItem
request does not exist.
Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema.
You try to perform multiple operations on the same item in the same BatchWriteItem
request. For example, you cannot put and delete the same item in the same BatchWriteItem
request.
Your request contains at least two items with identical hash and range keys (which essentially is two put operations).
There are more than 25 requests in the batch.
Any individual item in a batch exceeds 400 KB.
The total request size exceeds 16 MB.
Any individual items with keys exceeding the key length limits. For a partition key, the limit is 2048 bytes and for a sort key, the limit is 1024 bytes.
Creates a backup for an existing table.
Each time you create an on-demand backup, the entire table data is backed up. There is no limit to the number of on-demand backups that can be taken.
When you create an on-demand backup, a time marker of the request is cataloged, and the backup is created asynchronously, by applying all changes until the time of the request to the last full table snapshot. Backup requests are processed instantaneously and become available for restore within minutes.
You can call CreateBackup
at a maximum rate of 50 times per second.
All backups in DynamoDB work without consuming any provisioned throughput on the table.
If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed to contain all data committed to the table up to 14:24:00, and data committed after 14:26:00 will not be. The backup might contain data modifications made between 14:24:00 and 14:26:00. On-demand backup does not support causal consistency.
Along with data, the following are also included on the backups:
Global secondary indexes (GSIs)
Local secondary indexes (LSIs)
Streams
Provisioned read and write capacity
Creates a global table from an existing table. A global table creates a replication relationship between two or more DynamoDB tables with the same table name in the provided Regions.
For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version), as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
If you want to add a new replica table to a global table, each of the following conditions must be true:
The table must have the same primary key as all of the other replicas.
The table must have the same name as all of the other replicas.
The table must have DynamoDB Streams enabled, with the stream containing both the new and the old images of the item.
None of the replica tables in the global table can contain any data.
If global secondary indexes are specified, then the following conditions must also be met:
The global secondary indexes must have the same name.
The global secondary indexes must have the same hash key and sort key (if present).
If local secondary indexes are specified, then the following conditions must also be met:
The local secondary indexes must have the same name.
The local secondary indexes must have the same hash key and sort key (if present).
Write capacity settings should be set consistently across your replica tables and secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write capacity settings for all of your global tables replicas and indexes.
If you prefer to manage write capacity settings manually, you should provision equal replicated write capacity units to your replica tables. You should also provision equal replicated write capacity units to matching secondary indexes across your global table.
Creates a global table from an existing table. A global table creates a replication relationship between two or more DynamoDB tables with the same table name in the provided Regions.
This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).
To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
If you want to add a new replica table to a global table, each of the following conditions must be true:
The table must have the same primary key as all of the other replicas.
The table must have the same name as all of the other replicas.
The table must have DynamoDB Streams enabled, with the stream containing both the new and the old images of the item.
None of the replica tables in the global table can contain any data.
If global secondary indexes are specified, then the following conditions must also be met:
The global secondary indexes must have the same name.
The global secondary indexes must have the same hash key and sort key (if present).
If local secondary indexes are specified, then the following conditions must also be met:
The local secondary indexes must have the same name.
The local secondary indexes must have the same hash key and sort key (if present).
Write capacity settings should be set consistently across your replica tables and secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write capacity settings for all of your global tables replicas and indexes.
If you prefer to manage write capacity settings manually, you should provision equal replicated write capacity units to your replica tables. You should also provision equal replicated write capacity units to matching secondary indexes across your global table.
The CreateTable
operation adds a new table to your account. In an Amazon Web Services account, table names must be unique within each Region. That is, you can have two tables with same name if you create the tables in different Regions.
CreateTable
is an asynchronous operation. Upon receiving a CreateTable
request, DynamoDB immediately returns a response with a TableStatus
of CREATING
. After the table is created, DynamoDB sets the TableStatus
to ACTIVE
. You can perform read and write operations only on an ACTIVE
table.
You can optionally define secondary indexes on the new table, as part of the CreateTable
operation. If you want to create multiple tables with secondary indexes on them, you must create the tables sequentially. Only one table with secondary indexes can be in the CREATING
state at any given time.
You can use the DescribeTable
action to check the table status.
Deletes an existing backup of a table.
You can call DeleteBackup
at a maximum rate of 10 times per second.
Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value.
In addition to deleting an item, you can also return the item's attribute values in the same operation, using the ReturnValues
parameter.
Unless you specify conditions, the DeleteItem
is an idempotent operation; running it multiple times on the same item or attribute does not result in an error response.
Conditional deletes are useful for deleting items only if specific conditions are met. If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not deleted.
", @@ -17,8 +17,8 @@ "DescribeContributorInsights": "Returns information about contributor insights for a given table or global secondary index.
", "DescribeEndpoints": "Returns the regional endpoint information. For more information on policy permissions, please see Internetwork traffic privacy.
", "DescribeExport": "Describes an existing table export.
", - "DescribeGlobalTable": "Returns information about the specified global table.
For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version), as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
Describes Region-specific settings for a global table.
For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version), as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
Returns information about the specified global table.
This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).
To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
Describes Region-specific settings for a global table.
This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).
To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
Represents the properties of the import.
", "DescribeKinesisStreamingDestination": "Returns information about the status of Kinesis streaming.
", "DescribeLimits": "Returns the current provisioned-capacity quotas for your Amazon Web Services account in a Region, both for the Region as a whole and for any one DynamoDB table that you create there.
When you establish an Amazon Web Services account, the account has initial quotas on the maximum read capacity units and write capacity units that you can provision across all of your DynamoDB tables in a given Region. Also, there are per-table quotas that apply when you create a table there. For more information, see Service, Account, and Table Quotas page in the Amazon DynamoDB Developer Guide.
Although you can increase these quotas by filing a case at Amazon Web Services Support Center, obtaining the increase is not instantaneous. The DescribeLimits
action lets you write code to compare the capacity you are currently using to those quotas imposed by your account so that you have enough time to apply for an increase before you hit a quota.
For example, you could use one of the Amazon Web Services SDKs to do the following:
Call DescribeLimits
for a particular Region to obtain your current account quotas on provisioned capacity there.
Create a variable to hold the aggregate read capacity units provisioned for all your tables in that Region, and one to hold the aggregate write capacity units. Zero them both.
Call ListTables
to obtain a list of all your DynamoDB tables.
For each table name listed by ListTables
, do the following:
Call DescribeTable
with the table name.
Use the data returned by DescribeTable
to add the read capacity units and write capacity units provisioned for the table itself to your variables.
If the table has one or more global secondary indexes (GSIs), loop over these GSIs and add their provisioned capacity values to your variables as well.
Report the account quotas for that Region returned by DescribeLimits
, along with the total current provisioned capacity levels you have calculated.
This will let you see whether you are getting close to your account-level quotas.
The per-table quotas apply only when you are creating a new table. They restrict the sum of the provisioned capacity of the new table itself and all its global secondary indexes.
For existing tables and their GSIs, DynamoDB doesn't let you increase provisioned capacity extremely rapidly, but the only quota that applies is that the aggregate provisioned capacity over all your tables and GSIs cannot exceed either of the per-account quotas.
DescribeLimits
should only be called periodically. You can expect throttling errors if you call it more than once in a minute.
The DescribeLimits
Request element has no content.
List DynamoDB backups that are associated with an Amazon Web Services account and weren't made with Amazon Web Services Backup. To list these backups for a given table, specify TableName
. ListBackups
returns a paginated list of results with at most 1 MB worth of items in a page. You can also specify a maximum number of entries to be returned in a page.
In the request, start time is inclusive, but end time is exclusive. Note that these boundaries are for the time at which the original backup was requested.
You can call ListBackups
a maximum of five times per second.
If you want to retrieve the complete list of backups made with Amazon Web Services Backup, use the Amazon Web Services Backup list API.
", "ListContributorInsights": "Returns a list of ContributorInsightsSummary for a table and all its global secondary indexes.
", "ListExports": "Lists completed exports within the past 90 days.
", - "ListGlobalTables": "Lists all global tables that have a replica in the specified Region.
For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version), as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
Lists all global tables that have a replica in the specified Region.
This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).
To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
Lists completed imports within the past 90 days.
", "ListTables": "Returns an array of table names associated with the current account and endpoint. The output from ListTables
is paginated, with each page returning a maximum of 100 table names.
List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.
For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.
", @@ -52,8 +52,8 @@ "UntagResource": "Removes the association of tags from an Amazon DynamoDB resource. You can call UntagResource
up to five times per second, per account.
For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.
", "UpdateContinuousBackups": " UpdateContinuousBackups
enables or disables point in time recovery for the specified table. A successful UpdateContinuousBackups
call returns the current ContinuousBackupsDescription
. Continuous backups are ENABLED
on all tables at table creation. If point in time recovery is enabled, PointInTimeRecoveryStatus
will be set to ENABLED.
Once continuous backups and point in time recovery are enabled, you can restore to any point in time within EarliestRestorableDateTime
and LatestRestorableDateTime
.
LatestRestorableDateTime
is typically 5 minutes before the current time. You can restore your table to any point in time during the last 35 days.
Updates the status for contributor insights for a specific table or index. CloudWatch Contributor Insights for DynamoDB graphs display the partition key and (if applicable) sort key of frequently accessed items and frequently throttled items in plaintext. If you require the use of Amazon Web Services Key Management Service (KMS) to encrypt this table’s partition key and sort key data with an Amazon Web Services managed key or customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB for this table.
", - "UpdateGlobalTable": "Adds or removes replicas in the specified global table. The global table must already exist to be able to use this operation. Any replica to be added must be empty, have the same name as the global table, have the same key schema, have DynamoDB Streams enabled, and have the same provisioned and maximum write capacity units.
For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version), as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version). If you are using global tables Version 2019.11.21 you can use UpdateTable instead.
Although you can use UpdateGlobalTable
to add replicas and remove replicas in a single request, for simplicity we recommend that you issue separate requests for adding or removing replicas.
If global secondary indexes are specified, then the following conditions must also be met:
The global secondary indexes must have the same name.
The global secondary indexes must have the same hash key and sort key (if present).
The global secondary indexes must have the same provisioned and maximum write capacity units.
Updates settings for a global table.
For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version), as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
Adds or removes replicas in the specified global table. The global table must already exist to be able to use this operation. Any replica to be added must be empty, have the same name as the global table, have the same key schema, have DynamoDB Streams enabled, and have the same provisioned and maximum write capacity units.
This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).
To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version). If you are using global tables Version 2019.11.21 you can use UpdateTable instead.
Although you can use UpdateGlobalTable
to add replicas and remove replicas in a single request, for simplicity we recommend that you issue separate requests for adding or removing replicas.
If global secondary indexes are specified, then the following conditions must also be met:
The global secondary indexes must have the same name.
The global secondary indexes must have the same hash key and sort key (if present).
The global secondary indexes must have the same provisioned and maximum write capacity units.
Updates settings for a global table.
This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).
To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).
You can also return the item's attribute values in the same UpdateItem
operation using the ReturnValues
parameter.
The command to update the Kinesis stream destination.
", "UpdateTable": "Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.
For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version).
You can only perform one of the following operations at once:
Modify the provisioned throughput settings of the table.
Remove a global secondary index from the table.
Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable
to perform other operations.
UpdateTable
is an asynchronous operation; while it's executing, the table status changes from ACTIVE
to UPDATING
. While it's UPDATING
, you can't issue another UpdateTable
request. When the table returns to the ACTIVE
state, the UpdateTable
operation is complete.
Identifies the PiP slot. A participant with this attribute set to \"true\"
(as a string value) in ParticipantTokenConfiguration is placed in the PiP slot.
Object specifying an auto-participant-recording configuration.
", + "refs": { + "CreateStageRequest$autoParticipantRecordingConfiguration": "Auto participant recording configuration object attached to the stage.
", + "Stage$autoParticipantRecordingConfiguration": "Auto-participant-recording configuration object attached to the stage.
", + "UpdateStageRequest$autoParticipantRecordingConfiguration": "Auto-participant-recording configuration object to attach to the stage. Auto-participant-recording configuration cannot be updated while recording is active.
" + } + }, + "AutoParticipantRecordingStorageConfigurationArn": { + "base": null, + "refs": { + "AutoParticipantRecordingConfiguration$storageConfigurationArn": "ARN of the StorageConfiguration resource to use for auto participant recording. Default: \"\" (empty string, no storage configuration is specified). Individual participant recording cannot be started unless a storage configuration is specified, when a Stage is created or updated.
" + } + }, "Bitrate": { "base": null, "refs": { @@ -579,11 +593,11 @@ "ParticipantClientAttribute": { "base": null, "refs": { - "Participant$browserName": "The participant’s browser.
", - "Participant$browserVersion": "The participant’s browser version.
", "Participant$ispName": "The participant’s Internet Service Provider.
", "Participant$osName": "The participant’s operating system.
", "Participant$osVersion": "The participant’s operating system version.
", + "Participant$browserName": "The participant’s browser.
", + "Participant$browserVersion": "The participant’s browser version.
", "Participant$sdkVersion": "The participant’s SDK version.
" } }, @@ -604,10 +618,47 @@ "ListParticipantsResponse$participants": "List of the matching participants (summary information only).
" } }, + "ParticipantRecordingFilterByRecordingState": { + "base": null, + "refs": { + "ListParticipantsRequest$filterByRecordingState": "Filters the response list to only show participants with the specified recording state. Only one of filterByUserId
, filterByPublished
, filterByState
, or filterByRecordingState
can be provided per request.
Types of media to be recorded. Default: AUDIO_VIDEO
.
Name of the S3 bucket to where the participant is being recorded, if individual participant recording is enabled, or \"\" (empty string), if recording is not enabled.
" + } + }, + "ParticipantRecordingS3Prefix": { + "base": null, + "refs": { + "Participant$recordingS3Prefix": "S3 prefix of the S3 bucket to where the participant is being recorded, if individual participant recording is enabled, or \"\" (empty string), if recording is not enabled.
" + } + }, + "ParticipantRecordingState": { + "base": null, + "refs": { + "Participant$recordingState": "Participant’s recording state.
", + "ParticipantSummary$recordingState": "Participant’s recording state.
" + } + }, "ParticipantState": { "base": null, "refs": { - "ListParticipantsRequest$filterByState": "Filters the response list to only show participants in the specified state. Only one of filterByUserId
, filterByPublished
, or filterByState
can be provided per request.
Filters the response list to only show participants in the specified state. Only one of filterByUserId
, filterByPublished
, filterByState
, or filterByRecordingState
can be provided per request.
Whether the participant is connected to or disconnected from the stage.
", "ParticipantSummary$state": "Whether the participant is connected to or disconnected from the stage.
" } @@ -744,7 +795,7 @@ "Published": { "base": null, "refs": { - "ListParticipantsRequest$filterByPublished": "Filters the response list to only show participants who published during the stage session. Only one of filterByUserId
, filterByPublished
, or filterByState
can be provided per request.
Filters the response list to only show participants who published during the stage session. Only one of filterByUserId
, filterByPublished
, filterByState
, or filterByRecordingState
can be provided per request.
Whether the participant ever published to the stage session.
", "ParticipantSummary$published": "Whether the participant ever published to the stage session.
" } @@ -1006,21 +1057,21 @@ "Time": { "base": null, "refs": { - "Composition$endTime": "UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
", "Composition$startTime": "UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a string.
", - "CompositionSummary$endTime": "UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
", + "Composition$endTime": "UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
", "CompositionSummary$startTime": "UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a string.
", - "Destination$endTime": "UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a string.
", + "CompositionSummary$endTime": "UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
", "Destination$startTime": "UTC time of the destination start. This is an ISO 8601 timestamp; note that this is returned as a string.
", - "DestinationSummary$endTime": "UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a string.
", + "Destination$endTime": "UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a string.
", "DestinationSummary$startTime": "UTC time of the destination start. This is an ISO 8601 timestamp; note that this is returned as a string.
", + "DestinationSummary$endTime": "UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a string.
", "Event$eventTime": "ISO 8601 timestamp (returned as a string) for when the event occurred.
", "Participant$firstJoinTime": "ISO 8601 timestamp (returned as a string) when the participant first joined the stage session.
", "ParticipantSummary$firstJoinTime": "ISO 8601 timestamp (returned as a string) when the participant first joined the stage session.
", - "StageSession$endTime": "ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if the stage is active.
", "StageSession$startTime": "ISO 8601 timestamp (returned as a string) when this stage session began.
", - "StageSessionSummary$endTime": "ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if the stage is active.
", - "StageSessionSummary$startTime": "ISO 8601 timestamp (returned as a string) when this stage session began.
" + "StageSession$endTime": "ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if the stage is active.
", + "StageSessionSummary$startTime": "ISO 8601 timestamp (returned as a string) when this stage session began.
", + "StageSessionSummary$endTime": "ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if the stage is active.
" } }, "UntagResourceRequest": { @@ -1046,7 +1097,7 @@ "UserId": { "base": null, "refs": { - "ListParticipantsRequest$filterByUserId": "Filters the response list to match the specified user ID. Only one of filterByUserId
, filterByPublished
, or filterByState
can be provided per request. A userId
is a customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems.
Filters the response list to match the specified user ID. Only one of filterByUserId
, filterByPublished
, filterByState
, or filterByRecordingState
can be provided per request. A userId
is a customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems.
Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
", "ParticipantSummary$userId": "Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
" } diff --git a/models/apis/ivs-realtime/2020-07-14/smoke.json b/models/apis/ivs-realtime/2020-07-14/smoke.json new file mode 100644 index 00000000000..a9756813e4a --- /dev/null +++ b/models/apis/ivs-realtime/2020-07-14/smoke.json @@ -0,0 +1,6 @@ +{ + "version": 1, + "defaultRegion": "us-west-2", + "testCases": [ + ] +} diff --git a/models/apis/ivs-realtime/2020-07-14/waiters-2.json b/models/apis/ivs-realtime/2020-07-14/waiters-2.json new file mode 100644 index 00000000000..13f60ee66be --- /dev/null +++ b/models/apis/ivs-realtime/2020-07-14/waiters-2.json @@ -0,0 +1,5 @@ +{ + "version": 2, + "waiters": { + } +} diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index 9995ac066c0..92e64423fb1 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -338,6 +338,20 @@ {"shape":"ResourceLimitExceeded"} ] }, + "CreateHubContentReference":{ + "name":"CreateHubContentReference", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateHubContentReferenceRequest"}, + "output":{"shape":"CreateHubContentReferenceResponse"}, + "errors":[ + {"shape":"ResourceNotFound"}, + {"shape":"ResourceInUse"}, + {"shape":"ResourceLimitExceeded"} + ] + }, "CreateHumanTaskUi":{ "name":"CreateHumanTaskUi", "http":{ @@ -1026,6 +1040,17 @@ {"shape":"ResourceNotFound"} ] }, + "DeleteHubContentReference":{ + "name":"DeleteHubContentReference", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteHubContentReferenceRequest"}, + "errors":[ + {"shape":"ResourceNotFound"} + ] + }, "DeleteHumanTaskUi":{ "name":"DeleteHumanTaskUi", "http":{ @@ -6980,6 +7005,31 @@ "FlowDefinitionArn":{"shape":"FlowDefinitionArn"} } }, + "CreateHubContentReferenceRequest":{ + "type":"structure", + "required":[ + "HubName", + "SageMakerPublicHubContentArn" + ], + "members":{ + "HubName":{"shape":"HubNameOrArn"}, + "SageMakerPublicHubContentArn":{"shape":"SageMakerPublicHubContentArn"}, + "HubContentName":{"shape":"HubContentName"}, + "MinVersion":{"shape":"HubContentVersion"}, + "Tags":{"shape":"TagList"} + } + }, + "CreateHubContentReferenceResponse":{ + "type":"structure", + "required":[ + "HubArn", + "HubContentArn" + ], + "members":{ + "HubArn":{"shape":"HubArn"}, + "HubContentArn":{"shape":"HubContentArn"} + } + }, "CreateHubRequest":{ "type":"structure", "required":[ @@ -8397,6 +8447,19 @@ "members":{ } }, + "DeleteHubContentReferenceRequest":{ + "type":"structure", + "required":[ + "HubName", + "HubContentType", + "HubContentName" + ], + "members":{ + "HubName":{"shape":"HubNameOrArn"}, + "HubContentType":{"shape":"HubContentType"}, + "HubContentName":{"shape":"HubContentName"} + } + }, "DeleteHubContentRequest":{ "type":"structure", "required":[ @@ -8406,7 +8469,7 @@ "HubContentVersion" ], "members":{ - "HubName":{"shape":"HubName"}, + "HubName":{"shape":"HubNameOrArn"}, "HubContentType":{"shape":"HubContentType"}, "HubContentName":{"shape":"HubContentName"}, "HubContentVersion":{"shape":"HubContentVersion"} @@ -8416,7 +8479,7 @@ "type":"structure", "required":["HubName"], "members":{ - "HubName":{"shape":"HubName"} + "HubName":{"shape":"HubNameOrArn"} } }, "DeleteHumanTaskUiRequest":{ @@ -9532,7 +9595,7 @@ "HubContentName" ], "members":{ - "HubName":{"shape":"HubName"}, + "HubName":{"shape":"HubNameOrArn"}, "HubContentType":{"shape":"HubContentType"}, "HubContentName":{"shape":"HubContentName"}, "HubContentVersion":{"shape":"HubContentVersion"} @@ -9564,6 +9627,9 @@ "HubContentDescription":{"shape":"HubContentDescription"}, "HubContentMarkdown":{"shape":"HubContentMarkdown"}, "HubContentDocument":{"shape":"HubContentDocument"}, + "SageMakerPublicHubContentArn":{"shape":"SageMakerPublicHubContentArn"}, + "ReferenceMinVersion":{"shape":"ReferenceMinVersion"}, + "SupportStatus":{"shape":"HubContentSupportStatus"}, "HubContentSearchKeywords":{"shape":"HubContentSearchKeywordList"}, "HubContentDependencies":{"shape":"HubContentDependencyList"}, "HubContentStatus":{"shape":"HubContentStatus"}, @@ -9575,7 +9641,7 @@ "type":"structure", "required":["HubName"], "members":{ - "HubName":{"shape":"HubName"} + "HubName":{"shape":"HubNameOrArn"} } }, "DescribeHubResponse":{ @@ -12437,14 +12503,17 @@ "members":{ "HubContentName":{"shape":"HubContentName"}, "HubContentArn":{"shape":"HubContentArn"}, + "SageMakerPublicHubContentArn":{"shape":"SageMakerPublicHubContentArn"}, "HubContentVersion":{"shape":"HubContentVersion"}, "HubContentType":{"shape":"HubContentType"}, "DocumentSchemaVersion":{"shape":"DocumentSchemaVersion"}, "HubContentDisplayName":{"shape":"HubContentDisplayName"}, "HubContentDescription":{"shape":"HubContentDescription"}, + "SupportStatus":{"shape":"HubContentSupportStatus"}, "HubContentSearchKeywords":{"shape":"HubContentSearchKeywordList"}, "HubContentStatus":{"shape":"HubContentStatus"}, - "CreationTime":{"shape":"Timestamp"} + "CreationTime":{"shape":"Timestamp"}, + "OriginalCreationTime":{"shape":"Timestamp"} } }, "HubContentInfoList":{ @@ -12453,8 +12522,7 @@ }, "HubContentMarkdown":{ "type":"string", - "max":65535, - "pattern":".*" + "max":65535 }, "HubContentName":{ "type":"string", @@ -12484,11 +12552,19 @@ "DeleteFailed" ] }, + "HubContentSupportStatus":{ + "type":"string", + "enum":[ + "Supported", + "Deprecated" + ] + }, "HubContentType":{ "type":"string", "enum":[ "Model", - "Notebook" + "Notebook", + "ModelReference" ] }, "HubContentVersion":{ @@ -12536,6 +12612,10 @@ "max":63, "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}" }, + "HubNameOrArn":{ + "type":"string", + "pattern":"^(arn:[a-z0-9-\\.]{1,63}:sagemaker:\\w+(?:-\\w+)+:(\\d{12}|aws):hub\\/)?[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}$" + }, "HubS3StorageConfig":{ "type":"structure", "members":{ @@ -13284,7 +13364,7 @@ "HubContentVersion":{"shape":"HubContentVersion"}, "HubContentType":{"shape":"HubContentType"}, "DocumentSchemaVersion":{"shape":"DocumentSchemaVersion"}, - "HubName":{"shape":"HubName"}, + "HubName":{"shape":"HubNameOrArn"}, "HubContentDisplayName":{"shape":"HubContentDisplayName"}, "HubContentDescription":{"shape":"HubContentDescription"}, "HubContentMarkdown":{"shape":"HubContentMarkdown"}, @@ -13534,6 +13614,13 @@ "type":"string", "enum":["ShadowMode"] }, + "InferenceHubAccessConfig":{ + "type":"structure", + "required":["HubContentArn"], + "members":{ + "HubContentArn":{"shape":"HubContentArn"} + } + }, "InferenceImage":{ "type":"string", "max":256 @@ -13552,7 +13639,6 @@ "InferenceRecommendation":{ "type":"structure", "required":[ - "Metrics", "EndpointConfiguration", "ModelConfiguration" ], @@ -14930,7 +15016,7 @@ "HubContentName" ], "members":{ - "HubName":{"shape":"HubName"}, + "HubName":{"shape":"HubNameOrArn"}, "HubContentType":{"shape":"HubContentType"}, "HubContentName":{"shape":"HubContentName"}, "MinVersion":{"shape":"HubContentVersion"}, @@ -14958,7 +15044,7 @@ "HubContentType" ], "members":{ - "HubName":{"shape":"HubName"}, + "HubName":{"shape":"HubNameOrArn"}, "HubContentType":{"shape":"HubContentType"}, "NameContains":{"shape":"NameContains"}, "MaxSchemaVersion":{"shape":"DocumentSchemaVersion"}, @@ -19775,12 +19861,6 @@ }, "RecommendationMetrics":{ "type":"structure", - "required":[ - "CostPerHour", - "CostPerInference", - "MaxInvocations", - "ModelLatency" - ], "members":{ "CostPerHour":{"shape":"Float"}, "CostPerInference":{"shape":"Float"}, @@ -19875,6 +19955,12 @@ "min":1, "pattern":".*" }, + "ReferenceMinVersion":{ + "type":"string", + "max":14, + "min":5, + "pattern":"^\\d{1,4}.\\d{1,4}.\\d{1,4}$" + }, "RegisterDevicesRequest":{ "type":"structure", "required":[ @@ -20286,7 +20372,8 @@ "S3Uri":{"shape":"S3ModelUri"}, "S3DataType":{"shape":"S3ModelDataType"}, "CompressionType":{"shape":"ModelCompressionType"}, - "ModelAccessConfig":{"shape":"ModelAccessConfig"} + "ModelAccessConfig":{"shape":"ModelAccessConfig"}, + "HubAccessConfig":{"shape":"InferenceHubAccessConfig"} } }, "S3ModelDataType":{ @@ -20336,6 +20423,11 @@ "type":"list", "member":{"shape":"SageMakerImageVersionAlias"} }, + "SageMakerPublicHubContentArn":{ + "type":"string", + "max":255, + "pattern":"^arn:[a-z0-9-\\.]{1,63}:sagemaker:\\w+(?:-\\w+)+:aws:hub-content\\/[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}\\/Model\\/[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63}$" + }, "SagemakerServicecatalogStatus":{ "type":"string", "enum":[ @@ -23024,7 +23116,7 @@ "type":"structure", "required":["HubName"], "members":{ - "HubName":{"shape":"HubName"}, + "HubName":{"shape":"HubNameOrArn"}, "HubDescription":{"shape":"HubDescription"}, "HubDisplayName":{"shape":"HubDisplayName"}, "HubSearchKeywords":{"shape":"HubSearchKeywordList"} diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index 171f05e2d04..4635d2d5bfe 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -28,7 +28,8 @@ "CreateExperiment": "Creates a SageMaker experiment. An experiment is a collection of trials that are observed, compared and evaluated as a group. A trial is a set of steps, called trial components, that produce a machine learning model.
In the Studio UI, trials are referred to as run groups and trial components are referred to as runs.
The goal of an experiment is to determine the components that produce the best model. Multiple trials are performed, each one isolating and measuring the impact of a change to one or more inputs, while keeping the remaining inputs constant.
When you use SageMaker Studio or the SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the Amazon Web Services SDK for Python (Boto), you must use the logging APIs provided by the SDK.
You can add tags to experiments, trials, trial components and then use the Search API to search for the tags.
To add a description to an experiment, specify the optional Description
parameter. To add a description later, or to change the description, call the UpdateExperiment API.
To get a list of all your experiments, call the ListExperiments API. To view an experiment's properties, call the DescribeExperiment API. To get a list of all the trials associated with an experiment, call the ListTrials API. To create a trial call the CreateTrial API.
", "CreateFeatureGroup": "Create a new FeatureGroup
. A FeatureGroup
is a group of Features
defined in the FeatureStore
to describe a Record
.
The FeatureGroup
defines the schema and features contained in the FeatureGroup
. A FeatureGroup
definition is composed of a list of Features
, a RecordIdentifierFeatureName
, an EventTimeFeatureName
and configurations for its OnlineStore
and OfflineStore
. Check Amazon Web Services service quotas to see the FeatureGroup
s quota for your Amazon Web Services account.
Note that it can take approximately 10-15 minutes to provision an OnlineStore
FeatureGroup
with the InMemory
StorageType
.
You must include at least one of OnlineStoreConfig
and OfflineStoreConfig
to create a FeatureGroup
.
Creates a flow definition.
", - "CreateHub": "Create a hub.
Hub APIs are only callable through SageMaker Studio.
Create a hub.
", + "CreateHubContentReference": "Create a hub content reference in order to add a model in the JumpStart public hub to a private hub.
", "CreateHumanTaskUi": "Defines the settings you will use for the human review workflow user interface. Reviewers will see a three-panel interface with an instruction area, the item to review, and an input area.
", "CreateHyperParameterTuningJob": "Starts a hyperparameter tuning job. A hyperparameter tuning job finds the best version of a model by running many training jobs on your dataset using the algorithm you choose and values for hyperparameters within ranges that you specify. It then chooses the hyperparameter values that result in a model that performs the best, as measured by an objective metric that you choose.
A hyperparameter tuning job automatically creates Amazon SageMaker experiments, trials, and trial components for each training job that it runs. You can view these entities in Amazon SageMaker Studio. For more information, see View Experiments, Trials, and Trial Components.
Do not include any security-sensitive information including account access IDs, secrets or tokens in any hyperparameter field. If the use of security-sensitive credentials are detected, SageMaker will reject your training job request and return an exception error.
Creates a custom SageMaker image. A SageMaker image is a set of image versions. Each image version represents a container image stored in Amazon ECR. For more information, see Bring your own SageMaker image.
", @@ -84,8 +85,9 @@ "DeleteExperiment": "Deletes an SageMaker experiment. All trials associated with the experiment must be deleted first. Use the ListTrials API to get a list of the trials associated with the experiment.
", "DeleteFeatureGroup": "Delete the FeatureGroup
and any data that was written to the OnlineStore
of the FeatureGroup
. Data cannot be accessed from the OnlineStore
immediately after DeleteFeatureGroup
is called.
Data written into the OfflineStore
will not be deleted. The Amazon Web Services Glue database and tables that are automatically created for your OfflineStore
are not deleted.
Note that it can take approximately 10-15 minutes to delete an OnlineStore
FeatureGroup
with the InMemory
StorageType
.
Deletes the specified flow definition.
", - "DeleteHub": "Delete a hub.
Hub APIs are only callable through SageMaker Studio.
Delete the contents of a hub.
Hub APIs are only callable through SageMaker Studio.
Delete a hub.
", + "DeleteHubContent": "Delete the contents of a hub.
", + "DeleteHubContentReference": "Delete a hub content reference in order to remove a model from a private hub.
", "DeleteHumanTaskUi": "Use this operation to delete a human task user interface (worker task template).
To see a list of human task user interfaces (work task templates) in your account, use ListHumanTaskUis. When you delete a worker task template, it no longer appears when you call ListHumanTaskUis
.
Deletes a hyperparameter tuning job. The DeleteHyperParameterTuningJob
API deletes only the tuning job entry that was created in SageMaker when you called the CreateHyperParameterTuningJob
API. It does not delete training jobs, artifacts, or the IAM role that you specified when creating the model.
Deletes a SageMaker image and all versions of the image. The container images aren't deleted.
", @@ -139,8 +141,8 @@ "DescribeFeatureGroup": "Use this operation to describe a FeatureGroup
. The response includes information on the creation time, FeatureGroup
name, the unique identifier for each FeatureGroup
, and more.
Shows the metadata for a feature within a feature group.
", "DescribeFlowDefinition": "Returns information about the specified flow definition.
", - "DescribeHub": "Describe a hub.
Hub APIs are only callable through SageMaker Studio.
Describe the content of a hub.
Hub APIs are only callable through SageMaker Studio.
Describes a hub.
", + "DescribeHubContent": "Describe the content of a hub.
", "DescribeHumanTaskUi": "Returns information about the requested human task user interface (worker task template).
", "DescribeHyperParameterTuningJob": "Returns a description of a hyperparameter tuning job, depending on the fields selected. These fields can include the name, Amazon Resource Name (ARN), job status of your tuning job and more.
", "DescribeImage": "Describes a SageMaker image.
", @@ -186,7 +188,7 @@ "GetSagemakerServicecatalogPortfolioStatus": "Gets the status of Service Catalog in SageMaker. Service Catalog is used to create SageMaker projects.
", "GetScalingConfigurationRecommendation": "Starts an Amazon SageMaker Inference Recommender autoscaling recommendation job. Returns recommendations for autoscaling policies that you can apply to your SageMaker endpoint.
", "GetSearchSuggestions": "An auto-complete API for the search functionality in the SageMaker console. It returns suggestions of possible matches for the property name to use in Search
queries. Provides suggestions for HyperParameters
, Tags
, and Metrics
.
Import hub content.
Hub APIs are only callable through SageMaker Studio.
Import hub content.
", "ListActions": "Lists the actions in your account and their properties.
", "ListAlgorithms": "Lists the machine learning algorithms that have been created.
", "ListAliases": "Lists the aliases of a specified image or image version.
", @@ -212,9 +214,9 @@ "ListExperiments": "Lists all the experiments in your account. The list can be filtered to show only experiments that were created in a specific time range. The list can be sorted by experiment name or creation time.
", "ListFeatureGroups": "List FeatureGroup
s based on given filter and order.
Returns information about the flow definitions in your account.
", - "ListHubContentVersions": "List hub content versions.
Hub APIs are only callable through SageMaker Studio.
List the contents of a hub.
Hub APIs are only callable through SageMaker Studio.
List all existing hubs.
Hub APIs are only callable through SageMaker Studio.
List hub content versions.
", + "ListHubContents": "List the contents of a hub.
", + "ListHubs": "List all existing hubs.
", "ListHumanTaskUis": "Returns information about the human task user interfaces in your account.
", "ListHyperParameterTuningJobs": "Gets a list of HyperParameterTuningJobSummary objects that describe the hyperparameter tuning jobs launched in your account.
", "ListImageVersions": "Lists the versions of a specified image and their properties. The list can be filtered by creation time or modified time.
", @@ -307,7 +309,7 @@ "UpdateExperiment": "Adds, updates, or removes the description of an experiment. Updates the display name of an experiment.
", "UpdateFeatureGroup": "Updates the feature group by either adding features or updating the online store configuration. Use one of the following request parameters at a time while using the UpdateFeatureGroup
API.
You can add features for your feature group using the FeatureAdditions
request parameter. Features cannot be removed from a feature group.
You can update the online store configuration by using the OnlineStoreConfig
request parameter. If a TtlDuration
is specified, the default TtlDuration
applies for all records added to the feature group after the feature group is updated. If a record level TtlDuration
exists from using the PutRecord
API, the record level TtlDuration
applies to that record instead of the default TtlDuration
. To remove the default TtlDuration
from an existing feature group, use the UpdateFeatureGroup
API and set the TtlDuration
Unit
and Value
to null
.
Updates the description and parameters of the feature group.
", - "UpdateHub": "Update a hub.
Hub APIs are only callable through SageMaker Studio.
Update a hub.
", "UpdateImage": "Updates the properties of a SageMaker image. To change the image's tags, use the AddTags and DeleteTags APIs.
", "UpdateImageVersion": "Updates the properties of a SageMaker image version.
", "UpdateInferenceComponent": "Updates an inference component.
", @@ -2874,6 +2876,16 @@ "refs": { } }, + "CreateHubContentReferenceRequest": { + "base": null, + "refs": { + } + }, + "CreateHubContentReferenceResponse": { + "base": null, + "refs": { + } + }, "CreateHubRequest": { "base": null, "refs": { @@ -3701,6 +3713,11 @@ "refs": { } }, + "DeleteHubContentReferenceRequest": { + "base": null, + "refs": { + } + }, "DeleteHubContentRequest": { "base": null, "refs": { @@ -6527,6 +6544,7 @@ "HubArn": { "base": null, "refs": { + "CreateHubContentReferenceResponse$HubArn": "The ARN of the hub that the hub content reference was added to.
", "CreateHubResponse$HubArn": "The Amazon Resource Name (ARN) of the hub.
", "DescribeHubContentResponse$HubArn": "The Amazon Resource Name (ARN) of the hub that contains the content.
", "DescribeHubResponse$HubArn": "The Amazon Resource Name (ARN) of the hub.
", @@ -6538,9 +6556,11 @@ "HubContentArn": { "base": null, "refs": { + "CreateHubContentReferenceResponse$HubContentArn": "The ARN of the hub content.
", "DescribeHubContentResponse$HubContentArn": "The Amazon Resource Name (ARN) of the hub content.
", "HubContentInfo$HubContentArn": "The Amazon Resource Name (ARN) of the hub content.
", - "ImportHubContentResponse$HubContentArn": "The ARN of the hub content that was imported.
" + "ImportHubContentResponse$HubContentArn": "The ARN of the hub content that was imported.
", + "InferenceHubAccessConfig$HubContentArn": "The ARN of the hub content for which deployment access is allowed.
" } }, "HubContentDependency": { @@ -6601,6 +6621,8 @@ "HubContentName": { "base": null, "refs": { + "CreateHubContentReferenceRequest$HubContentName": "The name of the hub content to reference.
", + "DeleteHubContentReferenceRequest$HubContentName": "The name of the hub content to delete.
", "DeleteHubContentRequest$HubContentName": "The name of the content that you want to delete from a hub.
", "DescribeHubContentRequest$HubContentName": "The name of the content to describe.
", "DescribeHubContentResponse$HubContentName": "The name of the hub content.
", @@ -6631,9 +6653,17 @@ "HubContentInfo$HubContentStatus": "The status of the hub content.
" } }, + "HubContentSupportStatus": { + "base": null, + "refs": { + "DescribeHubContentResponse$SupportStatus": "The support status of the hub content.
", + "HubContentInfo$SupportStatus": "The support status of the hub content.
" + } + }, "HubContentType": { "base": null, "refs": { + "DeleteHubContentReferenceRequest$HubContentType": "The type of hub content to delete.
", "DeleteHubContentRequest$HubContentType": "The type of content that you want to delete from a hub.
", "DescribeHubContentRequest$HubContentType": "The type of content in the hub.
", "DescribeHubContentResponse$HubContentType": "The type of hub content.
", @@ -6646,6 +6676,7 @@ "HubContentVersion": { "base": null, "refs": { + "CreateHubContentReferenceRequest$MinVersion": "The minimum version of the hub content to reference.
", "DeleteHubContentRequest$HubContentVersion": "The version of the content that you want to delete from a hub.
", "DescribeHubContentRequest$HubContentVersion": "The version of the content to describe.
", "DescribeHubContentResponse$HubContentVersion": "The version of the hub content.
", @@ -6688,13 +6719,20 @@ "base": null, "refs": { "CreateHubRequest$HubName": "The name of the hub to create.
", + "DescribeHubContentResponse$HubName": "The name of the hub that contains the content.
", + "DescribeHubResponse$HubName": "The name of the hub.
", + "HubInfo$HubName": "The name of the hub.
" + } + }, + "HubNameOrArn": { + "base": null, + "refs": { + "CreateHubContentReferenceRequest$HubName": "The name of the hub to add the hub content reference to.
", + "DeleteHubContentReferenceRequest$HubName": "The name of the hub to delete the hub content reference from.
", "DeleteHubContentRequest$HubName": "The name of the hub that you want to delete content in.
", "DeleteHubRequest$HubName": "The name of the hub to delete.
", "DescribeHubContentRequest$HubName": "The name of the hub that contains the content to describe.
", - "DescribeHubContentResponse$HubName": "The name of the hub that contains the content.
", "DescribeHubRequest$HubName": "The name of the hub to describe.
", - "DescribeHubResponse$HubName": "The name of the hub.
", - "HubInfo$HubName": "The name of the hub.
", "ImportHubContentRequest$HubName": "The name of the hub to import content into.
", "ListHubContentVersionsRequest$HubName": "The name of the hub to list the content versions of.
", "ListHubContentsRequest$HubName": "The name of the hub to list the contents of.
", @@ -7568,6 +7606,12 @@ "ListInferenceExperimentsRequest$Type": "Selects inference experiments of this type. For the possible types of inference experiments, see CreateInferenceExperiment.
" } }, + "InferenceHubAccessConfig": { + "base": "Configuration information specifying which hub contents have accessible deployment options.
", + "refs": { + "S3ModelDataSource$HubAccessConfig": "Configuration information for hub access.
" + } + }, "InferenceImage": { "base": null, "refs": { @@ -12836,6 +12880,12 @@ "RedshiftDatasetDefinition$DbUser": null } }, + "ReferenceMinVersion": { + "base": null, + "refs": { + "DescribeHubContentResponse$ReferenceMinVersion": "The minimum version of the hub content.
" + } + }, "RegisterDevicesRequest": { "base": null, "refs": { @@ -13369,6 +13419,14 @@ "UpdateImageVersionRequest$AliasesToDelete": "A list of aliases to delete.
" } }, + "SageMakerPublicHubContentArn": { + "base": null, + "refs": { + "CreateHubContentReferenceRequest$SageMakerPublicHubContentArn": "The ARN of the public hub content to reference.
", + "DescribeHubContentResponse$SageMakerPublicHubContentArn": "The ARN of the public hub content.
", + "HubContentInfo$SageMakerPublicHubContentArn": "The ARN of the public hub content.
" + } + }, "SagemakerServicecatalogStatus": { "base": null, "refs": { @@ -14606,6 +14664,7 @@ "CreateExperimentRequest$Tags": "A list of tags to associate with the experiment. You can use Search API to search on the tags.
", "CreateFeatureGroupRequest$Tags": "Tags used to identify Features
in each FeatureGroup
.
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.
", + "CreateHubContentReferenceRequest$Tags": "Any tags associated with the hub content to reference.
", "CreateHubRequest$Tags": "Any tags to associate with the hub.
", "CreateHumanTaskUiRequest$Tags": "An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface. Each tag consists of a key and a value, both of which you define.
", "CreateHyperParameterTuningJobRequest$Tags": "An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
Tags that you specify for the tuning job are also added to all training jobs that the tuning job launches.
", @@ -15065,6 +15124,7 @@ "FlowDefinitionSummary$CreationTime": "The timestamp when SageMaker created the flow definition.
", "GetDeviceFleetReportResponse$ReportGenerated": "Timestamp of when the report was generated.
", "HubContentInfo$CreationTime": "The date and time that the hub content was created.
", + "HubContentInfo$OriginalCreationTime": "The date and time when the hub content was originally created, before any updates or revisions.
", "HubInfo$CreationTime": "The date and time that the hub was created.
", "HubInfo$LastModifiedTime": "The date and time that the hub was last modified.
", "HumanTaskUiSummary$CreationTime": "A timestamp when SageMaker created the human task user interface.
", diff --git a/models/apis/securityhub/2018-10-26/api-2.json b/models/apis/securityhub/2018-10-26/api-2.json index fe32779ae54..341b15053ec 100644 --- a/models/apis/securityhub/2018-10-26/api-2.json +++ b/models/apis/securityhub/2018-10-26/api-2.json @@ -10,7 +10,8 @@ "serviceId":"SecurityHub", "signatureVersion":"v4", "signingName":"securityhub", - "uid":"securityhub-2018-10-26" + "uid":"securityhub-2018-10-26", + "auth":["aws.auth#sigv4"] }, "operations":{ "AcceptAdministratorInvitation":{ diff --git a/models/apis/securityhub/2018-10-26/docs-2.json b/models/apis/securityhub/2018-10-26/docs-2.json index da0e024db26..bc909e53f6f 100644 --- a/models/apis/securityhub/2018-10-26/docs-2.json +++ b/models/apis/securityhub/2018-10-26/docs-2.json @@ -5372,13 +5372,13 @@ } }, "FindingProviderFields": { - "base": "In a BatchImportFindings
request, finding providers use FindingProviderFields
to provide and update values for confidence, criticality, related findings, severity, and types.
In a BatchImportFindings
request, finding providers use FindingProviderFields
to provide and update values for the following fields:
Confidence
Criticality
RelatedFindings
Severity
Types
The preceding fields are nested under the FindingProviderFields
object, but also have analogues of the same name as top-level ASFF fields. When a new finding is sent to Security Hub by a finding provider, Security Hub populates the FindingProviderFields
object automatically, if it is empty, based on the corresponding top-level fields.
Finding providers can update FindingProviderFields
only by using the BatchImportFindings
operation. Finding providers can't update this object with the BatchUpdateFindings
operation. Customers can update the top-level fields by using the BatchUpdateFindings
operation. Customers can't update FindingProviderFields
.
For information about how Security Hub handles updates from BatchImportFindings
to FindingProviderFields
and to the corresponding top-level attributes, see Using FindingProviderFields
in the Security Hub User Guide.
In a BatchImportFindings
request, finding providers use FindingProviderFields
to provide and update their own values for confidence, criticality, related findings, severity, and types.
The severity assigned to the finding by the finding provider.
", + "base": "The severity assigned to a finding by the finding provider. This object may include one or more of the following attributes:
Label
Normalized
Original
Product
If a BatchImportFindings
request for a new finding only provides Label
or only provides Normalized
, Security Hub automatically populates the value of the other field.
The Normalized
and Product
attributes are included in the FindingProviderSeverity
structure to preserve the historical information associated with the finding, even if the top-level Severity
object is later modified using the BatchUpdateFindings
operation.
If the top-level Finding.Severity
object is present, but Finding.FindingProviderFields
isn't present, Security Hub creates the FindingProviderFields.Severity
object and copies the entire Finding.Severity
object into it. This ensures that the original, provider-supplied details are retained within the FindingProviderFields.Severity
object, even if the top-level Severity
object is overwritten.
The severity of a finding.
" } diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index ee333c2c88b..ccdbbfc356e 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -547,10 +547,12 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ca-central-1" : { }, "eu-central-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "sa-east-1" : { }, "us-east-1" : { }, "us-east-2" : { }, "us-west-2" : { } diff --git a/service/bedrockruntime/api.go b/service/bedrockruntime/api.go index e0b6defea6c..496499e52aa 100644 --- a/service/bedrockruntime/api.go +++ b/service/bedrockruntime/api.go @@ -923,6 +923,9 @@ func (s AutoToolChoice) GoString() string { type ContentBlock struct { _ struct{} `type:"structure"` + // A document to include in the message. + Document *DocumentBlock `locationName:"document" type:"structure"` + // Contains the content to assess with the guardrail. If you don't specify guardContent // in a call to the Converse API, the guardrail (if passed in the Converse API) // assesses the entire message. @@ -961,6 +964,11 @@ func (s ContentBlock) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ContentBlock) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ContentBlock"} + if s.Document != nil { + if err := s.Document.Validate(); err != nil { + invalidParams.AddNested("Document", err.(request.ErrInvalidParams)) + } + } if s.GuardContent != nil { if err := s.GuardContent.Validate(); err != nil { invalidParams.AddNested("GuardContent", err.(request.ErrInvalidParams)) @@ -983,6 +991,12 @@ func (s *ContentBlock) Validate() error { return nil } +// SetDocument sets the Document field's value. +func (s *ContentBlock) SetDocument(v *DocumentBlock) *ContentBlock { + s.Document = v + return s +} + // SetGuardContent sets the GuardContent field's value. func (s *ContentBlock) SetGuardContent(v *GuardrailConverseContentBlock) *ContentBlock { s.GuardContent = v @@ -2179,6 +2193,142 @@ func (s *ConverseTrace) SetGuardrail(v *GuardrailTraceAssessment) *ConverseTrace return s } +// A document to include in a message when sending a Converse (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) +// or ConverseStream (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) +// request. You can include up to 5 documents in a request. The maximum document +// size is 50 MB. +type DocumentBlock struct { + _ struct{} `type:"structure"` + + // The format of a document, or its extension. + // + // Format is a required field + Format *string `locationName:"format" type:"string" required:"true" enum:"DocumentFormat"` + + // A name for the document. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Contains the content of the document. + // + // Source is a required field + Source *DocumentSource `locationName:"source" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DocumentBlock) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DocumentBlock) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DocumentBlock) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DocumentBlock"} + if s.Format == nil { + invalidParams.Add(request.NewErrParamRequired("Format")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Source == nil { + invalidParams.Add(request.NewErrParamRequired("Source")) + } + if s.Source != nil { + if err := s.Source.Validate(); err != nil { + invalidParams.AddNested("Source", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFormat sets the Format field's value. +func (s *DocumentBlock) SetFormat(v string) *DocumentBlock { + s.Format = &v + return s +} + +// SetName sets the Name field's value. +func (s *DocumentBlock) SetName(v string) *DocumentBlock { + s.Name = &v + return s +} + +// SetSource sets the Source field's value. +func (s *DocumentBlock) SetSource(v *DocumentSource) *DocumentBlock { + s.Source = v + return s +} + +// Contains the content of the document included in a message when sending a +// Converse (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) +// or ConverseStream (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) +// request or in the response. +type DocumentSource struct { + _ struct{} `type:"structure"` + + // A base64-encoded string of a UTF-8 encoded file, that is the document to + // include in the message. + // Bytes is automatically base64 encoded/decoded by the SDK. + Bytes []byte `locationName:"bytes" min:"1" type:"blob"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DocumentSource) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DocumentSource) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DocumentSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DocumentSource"} + if s.Bytes != nil && len(s.Bytes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Bytes", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBytes sets the Bytes field's value. +func (s *DocumentSource) SetBytes(v []byte) *DocumentSource { + s.Bytes = v + return s +} + // A behavior assessment of the guardrail policies used in a call to the Converse // API. type GuardrailAssessment struct { @@ -5172,6 +5322,9 @@ func (s *ToolResultBlock) SetToolUseId(v string) *ToolResultBlock { type ToolResultContentBlock struct { _ struct{} `type:"structure"` + // A tool result that is a document. + Document *DocumentBlock `locationName:"document" type:"structure"` + // A tool result that is an image. // // This field is only supported by Anthropic Claude 3 models. @@ -5202,6 +5355,11 @@ func (s ToolResultContentBlock) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ToolResultContentBlock) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ToolResultContentBlock"} + if s.Document != nil { + if err := s.Document.Validate(); err != nil { + invalidParams.AddNested("Document", err.(request.ErrInvalidParams)) + } + } if s.Image != nil { if err := s.Image.Validate(); err != nil { invalidParams.AddNested("Image", err.(request.ErrInvalidParams)) @@ -5214,6 +5372,12 @@ func (s *ToolResultContentBlock) Validate() error { return nil } +// SetDocument sets the Document field's value. +func (s *ToolResultContentBlock) SetDocument(v *DocumentBlock) *ToolResultContentBlock { + s.Document = v + return s +} + // SetImage sets the Image field's value. func (s *ToolResultContentBlock) SetImage(v *ImageBlock) *ToolResultContentBlock { s.Image = v @@ -5493,6 +5657,50 @@ func ConversationRole_Values() []string { } } +const ( + // DocumentFormatPdf is a DocumentFormat enum value + DocumentFormatPdf = "pdf" + + // DocumentFormatCsv is a DocumentFormat enum value + DocumentFormatCsv = "csv" + + // DocumentFormatDoc is a DocumentFormat enum value + DocumentFormatDoc = "doc" + + // DocumentFormatDocx is a DocumentFormat enum value + DocumentFormatDocx = "docx" + + // DocumentFormatXls is a DocumentFormat enum value + DocumentFormatXls = "xls" + + // DocumentFormatXlsx is a DocumentFormat enum value + DocumentFormatXlsx = "xlsx" + + // DocumentFormatHtml is a DocumentFormat enum value + DocumentFormatHtml = "html" + + // DocumentFormatTxt is a DocumentFormat enum value + DocumentFormatTxt = "txt" + + // DocumentFormatMd is a DocumentFormat enum value + DocumentFormatMd = "md" +) + +// DocumentFormat_Values returns all elements of the DocumentFormat enum +func DocumentFormat_Values() []string { + return []string{ + DocumentFormatPdf, + DocumentFormatCsv, + DocumentFormatDoc, + DocumentFormatDocx, + DocumentFormatXls, + DocumentFormatXlsx, + DocumentFormatHtml, + DocumentFormatTxt, + DocumentFormatMd, + } +} + const ( // GuardrailContentFilterConfidenceNone is a GuardrailContentFilterConfidence enum value GuardrailContentFilterConfidenceNone = "NONE" diff --git a/service/codeartifact/api.go b/service/codeartifact/api.go index a85ec4d7398..9285770033a 100644 --- a/service/codeartifact/api.go +++ b/service/codeartifact/api.go @@ -2450,6 +2450,8 @@ func (c *CodeArtifact) GetRepositoryEndpointRequest(input *GetRepositoryEndpoint // Returns the endpoint of a repository for a specific package format. A repository // has one endpoint for each package format: // +// - cargo +// // - generic // // - maven @@ -5478,6 +5480,10 @@ type AssociateExternalConnectionInput struct { // // * public:maven-clojars - for the Clojars repository. // + // * public:ruby-gems-org - for RubyGems.org. + // + // * public:crates-io - for Crates.io. + // // ExternalConnection is a required field ExternalConnection *string `location:"querystring" locationName:"external-connection" min:"2" type:"string" required:"true"` @@ -5616,7 +5622,7 @@ type AssociatedPackage struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` @@ -5787,7 +5793,7 @@ type CopyPackageVersionsInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -6770,7 +6776,7 @@ type DeletePackageInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -6945,7 +6951,7 @@ type DeletePackageVersionsInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -7600,7 +7606,7 @@ type DescribePackageInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -7776,7 +7782,7 @@ type DescribePackageVersionInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -8209,7 +8215,7 @@ type DisposePackageVersionsInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -8672,7 +8678,7 @@ type GetAssociatedPackageGroupInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -9052,7 +9058,7 @@ type GetPackageVersionAssetInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -9294,7 +9300,7 @@ type GetPackageVersionReadmeInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -9432,7 +9438,7 @@ type GetPackageVersionReadmeOutput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` @@ -10439,7 +10445,7 @@ type ListPackageVersionAssetsInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -10605,7 +10611,7 @@ type ListPackageVersionAssetsOutput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` @@ -10708,18 +10714,12 @@ type ListPackageVersionDependenciesInput struct { // // * Maven // - // * Swift - // - // * generic - // // * The namespace of a Maven package version is its groupId. // - // * The namespace of an npm or Swift package version is its scope. + // * The namespace of an npm package version is its scope. // - // * The namespace of a generic package is its namespace. - // - // * Python, NuGet, and Ruby package versions do not contain a corresponding - // component, package versions of those formats do not have a namespace. + // * Python and NuGet package versions do not contain a corresponding component, + // package versions of those formats 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 @@ -10869,14 +10869,17 @@ type ListPackageVersionDependenciesOutput struct { // The package component that specifies its namespace depends on its type. For // example: // - // * The namespace of a Maven package version is its groupId. + // The namespace is required when listing dependencies from package versions + // of the following formats: // - // * The namespace of an npm or Swift package version is its scope. + // * Maven // - // * The namespace of a generic package is its namespace. + // * The namespace of a Maven package version is its groupId. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding - // component, package versions of those formats do not have a namespace. + // * The namespace of an npm package version is its scope. + // + // * Python and NuGet package versions do not contain a corresponding component, + // package versions of those formats do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // The token for the next set of results. Use the value returned in the previous @@ -10993,7 +10996,7 @@ type ListPackageVersionsInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -11174,7 +11177,7 @@ type ListPackageVersionsOutput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` @@ -11276,7 +11279,7 @@ type ListPackagesInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -11977,7 +11980,7 @@ type PackageDependency struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` @@ -12051,7 +12054,7 @@ type PackageDescription struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` @@ -12629,7 +12632,7 @@ type PackageSummary struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` @@ -12713,7 +12716,7 @@ type PackageVersionDescription struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` @@ -13462,7 +13465,7 @@ type PutPackageOriginConfigurationInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -14915,7 +14918,7 @@ type UpdatePackageVersionsStatusInput struct { // // * The namespace of a generic package is its namespace. // - // * Python, NuGet, and Ruby package versions do not contain a corresponding + // * Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding // component, package versions of those formats do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` @@ -15507,6 +15510,9 @@ const ( // PackageFormatSwift is a PackageFormat enum value PackageFormatSwift = "swift" + + // PackageFormatCargo is a PackageFormat enum value + PackageFormatCargo = "cargo" ) // PackageFormat_Values returns all elements of the PackageFormat enum @@ -15519,6 +15525,7 @@ func PackageFormat_Values() []string { PackageFormatGeneric, PackageFormatRuby, PackageFormatSwift, + PackageFormatCargo, } } diff --git a/service/codeartifact/doc.go b/service/codeartifact/doc.go index a8c2c10cf38..5d738b69554 100644 --- a/service/codeartifact/doc.go +++ b/service/codeartifact/doc.go @@ -37,9 +37,9 @@ // // - Package: A package is a bundle of software and the metadata required // to resolve dependencies and install the software. CodeArtifact supports -// npm, PyPI, Maven, NuGet, Swift, Ruby, and generic package formats. For -// more information about the supported package formats and how to use CodeArtifact -// with them, see the CodeArtifact User Guide (https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html). +// npm, PyPI, Maven, NuGet, Swift, Ruby, Cargo, and generic package formats. +// For more information about the supported package formats and how to use +// CodeArtifact with them, see the CodeArtifact User Guide (https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html). // 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, @@ -145,7 +145,7 @@ // // - GetRepositoryEndpoint: Returns the endpoint of a repository for a specific // package format. A repository has one endpoint for each package format: -// generic maven npm nuget pypi ruby swift +// cargo generic maven npm nuget pypi ruby swift // // - GetRepositoryPermissionsPolicy: Returns the resource policy that is // set on a repository. diff --git a/service/computeoptimizer/api.go b/service/computeoptimizer/api.go index b0db27a60bf..b44ee2bd7fa 100644 --- a/service/computeoptimizer/api.go +++ b/service/computeoptimizer/api.go @@ -939,6 +939,117 @@ func (c *ComputeOptimizer) ExportLicenseRecommendationsWithContext(ctx aws.Conte return out, req.Send() } +const opExportRDSDatabaseRecommendations = "ExportRDSDatabaseRecommendations" + +// ExportRDSDatabaseRecommendationsRequest generates a "aws/request.Request" representing the +// client's request for the ExportRDSDatabaseRecommendations 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 ExportRDSDatabaseRecommendations for more information on using the ExportRDSDatabaseRecommendations +// 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 ExportRDSDatabaseRecommendationsRequest method. +// req, resp := client.ExportRDSDatabaseRecommendationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportRDSDatabaseRecommendations +func (c *ComputeOptimizer) ExportRDSDatabaseRecommendationsRequest(input *ExportRDSDatabaseRecommendationsInput) (req *request.Request, output *ExportRDSDatabaseRecommendationsOutput) { + op := &request.Operation{ + Name: opExportRDSDatabaseRecommendations, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ExportRDSDatabaseRecommendationsInput{} + } + + output = &ExportRDSDatabaseRecommendationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ExportRDSDatabaseRecommendations API operation for AWS Compute Optimizer. +// +// Export optimization recommendations for your Amazon Relational Database Service +// (Amazon RDS). +// +// Recommendations are exported in a comma-separated values (CSV) file, and +// its metadata in a JavaScript Object Notation (JSON) file, to an existing +// Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more +// information, see Exporting Recommendations (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) +// in the Compute Optimizer User Guide. +// +// You can have only one Amazon RDS export job in progress per Amazon Web Services +// Region. +// +// 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 AWS Compute Optimizer's +// API operation ExportRDSDatabaseRecommendations for usage and error information. +// +// Returned Error Types: +// +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. +// +// - InternalServerException +// An internal error has occurred. Try your call again. +// +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. +// +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - LimitExceededException +// The request exceeds a limit of the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportRDSDatabaseRecommendations +func (c *ComputeOptimizer) ExportRDSDatabaseRecommendations(input *ExportRDSDatabaseRecommendationsInput) (*ExportRDSDatabaseRecommendationsOutput, error) { + req, out := c.ExportRDSDatabaseRecommendationsRequest(input) + return out, req.Send() +} + +// ExportRDSDatabaseRecommendationsWithContext is the same as ExportRDSDatabaseRecommendations with the addition of +// the ability to pass a context and additional request options. +// +// See ExportRDSDatabaseRecommendations 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 *ComputeOptimizer) ExportRDSDatabaseRecommendationsWithContext(ctx aws.Context, input *ExportRDSDatabaseRecommendationsInput, opts ...request.Option) (*ExportRDSDatabaseRecommendationsOutput, error) { + req, out := c.ExportRDSDatabaseRecommendationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetAutoScalingGroupRecommendations = "GetAutoScalingGroupRecommendations" // GetAutoScalingGroupRecommendationsRequest generates a "aws/request.Request" representing the @@ -2205,6 +2316,213 @@ func (c *ComputeOptimizer) GetLicenseRecommendationsWithContext(ctx aws.Context, return out, req.Send() } +const opGetRDSDatabaseRecommendationProjectedMetrics = "GetRDSDatabaseRecommendationProjectedMetrics" + +// GetRDSDatabaseRecommendationProjectedMetricsRequest generates a "aws/request.Request" representing the +// client's request for the GetRDSDatabaseRecommendationProjectedMetrics 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 GetRDSDatabaseRecommendationProjectedMetrics for more information on using the GetRDSDatabaseRecommendationProjectedMetrics +// 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 GetRDSDatabaseRecommendationProjectedMetricsRequest method. +// req, resp := client.GetRDSDatabaseRecommendationProjectedMetricsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRDSDatabaseRecommendationProjectedMetrics +func (c *ComputeOptimizer) GetRDSDatabaseRecommendationProjectedMetricsRequest(input *GetRDSDatabaseRecommendationProjectedMetricsInput) (req *request.Request, output *GetRDSDatabaseRecommendationProjectedMetricsOutput) { + op := &request.Operation{ + Name: opGetRDSDatabaseRecommendationProjectedMetrics, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetRDSDatabaseRecommendationProjectedMetricsInput{} + } + + output = &GetRDSDatabaseRecommendationProjectedMetricsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetRDSDatabaseRecommendationProjectedMetrics API operation for AWS Compute Optimizer. +// +// Returns the projected metrics of Amazon RDS recommendations. +// +// 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 AWS Compute Optimizer's +// API operation GetRDSDatabaseRecommendationProjectedMetrics for usage and error information. +// +// Returned Error Types: +// +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. +// +// - InternalServerException +// An internal error has occurred. Try your call again. +// +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. +// +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRDSDatabaseRecommendationProjectedMetrics +func (c *ComputeOptimizer) GetRDSDatabaseRecommendationProjectedMetrics(input *GetRDSDatabaseRecommendationProjectedMetricsInput) (*GetRDSDatabaseRecommendationProjectedMetricsOutput, error) { + req, out := c.GetRDSDatabaseRecommendationProjectedMetricsRequest(input) + return out, req.Send() +} + +// GetRDSDatabaseRecommendationProjectedMetricsWithContext is the same as GetRDSDatabaseRecommendationProjectedMetrics with the addition of +// the ability to pass a context and additional request options. +// +// See GetRDSDatabaseRecommendationProjectedMetrics 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 *ComputeOptimizer) GetRDSDatabaseRecommendationProjectedMetricsWithContext(ctx aws.Context, input *GetRDSDatabaseRecommendationProjectedMetricsInput, opts ...request.Option) (*GetRDSDatabaseRecommendationProjectedMetricsOutput, error) { + req, out := c.GetRDSDatabaseRecommendationProjectedMetricsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetRDSDatabaseRecommendations = "GetRDSDatabaseRecommendations" + +// GetRDSDatabaseRecommendationsRequest generates a "aws/request.Request" representing the +// client's request for the GetRDSDatabaseRecommendations 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 GetRDSDatabaseRecommendations for more information on using the GetRDSDatabaseRecommendations +// 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 GetRDSDatabaseRecommendationsRequest method. +// req, resp := client.GetRDSDatabaseRecommendationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRDSDatabaseRecommendations +func (c *ComputeOptimizer) GetRDSDatabaseRecommendationsRequest(input *GetRDSDatabaseRecommendationsInput) (req *request.Request, output *GetRDSDatabaseRecommendationsOutput) { + op := &request.Operation{ + Name: opGetRDSDatabaseRecommendations, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetRDSDatabaseRecommendationsInput{} + } + + output = &GetRDSDatabaseRecommendationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetRDSDatabaseRecommendations API operation for AWS Compute Optimizer. +// +// Returns Amazon RDS recommendations. +// +// Compute Optimizer generates recommendations for Amazon RDS that meet a specific +// set of requirements. For more information, see the Supported resources and +// requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) +// in the Compute Optimizer User Guide. +// +// 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 AWS Compute Optimizer's +// API operation GetRDSDatabaseRecommendations for usage and error information. +// +// Returned Error Types: +// +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. +// +// - InternalServerException +// An internal error has occurred. Try your call again. +// +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. +// +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRDSDatabaseRecommendations +func (c *ComputeOptimizer) GetRDSDatabaseRecommendations(input *GetRDSDatabaseRecommendationsInput) (*GetRDSDatabaseRecommendationsOutput, error) { + req, out := c.GetRDSDatabaseRecommendationsRequest(input) + return out, req.Send() +} + +// GetRDSDatabaseRecommendationsWithContext is the same as GetRDSDatabaseRecommendations with the addition of +// the ability to pass a context and additional request options. +// +// See GetRDSDatabaseRecommendations 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 *ComputeOptimizer) GetRDSDatabaseRecommendationsWithContext(ctx aws.Context, input *GetRDSDatabaseRecommendationsInput, opts ...request.Option) (*GetRDSDatabaseRecommendationsOutput, error) { + req, out := c.GetRDSDatabaseRecommendationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetRecommendationPreferences = "GetRecommendationPreferences" // GetRecommendationPreferencesRequest generates a "aws/request.Request" representing the @@ -3563,12 +3881,81 @@ func (s *CustomizableMetricParameters) SetThreshold(v string) *CustomizableMetri return s } -type DeleteRecommendationPreferencesInput struct { +// The configuration of the recommended RDS storage. +type DBStorageConfiguration struct { _ struct{} `type:"structure"` - // The name of the recommendation preference to delete. - // - // RecommendationPreferenceNames is a required field + // The size of the RDS storage in gigabytes (GB). + AllocatedStorage *int64 `locationName:"allocatedStorage" type:"integer"` + + // The provisioned IOPs of the RDS storage. + Iops *int64 `locationName:"iops" type:"integer"` + + // The maximum limit in gibibytes (GiB) to which Amazon RDS can automatically + // scale the storage of the RDS instance. + MaxAllocatedStorage *int64 `locationName:"maxAllocatedStorage" type:"integer"` + + // The storage throughput of the RDS storage. + StorageThroughput *int64 `locationName:"storageThroughput" type:"integer"` + + // The type of RDS storage. + StorageType *string `locationName:"storageType" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DBStorageConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DBStorageConfiguration) GoString() string { + return s.String() +} + +// SetAllocatedStorage sets the AllocatedStorage field's value. +func (s *DBStorageConfiguration) SetAllocatedStorage(v int64) *DBStorageConfiguration { + s.AllocatedStorage = &v + return s +} + +// SetIops sets the Iops field's value. +func (s *DBStorageConfiguration) SetIops(v int64) *DBStorageConfiguration { + s.Iops = &v + return s +} + +// SetMaxAllocatedStorage sets the MaxAllocatedStorage field's value. +func (s *DBStorageConfiguration) SetMaxAllocatedStorage(v int64) *DBStorageConfiguration { + s.MaxAllocatedStorage = &v + return s +} + +// SetStorageThroughput sets the StorageThroughput field's value. +func (s *DBStorageConfiguration) SetStorageThroughput(v int64) *DBStorageConfiguration { + s.StorageThroughput = &v + return s +} + +// SetStorageType sets the StorageType field's value. +func (s *DBStorageConfiguration) SetStorageType(v string) *DBStorageConfiguration { + s.StorageType = &v + return s +} + +type DeleteRecommendationPreferencesInput struct { + _ struct{} `type:"structure"` + + // The name of the recommendation preference to delete. + // + // RecommendationPreferenceNames is a required field RecommendationPreferenceNames []*string `locationName:"recommendationPreferenceNames" type:"list" required:"true" enum:"RecommendationPreferenceName"` // The target resource type of the recommendation preference to delete. @@ -3577,8 +3964,6 @@ type DeleteRecommendationPreferencesInput struct { // are part of Auto Scaling groups. The AutoScalingGroup option encompasses // only instances that are part of an Auto Scaling group. // - // The valid values for this parameter are Ec2Instance and AutoScalingGroup. - // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` @@ -4951,15 +5336,15 @@ type EffectiveRecommendationPreferences struct { // For example, when you specify AWS_ARM64 with: // // * A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations - // request, Compute Optimizer returns recommendations that consist of Graviton2 + // request, Compute Optimizer returns recommendations that consist of Graviton // instance types only. // // * A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns - // projected utilization metrics for Graviton2 instance type recommendations + // projected utilization metrics for Graviton instance type recommendations // only. // // * A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations - // request, Compute Optimizer exports recommendations that consist of Graviton2 + // request, Compute Optimizer exports recommendations that consist of Graviton // instance types only. CpuVendorArchitectures []*string `locationName:"cpuVendorArchitectures" type:"list" enum:"CpuVendorArchitecture"` @@ -6295,6 +6680,195 @@ func (s *ExportLicenseRecommendationsOutput) SetS3Destination(v *S3Destination) return s } +type ExportRDSDatabaseRecommendationsInput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services account IDs for the export Amazon RDS recommendations. + // + // If your account is the management account or the delegated administrator + // of an organization, use this parameter to specify the member account you + // want to export recommendations to. + // + // This parameter can't be specified together with the include member accounts + // parameter. The parameters are mutually exclusive. + // + // If this parameter or the include member accounts parameter is omitted, the + // recommendations for member accounts aren't included in the export. + // + // You can specify multiple account IDs per request. + AccountIds []*string `locationName:"accountIds" type:"list"` + + // The recommendations data to include in the export file. For more information + // about the fields that can be exported, see Exported files (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files) + // in the Compute Optimizer User Guide. + FieldsToExport []*string `locationName:"fieldsToExport" type:"list" enum:"ExportableRDSDBField"` + + // The format of the export file. + // + // The CSV file is the only export file format currently supported. + FileFormat *string `locationName:"fileFormat" type:"string" enum:"FileFormat"` + + // An array of objects to specify a filter that exports a more specific set + // of Amazon RDS recommendations. + Filters []*RDSDBRecommendationFilter `locationName:"filters" type:"list"` + + // If your account is the management account or the delegated administrator + // of an organization, this parameter indicates whether to include recommendations + // for resources in all member accounts of the organization. + // + // The member accounts must also be opted in to Compute Optimizer, and trusted + // access for Compute Optimizer must be enabled in the organization account. + // For more information, see Compute Optimizer and Amazon Web Services Organizations + // trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) + // in the Compute Optimizer User Guide. + // + // If this parameter is omitted, recommendations for member accounts of the + // organization aren't included in the export file. + // + // If this parameter or the account ID parameter is omitted, recommendations + // for member accounts aren't included in the export. + IncludeMemberAccounts *bool `locationName:"includeMemberAccounts" type:"boolean"` + + // Describes the recommendation preferences to return in the response of a GetAutoScalingGroupRecommendations, + // GetEC2InstanceRecommendations, GetEC2RecommendationProjectedMetrics, GetRDSDatabaseRecommendations, + // and GetRDSDatabaseRecommendationProjectedMetrics request. + RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` + + // Describes the destination Amazon Simple Storage Service (Amazon S3) bucket + // name and key prefix for a recommendations export job. + // + // You must create the destination Amazon S3 bucket for your recommendations + // export before you create the export job. Compute Optimizer does not create + // the S3 bucket for you. After you create the S3 bucket, ensure that it has + // the required permission policy to allow Compute Optimizer to write the export + // file to it. If you plan to specify an object prefix when you create the export + // job, you must include the object prefix in the policy that you add to the + // S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute + // Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html) + // in the Compute Optimizer User Guide. + // + // S3DestinationConfig is a required field + S3DestinationConfig *S3DestinationConfig `locationName:"s3DestinationConfig" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExportRDSDatabaseRecommendationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExportRDSDatabaseRecommendationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ExportRDSDatabaseRecommendationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ExportRDSDatabaseRecommendationsInput"} + if s.S3DestinationConfig == nil { + invalidParams.Add(request.NewErrParamRequired("S3DestinationConfig")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountIds sets the AccountIds field's value. +func (s *ExportRDSDatabaseRecommendationsInput) SetAccountIds(v []*string) *ExportRDSDatabaseRecommendationsInput { + s.AccountIds = v + return s +} + +// SetFieldsToExport sets the FieldsToExport field's value. +func (s *ExportRDSDatabaseRecommendationsInput) SetFieldsToExport(v []*string) *ExportRDSDatabaseRecommendationsInput { + s.FieldsToExport = v + return s +} + +// SetFileFormat sets the FileFormat field's value. +func (s *ExportRDSDatabaseRecommendationsInput) SetFileFormat(v string) *ExportRDSDatabaseRecommendationsInput { + s.FileFormat = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *ExportRDSDatabaseRecommendationsInput) SetFilters(v []*RDSDBRecommendationFilter) *ExportRDSDatabaseRecommendationsInput { + s.Filters = v + return s +} + +// SetIncludeMemberAccounts sets the IncludeMemberAccounts field's value. +func (s *ExportRDSDatabaseRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportRDSDatabaseRecommendationsInput { + s.IncludeMemberAccounts = &v + return s +} + +// SetRecommendationPreferences sets the RecommendationPreferences field's value. +func (s *ExportRDSDatabaseRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *ExportRDSDatabaseRecommendationsInput { + s.RecommendationPreferences = v + return s +} + +// SetS3DestinationConfig sets the S3DestinationConfig field's value. +func (s *ExportRDSDatabaseRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportRDSDatabaseRecommendationsInput { + s.S3DestinationConfig = v + return s +} + +type ExportRDSDatabaseRecommendationsOutput struct { + _ struct{} `type:"structure"` + + // The identification number of the export job. + // + // To view the status of an export job, use the DescribeRecommendationExportJobs + // action and specify the job ID. + JobId *string `locationName:"jobId" type:"string"` + + // Describes the destination Amazon Simple Storage Service (Amazon S3) bucket + // name and object keys of a recommendations export file, and its associated + // metadata file. + S3Destination *S3Destination `locationName:"s3Destination" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExportRDSDatabaseRecommendationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExportRDSDatabaseRecommendationsOutput) GoString() string { + return s.String() +} + +// SetJobId sets the JobId field's value. +func (s *ExportRDSDatabaseRecommendationsOutput) SetJobId(v string) *ExportRDSDatabaseRecommendationsOutput { + s.JobId = &v + return s +} + +// SetS3Destination sets the S3Destination field's value. +func (s *ExportRDSDatabaseRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportRDSDatabaseRecommendationsOutput { + s.S3Destination = v + return s +} + // Describes Compute Optimizer's integration status with your chosen external // metric provider. For example, Datadog. type ExternalMetricStatus struct { @@ -7945,22 +8519,42 @@ func (s *GetLicenseRecommendationsOutput) SetNextToken(v string) *GetLicenseReco return s } -// Describes an error experienced when getting recommendations. -// -// For example, an error is returned if you request recommendations for an unsupported -// Auto Scaling group, or if you request recommendations for an instance of -// an unsupported instance family. -type GetRecommendationError struct { +type GetRDSDatabaseRecommendationProjectedMetricsInput struct { _ struct{} `type:"structure"` - // The error code. - Code *string `locationName:"code" type:"string"` + // The timestamp of the last projected metrics data point to return. + // + // EndTime is a required field + EndTime *time.Time `locationName:"endTime" type:"timestamp" required:"true"` - // The ID of the error. - Identifier *string `locationName:"identifier" type:"string"` + // The granularity, in seconds, of the projected metrics data points. + // + // Period is a required field + Period *int64 `locationName:"period" type:"integer" required:"true"` - // The message, or reason, for the error. - Message *string `locationName:"message" type:"string"` + // Describes the recommendation preferences to return in the response of a GetAutoScalingGroupRecommendations, + // GetEC2InstanceRecommendations, GetEC2RecommendationProjectedMetrics, GetRDSDatabaseRecommendations, + // and GetRDSDatabaseRecommendationProjectedMetrics request. + RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` + + // The ARN that identifies the Amazon RDS. + // + // The following is the format of the ARN: + // + // arn:aws:rds:{region}:{accountId}:db:{resourceName} + // + // ResourceArn is a required field + ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"` + + // The timestamp of the first projected metrics data point to return. + // + // StartTime is a required field + StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` + + // The statistic of the projected metrics. + // + // Stat is a required field + Stat *string `locationName:"stat" type:"string" required:"true" enum:"MetricStatistic"` } // String returns the string representation. @@ -7968,7 +8562,7 @@ type GetRecommendationError struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetRecommendationError) String() string { +func (s GetRDSDatabaseRecommendationProjectedMetricsInput) String() string { return awsutil.Prettify(s) } @@ -7977,17 +8571,292 @@ func (s GetRecommendationError) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetRecommendationError) GoString() string { +func (s GetRDSDatabaseRecommendationProjectedMetricsInput) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *GetRecommendationError) SetCode(v string) *GetRecommendationError { - s.Code = &v - return s -} - -// SetIdentifier sets the Identifier field's value. +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetRDSDatabaseRecommendationProjectedMetricsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetRDSDatabaseRecommendationProjectedMetricsInput"} + if s.EndTime == nil { + invalidParams.Add(request.NewErrParamRequired("EndTime")) + } + if s.Period == nil { + invalidParams.Add(request.NewErrParamRequired("Period")) + } + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.StartTime == nil { + invalidParams.Add(request.NewErrParamRequired("StartTime")) + } + if s.Stat == nil { + invalidParams.Add(request.NewErrParamRequired("Stat")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEndTime sets the EndTime field's value. +func (s *GetRDSDatabaseRecommendationProjectedMetricsInput) SetEndTime(v time.Time) *GetRDSDatabaseRecommendationProjectedMetricsInput { + s.EndTime = &v + return s +} + +// SetPeriod sets the Period field's value. +func (s *GetRDSDatabaseRecommendationProjectedMetricsInput) SetPeriod(v int64) *GetRDSDatabaseRecommendationProjectedMetricsInput { + s.Period = &v + return s +} + +// SetRecommendationPreferences sets the RecommendationPreferences field's value. +func (s *GetRDSDatabaseRecommendationProjectedMetricsInput) SetRecommendationPreferences(v *RecommendationPreferences) *GetRDSDatabaseRecommendationProjectedMetricsInput { + s.RecommendationPreferences = v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *GetRDSDatabaseRecommendationProjectedMetricsInput) SetResourceArn(v string) *GetRDSDatabaseRecommendationProjectedMetricsInput { + s.ResourceArn = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *GetRDSDatabaseRecommendationProjectedMetricsInput) SetStartTime(v time.Time) *GetRDSDatabaseRecommendationProjectedMetricsInput { + s.StartTime = &v + return s +} + +// SetStat sets the Stat field's value. +func (s *GetRDSDatabaseRecommendationProjectedMetricsInput) SetStat(v string) *GetRDSDatabaseRecommendationProjectedMetricsInput { + s.Stat = &v + return s +} + +type GetRDSDatabaseRecommendationProjectedMetricsOutput struct { + _ struct{} `type:"structure"` + + // An array of objects that describes the projected metrics. + RecommendedOptionProjectedMetrics []*RDSDatabaseRecommendedOptionProjectedMetric `locationName:"recommendedOptionProjectedMetrics" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRDSDatabaseRecommendationProjectedMetricsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRDSDatabaseRecommendationProjectedMetricsOutput) GoString() string { + return s.String() +} + +// SetRecommendedOptionProjectedMetrics sets the RecommendedOptionProjectedMetrics field's value. +func (s *GetRDSDatabaseRecommendationProjectedMetricsOutput) SetRecommendedOptionProjectedMetrics(v []*RDSDatabaseRecommendedOptionProjectedMetric) *GetRDSDatabaseRecommendationProjectedMetricsOutput { + s.RecommendedOptionProjectedMetrics = v + return s +} + +type GetRDSDatabaseRecommendationsInput struct { + _ struct{} `type:"structure"` + + // Return the Amazon RDS recommendations to the specified Amazon Web Services + // account IDs. + // + // If your account is the management account or the delegated administrator + // of an organization, use this parameter to return the Amazon RDS recommendations + // to specific member accounts. + // + // You can only specify one account ID per request. + AccountIds []*string `locationName:"accountIds" type:"list"` + + // An array of objects to specify a filter that returns a more specific list + // of Amazon RDS recommendations. + Filters []*RDSDBRecommendationFilter `locationName:"filters" type:"list"` + + // The maximum number of Amazon RDS recommendations to return with a single + // request. + // + // To retrieve the remaining results, make another request with the returned + // nextToken value. + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + // The token to advance to the next page of Amazon RDS recommendations. + NextToken *string `locationName:"nextToken" type:"string"` + + // Describes the recommendation preferences to return in the response of a GetAutoScalingGroupRecommendations, + // GetEC2InstanceRecommendations, GetEC2RecommendationProjectedMetrics, GetRDSDatabaseRecommendations, + // and GetRDSDatabaseRecommendationProjectedMetrics request. + RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` + + // The ARN that identifies the Amazon RDS. + // + // The following is the format of the ARN: + // + // arn:aws:rds:{region}:{accountId}:db:{resourceName} + // + // The following is the format of a DB Cluster ARN: + // + // arn:aws:rds:{region}:{accountId}:cluster:{resourceName} + ResourceArns []*string `locationName:"resourceArns" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRDSDatabaseRecommendationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRDSDatabaseRecommendationsInput) GoString() string { + return s.String() +} + +// SetAccountIds sets the AccountIds field's value. +func (s *GetRDSDatabaseRecommendationsInput) SetAccountIds(v []*string) *GetRDSDatabaseRecommendationsInput { + s.AccountIds = v + return s +} + +// SetFilters sets the Filters field's value. +func (s *GetRDSDatabaseRecommendationsInput) SetFilters(v []*RDSDBRecommendationFilter) *GetRDSDatabaseRecommendationsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetRDSDatabaseRecommendationsInput) SetMaxResults(v int64) *GetRDSDatabaseRecommendationsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetRDSDatabaseRecommendationsInput) SetNextToken(v string) *GetRDSDatabaseRecommendationsInput { + s.NextToken = &v + return s +} + +// SetRecommendationPreferences sets the RecommendationPreferences field's value. +func (s *GetRDSDatabaseRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *GetRDSDatabaseRecommendationsInput { + s.RecommendationPreferences = v + return s +} + +// SetResourceArns sets the ResourceArns field's value. +func (s *GetRDSDatabaseRecommendationsInput) SetResourceArns(v []*string) *GetRDSDatabaseRecommendationsInput { + s.ResourceArns = v + return s +} + +type GetRDSDatabaseRecommendationsOutput struct { + _ struct{} `type:"structure"` + + // An array of objects that describe errors of the request. + Errors []*GetRecommendationError `locationName:"errors" type:"list"` + + // The token to advance to the next page of Amazon RDS recommendations. + NextToken *string `locationName:"nextToken" type:"string"` + + // An array of objects that describe the Amazon RDS recommendations. + RdsDBRecommendations []*RDSDBRecommendation `locationName:"rdsDBRecommendations" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRDSDatabaseRecommendationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRDSDatabaseRecommendationsOutput) GoString() string { + return s.String() +} + +// SetErrors sets the Errors field's value. +func (s *GetRDSDatabaseRecommendationsOutput) SetErrors(v []*GetRecommendationError) *GetRDSDatabaseRecommendationsOutput { + s.Errors = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetRDSDatabaseRecommendationsOutput) SetNextToken(v string) *GetRDSDatabaseRecommendationsOutput { + s.NextToken = &v + return s +} + +// SetRdsDBRecommendations sets the RdsDBRecommendations field's value. +func (s *GetRDSDatabaseRecommendationsOutput) SetRdsDBRecommendations(v []*RDSDBRecommendation) *GetRDSDatabaseRecommendationsOutput { + s.RdsDBRecommendations = v + return s +} + +// Describes an error experienced when getting recommendations. +// +// For example, an error is returned if you request recommendations for an unsupported +// Auto Scaling group, or if you request recommendations for an instance of +// an unsupported instance family. +type GetRecommendationError struct { + _ struct{} `type:"structure"` + + // The error code. + Code *string `locationName:"code" type:"string"` + + // The ID of the error. + Identifier *string `locationName:"identifier" type:"string"` + + // The message, or reason, for the error. + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRecommendationError) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRecommendationError) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *GetRecommendationError) SetCode(v string) *GetRecommendationError { + s.Code = &v + return s +} + +// SetIdentifier sets the Identifier field's value. func (s *GetRecommendationError) SetIdentifier(v string) *GetRecommendationError { s.Identifier = &v return s @@ -8019,8 +8888,6 @@ type GetRecommendationPreferencesInput struct { // are part of Auto Scaling groups. The AutoScalingGroup option encompasses // only instances that are part of an Auto Scaling group. // - // The valid values for this parameter are Ec2Instance and AutoScalingGroup. - // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` @@ -8467,6 +9334,9 @@ type InstanceRecommendation struct { // requirements of your workload and is not over provisioned. For optimized // resources, Compute Optimizer might recommend a new generation instance // type. + // + // The valid values in your API responses appear as OVER_PROVISIONED, UNDER_PROVISIONED, + // or OPTIMIZED. Finding *string `locationName:"finding" type:"string" enum:"Finding"` // The reason for the finding classification of the instance. @@ -10769,8 +11639,6 @@ type PutRecommendationPreferencesInput struct { // are part of Auto Scaling groups. The AutoScalingGroup option encompasses // only instances that are part of an Auto Scaling group. // - // The valid values for this parameter are Ec2Instance and AutoScalingGroup. - // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` @@ -10887,32 +11755,930 @@ func (s *PutRecommendationPreferencesInput) SetPreferredResources(v []*Preferred return s } -// SetResourceType sets the ResourceType field's value. -func (s *PutRecommendationPreferencesInput) SetResourceType(v string) *PutRecommendationPreferencesInput { - s.ResourceType = &v - return s +// SetResourceType sets the ResourceType field's value. +func (s *PutRecommendationPreferencesInput) SetResourceType(v string) *PutRecommendationPreferencesInput { + s.ResourceType = &v + return s +} + +// SetSavingsEstimationMode sets the SavingsEstimationMode field's value. +func (s *PutRecommendationPreferencesInput) SetSavingsEstimationMode(v string) *PutRecommendationPreferencesInput { + s.SavingsEstimationMode = &v + return s +} + +// SetScope sets the Scope field's value. +func (s *PutRecommendationPreferencesInput) SetScope(v *Scope) *PutRecommendationPreferencesInput { + s.Scope = v + return s +} + +// SetUtilizationPreferences sets the UtilizationPreferences field's value. +func (s *PutRecommendationPreferencesInput) SetUtilizationPreferences(v []*UtilizationPreference) *PutRecommendationPreferencesInput { + s.UtilizationPreferences = v + return s +} + +type PutRecommendationPreferencesOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutRecommendationPreferencesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutRecommendationPreferencesOutput) GoString() string { + return s.String() +} + +// Describes the recommendation options for an Amazon RDS instance. +type RDSDBInstanceRecommendationOption struct { + _ struct{} `type:"structure"` + + // Describes the DB instance class recommendation option for your Amazon RDS + // instance. + DbInstanceClass *string `locationName:"dbInstanceClass" type:"string"` + + // The performance risk of the RDS instance recommendation option. + PerformanceRisk *float64 `locationName:"performanceRisk" type:"double"` + + // An array of objects that describe the projected utilization metrics of the + // RDS instance recommendation option. + ProjectedUtilizationMetrics []*RDSDBUtilizationMetric `locationName:"projectedUtilizationMetrics" type:"list"` + + // The rank identifier of the RDS instance recommendation option. + Rank *int64 `locationName:"rank" type:"integer"` + + // Describes the savings opportunity for recommendations of a given resource + // type or for the recommendation option of an individual resource. + // + // Savings opportunity represents the estimated monthly savings you can achieve + // by implementing a given Compute Optimizer recommendation. + // + // Savings opportunity data requires that you opt in to Cost Explorer, as well + // as activate Receive Amazon EC2 resource recommendations in the Cost Explorer + // preferences page. That creates a connection between Cost Explorer and Compute + // Optimizer. With this connection, Cost Explorer generates savings estimates + // considering the price of existing resources, the price of recommended resources, + // and historical usage data. Estimated monthly savings reflects the projected + // dollar savings associated with each of the recommendations generated. For + // more information, see Enabling Cost Explorer (https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html) + // and Optimizing your cost with Rightsizing Recommendations (https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html) + // in the Cost Management User Guide. + SavingsOpportunity *SavingsOpportunity `locationName:"savingsOpportunity" type:"structure"` + + // Describes the savings opportunity for Amazon RDS recommendations or for the + // recommendation option. + // + // Savings opportunity represents the estimated monthly savings after applying + // Savings Plans discounts. You can achieve this by implementing a given Compute + // Optimizer recommendation. + SavingsOpportunityAfterDiscounts *RDSInstanceSavingsOpportunityAfterDiscounts `locationName:"savingsOpportunityAfterDiscounts" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDBInstanceRecommendationOption) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDBInstanceRecommendationOption) GoString() string { + return s.String() +} + +// SetDbInstanceClass sets the DbInstanceClass field's value. +func (s *RDSDBInstanceRecommendationOption) SetDbInstanceClass(v string) *RDSDBInstanceRecommendationOption { + s.DbInstanceClass = &v + return s +} + +// SetPerformanceRisk sets the PerformanceRisk field's value. +func (s *RDSDBInstanceRecommendationOption) SetPerformanceRisk(v float64) *RDSDBInstanceRecommendationOption { + s.PerformanceRisk = &v + return s +} + +// SetProjectedUtilizationMetrics sets the ProjectedUtilizationMetrics field's value. +func (s *RDSDBInstanceRecommendationOption) SetProjectedUtilizationMetrics(v []*RDSDBUtilizationMetric) *RDSDBInstanceRecommendationOption { + s.ProjectedUtilizationMetrics = v + return s +} + +// SetRank sets the Rank field's value. +func (s *RDSDBInstanceRecommendationOption) SetRank(v int64) *RDSDBInstanceRecommendationOption { + s.Rank = &v + return s +} + +// SetSavingsOpportunity sets the SavingsOpportunity field's value. +func (s *RDSDBInstanceRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *RDSDBInstanceRecommendationOption { + s.SavingsOpportunity = v + return s +} + +// SetSavingsOpportunityAfterDiscounts sets the SavingsOpportunityAfterDiscounts field's value. +func (s *RDSDBInstanceRecommendationOption) SetSavingsOpportunityAfterDiscounts(v *RDSInstanceSavingsOpportunityAfterDiscounts) *RDSDBInstanceRecommendationOption { + s.SavingsOpportunityAfterDiscounts = v + return s +} + +// Describes an Amazon RDS recommendation. +type RDSDBRecommendation struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services account ID of the Amazon RDS. + AccountId *string `locationName:"accountId" type:"string"` + + // The DB instance class of the current RDS instance. + CurrentDBInstanceClass *string `locationName:"currentDBInstanceClass" type:"string"` + + // The configuration of the current RDS storage. + CurrentStorageConfiguration *DBStorageConfiguration `locationName:"currentStorageConfiguration" type:"structure"` + + // Describes the effective recommendation preferences for Amazon RDS. + EffectiveRecommendationPreferences *RDSEffectiveRecommendationPreferences `locationName:"effectiveRecommendationPreferences" type:"structure"` + + // The engine of the RDS instance. + Engine *string `locationName:"engine" type:"string"` + + // The database engine version. + EngineVersion *string `locationName:"engineVersion" type:"string"` + + // This indicates if the RDS instance is idle or not. + Idle *string `locationName:"idle" type:"string" enum:"Idle"` + + // The finding classification of an Amazon RDS instance. + // + // Findings for Amazon RDS instance include: + // + // * Underprovisioned — When Compute Optimizer detects that there’s not + // enough resource specifications, an Amazon RDS is considered under-provisioned. + // + // * Overprovisioned — When Compute Optimizer detects that there’s excessive + // resource specifications, an Amazon RDS is considered over-provisioned. + // + // * Optimized — When the specifications of your Amazon RDS instance meet + // the performance requirements of your workload, the service is considered + // optimized. + InstanceFinding *string `locationName:"instanceFinding" type:"string" enum:"RDSInstanceFinding"` + + // The reason for the finding classification of an Amazon RDS instance. + InstanceFindingReasonCodes []*string `locationName:"instanceFindingReasonCodes" type:"list" enum:"RDSInstanceFindingReasonCode"` + + // An array of objects that describe the recommendation options for the Amazon + // RDS instance. + InstanceRecommendationOptions []*RDSDBInstanceRecommendationOption `locationName:"instanceRecommendationOptions" type:"list"` + + // The timestamp of when the Amazon RDS recommendation was last generated. + LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` + + // The number of days the Amazon RDS utilization metrics were analyzed. + LookbackPeriodInDays *float64 `locationName:"lookbackPeriodInDays" type:"double"` + + // The ARN of the current Amazon RDS. + // + // The following is the format of the ARN: + // + // arn:aws:rds:{region}:{accountId}:db:{resourceName} + ResourceArn *string `locationName:"resourceArn" type:"string"` + + // The finding classification of Amazon RDS storage. + // + // Findings for Amazon RDS instance include: + // + // * Underprovisioned — When Compute Optimizer detects that there’s not + // enough storage, an Amazon RDS is considered under-provisioned. + // + // * Overprovisioned — When Compute Optimizer detects that there’s excessive + // storage, an Amazon RDS is considered over-provisioned. + // + // * Optimized — When the storage of your Amazon RDS meet the performance + // requirements of your workload, the service is considered optimized. + StorageFinding *string `locationName:"storageFinding" type:"string" enum:"RDSStorageFinding"` + + // The reason for the finding classification of Amazon RDS storage. + StorageFindingReasonCodes []*string `locationName:"storageFindingReasonCodes" type:"list" enum:"RDSStorageFindingReasonCode"` + + // An array of objects that describe the recommendation options for Amazon RDS + // storage. + StorageRecommendationOptions []*RDSDBStorageRecommendationOption `locationName:"storageRecommendationOptions" type:"list"` + + // A list of tags assigned to your Amazon RDS recommendations. + Tags []*Tag `locationName:"tags" type:"list"` + + // An array of objects that describe the utilization metrics of the Amazon RDS. + UtilizationMetrics []*RDSDBUtilizationMetric `locationName:"utilizationMetrics" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDBRecommendation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDBRecommendation) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *RDSDBRecommendation) SetAccountId(v string) *RDSDBRecommendation { + s.AccountId = &v + return s +} + +// SetCurrentDBInstanceClass sets the CurrentDBInstanceClass field's value. +func (s *RDSDBRecommendation) SetCurrentDBInstanceClass(v string) *RDSDBRecommendation { + s.CurrentDBInstanceClass = &v + return s +} + +// SetCurrentStorageConfiguration sets the CurrentStorageConfiguration field's value. +func (s *RDSDBRecommendation) SetCurrentStorageConfiguration(v *DBStorageConfiguration) *RDSDBRecommendation { + s.CurrentStorageConfiguration = v + return s +} + +// SetEffectiveRecommendationPreferences sets the EffectiveRecommendationPreferences field's value. +func (s *RDSDBRecommendation) SetEffectiveRecommendationPreferences(v *RDSEffectiveRecommendationPreferences) *RDSDBRecommendation { + s.EffectiveRecommendationPreferences = v + return s +} + +// SetEngine sets the Engine field's value. +func (s *RDSDBRecommendation) SetEngine(v string) *RDSDBRecommendation { + s.Engine = &v + return s +} + +// SetEngineVersion sets the EngineVersion field's value. +func (s *RDSDBRecommendation) SetEngineVersion(v string) *RDSDBRecommendation { + s.EngineVersion = &v + return s +} + +// SetIdle sets the Idle field's value. +func (s *RDSDBRecommendation) SetIdle(v string) *RDSDBRecommendation { + s.Idle = &v + return s +} + +// SetInstanceFinding sets the InstanceFinding field's value. +func (s *RDSDBRecommendation) SetInstanceFinding(v string) *RDSDBRecommendation { + s.InstanceFinding = &v + return s +} + +// SetInstanceFindingReasonCodes sets the InstanceFindingReasonCodes field's value. +func (s *RDSDBRecommendation) SetInstanceFindingReasonCodes(v []*string) *RDSDBRecommendation { + s.InstanceFindingReasonCodes = v + return s +} + +// SetInstanceRecommendationOptions sets the InstanceRecommendationOptions field's value. +func (s *RDSDBRecommendation) SetInstanceRecommendationOptions(v []*RDSDBInstanceRecommendationOption) *RDSDBRecommendation { + s.InstanceRecommendationOptions = v + return s +} + +// SetLastRefreshTimestamp sets the LastRefreshTimestamp field's value. +func (s *RDSDBRecommendation) SetLastRefreshTimestamp(v time.Time) *RDSDBRecommendation { + s.LastRefreshTimestamp = &v + return s +} + +// SetLookbackPeriodInDays sets the LookbackPeriodInDays field's value. +func (s *RDSDBRecommendation) SetLookbackPeriodInDays(v float64) *RDSDBRecommendation { + s.LookbackPeriodInDays = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *RDSDBRecommendation) SetResourceArn(v string) *RDSDBRecommendation { + s.ResourceArn = &v + return s +} + +// SetStorageFinding sets the StorageFinding field's value. +func (s *RDSDBRecommendation) SetStorageFinding(v string) *RDSDBRecommendation { + s.StorageFinding = &v + return s +} + +// SetStorageFindingReasonCodes sets the StorageFindingReasonCodes field's value. +func (s *RDSDBRecommendation) SetStorageFindingReasonCodes(v []*string) *RDSDBRecommendation { + s.StorageFindingReasonCodes = v + return s +} + +// SetStorageRecommendationOptions sets the StorageRecommendationOptions field's value. +func (s *RDSDBRecommendation) SetStorageRecommendationOptions(v []*RDSDBStorageRecommendationOption) *RDSDBRecommendation { + s.StorageRecommendationOptions = v + return s +} + +// SetTags sets the Tags field's value. +func (s *RDSDBRecommendation) SetTags(v []*Tag) *RDSDBRecommendation { + s.Tags = v + return s +} + +// SetUtilizationMetrics sets the UtilizationMetrics field's value. +func (s *RDSDBRecommendation) SetUtilizationMetrics(v []*RDSDBUtilizationMetric) *RDSDBRecommendation { + s.UtilizationMetrics = v + return s +} + +// Describes a filter that returns a more specific list of Amazon RDS recommendations. +// Use this filter with the GetECSServiceRecommendations action. +type RDSDBRecommendationFilter struct { + _ struct{} `type:"structure"` + + // The name of the filter. + // + // Specify Finding to return recommendations with a specific finding classification. + // + // You can filter your Amazon RDS recommendations by tag:key and tag-key tags. + // + // A tag:key is a key and value combination of a tag assigned to your Amazon + // RDS recommendations. Use the tag key in the filter name and the tag value + // as the filter value. For example, to find all Amazon RDS service recommendations + // that have a tag with the key of Owner and the value of TeamA, specify tag:Owner + // for the filter name and TeamA for the filter value. + // + // A tag-key is the key of a tag assigned to your Amazon RDS recommendations. + // Use this filter to find all of your Amazon RDS recommendations that have + // a tag with a specific key. This doesn’t consider the tag value. For example, + // you can find your Amazon RDS service recommendations with a tag key value + // of Owner or without any tag keys assigned. + Name *string `locationName:"name" type:"string" enum:"RDSDBRecommendationFilterName"` + + // The value of the filter. + Values []*string `locationName:"values" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDBRecommendationFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDBRecommendationFilter) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *RDSDBRecommendationFilter) SetName(v string) *RDSDBRecommendationFilter { + s.Name = &v + return s +} + +// SetValues sets the Values field's value. +func (s *RDSDBRecommendationFilter) SetValues(v []*string) *RDSDBRecommendationFilter { + s.Values = v + return s +} + +// Describes the recommendation options for Amazon RDS storage. +type RDSDBStorageRecommendationOption struct { + _ struct{} `type:"structure"` + + // The rank identifier of the RDS storage recommendation option. + Rank *int64 `locationName:"rank" type:"integer"` + + // Describes the savings opportunity for recommendations of a given resource + // type or for the recommendation option of an individual resource. + // + // Savings opportunity represents the estimated monthly savings you can achieve + // by implementing a given Compute Optimizer recommendation. + // + // Savings opportunity data requires that you opt in to Cost Explorer, as well + // as activate Receive Amazon EC2 resource recommendations in the Cost Explorer + // preferences page. That creates a connection between Cost Explorer and Compute + // Optimizer. With this connection, Cost Explorer generates savings estimates + // considering the price of existing resources, the price of recommended resources, + // and historical usage data. Estimated monthly savings reflects the projected + // dollar savings associated with each of the recommendations generated. For + // more information, see Enabling Cost Explorer (https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html) + // and Optimizing your cost with Rightsizing Recommendations (https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html) + // in the Cost Management User Guide. + SavingsOpportunity *SavingsOpportunity `locationName:"savingsOpportunity" type:"structure"` + + // Describes the savings opportunity for Amazon RDS storage recommendations + // or for the recommendation option. + // + // Savings opportunity represents the estimated monthly savings after applying + // Savings Plans discounts. You can achieve this by implementing a given Compute + // Optimizer recommendation. + SavingsOpportunityAfterDiscounts *RDSStorageSavingsOpportunityAfterDiscounts `locationName:"savingsOpportunityAfterDiscounts" type:"structure"` + + // The recommended storage configuration. + StorageConfiguration *DBStorageConfiguration `locationName:"storageConfiguration" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDBStorageRecommendationOption) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDBStorageRecommendationOption) GoString() string { + return s.String() +} + +// SetRank sets the Rank field's value. +func (s *RDSDBStorageRecommendationOption) SetRank(v int64) *RDSDBStorageRecommendationOption { + s.Rank = &v + return s +} + +// SetSavingsOpportunity sets the SavingsOpportunity field's value. +func (s *RDSDBStorageRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *RDSDBStorageRecommendationOption { + s.SavingsOpportunity = v + return s +} + +// SetSavingsOpportunityAfterDiscounts sets the SavingsOpportunityAfterDiscounts field's value. +func (s *RDSDBStorageRecommendationOption) SetSavingsOpportunityAfterDiscounts(v *RDSStorageSavingsOpportunityAfterDiscounts) *RDSDBStorageRecommendationOption { + s.SavingsOpportunityAfterDiscounts = v + return s +} + +// SetStorageConfiguration sets the StorageConfiguration field's value. +func (s *RDSDBStorageRecommendationOption) SetStorageConfiguration(v *DBStorageConfiguration) *RDSDBStorageRecommendationOption { + s.StorageConfiguration = v + return s +} + +// Describes the utilization metric of an Amazon RDS. +// +// To determine the performance difference between your current Amazon RDS and +// the recommended option, compare the utilization metric data of your service +// against its projected utilization metric data. +type RDSDBUtilizationMetric struct { + _ struct{} `type:"structure"` + + // The name of the utilization metric. + Name *string `locationName:"name" type:"string" enum:"RDSDBMetricName"` + + // The statistic of the utilization metric. + // + // The Compute Optimizer API, Command Line Interface (CLI), and SDKs return + // utilization metrics using only the Maximum statistic, which is the highest + // value observed during the specified period. + // + // The Compute Optimizer console displays graphs for some utilization metrics + // using the Average statistic, which is the value of Sum / SampleCount during + // the specified period. For more information, see Viewing resource recommendations + // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) + // in the Compute Optimizer User Guide. You can also get averaged utilization + // metric data for your resources using Amazon CloudWatch. For more information, + // see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). + Statistic *string `locationName:"statistic" type:"string" enum:"RDSDBMetricStatistic"` + + // The value of the utilization metric. + Value *float64 `locationName:"value" type:"double"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDBUtilizationMetric) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDBUtilizationMetric) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *RDSDBUtilizationMetric) SetName(v string) *RDSDBUtilizationMetric { + s.Name = &v + return s +} + +// SetStatistic sets the Statistic field's value. +func (s *RDSDBUtilizationMetric) SetStatistic(v string) *RDSDBUtilizationMetric { + s.Statistic = &v + return s +} + +// SetValue sets the Value field's value. +func (s *RDSDBUtilizationMetric) SetValue(v float64) *RDSDBUtilizationMetric { + s.Value = &v + return s +} + +// Describes the projected metrics of an Amazon RDS recommendation option. +// +// To determine the performance difference between your current Amazon RDS and +// the recommended option, compare the metric data of your service against its +// projected metric data. +type RDSDatabaseProjectedMetric struct { + _ struct{} `type:"structure"` + + // The name of the projected metric. + Name *string `locationName:"name" type:"string" enum:"RDSDBMetricName"` + + // The timestamps of the projected metric. + Timestamps []*time.Time `locationName:"timestamps" type:"list"` + + // The values for the projected metric. + Values []*float64 `locationName:"values" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDatabaseProjectedMetric) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDatabaseProjectedMetric) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *RDSDatabaseProjectedMetric) SetName(v string) *RDSDatabaseProjectedMetric { + s.Name = &v + return s +} + +// SetTimestamps sets the Timestamps field's value. +func (s *RDSDatabaseProjectedMetric) SetTimestamps(v []*time.Time) *RDSDatabaseProjectedMetric { + s.Timestamps = v + return s +} + +// SetValues sets the Values field's value. +func (s *RDSDatabaseProjectedMetric) SetValues(v []*float64) *RDSDatabaseProjectedMetric { + s.Values = v + return s +} + +// Describes the projected metrics of an Amazon RDS recommendation option. +// +// To determine the performance difference between your current Amazon RDS and +// the recommended option, compare the metric data of your service against its +// projected metric data. +type RDSDatabaseRecommendedOptionProjectedMetric struct { + _ struct{} `type:"structure"` + + // An array of objects that describe the projected metric. + ProjectedMetrics []*RDSDatabaseProjectedMetric `locationName:"projectedMetrics" type:"list"` + + // The rank identifier of the RDS instance recommendation option. + Rank *int64 `locationName:"rank" type:"integer"` + + // The recommended DB instance class for the Amazon RDS. + RecommendedDBInstanceClass *string `locationName:"recommendedDBInstanceClass" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDatabaseRecommendedOptionProjectedMetric) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSDatabaseRecommendedOptionProjectedMetric) GoString() string { + return s.String() +} + +// SetProjectedMetrics sets the ProjectedMetrics field's value. +func (s *RDSDatabaseRecommendedOptionProjectedMetric) SetProjectedMetrics(v []*RDSDatabaseProjectedMetric) *RDSDatabaseRecommendedOptionProjectedMetric { + s.ProjectedMetrics = v + return s +} + +// SetRank sets the Rank field's value. +func (s *RDSDatabaseRecommendedOptionProjectedMetric) SetRank(v int64) *RDSDatabaseRecommendedOptionProjectedMetric { + s.Rank = &v + return s +} + +// SetRecommendedDBInstanceClass sets the RecommendedDBInstanceClass field's value. +func (s *RDSDatabaseRecommendedOptionProjectedMetric) SetRecommendedDBInstanceClass(v string) *RDSDatabaseRecommendedOptionProjectedMetric { + s.RecommendedDBInstanceClass = &v + return s +} + +// Describes the effective recommendation preferences for Amazon RDS. +type RDSEffectiveRecommendationPreferences struct { + _ struct{} `type:"structure"` + + // Describes the CPU vendor and architecture for Amazon RDS recommendations. + CpuVendorArchitectures []*string `locationName:"cpuVendorArchitectures" type:"list" enum:"CpuVendorArchitecture"` + + // Describes the activation status of the enhanced infrastructure metrics preference. + // + // A status of Active confirms that the preference is applied in the latest + // recommendation refresh, and a status of Inactive confirms that it's not yet + // applied to recommendations. + // + // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) + // in the Compute Optimizer User Guide. + EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` + + // The number of days the utilization metrics of the Amazon RDS are analyzed. + LookBackPeriod *string `locationName:"lookBackPeriod" type:"string" enum:"LookBackPeriodPreference"` + + // Describes the savings estimation mode preference applied for calculating + // savings opportunity for Amazon RDS. + SavingsEstimationMode *RDSSavingsEstimationMode `locationName:"savingsEstimationMode" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSEffectiveRecommendationPreferences) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSEffectiveRecommendationPreferences) GoString() string { + return s.String() +} + +// SetCpuVendorArchitectures sets the CpuVendorArchitectures field's value. +func (s *RDSEffectiveRecommendationPreferences) SetCpuVendorArchitectures(v []*string) *RDSEffectiveRecommendationPreferences { + s.CpuVendorArchitectures = v + return s +} + +// SetEnhancedInfrastructureMetrics sets the EnhancedInfrastructureMetrics field's value. +func (s *RDSEffectiveRecommendationPreferences) SetEnhancedInfrastructureMetrics(v string) *RDSEffectiveRecommendationPreferences { + s.EnhancedInfrastructureMetrics = &v + return s +} + +// SetLookBackPeriod sets the LookBackPeriod field's value. +func (s *RDSEffectiveRecommendationPreferences) SetLookBackPeriod(v string) *RDSEffectiveRecommendationPreferences { + s.LookBackPeriod = &v + return s +} + +// SetSavingsEstimationMode sets the SavingsEstimationMode field's value. +func (s *RDSEffectiveRecommendationPreferences) SetSavingsEstimationMode(v *RDSSavingsEstimationMode) *RDSEffectiveRecommendationPreferences { + s.SavingsEstimationMode = v + return s +} + +// Describes the estimated monthly savings possible for Amazon RDS instances +// by adopting Compute Optimizer recommendations. This is based on Amazon RDS +// pricing after applying Savings Plans discounts. +type RDSInstanceEstimatedMonthlySavings struct { + _ struct{} `type:"structure"` + + // The currency of the estimated monthly savings. + Currency *string `locationName:"currency" type:"string" enum:"Currency"` + + // The value of the estimated monthly savings for Amazon RDS instances. + Value *float64 `locationName:"value" type:"double"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSInstanceEstimatedMonthlySavings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSInstanceEstimatedMonthlySavings) GoString() string { + return s.String() +} + +// SetCurrency sets the Currency field's value. +func (s *RDSInstanceEstimatedMonthlySavings) SetCurrency(v string) *RDSInstanceEstimatedMonthlySavings { + s.Currency = &v + return s +} + +// SetValue sets the Value field's value. +func (s *RDSInstanceEstimatedMonthlySavings) SetValue(v float64) *RDSInstanceEstimatedMonthlySavings { + s.Value = &v + return s +} + +// Describes the savings opportunity for Amazon RDS instance recommendations +// after applying Savings Plans discounts. +// +// Savings opportunity represents the estimated monthly savings after applying +// Savings Plans discounts. You can achieve this by implementing a given Compute +// Optimizer recommendation. +type RDSInstanceSavingsOpportunityAfterDiscounts struct { + _ struct{} `type:"structure"` + + // The estimated monthly savings possible by adopting Compute Optimizer’s + // Amazon RDS instance recommendations. This includes any applicable Savings + // Plans discounts. + EstimatedMonthlySavings *RDSInstanceEstimatedMonthlySavings `locationName:"estimatedMonthlySavings" type:"structure"` + + // The estimated monthly savings possible as a percentage of monthly cost by + // adopting Compute Optimizer’s Amazon RDS instance recommendations. This + // includes any applicable Savings Plans discounts. + SavingsOpportunityPercentage *float64 `locationName:"savingsOpportunityPercentage" type:"double"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSInstanceSavingsOpportunityAfterDiscounts) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSInstanceSavingsOpportunityAfterDiscounts) GoString() string { + return s.String() +} + +// SetEstimatedMonthlySavings sets the EstimatedMonthlySavings field's value. +func (s *RDSInstanceSavingsOpportunityAfterDiscounts) SetEstimatedMonthlySavings(v *RDSInstanceEstimatedMonthlySavings) *RDSInstanceSavingsOpportunityAfterDiscounts { + s.EstimatedMonthlySavings = v + return s +} + +// SetSavingsOpportunityPercentage sets the SavingsOpportunityPercentage field's value. +func (s *RDSInstanceSavingsOpportunityAfterDiscounts) SetSavingsOpportunityPercentage(v float64) *RDSInstanceSavingsOpportunityAfterDiscounts { + s.SavingsOpportunityPercentage = &v + return s +} + +// Describes the savings estimation mode used for calculating savings opportunity +// for Amazon RDS. +type RDSSavingsEstimationMode struct { + _ struct{} `type:"structure"` + + // Describes the source for calculating the savings opportunity for Amazon RDS. + Source *string `locationName:"source" type:"string" enum:"RDSSavingsEstimationModeSource"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSSavingsEstimationMode) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSSavingsEstimationMode) GoString() string { + return s.String() +} + +// SetSource sets the Source field's value. +func (s *RDSSavingsEstimationMode) SetSource(v string) *RDSSavingsEstimationMode { + s.Source = &v + return s +} + +// Describes the estimated monthly savings possible for Amazon RDS storage by +// adopting Compute Optimizer recommendations. This is based on Amazon RDS pricing +// after applying Savings Plans discounts. +type RDSStorageEstimatedMonthlySavings struct { + _ struct{} `type:"structure"` + + // The currency of the estimated monthly savings. + Currency *string `locationName:"currency" type:"string" enum:"Currency"` + + // The value of the estimated monthly savings for Amazon RDS storage. + Value *float64 `locationName:"value" type:"double"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSStorageEstimatedMonthlySavings) String() string { + return awsutil.Prettify(s) } -// SetSavingsEstimationMode sets the SavingsEstimationMode field's value. -func (s *PutRecommendationPreferencesInput) SetSavingsEstimationMode(v string) *PutRecommendationPreferencesInput { - s.SavingsEstimationMode = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RDSStorageEstimatedMonthlySavings) GoString() string { + return s.String() } -// SetScope sets the Scope field's value. -func (s *PutRecommendationPreferencesInput) SetScope(v *Scope) *PutRecommendationPreferencesInput { - s.Scope = v +// SetCurrency sets the Currency field's value. +func (s *RDSStorageEstimatedMonthlySavings) SetCurrency(v string) *RDSStorageEstimatedMonthlySavings { + s.Currency = &v return s } -// SetUtilizationPreferences sets the UtilizationPreferences field's value. -func (s *PutRecommendationPreferencesInput) SetUtilizationPreferences(v []*UtilizationPreference) *PutRecommendationPreferencesInput { - s.UtilizationPreferences = v +// SetValue sets the Value field's value. +func (s *RDSStorageEstimatedMonthlySavings) SetValue(v float64) *RDSStorageEstimatedMonthlySavings { + s.Value = &v return s } -type PutRecommendationPreferencesOutput struct { +// Describes the savings opportunity for Amazon RDS storage recommendations +// after applying Savings Plans discounts. +// +// Savings opportunity represents the estimated monthly savings after applying +// Savings Plans discounts. You can achieve this by implementing a given Compute +// Optimizer recommendation. +type RDSStorageSavingsOpportunityAfterDiscounts struct { _ struct{} `type:"structure"` + + // The estimated monthly savings possible by adopting Compute Optimizer’s + // Amazon RDS storage recommendations. This includes any applicable Savings + // Plans discounts. + EstimatedMonthlySavings *RDSStorageEstimatedMonthlySavings `locationName:"estimatedMonthlySavings" type:"structure"` + + // The estimated monthly savings possible as a percentage of monthly cost by + // adopting Compute Optimizer’s Amazon RDS storage recommendations. This includes + // any applicable Savings Plans discounts. + SavingsOpportunityPercentage *float64 `locationName:"savingsOpportunityPercentage" type:"double"` } // String returns the string representation. @@ -10920,7 +12686,7 @@ type PutRecommendationPreferencesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PutRecommendationPreferencesOutput) String() string { +func (s RDSStorageSavingsOpportunityAfterDiscounts) String() string { return awsutil.Prettify(s) } @@ -10929,10 +12695,22 @@ func (s PutRecommendationPreferencesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PutRecommendationPreferencesOutput) GoString() string { +func (s RDSStorageSavingsOpportunityAfterDiscounts) GoString() string { return s.String() } +// SetEstimatedMonthlySavings sets the EstimatedMonthlySavings field's value. +func (s *RDSStorageSavingsOpportunityAfterDiscounts) SetEstimatedMonthlySavings(v *RDSStorageEstimatedMonthlySavings) *RDSStorageSavingsOpportunityAfterDiscounts { + s.EstimatedMonthlySavings = v + return s +} + +// SetSavingsOpportunityPercentage sets the SavingsOpportunityPercentage field's value. +func (s *RDSStorageSavingsOpportunityAfterDiscounts) SetSavingsOpportunityPercentage(v float64) *RDSStorageSavingsOpportunityAfterDiscounts { + s.SavingsOpportunityPercentage = &v + return s +} + // A summary of a finding reason code. type ReasonCodeSummary struct { _ struct{} `type:"structure"` @@ -11067,7 +12845,8 @@ func (s *RecommendationExportJob) SetStatus(v string) *RecommendationExportJob { } // Describes the recommendation preferences to return in the response of a GetAutoScalingGroupRecommendations, -// GetEC2InstanceRecommendations, and GetEC2RecommendationProjectedMetrics request. +// GetEC2InstanceRecommendations, GetEC2RecommendationProjectedMetrics, GetRDSDatabaseRecommendations, +// and GetRDSDatabaseRecommendationProjectedMetrics request. type RecommendationPreferences struct { _ struct{} `type:"structure"` @@ -11077,15 +12856,15 @@ type RecommendationPreferences struct { // For example, when you specify AWS_ARM64 with: // // * A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations - // request, Compute Optimizer returns recommendations that consist of Graviton2 + // request, Compute Optimizer returns recommendations that consist of Graviton // instance types only. // // * A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns - // projected utilization metrics for Graviton2 instance type recommendations + // projected utilization metrics for Graviton instance type recommendations // only. // // * A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations - // request, Compute Optimizer exports recommendations that consist of Graviton2 + // request, Compute Optimizer exports recommendations that consist of Graviton // instance types only. CpuVendorArchitectures []*string `locationName:"cpuVendorArchitectures" type:"list" enum:"CpuVendorArchitecture"` } @@ -12317,8 +14096,8 @@ func (s *UtilizationMetric) SetValue(v float64) *UtilizationMetric { return s } -// The preference to control the resource’s CPU utilization thresholds - threshold -// and headroom. +// The preference to control the resource’s CPU utilization threshold, CPU +// utilization headroom, and memory utilization headroom. // // This preference is only available for the Amazon EC2 instance resource type. type UtilizationPreference struct { @@ -13188,6 +14967,12 @@ const ( // ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesInferredWorkloadTypes is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesInferredWorkloadTypes = "EffectiveRecommendationPreferencesInferredWorkloadTypes" + // ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesPreferredResources is a ExportableAutoScalingGroupField enum value + ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesPreferredResources = "EffectiveRecommendationPreferencesPreferredResources" + + // ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesLookBackPeriod is a ExportableAutoScalingGroupField enum value + ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesLookBackPeriod = "EffectiveRecommendationPreferencesLookBackPeriod" + // ExportableAutoScalingGroupFieldInferredWorkloadTypes is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldInferredWorkloadTypes = "InferredWorkloadTypes" @@ -13223,12 +15008,6 @@ const ( // ExportableAutoScalingGroupFieldRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts = "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" - - // ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesPreferredResources is a ExportableAutoScalingGroupField enum value - ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesPreferredResources = "EffectiveRecommendationPreferencesPreferredResources" - - // ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesLookBackPeriod is a ExportableAutoScalingGroupField enum value - ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesLookBackPeriod = "EffectiveRecommendationPreferencesLookBackPeriod" ) // ExportableAutoScalingGroupField_Values returns all elements of the ExportableAutoScalingGroupField enum @@ -13286,6 +15065,8 @@ func ExportableAutoScalingGroupField_Values() []string { ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesCpuVendorArchitectures, ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesInferredWorkloadTypes, + ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesPreferredResources, + ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesLookBackPeriod, ExportableAutoScalingGroupFieldInferredWorkloadTypes, ExportableAutoScalingGroupFieldRecommendationOptionsMigrationEffort, ExportableAutoScalingGroupFieldCurrentInstanceGpuInfo, @@ -13298,8 +15079,6 @@ func ExportableAutoScalingGroupField_Values() []string { ExportableAutoScalingGroupFieldRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, ExportableAutoScalingGroupFieldRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, ExportableAutoScalingGroupFieldRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts, - ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesPreferredResources, - ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesLookBackPeriod, } } @@ -13583,12 +15362,12 @@ const ( // ExportableInstanceFieldEffectiveRecommendationPreferencesExternalMetricsSource is a ExportableInstanceField enum value ExportableInstanceFieldEffectiveRecommendationPreferencesExternalMetricsSource = "EffectiveRecommendationPreferencesExternalMetricsSource" - // ExportableInstanceFieldInstanceState is a ExportableInstanceField enum value - ExportableInstanceFieldInstanceState = "InstanceState" - // ExportableInstanceFieldTags is a ExportableInstanceField enum value ExportableInstanceFieldTags = "Tags" + // ExportableInstanceFieldInstanceState is a ExportableInstanceField enum value + ExportableInstanceFieldInstanceState = "InstanceState" + // ExportableInstanceFieldExternalMetricStatusCode is a ExportableInstanceField enum value ExportableInstanceFieldExternalMetricStatusCode = "ExternalMetricStatusCode" @@ -13694,8 +15473,8 @@ func ExportableInstanceField_Values() []string { ExportableInstanceFieldInferredWorkloadTypes, ExportableInstanceFieldRecommendationOptionsMigrationEffort, ExportableInstanceFieldEffectiveRecommendationPreferencesExternalMetricsSource, - ExportableInstanceFieldInstanceState, ExportableInstanceFieldTags, + ExportableInstanceFieldInstanceState, ExportableInstanceFieldExternalMetricStatusCode, ExportableInstanceFieldExternalMetricStatusReason, ExportableInstanceFieldCurrentInstanceGpuInfo, @@ -13939,6 +15718,250 @@ func ExportableLicenseField_Values() []string { } } +const ( + // ExportableRDSDBFieldResourceArn is a ExportableRDSDBField enum value + ExportableRDSDBFieldResourceArn = "ResourceArn" + + // ExportableRDSDBFieldAccountId is a ExportableRDSDBField enum value + ExportableRDSDBFieldAccountId = "AccountId" + + // ExportableRDSDBFieldEngine is a ExportableRDSDBField enum value + ExportableRDSDBFieldEngine = "Engine" + + // ExportableRDSDBFieldEngineVersion is a ExportableRDSDBField enum value + ExportableRDSDBFieldEngineVersion = "EngineVersion" + + // ExportableRDSDBFieldIdle is a ExportableRDSDBField enum value + ExportableRDSDBFieldIdle = "Idle" + + // ExportableRDSDBFieldMultiAzdbinstance is a ExportableRDSDBField enum value + ExportableRDSDBFieldMultiAzdbinstance = "MultiAZDBInstance" + + // ExportableRDSDBFieldCurrentDbinstanceClass is a ExportableRDSDBField enum value + ExportableRDSDBFieldCurrentDbinstanceClass = "CurrentDBInstanceClass" + + // ExportableRDSDBFieldCurrentStorageConfigurationStorageType is a ExportableRDSDBField enum value + ExportableRDSDBFieldCurrentStorageConfigurationStorageType = "CurrentStorageConfigurationStorageType" + + // ExportableRDSDBFieldCurrentStorageConfigurationAllocatedStorage is a ExportableRDSDBField enum value + ExportableRDSDBFieldCurrentStorageConfigurationAllocatedStorage = "CurrentStorageConfigurationAllocatedStorage" + + // ExportableRDSDBFieldCurrentStorageConfigurationMaxAllocatedStorage is a ExportableRDSDBField enum value + ExportableRDSDBFieldCurrentStorageConfigurationMaxAllocatedStorage = "CurrentStorageConfigurationMaxAllocatedStorage" + + // ExportableRDSDBFieldCurrentStorageConfigurationIops is a ExportableRDSDBField enum value + ExportableRDSDBFieldCurrentStorageConfigurationIops = "CurrentStorageConfigurationIOPS" + + // ExportableRDSDBFieldCurrentStorageConfigurationStorageThroughput is a ExportableRDSDBField enum value + ExportableRDSDBFieldCurrentStorageConfigurationStorageThroughput = "CurrentStorageConfigurationStorageThroughput" + + // ExportableRDSDBFieldCurrentInstanceOnDemandHourlyPrice is a ExportableRDSDBField enum value + ExportableRDSDBFieldCurrentInstanceOnDemandHourlyPrice = "CurrentInstanceOnDemandHourlyPrice" + + // ExportableRDSDBFieldCurrentStorageOnDemandMonthlyPrice is a ExportableRDSDBField enum value + ExportableRDSDBFieldCurrentStorageOnDemandMonthlyPrice = "CurrentStorageOnDemandMonthlyPrice" + + // ExportableRDSDBFieldLookbackPeriodInDays is a ExportableRDSDBField enum value + ExportableRDSDBFieldLookbackPeriodInDays = "LookbackPeriodInDays" + + // ExportableRDSDBFieldUtilizationMetricsCpuMaximum is a ExportableRDSDBField enum value + ExportableRDSDBFieldUtilizationMetricsCpuMaximum = "UtilizationMetricsCpuMaximum" + + // ExportableRDSDBFieldUtilizationMetricsMemoryMaximum is a ExportableRDSDBField enum value + ExportableRDSDBFieldUtilizationMetricsMemoryMaximum = "UtilizationMetricsMemoryMaximum" + + // ExportableRDSDBFieldUtilizationMetricsEbsvolumeStorageSpaceUtilizationMaximum is a ExportableRDSDBField enum value + ExportableRDSDBFieldUtilizationMetricsEbsvolumeStorageSpaceUtilizationMaximum = "UtilizationMetricsEBSVolumeStorageSpaceUtilizationMaximum" + + // ExportableRDSDBFieldUtilizationMetricsNetworkReceiveThroughputMaximum is a ExportableRDSDBField enum value + ExportableRDSDBFieldUtilizationMetricsNetworkReceiveThroughputMaximum = "UtilizationMetricsNetworkReceiveThroughputMaximum" + + // ExportableRDSDBFieldUtilizationMetricsNetworkTransmitThroughputMaximum is a ExportableRDSDBField enum value + ExportableRDSDBFieldUtilizationMetricsNetworkTransmitThroughputMaximum = "UtilizationMetricsNetworkTransmitThroughputMaximum" + + // ExportableRDSDBFieldUtilizationMetricsEbsvolumeReadIopsmaximum is a ExportableRDSDBField enum value + ExportableRDSDBFieldUtilizationMetricsEbsvolumeReadIopsmaximum = "UtilizationMetricsEBSVolumeReadIOPSMaximum" + + // ExportableRDSDBFieldUtilizationMetricsEbsvolumeWriteIopsmaximum is a ExportableRDSDBField enum value + ExportableRDSDBFieldUtilizationMetricsEbsvolumeWriteIopsmaximum = "UtilizationMetricsEBSVolumeWriteIOPSMaximum" + + // ExportableRDSDBFieldUtilizationMetricsEbsvolumeReadThroughputMaximum is a ExportableRDSDBField enum value + ExportableRDSDBFieldUtilizationMetricsEbsvolumeReadThroughputMaximum = "UtilizationMetricsEBSVolumeReadThroughputMaximum" + + // ExportableRDSDBFieldUtilizationMetricsEbsvolumeWriteThroughputMaximum is a ExportableRDSDBField enum value + ExportableRDSDBFieldUtilizationMetricsEbsvolumeWriteThroughputMaximum = "UtilizationMetricsEBSVolumeWriteThroughputMaximum" + + // ExportableRDSDBFieldUtilizationMetricsDatabaseConnectionsMaximum is a ExportableRDSDBField enum value + ExportableRDSDBFieldUtilizationMetricsDatabaseConnectionsMaximum = "UtilizationMetricsDatabaseConnectionsMaximum" + + // ExportableRDSDBFieldInstanceFinding is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceFinding = "InstanceFinding" + + // ExportableRDSDBFieldInstanceFindingReasonCodes is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceFindingReasonCodes = "InstanceFindingReasonCodes" + + // ExportableRDSDBFieldStorageFinding is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageFinding = "StorageFinding" + + // ExportableRDSDBFieldStorageFindingReasonCodes is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageFindingReasonCodes = "StorageFindingReasonCodes" + + // ExportableRDSDBFieldInstanceRecommendationOptionsDbinstanceClass is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceRecommendationOptionsDbinstanceClass = "InstanceRecommendationOptionsDBInstanceClass" + + // ExportableRDSDBFieldInstanceRecommendationOptionsRank is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceRecommendationOptionsRank = "InstanceRecommendationOptionsRank" + + // ExportableRDSDBFieldInstanceRecommendationOptionsPerformanceRisk is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceRecommendationOptionsPerformanceRisk = "InstanceRecommendationOptionsPerformanceRisk" + + // ExportableRDSDBFieldInstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum = "InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum" + + // ExportableRDSDBFieldStorageRecommendationOptionsStorageType is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsStorageType = "StorageRecommendationOptionsStorageType" + + // ExportableRDSDBFieldStorageRecommendationOptionsAllocatedStorage is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsAllocatedStorage = "StorageRecommendationOptionsAllocatedStorage" + + // ExportableRDSDBFieldStorageRecommendationOptionsMaxAllocatedStorage is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsMaxAllocatedStorage = "StorageRecommendationOptionsMaxAllocatedStorage" + + // ExportableRDSDBFieldStorageRecommendationOptionsIops is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsIops = "StorageRecommendationOptionsIOPS" + + // ExportableRDSDBFieldStorageRecommendationOptionsStorageThroughput is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsStorageThroughput = "StorageRecommendationOptionsStorageThroughput" + + // ExportableRDSDBFieldStorageRecommendationOptionsRank is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsRank = "StorageRecommendationOptionsRank" + + // ExportableRDSDBFieldInstanceRecommendationOptionsInstanceOnDemandHourlyPrice is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceRecommendationOptionsInstanceOnDemandHourlyPrice = "InstanceRecommendationOptionsInstanceOnDemandHourlyPrice" + + // ExportableRDSDBFieldInstanceRecommendationOptionsSavingsOpportunityPercentage is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceRecommendationOptionsSavingsOpportunityPercentage = "InstanceRecommendationOptionsSavingsOpportunityPercentage" + + // ExportableRDSDBFieldInstanceRecommendationOptionsEstimatedMonthlySavingsCurrency is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceRecommendationOptionsEstimatedMonthlySavingsCurrency = "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrency" + + // ExportableRDSDBFieldInstanceRecommendationOptionsEstimatedMonthlySavingsValue is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceRecommendationOptionsEstimatedMonthlySavingsValue = "InstanceRecommendationOptionsEstimatedMonthlySavingsValue" + + // ExportableRDSDBFieldInstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage = "InstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" + + // ExportableRDSDBFieldInstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts = "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" + + // ExportableRDSDBFieldInstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts is a ExportableRDSDBField enum value + ExportableRDSDBFieldInstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts = "InstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" + + // ExportableRDSDBFieldStorageRecommendationOptionsOnDemandMonthlyPrice is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsOnDemandMonthlyPrice = "StorageRecommendationOptionsOnDemandMonthlyPrice" + + // ExportableRDSDBFieldStorageRecommendationOptionsSavingsOpportunityPercentage is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsSavingsOpportunityPercentage = "StorageRecommendationOptionsSavingsOpportunityPercentage" + + // ExportableRDSDBFieldStorageRecommendationOptionsEstimatedMonthlySavingsCurrency is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsEstimatedMonthlySavingsCurrency = "StorageRecommendationOptionsEstimatedMonthlySavingsCurrency" + + // ExportableRDSDBFieldStorageRecommendationOptionsEstimatedMonthlySavingsValue is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsEstimatedMonthlySavingsValue = "StorageRecommendationOptionsEstimatedMonthlySavingsValue" + + // ExportableRDSDBFieldStorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage = "StorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" + + // ExportableRDSDBFieldStorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts = "StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" + + // ExportableRDSDBFieldStorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts is a ExportableRDSDBField enum value + ExportableRDSDBFieldStorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts = "StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" + + // ExportableRDSDBFieldEffectiveRecommendationPreferencesCpuVendorArchitectures is a ExportableRDSDBField enum value + ExportableRDSDBFieldEffectiveRecommendationPreferencesCpuVendorArchitectures = "EffectiveRecommendationPreferencesCpuVendorArchitectures" + + // ExportableRDSDBFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics is a ExportableRDSDBField enum value + ExportableRDSDBFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" + + // ExportableRDSDBFieldEffectiveRecommendationPreferencesLookBackPeriod is a ExportableRDSDBField enum value + ExportableRDSDBFieldEffectiveRecommendationPreferencesLookBackPeriod = "EffectiveRecommendationPreferencesLookBackPeriod" + + // ExportableRDSDBFieldEffectiveRecommendationPreferencesSavingsEstimationMode is a ExportableRDSDBField enum value + ExportableRDSDBFieldEffectiveRecommendationPreferencesSavingsEstimationMode = "EffectiveRecommendationPreferencesSavingsEstimationMode" + + // ExportableRDSDBFieldLastRefreshTimestamp is a ExportableRDSDBField enum value + ExportableRDSDBFieldLastRefreshTimestamp = "LastRefreshTimestamp" + + // ExportableRDSDBFieldTags is a ExportableRDSDBField enum value + ExportableRDSDBFieldTags = "Tags" +) + +// ExportableRDSDBField_Values returns all elements of the ExportableRDSDBField enum +func ExportableRDSDBField_Values() []string { + return []string{ + ExportableRDSDBFieldResourceArn, + ExportableRDSDBFieldAccountId, + ExportableRDSDBFieldEngine, + ExportableRDSDBFieldEngineVersion, + ExportableRDSDBFieldIdle, + ExportableRDSDBFieldMultiAzdbinstance, + ExportableRDSDBFieldCurrentDbinstanceClass, + ExportableRDSDBFieldCurrentStorageConfigurationStorageType, + ExportableRDSDBFieldCurrentStorageConfigurationAllocatedStorage, + ExportableRDSDBFieldCurrentStorageConfigurationMaxAllocatedStorage, + ExportableRDSDBFieldCurrentStorageConfigurationIops, + ExportableRDSDBFieldCurrentStorageConfigurationStorageThroughput, + ExportableRDSDBFieldCurrentInstanceOnDemandHourlyPrice, + ExportableRDSDBFieldCurrentStorageOnDemandMonthlyPrice, + ExportableRDSDBFieldLookbackPeriodInDays, + ExportableRDSDBFieldUtilizationMetricsCpuMaximum, + ExportableRDSDBFieldUtilizationMetricsMemoryMaximum, + ExportableRDSDBFieldUtilizationMetricsEbsvolumeStorageSpaceUtilizationMaximum, + ExportableRDSDBFieldUtilizationMetricsNetworkReceiveThroughputMaximum, + ExportableRDSDBFieldUtilizationMetricsNetworkTransmitThroughputMaximum, + ExportableRDSDBFieldUtilizationMetricsEbsvolumeReadIopsmaximum, + ExportableRDSDBFieldUtilizationMetricsEbsvolumeWriteIopsmaximum, + ExportableRDSDBFieldUtilizationMetricsEbsvolumeReadThroughputMaximum, + ExportableRDSDBFieldUtilizationMetricsEbsvolumeWriteThroughputMaximum, + ExportableRDSDBFieldUtilizationMetricsDatabaseConnectionsMaximum, + ExportableRDSDBFieldInstanceFinding, + ExportableRDSDBFieldInstanceFindingReasonCodes, + ExportableRDSDBFieldStorageFinding, + ExportableRDSDBFieldStorageFindingReasonCodes, + ExportableRDSDBFieldInstanceRecommendationOptionsDbinstanceClass, + ExportableRDSDBFieldInstanceRecommendationOptionsRank, + ExportableRDSDBFieldInstanceRecommendationOptionsPerformanceRisk, + ExportableRDSDBFieldInstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum, + ExportableRDSDBFieldStorageRecommendationOptionsStorageType, + ExportableRDSDBFieldStorageRecommendationOptionsAllocatedStorage, + ExportableRDSDBFieldStorageRecommendationOptionsMaxAllocatedStorage, + ExportableRDSDBFieldStorageRecommendationOptionsIops, + ExportableRDSDBFieldStorageRecommendationOptionsStorageThroughput, + ExportableRDSDBFieldStorageRecommendationOptionsRank, + ExportableRDSDBFieldInstanceRecommendationOptionsInstanceOnDemandHourlyPrice, + ExportableRDSDBFieldInstanceRecommendationOptionsSavingsOpportunityPercentage, + ExportableRDSDBFieldInstanceRecommendationOptionsEstimatedMonthlySavingsCurrency, + ExportableRDSDBFieldInstanceRecommendationOptionsEstimatedMonthlySavingsValue, + ExportableRDSDBFieldInstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, + ExportableRDSDBFieldInstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, + ExportableRDSDBFieldInstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts, + ExportableRDSDBFieldStorageRecommendationOptionsOnDemandMonthlyPrice, + ExportableRDSDBFieldStorageRecommendationOptionsSavingsOpportunityPercentage, + ExportableRDSDBFieldStorageRecommendationOptionsEstimatedMonthlySavingsCurrency, + ExportableRDSDBFieldStorageRecommendationOptionsEstimatedMonthlySavingsValue, + ExportableRDSDBFieldStorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, + ExportableRDSDBFieldStorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, + ExportableRDSDBFieldStorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts, + ExportableRDSDBFieldEffectiveRecommendationPreferencesCpuVendorArchitectures, + ExportableRDSDBFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, + ExportableRDSDBFieldEffectiveRecommendationPreferencesLookBackPeriod, + ExportableRDSDBFieldEffectiveRecommendationPreferencesSavingsEstimationMode, + ExportableRDSDBFieldLastRefreshTimestamp, + ExportableRDSDBFieldTags, + } +} + const ( // ExportableVolumeFieldAccountId is a ExportableVolumeField enum value ExportableVolumeFieldAccountId = "AccountId" @@ -14024,12 +16047,12 @@ const ( // ExportableVolumeFieldRecommendationOptionsEstimatedMonthlySavingsValue is a ExportableVolumeField enum value ExportableVolumeFieldRecommendationOptionsEstimatedMonthlySavingsValue = "RecommendationOptionsEstimatedMonthlySavingsValue" - // ExportableVolumeFieldRootVolume is a ExportableVolumeField enum value - ExportableVolumeFieldRootVolume = "RootVolume" - // ExportableVolumeFieldTags is a ExportableVolumeField enum value ExportableVolumeFieldTags = "Tags" + // ExportableVolumeFieldRootVolume is a ExportableVolumeField enum value + ExportableVolumeFieldRootVolume = "RootVolume" + // ExportableVolumeFieldCurrentConfigurationRootVolume is a ExportableVolumeField enum value ExportableVolumeFieldCurrentConfigurationRootVolume = "CurrentConfigurationRootVolume" @@ -14077,8 +16100,8 @@ func ExportableVolumeField_Values() []string { ExportableVolumeFieldRecommendationOptionsSavingsOpportunityPercentage, ExportableVolumeFieldRecommendationOptionsEstimatedMonthlySavingsCurrency, ExportableVolumeFieldRecommendationOptionsEstimatedMonthlySavingsValue, - ExportableVolumeFieldRootVolume, ExportableVolumeFieldTags, + ExportableVolumeFieldRootVolume, ExportableVolumeFieldCurrentConfigurationRootVolume, ExportableVolumeFieldEffectiveRecommendationPreferencesSavingsEstimationMode, ExportableVolumeFieldRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, @@ -14235,6 +16258,22 @@ func FindingReasonCode_Values() []string { } } +const ( + // IdleTrue is a Idle enum value + IdleTrue = "True" + + // IdleFalse is a Idle enum value + IdleFalse = "False" +) + +// Idle_Values returns all elements of the Idle enum +func Idle_Values() []string { + return []string{ + IdleTrue, + IdleFalse, + } +} + const ( // InferredWorkloadTypeAmazonEmr is a InferredWorkloadType enum value InferredWorkloadTypeAmazonEmr = "AmazonEmr" @@ -14939,6 +16978,234 @@ func PreferredResourceName_Values() []string { } } +const ( + // RDSDBMetricNameCpu is a RDSDBMetricName enum value + RDSDBMetricNameCpu = "CPU" + + // RDSDBMetricNameMemory is a RDSDBMetricName enum value + RDSDBMetricNameMemory = "Memory" + + // RDSDBMetricNameEbsvolumeStorageSpaceUtilization is a RDSDBMetricName enum value + RDSDBMetricNameEbsvolumeStorageSpaceUtilization = "EBSVolumeStorageSpaceUtilization" + + // RDSDBMetricNameNetworkReceiveThroughput is a RDSDBMetricName enum value + RDSDBMetricNameNetworkReceiveThroughput = "NetworkReceiveThroughput" + + // RDSDBMetricNameNetworkTransmitThroughput is a RDSDBMetricName enum value + RDSDBMetricNameNetworkTransmitThroughput = "NetworkTransmitThroughput" + + // RDSDBMetricNameEbsvolumeReadIops is a RDSDBMetricName enum value + RDSDBMetricNameEbsvolumeReadIops = "EBSVolumeReadIOPS" + + // RDSDBMetricNameEbsvolumeWriteIops is a RDSDBMetricName enum value + RDSDBMetricNameEbsvolumeWriteIops = "EBSVolumeWriteIOPS" + + // RDSDBMetricNameEbsvolumeReadThroughput is a RDSDBMetricName enum value + RDSDBMetricNameEbsvolumeReadThroughput = "EBSVolumeReadThroughput" + + // RDSDBMetricNameEbsvolumeWriteThroughput is a RDSDBMetricName enum value + RDSDBMetricNameEbsvolumeWriteThroughput = "EBSVolumeWriteThroughput" + + // RDSDBMetricNameDatabaseConnections is a RDSDBMetricName enum value + RDSDBMetricNameDatabaseConnections = "DatabaseConnections" +) + +// RDSDBMetricName_Values returns all elements of the RDSDBMetricName enum +func RDSDBMetricName_Values() []string { + return []string{ + RDSDBMetricNameCpu, + RDSDBMetricNameMemory, + RDSDBMetricNameEbsvolumeStorageSpaceUtilization, + RDSDBMetricNameNetworkReceiveThroughput, + RDSDBMetricNameNetworkTransmitThroughput, + RDSDBMetricNameEbsvolumeReadIops, + RDSDBMetricNameEbsvolumeWriteIops, + RDSDBMetricNameEbsvolumeReadThroughput, + RDSDBMetricNameEbsvolumeWriteThroughput, + RDSDBMetricNameDatabaseConnections, + } +} + +const ( + // RDSDBMetricStatisticMaximum is a RDSDBMetricStatistic enum value + RDSDBMetricStatisticMaximum = "Maximum" + + // RDSDBMetricStatisticMinimum is a RDSDBMetricStatistic enum value + RDSDBMetricStatisticMinimum = "Minimum" + + // RDSDBMetricStatisticAverage is a RDSDBMetricStatistic enum value + RDSDBMetricStatisticAverage = "Average" +) + +// RDSDBMetricStatistic_Values returns all elements of the RDSDBMetricStatistic enum +func RDSDBMetricStatistic_Values() []string { + return []string{ + RDSDBMetricStatisticMaximum, + RDSDBMetricStatisticMinimum, + RDSDBMetricStatisticAverage, + } +} + +const ( + // RDSDBRecommendationFilterNameInstanceFinding is a RDSDBRecommendationFilterName enum value + RDSDBRecommendationFilterNameInstanceFinding = "InstanceFinding" + + // RDSDBRecommendationFilterNameInstanceFindingReasonCode is a RDSDBRecommendationFilterName enum value + RDSDBRecommendationFilterNameInstanceFindingReasonCode = "InstanceFindingReasonCode" + + // RDSDBRecommendationFilterNameStorageFinding is a RDSDBRecommendationFilterName enum value + RDSDBRecommendationFilterNameStorageFinding = "StorageFinding" + + // RDSDBRecommendationFilterNameStorageFindingReasonCode is a RDSDBRecommendationFilterName enum value + RDSDBRecommendationFilterNameStorageFindingReasonCode = "StorageFindingReasonCode" + + // RDSDBRecommendationFilterNameIdle is a RDSDBRecommendationFilterName enum value + RDSDBRecommendationFilterNameIdle = "Idle" +) + +// RDSDBRecommendationFilterName_Values returns all elements of the RDSDBRecommendationFilterName enum +func RDSDBRecommendationFilterName_Values() []string { + return []string{ + RDSDBRecommendationFilterNameInstanceFinding, + RDSDBRecommendationFilterNameInstanceFindingReasonCode, + RDSDBRecommendationFilterNameStorageFinding, + RDSDBRecommendationFilterNameStorageFindingReasonCode, + RDSDBRecommendationFilterNameIdle, + } +} + +const ( + // RDSInstanceFindingOptimized is a RDSInstanceFinding enum value + RDSInstanceFindingOptimized = "Optimized" + + // RDSInstanceFindingUnderprovisioned is a RDSInstanceFinding enum value + RDSInstanceFindingUnderprovisioned = "Underprovisioned" + + // RDSInstanceFindingOverprovisioned is a RDSInstanceFinding enum value + RDSInstanceFindingOverprovisioned = "Overprovisioned" +) + +// RDSInstanceFinding_Values returns all elements of the RDSInstanceFinding enum +func RDSInstanceFinding_Values() []string { + return []string{ + RDSInstanceFindingOptimized, + RDSInstanceFindingUnderprovisioned, + RDSInstanceFindingOverprovisioned, + } +} + +const ( + // RDSInstanceFindingReasonCodeCpuoverprovisioned is a RDSInstanceFindingReasonCode enum value + RDSInstanceFindingReasonCodeCpuoverprovisioned = "CPUOverprovisioned" + + // RDSInstanceFindingReasonCodeNetworkBandwidthOverprovisioned is a RDSInstanceFindingReasonCode enum value + RDSInstanceFindingReasonCodeNetworkBandwidthOverprovisioned = "NetworkBandwidthOverprovisioned" + + // RDSInstanceFindingReasonCodeEbsiopsoverprovisioned is a RDSInstanceFindingReasonCode enum value + RDSInstanceFindingReasonCodeEbsiopsoverprovisioned = "EBSIOPSOverprovisioned" + + // RDSInstanceFindingReasonCodeEbsthroughputOverprovisioned is a RDSInstanceFindingReasonCode enum value + RDSInstanceFindingReasonCodeEbsthroughputOverprovisioned = "EBSThroughputOverprovisioned" + + // RDSInstanceFindingReasonCodeCpuunderprovisioned is a RDSInstanceFindingReasonCode enum value + RDSInstanceFindingReasonCodeCpuunderprovisioned = "CPUUnderprovisioned" + + // RDSInstanceFindingReasonCodeNetworkBandwidthUnderprovisioned is a RDSInstanceFindingReasonCode enum value + RDSInstanceFindingReasonCodeNetworkBandwidthUnderprovisioned = "NetworkBandwidthUnderprovisioned" + + // RDSInstanceFindingReasonCodeEbsthroughputUnderprovisioned is a RDSInstanceFindingReasonCode enum value + RDSInstanceFindingReasonCodeEbsthroughputUnderprovisioned = "EBSThroughputUnderprovisioned" + + // RDSInstanceFindingReasonCodeNewGenerationDbinstanceClassAvailable is a RDSInstanceFindingReasonCode enum value + RDSInstanceFindingReasonCodeNewGenerationDbinstanceClassAvailable = "NewGenerationDBInstanceClassAvailable" + + // RDSInstanceFindingReasonCodeNewEngineVersionAvailable is a RDSInstanceFindingReasonCode enum value + RDSInstanceFindingReasonCodeNewEngineVersionAvailable = "NewEngineVersionAvailable" +) + +// RDSInstanceFindingReasonCode_Values returns all elements of the RDSInstanceFindingReasonCode enum +func RDSInstanceFindingReasonCode_Values() []string { + return []string{ + RDSInstanceFindingReasonCodeCpuoverprovisioned, + RDSInstanceFindingReasonCodeNetworkBandwidthOverprovisioned, + RDSInstanceFindingReasonCodeEbsiopsoverprovisioned, + RDSInstanceFindingReasonCodeEbsthroughputOverprovisioned, + RDSInstanceFindingReasonCodeCpuunderprovisioned, + RDSInstanceFindingReasonCodeNetworkBandwidthUnderprovisioned, + RDSInstanceFindingReasonCodeEbsthroughputUnderprovisioned, + RDSInstanceFindingReasonCodeNewGenerationDbinstanceClassAvailable, + RDSInstanceFindingReasonCodeNewEngineVersionAvailable, + } +} + +const ( + // RDSSavingsEstimationModeSourcePublicPricing is a RDSSavingsEstimationModeSource enum value + RDSSavingsEstimationModeSourcePublicPricing = "PublicPricing" + + // RDSSavingsEstimationModeSourceCostExplorerRightsizing is a RDSSavingsEstimationModeSource enum value + RDSSavingsEstimationModeSourceCostExplorerRightsizing = "CostExplorerRightsizing" + + // RDSSavingsEstimationModeSourceCostOptimizationHub is a RDSSavingsEstimationModeSource enum value + RDSSavingsEstimationModeSourceCostOptimizationHub = "CostOptimizationHub" +) + +// RDSSavingsEstimationModeSource_Values returns all elements of the RDSSavingsEstimationModeSource enum +func RDSSavingsEstimationModeSource_Values() []string { + return []string{ + RDSSavingsEstimationModeSourcePublicPricing, + RDSSavingsEstimationModeSourceCostExplorerRightsizing, + RDSSavingsEstimationModeSourceCostOptimizationHub, + } +} + +const ( + // RDSStorageFindingOptimized is a RDSStorageFinding enum value + RDSStorageFindingOptimized = "Optimized" + + // RDSStorageFindingUnderprovisioned is a RDSStorageFinding enum value + RDSStorageFindingUnderprovisioned = "Underprovisioned" + + // RDSStorageFindingOverprovisioned is a RDSStorageFinding enum value + RDSStorageFindingOverprovisioned = "Overprovisioned" +) + +// RDSStorageFinding_Values returns all elements of the RDSStorageFinding enum +func RDSStorageFinding_Values() []string { + return []string{ + RDSStorageFindingOptimized, + RDSStorageFindingUnderprovisioned, + RDSStorageFindingOverprovisioned, + } +} + +const ( + // RDSStorageFindingReasonCodeEbsvolumeAllocatedStorageUnderprovisioned is a RDSStorageFindingReasonCode enum value + RDSStorageFindingReasonCodeEbsvolumeAllocatedStorageUnderprovisioned = "EBSVolumeAllocatedStorageUnderprovisioned" + + // RDSStorageFindingReasonCodeEbsvolumeThroughputUnderprovisioned is a RDSStorageFindingReasonCode enum value + RDSStorageFindingReasonCodeEbsvolumeThroughputUnderprovisioned = "EBSVolumeThroughputUnderprovisioned" + + // RDSStorageFindingReasonCodeEbsvolumeIopsoverprovisioned is a RDSStorageFindingReasonCode enum value + RDSStorageFindingReasonCodeEbsvolumeIopsoverprovisioned = "EBSVolumeIOPSOverprovisioned" + + // RDSStorageFindingReasonCodeEbsvolumeThroughputOverprovisioned is a RDSStorageFindingReasonCode enum value + RDSStorageFindingReasonCodeEbsvolumeThroughputOverprovisioned = "EBSVolumeThroughputOverprovisioned" + + // RDSStorageFindingReasonCodeNewGenerationStorageTypeAvailable is a RDSStorageFindingReasonCode enum value + RDSStorageFindingReasonCodeNewGenerationStorageTypeAvailable = "NewGenerationStorageTypeAvailable" +) + +// RDSStorageFindingReasonCode_Values returns all elements of the RDSStorageFindingReasonCode enum +func RDSStorageFindingReasonCode_Values() []string { + return []string{ + RDSStorageFindingReasonCodeEbsvolumeAllocatedStorageUnderprovisioned, + RDSStorageFindingReasonCodeEbsvolumeThroughputUnderprovisioned, + RDSStorageFindingReasonCodeEbsvolumeIopsoverprovisioned, + RDSStorageFindingReasonCodeEbsvolumeThroughputOverprovisioned, + RDSStorageFindingReasonCodeNewGenerationStorageTypeAvailable, + } +} + const ( // RecommendationPreferenceNameEnhancedInfrastructureMetrics is a RecommendationPreferenceName enum value RecommendationPreferenceNameEnhancedInfrastructureMetrics = "EnhancedInfrastructureMetrics" @@ -14989,6 +17256,12 @@ const ( // RecommendationSourceTypeLicense is a RecommendationSourceType enum value RecommendationSourceTypeLicense = "License" + + // RecommendationSourceTypeRdsDbinstance is a RecommendationSourceType enum value + RecommendationSourceTypeRdsDbinstance = "RdsDBInstance" + + // RecommendationSourceTypeRdsDbinstanceStorage is a RecommendationSourceType enum value + RecommendationSourceTypeRdsDbinstanceStorage = "RdsDBInstanceStorage" ) // RecommendationSourceType_Values returns all elements of the RecommendationSourceType enum @@ -15000,6 +17273,8 @@ func RecommendationSourceType_Values() []string { RecommendationSourceTypeLambdaFunction, RecommendationSourceTypeEcsService, RecommendationSourceTypeLicense, + RecommendationSourceTypeRdsDbinstance, + RecommendationSourceTypeRdsDbinstanceStorage, } } @@ -15024,6 +17299,9 @@ const ( // ResourceTypeLicense is a ResourceType enum value ResourceTypeLicense = "License" + + // ResourceTypeRdsDbinstance is a ResourceType enum value + ResourceTypeRdsDbinstance = "RdsDBInstance" ) // ResourceType_Values returns all elements of the ResourceType enum @@ -15036,6 +17314,7 @@ func ResourceType_Values() []string { ResourceTypeNotApplicable, ResourceTypeEcsService, ResourceTypeLicense, + ResourceTypeRdsDbinstance, } } diff --git a/service/computeoptimizer/computeoptimizeriface/interface.go b/service/computeoptimizer/computeoptimizeriface/interface.go index 45f0e9042c9..9b7f5c9b724 100644 --- a/service/computeoptimizer/computeoptimizeriface/interface.go +++ b/service/computeoptimizer/computeoptimizeriface/interface.go @@ -95,6 +95,10 @@ type ComputeOptimizerAPI interface { ExportLicenseRecommendationsWithContext(aws.Context, *computeoptimizer.ExportLicenseRecommendationsInput, ...request.Option) (*computeoptimizer.ExportLicenseRecommendationsOutput, error) ExportLicenseRecommendationsRequest(*computeoptimizer.ExportLicenseRecommendationsInput) (*request.Request, *computeoptimizer.ExportLicenseRecommendationsOutput) + ExportRDSDatabaseRecommendations(*computeoptimizer.ExportRDSDatabaseRecommendationsInput) (*computeoptimizer.ExportRDSDatabaseRecommendationsOutput, error) + ExportRDSDatabaseRecommendationsWithContext(aws.Context, *computeoptimizer.ExportRDSDatabaseRecommendationsInput, ...request.Option) (*computeoptimizer.ExportRDSDatabaseRecommendationsOutput, error) + ExportRDSDatabaseRecommendationsRequest(*computeoptimizer.ExportRDSDatabaseRecommendationsInput) (*request.Request, *computeoptimizer.ExportRDSDatabaseRecommendationsOutput) + GetAutoScalingGroupRecommendations(*computeoptimizer.GetAutoScalingGroupRecommendationsInput) (*computeoptimizer.GetAutoScalingGroupRecommendationsOutput, error) GetAutoScalingGroupRecommendationsWithContext(aws.Context, *computeoptimizer.GetAutoScalingGroupRecommendationsInput, ...request.Option) (*computeoptimizer.GetAutoScalingGroupRecommendationsOutput, error) GetAutoScalingGroupRecommendationsRequest(*computeoptimizer.GetAutoScalingGroupRecommendationsInput) (*request.Request, *computeoptimizer.GetAutoScalingGroupRecommendationsOutput) @@ -145,6 +149,14 @@ type ComputeOptimizerAPI interface { GetLicenseRecommendationsWithContext(aws.Context, *computeoptimizer.GetLicenseRecommendationsInput, ...request.Option) (*computeoptimizer.GetLicenseRecommendationsOutput, error) GetLicenseRecommendationsRequest(*computeoptimizer.GetLicenseRecommendationsInput) (*request.Request, *computeoptimizer.GetLicenseRecommendationsOutput) + GetRDSDatabaseRecommendationProjectedMetrics(*computeoptimizer.GetRDSDatabaseRecommendationProjectedMetricsInput) (*computeoptimizer.GetRDSDatabaseRecommendationProjectedMetricsOutput, error) + GetRDSDatabaseRecommendationProjectedMetricsWithContext(aws.Context, *computeoptimizer.GetRDSDatabaseRecommendationProjectedMetricsInput, ...request.Option) (*computeoptimizer.GetRDSDatabaseRecommendationProjectedMetricsOutput, error) + GetRDSDatabaseRecommendationProjectedMetricsRequest(*computeoptimizer.GetRDSDatabaseRecommendationProjectedMetricsInput) (*request.Request, *computeoptimizer.GetRDSDatabaseRecommendationProjectedMetricsOutput) + + GetRDSDatabaseRecommendations(*computeoptimizer.GetRDSDatabaseRecommendationsInput) (*computeoptimizer.GetRDSDatabaseRecommendationsOutput, error) + GetRDSDatabaseRecommendationsWithContext(aws.Context, *computeoptimizer.GetRDSDatabaseRecommendationsInput, ...request.Option) (*computeoptimizer.GetRDSDatabaseRecommendationsOutput, error) + GetRDSDatabaseRecommendationsRequest(*computeoptimizer.GetRDSDatabaseRecommendationsInput) (*request.Request, *computeoptimizer.GetRDSDatabaseRecommendationsOutput) + GetRecommendationPreferences(*computeoptimizer.GetRecommendationPreferencesInput) (*computeoptimizer.GetRecommendationPreferencesOutput, error) GetRecommendationPreferencesWithContext(aws.Context, *computeoptimizer.GetRecommendationPreferencesInput, ...request.Option) (*computeoptimizer.GetRecommendationPreferencesOutput, error) GetRecommendationPreferencesRequest(*computeoptimizer.GetRecommendationPreferencesInput) (*request.Request, *computeoptimizer.GetRecommendationPreferencesOutput) diff --git a/service/costoptimizationhub/api.go b/service/costoptimizationhub/api.go index 6b843ed65ce..0b45a0ff383 100644 --- a/service/costoptimizationhub/api.go +++ b/service/costoptimizationhub/api.go @@ -1170,6 +1170,38 @@ func (s *ComputeSavingsPlansConfiguration) SetTerm(v string) *ComputeSavingsPlan return s } +// The DB instance configuration used for recommendations. +type DbInstanceConfiguration struct { + _ struct{} `type:"structure"` + + // The DB instance class of the DB instance. + DbInstanceClass *string `locationName:"dbInstanceClass" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DbInstanceConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DbInstanceConfiguration) GoString() string { + return s.String() +} + +// SetDbInstanceClass sets the DbInstanceClass field's value. +func (s *DbInstanceConfiguration) SetDbInstanceClass(v string) *DbInstanceConfiguration { + s.DbInstanceClass = &v + return s +} + // Describes the Amazon Elastic Block Store volume configuration of the current // and recommended resource configuration for a recommendation. type EbsVolume struct { @@ -2333,7 +2365,8 @@ type GetRecommendationOutput struct { // The type of resource. CurrentResourceType *string `locationName:"currentResourceType" type:"string" enum:"ResourceType"` - // The estimated monthly cost of the recommendation. + // The estimated monthly cost of the current resource. For Reserved Instances + // and Savings Plans, it refers to the cost for eligible usage. EstimatedMonthlyCost *float64 `locationName:"estimatedMonthlyCost" type:"double"` // The estimated monthly savings amount for the recommendation. @@ -3307,6 +3340,180 @@ func (s *OrderBy) SetOrder(v string) *OrderBy { return s } +// Contains the details of an Amazon RDS DB instance. +type RdsDbInstance struct { + _ struct{} `type:"structure"` + + // The Amazon RDS DB instance configuration used for recommendations. + Configuration *RdsDbInstanceConfiguration `locationName:"configuration" type:"structure"` + + // Cost impact of the resource recommendation. + CostCalculation *ResourceCostCalculation `locationName:"costCalculation" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RdsDbInstance) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RdsDbInstance) GoString() string { + return s.String() +} + +// SetConfiguration sets the Configuration field's value. +func (s *RdsDbInstance) SetConfiguration(v *RdsDbInstanceConfiguration) *RdsDbInstance { + s.Configuration = v + return s +} + +// SetCostCalculation sets the CostCalculation field's value. +func (s *RdsDbInstance) SetCostCalculation(v *ResourceCostCalculation) *RdsDbInstance { + s.CostCalculation = v + return s +} + +// The Amazon RDS DB instance configuration used for recommendations. +type RdsDbInstanceConfiguration struct { + _ struct{} `type:"structure"` + + // Details about the instance configuration. + Instance *DbInstanceConfiguration `locationName:"instance" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RdsDbInstanceConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RdsDbInstanceConfiguration) GoString() string { + return s.String() +} + +// SetInstance sets the Instance field's value. +func (s *RdsDbInstanceConfiguration) SetInstance(v *DbInstanceConfiguration) *RdsDbInstanceConfiguration { + s.Instance = v + return s +} + +// Contains the details of an Amazon RDS DB instance storage. +type RdsDbInstanceStorage struct { + _ struct{} `type:"structure"` + + // The Amazon RDS DB instance storage configuration used for recommendations. + Configuration *RdsDbInstanceStorageConfiguration `locationName:"configuration" type:"structure"` + + // Cost impact of the resource recommendation. + CostCalculation *ResourceCostCalculation `locationName:"costCalculation" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RdsDbInstanceStorage) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RdsDbInstanceStorage) GoString() string { + return s.String() +} + +// SetConfiguration sets the Configuration field's value. +func (s *RdsDbInstanceStorage) SetConfiguration(v *RdsDbInstanceStorageConfiguration) *RdsDbInstanceStorage { + s.Configuration = v + return s +} + +// SetCostCalculation sets the CostCalculation field's value. +func (s *RdsDbInstanceStorage) SetCostCalculation(v *ResourceCostCalculation) *RdsDbInstanceStorage { + s.CostCalculation = v + return s +} + +// The Amazon RDS DB instance storage configuration used for recommendations. +type RdsDbInstanceStorageConfiguration struct { + _ struct{} `type:"structure"` + + // The new amount of storage in GB to allocate for the DB instance. + AllocatedStorageInGb *float64 `locationName:"allocatedStorageInGb" type:"double"` + + // The amount of Provisioned IOPS (input/output operations per second) to be + // initially allocated for the DB instance. + Iops *float64 `locationName:"iops" type:"double"` + + // The storage throughput for the DB instance. + StorageThroughput *float64 `locationName:"storageThroughput" type:"double"` + + // The storage type to associate with the DB instance. + StorageType *string `locationName:"storageType" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RdsDbInstanceStorageConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RdsDbInstanceStorageConfiguration) GoString() string { + return s.String() +} + +// SetAllocatedStorageInGb sets the AllocatedStorageInGb field's value. +func (s *RdsDbInstanceStorageConfiguration) SetAllocatedStorageInGb(v float64) *RdsDbInstanceStorageConfiguration { + s.AllocatedStorageInGb = &v + return s +} + +// SetIops sets the Iops field's value. +func (s *RdsDbInstanceStorageConfiguration) SetIops(v float64) *RdsDbInstanceStorageConfiguration { + s.Iops = &v + return s +} + +// SetStorageThroughput sets the StorageThroughput field's value. +func (s *RdsDbInstanceStorageConfiguration) SetStorageThroughput(v float64) *RdsDbInstanceStorageConfiguration { + s.StorageThroughput = &v + return s +} + +// SetStorageType sets the StorageType field's value. +func (s *RdsDbInstanceStorageConfiguration) SetStorageType(v string) *RdsDbInstanceStorageConfiguration { + s.StorageType = &v + return s +} + // The RDS reserved instances recommendation details. type RdsReservedInstances struct { _ struct{} `type:"structure"` @@ -3545,7 +3752,8 @@ type Recommendation struct { // The current resource type. CurrentResourceType *string `locationName:"currentResourceType" type:"string"` - // The estimated monthly cost for the recommendation. + // The estimated monthly cost of the current resource. For Reserved Instances + // and Savings Plans, it refers to the cost for eligible usage. EstimatedMonthlyCost *float64 `locationName:"estimatedMonthlyCost" type:"double"` // The estimated monthly savings amount for the recommendation. @@ -4141,6 +4349,12 @@ type ResourceDetails struct { // The OpenSearch reserved instances recommendation details. OpenSearchReservedInstances *OpenSearchReservedInstances `locationName:"openSearchReservedInstances" type:"structure"` + // The DB instance recommendation details. + RdsDbInstance *RdsDbInstance `locationName:"rdsDbInstance" type:"structure"` + + // The DB instance storage recommendation details. + RdsDbInstanceStorage *RdsDbInstanceStorage `locationName:"rdsDbInstanceStorage" type:"structure"` + // The RDS reserved instances recommendation details. RdsReservedInstances *RdsReservedInstances `locationName:"rdsReservedInstances" type:"structure"` @@ -4229,6 +4443,18 @@ func (s *ResourceDetails) SetOpenSearchReservedInstances(v *OpenSearchReservedIn return s } +// SetRdsDbInstance sets the RdsDbInstance field's value. +func (s *ResourceDetails) SetRdsDbInstance(v *RdsDbInstance) *ResourceDetails { + s.RdsDbInstance = v + return s +} + +// SetRdsDbInstanceStorage sets the RdsDbInstanceStorage field's value. +func (s *ResourceDetails) SetRdsDbInstanceStorage(v *RdsDbInstanceStorage) *ResourceDetails { + s.RdsDbInstanceStorage = v + return s +} + // SetRdsReservedInstances sets the RdsReservedInstances field's value. func (s *ResourceDetails) SetRdsReservedInstances(v *RdsReservedInstances) *ResourceDetails { s.RdsReservedInstances = v @@ -5214,6 +5440,12 @@ const ( // ResourceTypeElastiCacheReservedInstances is a ResourceType enum value ResourceTypeElastiCacheReservedInstances = "ElastiCacheReservedInstances" + + // ResourceTypeRdsDbInstanceStorage is a ResourceType enum value + ResourceTypeRdsDbInstanceStorage = "RdsDbInstanceStorage" + + // ResourceTypeRdsDbInstance is a ResourceType enum value + ResourceTypeRdsDbInstance = "RdsDbInstance" ) // ResourceType_Values returns all elements of the ResourceType enum @@ -5232,6 +5464,8 @@ func ResourceType_Values() []string { ResourceTypeOpenSearchReservedInstances, ResourceTypeRedshiftReservedInstances, ResourceTypeElastiCacheReservedInstances, + ResourceTypeRdsDbInstanceStorage, + ResourceTypeRdsDbInstance, } } diff --git a/service/dynamodb/api.go b/service/dynamodb/api.go index f0a849820a8..7286d567680 100644 --- a/service/dynamodb/api.go +++ b/service/dynamodb/api.go @@ -785,12 +785,16 @@ func (c *DynamoDB) CreateGlobalTableRequest(input *CreateGlobalTableInput) (req // relationship between two or more DynamoDB tables with the same table name // in the provided Regions. // -// For global tables, this operation only applies to global tables using Version -// 2019.11.21 (Current version), as it provides greater flexibility, higher -// efficiency and consumes less write capacity than 2017.11.29 (Legacy). To -// determine which version you are using, see Determining the version (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html). +// This documentation is for version 2017.11.29 (Legacy) of global tables, which +// should be avoided for new global tables. Customers should use Global Tables +// version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html) +// when possible, because it provides greater flexibility, higher efficiency, +// and consumes less write capacity than 2017.11.29 (Legacy). +// +// To determine which version you're using, see Determining the global table +// version you are using (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html). // To update existing global tables from version 2017.11.29 (Legacy) to version -// 2019.11.21 (Current), see Updating global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html). +// 2019.11.21 (Current), see Upgrading global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html). // // If you want to add a new replica table to a global table, each of the following // conditions must be true: @@ -2271,12 +2275,16 @@ func (c *DynamoDB) DescribeGlobalTableRequest(input *DescribeGlobalTableInput) ( // // Returns information about the specified global table. // -// For global tables, this operation only applies to global tables using Version -// 2019.11.21 (Current version), as it provides greater flexibility, higher -// efficiency and consumes less write capacity than 2017.11.29 (Legacy). To -// determine which version you are using, see Determining the version (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html). +// This documentation is for version 2017.11.29 (Legacy) of global tables, which +// should be avoided for new global tables. Customers should use Global Tables +// version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html) +// when possible, because it provides greater flexibility, higher efficiency, +// and consumes less write capacity than 2017.11.29 (Legacy). +// +// To determine which version you're using, see Determining the global table +// version you are using (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html). // To update existing global tables from version 2017.11.29 (Legacy) to version -// 2019.11.21 (Current), see Updating global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html). +// 2019.11.21 (Current), see Upgrading global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.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 @@ -2385,12 +2393,16 @@ func (c *DynamoDB) DescribeGlobalTableSettingsRequest(input *DescribeGlobalTable // // Describes Region-specific settings for a global table. // -// For global tables, this operation only applies to global tables using Version -// 2019.11.21 (Current version), as it provides greater flexibility, higher -// efficiency and consumes less write capacity than 2017.11.29 (Legacy). To -// determine which version you are using, see Determining the version (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html). +// This documentation is for version 2017.11.29 (Legacy) of global tables, which +// should be avoided for new global tables. Customers should use Global Tables +// version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html) +// when possible, because it provides greater flexibility, higher efficiency, +// and consumes less write capacity than 2017.11.29 (Legacy). +// +// To determine which version you're using, see Determining the global table +// version you are using (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html). // To update existing global tables from version 2017.11.29 (Legacy) to version -// 2019.11.21 (Current), see Updating global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html). +// 2019.11.21 (Current), see Upgrading global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.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 @@ -4712,12 +4724,16 @@ func (c *DynamoDB) ListGlobalTablesRequest(input *ListGlobalTablesInput) (req *r // // Lists all global tables that have a replica in the specified Region. // -// For global tables, this operation only applies to global tables using Version -// 2019.11.21 (Current version), as it provides greater flexibility, higher -// efficiency and consumes less write capacity than 2017.11.29 (Legacy). To -// determine which version you are using, see Determining the version (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html). +// This documentation is for version 2017.11.29 (Legacy) of global tables, which +// should be avoided for new global tables. Customers should use Global Tables +// version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html) +// when possible, because it provides greater flexibility, higher efficiency, +// and consumes less write capacity than 2017.11.29 (Legacy). +// +// To determine which version you're using, see Determining the global table +// version you are using (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html). // To update existing global tables from version 2017.11.29 (Legacy) to version -// 2019.11.21 (Current), see Updating global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html). +// 2019.11.21 (Current), see Upgrading global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.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 @@ -7391,12 +7407,16 @@ func (c *DynamoDB) UpdateGlobalTableRequest(input *UpdateGlobalTableInput) (req // schema, have DynamoDB Streams enabled, and have the same provisioned and // maximum write capacity units. // -// For global tables, this operation only applies to global tables using Version -// 2019.11.21 (Current version), as it provides greater flexibility, higher -// efficiency and consumes less write capacity than 2017.11.29 (Legacy). To -// determine which version you are using, see Determining the version (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html). +// This documentation is for version 2017.11.29 (Legacy) of global tables, which +// should be avoided for new global tables. Customers should use Global Tables +// version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html) +// when possible, because it provides greater flexibility, higher efficiency, +// and consumes less write capacity than 2017.11.29 (Legacy). +// +// To determine which version you're using, see Determining the global table +// version you are using (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html). // To update existing global tables from version 2017.11.29 (Legacy) to version -// 2019.11.21 (Current), see Updating global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html). +// 2019.11.21 (Current), see Upgrading global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html). // // For global tables, this operation only applies to global tables using Version // 2019.11.21 (Current version). If you are using global tables Version 2019.11.21 @@ -7537,12 +7557,16 @@ func (c *DynamoDB) UpdateGlobalTableSettingsRequest(input *UpdateGlobalTableSett // // Updates settings for a global table. // -// For global tables, this operation only applies to global tables using Version -// 2019.11.21 (Current version), as it provides greater flexibility, higher -// efficiency and consumes less write capacity than 2017.11.29 (Legacy). To -// determine which version you are using, see Determining the version (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html). +// This documentation is for version 2017.11.29 (Legacy) of global tables, which +// should be avoided for new global tables. Customers should use Global Tables +// version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html) +// when possible, because it provides greater flexibility, higher efficiency, +// and consumes less write capacity than 2017.11.29 (Legacy). +// +// To determine which version you're using, see Determining the global table +// version you are using (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html). // To update existing global tables from version 2017.11.29 (Legacy) to version -// 2019.11.21 (Current), see Updating global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html). +// 2019.11.21 (Current), see Upgrading global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.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 diff --git a/service/ivsrealtime/api.go b/service/ivsrealtime/api.go index 14270c9b56c..188443c18fa 100644 --- a/service/ivsrealtime/api.go +++ b/service/ivsrealtime/api.go @@ -2820,6 +2820,65 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } +// Object specifying an auto-participant-recording configuration. +type AutoParticipantRecordingConfiguration struct { + _ struct{} `type:"structure"` + + // Types of media to be recorded. Default: AUDIO_VIDEO. + MediaTypes []*string `locationName:"mediaTypes" type:"list" enum:"ParticipantRecordingMediaType"` + + // ARN of the StorageConfiguration resource to use for auto participant recording. + // Default: "" (empty string, no storage configuration is specified). Individual + // participant recording cannot be started unless a storage configuration is + // specified, when a Stage is created or updated. + // + // StorageConfigurationArn is a required field + StorageConfigurationArn *string `locationName:"storageConfigurationArn" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AutoParticipantRecordingConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AutoParticipantRecordingConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AutoParticipantRecordingConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AutoParticipantRecordingConfiguration"} + if s.StorageConfigurationArn == nil { + invalidParams.Add(request.NewErrParamRequired("StorageConfigurationArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMediaTypes sets the MediaTypes field's value. +func (s *AutoParticipantRecordingConfiguration) SetMediaTypes(v []*string) *AutoParticipantRecordingConfiguration { + s.MediaTypes = v + return s +} + +// SetStorageConfigurationArn sets the StorageConfigurationArn field's value. +func (s *AutoParticipantRecordingConfiguration) SetStorageConfigurationArn(v string) *AutoParticipantRecordingConfiguration { + s.StorageConfigurationArn = &v + return s +} + // Object specifying a channel as a destination. type ChannelDestinationConfiguration struct { _ struct{} `type:"structure"` @@ -3392,6 +3451,9 @@ func (s *CreateParticipantTokenOutput) SetParticipantToken(v *ParticipantToken) type CreateStageInput struct { _ struct{} `type:"structure"` + // Auto participant recording configuration object attached to the stage. + AutoParticipantRecordingConfiguration *AutoParticipantRecordingConfiguration `locationName:"autoParticipantRecordingConfiguration" type:"structure"` + // Optional name that can be specified for the stage being created. Name *string `locationName:"name" type:"string"` @@ -3427,6 +3489,11 @@ func (s CreateStageInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateStageInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateStageInput"} + if s.AutoParticipantRecordingConfiguration != nil { + if err := s.AutoParticipantRecordingConfiguration.Validate(); err != nil { + invalidParams.AddNested("AutoParticipantRecordingConfiguration", err.(request.ErrInvalidParams)) + } + } if s.ParticipantTokenConfigurations != nil { for i, v := range s.ParticipantTokenConfigurations { if v == nil { @@ -3444,6 +3511,12 @@ func (s *CreateStageInput) Validate() error { return nil } +// SetAutoParticipantRecordingConfiguration sets the AutoParticipantRecordingConfiguration field's value. +func (s *CreateStageInput) SetAutoParticipantRecordingConfiguration(v *AutoParticipantRecordingConfiguration) *CreateStageInput { + s.AutoParticipantRecordingConfiguration = v + return s +} + // SetName sets the Name field's value. func (s *CreateStageInput) SetName(v string) *CreateStageInput { s.Name = &v @@ -5466,19 +5539,25 @@ type ListParticipantsInput struct { _ struct{} `type:"structure"` // Filters the response list to only show participants who published during - // the stage session. Only one of filterByUserId, filterByPublished, or filterByState - // can be provided per request. + // the stage session. Only one of filterByUserId, filterByPublished, filterByState, + // or filterByRecordingState can be provided per request. FilterByPublished *bool `locationName:"filterByPublished" type:"boolean"` + // Filters the response list to only show participants with the specified recording + // state. Only one of filterByUserId, filterByPublished, filterByState, or filterByRecordingState + // can be provided per request. + FilterByRecordingState *string `locationName:"filterByRecordingState" type:"string" enum:"ParticipantRecordingFilterByRecordingState"` + // Filters the response list to only show participants in the specified state. - // Only one of filterByUserId, filterByPublished, or filterByState can be provided - // per request. + // Only one of filterByUserId, filterByPublished, filterByState, or filterByRecordingState + // can be provided per request. FilterByState *string `locationName:"filterByState" type:"string" enum:"ParticipantState"` // Filters the response list to match the specified user ID. Only one of filterByUserId, - // filterByPublished, or filterByState can be provided per request. A userId - // is a customer-assigned name to help identify the token; this can be used - // to link a participant to a user in the customer’s own systems. + // filterByPublished, filterByState, or filterByRecordingState can be provided + // per request. A userId is a customer-assigned name to help identify the token; + // this can be used to link a participant to a user in the customer’s own + // systems. FilterByUserId *string `locationName:"filterByUserId" type:"string"` // Maximum number of results to return. Default: 50. @@ -5548,6 +5627,12 @@ func (s *ListParticipantsInput) SetFilterByPublished(v bool) *ListParticipantsIn return s } +// SetFilterByRecordingState sets the FilterByRecordingState field's value. +func (s *ListParticipantsInput) SetFilterByRecordingState(v string) *ListParticipantsInput { + s.FilterByRecordingState = &v + return s +} + // SetFilterByState sets the FilterByState field's value. func (s *ListParticipantsInput) SetFilterByState(v string) *ListParticipantsInput { s.FilterByState = &v @@ -6055,6 +6140,19 @@ type Participant struct { // Whether the participant ever published to the stage session. Published *bool `locationName:"published" type:"boolean"` + // Name of the S3 bucket to where the participant is being recorded, if individual + // participant recording is enabled, or "" (empty string), if recording is not + // enabled. + RecordingS3BucketName *string `locationName:"recordingS3BucketName" type:"string"` + + // S3 prefix of the S3 bucket to where the participant is being recorded, if + // individual participant recording is enabled, or "" (empty string), if recording + // is not enabled. + RecordingS3Prefix *string `locationName:"recordingS3Prefix" type:"string"` + + // Participant’s recording state. + RecordingState *string `locationName:"recordingState" type:"string" enum:"ParticipantRecordingState"` + // The participant’s SDK version. SdkVersion *string `locationName:"sdkVersion" type:"string"` @@ -6140,6 +6238,24 @@ func (s *Participant) SetPublished(v bool) *Participant { return s } +// SetRecordingS3BucketName sets the RecordingS3BucketName field's value. +func (s *Participant) SetRecordingS3BucketName(v string) *Participant { + s.RecordingS3BucketName = &v + return s +} + +// SetRecordingS3Prefix sets the RecordingS3Prefix field's value. +func (s *Participant) SetRecordingS3Prefix(v string) *Participant { + s.RecordingS3Prefix = &v + return s +} + +// SetRecordingState sets the RecordingState field's value. +func (s *Participant) SetRecordingState(v string) *Participant { + s.RecordingState = &v + return s +} + // SetSdkVersion sets the SdkVersion field's value. func (s *Participant) SetSdkVersion(v string) *Participant { s.SdkVersion = &v @@ -6172,6 +6288,9 @@ type ParticipantSummary struct { // Whether the participant ever published to the stage session. Published *bool `locationName:"published" type:"boolean"` + // Participant’s recording state. + RecordingState *string `locationName:"recordingState" type:"string" enum:"ParticipantRecordingState"` + // Whether the participant is connected to or disconnected from the stage. State *string `locationName:"state" type:"string" enum:"ParticipantState"` @@ -6218,6 +6337,12 @@ func (s *ParticipantSummary) SetPublished(v bool) *ParticipantSummary { return s } +// SetRecordingState sets the RecordingState field's value. +func (s *ParticipantSummary) SetRecordingState(v string) *ParticipantSummary { + s.RecordingState = &v + return s +} + // SetState sets the State field's value. func (s *ParticipantSummary) SetState(v string) *ParticipantSummary { s.State = &v @@ -6958,6 +7083,9 @@ type Stage struct { // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` + // Auto-participant-recording configuration object attached to the stage. + AutoParticipantRecordingConfiguration *AutoParticipantRecordingConfiguration `locationName:"autoParticipantRecordingConfiguration" type:"structure"` + // Stage name. Name *string `locationName:"name" type:"string"` @@ -6999,6 +7127,12 @@ func (s *Stage) SetArn(v string) *Stage { return s } +// SetAutoParticipantRecordingConfiguration sets the AutoParticipantRecordingConfiguration field's value. +func (s *Stage) SetAutoParticipantRecordingConfiguration(v *AutoParticipantRecordingConfiguration) *Stage { + s.AutoParticipantRecordingConfiguration = v + return s +} + // SetName sets the Name field's value. func (s *Stage) SetName(v string) *Stage { s.Name = &v @@ -7714,6 +7848,10 @@ type UpdateStageInput struct { // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` + // Auto-participant-recording configuration object to attach to the stage. Auto-participant-recording + // configuration cannot be updated while recording is active. + AutoParticipantRecordingConfiguration *AutoParticipantRecordingConfiguration `locationName:"autoParticipantRecordingConfiguration" type:"structure"` + // Name of the stage to be updated. Name *string `locationName:"name" type:"string"` } @@ -7745,6 +7883,11 @@ func (s *UpdateStageInput) Validate() error { if s.Arn != nil && len(*s.Arn) < 1 { invalidParams.Add(request.NewErrParamMinLen("Arn", 1)) } + if s.AutoParticipantRecordingConfiguration != nil { + if err := s.AutoParticipantRecordingConfiguration.Validate(); err != nil { + invalidParams.AddNested("AutoParticipantRecordingConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -7758,6 +7901,12 @@ func (s *UpdateStageInput) SetArn(v string) *UpdateStageInput { return s } +// SetAutoParticipantRecordingConfiguration sets the AutoParticipantRecordingConfiguration field's value. +func (s *UpdateStageInput) SetAutoParticipantRecordingConfiguration(v *AutoParticipantRecordingConfiguration) *UpdateStageInput { + s.AutoParticipantRecordingConfiguration = v + return s +} + // SetName sets the Name field's value. func (s *UpdateStageInput) SetName(v string) *UpdateStageInput { s.Name = &v @@ -8071,6 +8220,82 @@ func EventName_Values() []string { } } +const ( + // ParticipantRecordingFilterByRecordingStateStarting is a ParticipantRecordingFilterByRecordingState enum value + ParticipantRecordingFilterByRecordingStateStarting = "STARTING" + + // ParticipantRecordingFilterByRecordingStateActive is a ParticipantRecordingFilterByRecordingState enum value + ParticipantRecordingFilterByRecordingStateActive = "ACTIVE" + + // ParticipantRecordingFilterByRecordingStateStopping is a ParticipantRecordingFilterByRecordingState enum value + ParticipantRecordingFilterByRecordingStateStopping = "STOPPING" + + // ParticipantRecordingFilterByRecordingStateStopped is a ParticipantRecordingFilterByRecordingState enum value + ParticipantRecordingFilterByRecordingStateStopped = "STOPPED" + + // ParticipantRecordingFilterByRecordingStateFailed is a ParticipantRecordingFilterByRecordingState enum value + ParticipantRecordingFilterByRecordingStateFailed = "FAILED" +) + +// ParticipantRecordingFilterByRecordingState_Values returns all elements of the ParticipantRecordingFilterByRecordingState enum +func ParticipantRecordingFilterByRecordingState_Values() []string { + return []string{ + ParticipantRecordingFilterByRecordingStateStarting, + ParticipantRecordingFilterByRecordingStateActive, + ParticipantRecordingFilterByRecordingStateStopping, + ParticipantRecordingFilterByRecordingStateStopped, + ParticipantRecordingFilterByRecordingStateFailed, + } +} + +const ( + // ParticipantRecordingMediaTypeAudioVideo is a ParticipantRecordingMediaType enum value + ParticipantRecordingMediaTypeAudioVideo = "AUDIO_VIDEO" + + // ParticipantRecordingMediaTypeAudioOnly is a ParticipantRecordingMediaType enum value + ParticipantRecordingMediaTypeAudioOnly = "AUDIO_ONLY" +) + +// ParticipantRecordingMediaType_Values returns all elements of the ParticipantRecordingMediaType enum +func ParticipantRecordingMediaType_Values() []string { + return []string{ + ParticipantRecordingMediaTypeAudioVideo, + ParticipantRecordingMediaTypeAudioOnly, + } +} + +const ( + // ParticipantRecordingStateStarting is a ParticipantRecordingState enum value + ParticipantRecordingStateStarting = "STARTING" + + // ParticipantRecordingStateActive is a ParticipantRecordingState enum value + ParticipantRecordingStateActive = "ACTIVE" + + // ParticipantRecordingStateStopping is a ParticipantRecordingState enum value + ParticipantRecordingStateStopping = "STOPPING" + + // ParticipantRecordingStateStopped is a ParticipantRecordingState enum value + ParticipantRecordingStateStopped = "STOPPED" + + // ParticipantRecordingStateFailed is a ParticipantRecordingState enum value + ParticipantRecordingStateFailed = "FAILED" + + // ParticipantRecordingStateDisabled is a ParticipantRecordingState enum value + ParticipantRecordingStateDisabled = "DISABLED" +) + +// ParticipantRecordingState_Values returns all elements of the ParticipantRecordingState enum +func ParticipantRecordingState_Values() []string { + return []string{ + ParticipantRecordingStateStarting, + ParticipantRecordingStateActive, + ParticipantRecordingStateStopping, + ParticipantRecordingStateStopped, + ParticipantRecordingStateFailed, + ParticipantRecordingStateDisabled, + } +} + const ( // ParticipantStateConnected is a ParticipantState enum value ParticipantStateConnected = "CONNECTED" diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index db58a97206c..e80715ab734 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -2442,8 +2442,6 @@ func (c *SageMaker) CreateHubRequest(input *CreateHubInput) (req *request.Reques // // Create a hub. // -// Hub APIs are only callable through SageMaker Studio. -// // 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. @@ -2482,6 +2480,93 @@ func (c *SageMaker) CreateHubWithContext(ctx aws.Context, input *CreateHubInput, return out, req.Send() } +const opCreateHubContentReference = "CreateHubContentReference" + +// CreateHubContentReferenceRequest generates a "aws/request.Request" representing the +// client's request for the CreateHubContentReference 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 CreateHubContentReference for more information on using the CreateHubContentReference +// 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 CreateHubContentReferenceRequest method. +// req, resp := client.CreateHubContentReferenceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHubContentReference +func (c *SageMaker) CreateHubContentReferenceRequest(input *CreateHubContentReferenceInput) (req *request.Request, output *CreateHubContentReferenceOutput) { + op := &request.Operation{ + Name: opCreateHubContentReference, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateHubContentReferenceInput{} + } + + output = &CreateHubContentReferenceOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateHubContentReference API operation for Amazon SageMaker Service. +// +// Create a hub content reference in order to add a model in the JumpStart public +// hub to a private 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 SageMaker Service's +// API operation CreateHubContentReference for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFound +// Resource being access is not found. +// +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHubContentReference +func (c *SageMaker) CreateHubContentReference(input *CreateHubContentReferenceInput) (*CreateHubContentReferenceOutput, error) { + req, out := c.CreateHubContentReferenceRequest(input) + return out, req.Send() +} + +// CreateHubContentReferenceWithContext is the same as CreateHubContentReference with the addition of +// the ability to pass a context and additional request options. +// +// See CreateHubContentReference 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 *SageMaker) CreateHubContentReferenceWithContext(ctx aws.Context, input *CreateHubContentReferenceInput, opts ...request.Option) (*CreateHubContentReferenceOutput, error) { + req, out := c.CreateHubContentReferenceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateHumanTaskUi = "CreateHumanTaskUi" // CreateHumanTaskUiRequest generates a "aws/request.Request" representing the @@ -7360,8 +7445,6 @@ func (c *SageMaker) DeleteHubRequest(input *DeleteHubInput) (req *request.Reques // // Delete a hub. // -// Hub APIs are only callable through SageMaker Studio. -// // 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. @@ -7445,8 +7528,6 @@ func (c *SageMaker) DeleteHubContentRequest(input *DeleteHubContentInput) (req * // // Delete the contents of a hub. // -// Hub APIs are only callable through SageMaker Studio. -// // 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. @@ -7484,6 +7565,86 @@ func (c *SageMaker) DeleteHubContentWithContext(ctx aws.Context, input *DeleteHu return out, req.Send() } +const opDeleteHubContentReference = "DeleteHubContentReference" + +// DeleteHubContentReferenceRequest generates a "aws/request.Request" representing the +// client's request for the DeleteHubContentReference 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 DeleteHubContentReference for more information on using the DeleteHubContentReference +// 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 DeleteHubContentReferenceRequest method. +// req, resp := client.DeleteHubContentReferenceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHubContentReference +func (c *SageMaker) DeleteHubContentReferenceRequest(input *DeleteHubContentReferenceInput) (req *request.Request, output *DeleteHubContentReferenceOutput) { + op := &request.Operation{ + Name: opDeleteHubContentReference, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteHubContentReferenceInput{} + } + + output = &DeleteHubContentReferenceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteHubContentReference API operation for Amazon SageMaker Service. +// +// Delete a hub content reference in order to remove a model from a private +// 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 SageMaker Service's +// API operation DeleteHubContentReference for usage and error information. +// +// Returned Error Types: +// - ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHubContentReference +func (c *SageMaker) DeleteHubContentReference(input *DeleteHubContentReferenceInput) (*DeleteHubContentReferenceOutput, error) { + req, out := c.DeleteHubContentReferenceRequest(input) + return out, req.Send() +} + +// DeleteHubContentReferenceWithContext is the same as DeleteHubContentReference with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteHubContentReference 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 *SageMaker) DeleteHubContentReferenceWithContext(ctx aws.Context, input *DeleteHubContentReferenceInput, opts ...request.Option) (*DeleteHubContentReferenceOutput, error) { + req, out := c.DeleteHubContentReferenceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteHumanTaskUi = "DeleteHumanTaskUi" // DeleteHumanTaskUiRequest generates a "aws/request.Request" representing the @@ -11734,9 +11895,7 @@ func (c *SageMaker) DescribeHubRequest(input *DescribeHubInput) (req *request.Re // DescribeHub API operation for Amazon SageMaker Service. // -// Describe a hub. -// -// Hub APIs are only callable through SageMaker Studio. +// Describes a 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 @@ -11816,8 +11975,6 @@ func (c *SageMaker) DescribeHubContentRequest(input *DescribeHubContentInput) (r // // Describe the content of a hub. // -// Hub APIs are only callable through SageMaker Studio. -// // 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. @@ -15384,8 +15541,6 @@ func (c *SageMaker) ImportHubContentRequest(input *ImportHubContentInput) (req * // // Import hub content. // -// Hub APIs are only callable through SageMaker Studio. -// // 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. @@ -18766,8 +18921,6 @@ func (c *SageMaker) ListHubContentVersionsRequest(input *ListHubContentVersionsI // // List hub content versions. // -// Hub APIs are only callable through SageMaker Studio. -// // 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. @@ -18846,8 +18999,6 @@ func (c *SageMaker) ListHubContentsRequest(input *ListHubContentsInput) (req *re // // List the contents of a hub. // -// Hub APIs are only callable through SageMaker Studio. -// // 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. @@ -18926,8 +19077,6 @@ func (c *SageMaker) ListHubsRequest(input *ListHubsInput) (req *request.Request, // // List all existing hubs. // -// Hub APIs are only callable through SageMaker Studio. -// // 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. @@ -29139,8 +29288,6 @@ func (c *SageMaker) UpdateHubRequest(input *UpdateHubInput) (req *request.Reques // // Update a hub. // -// Hub APIs are only callable through SageMaker Studio. -// // 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. @@ -44515,6 +44662,150 @@ func (s *CreateFlowDefinitionOutput) SetFlowDefinitionArn(v string) *CreateFlowD return s } +type CreateHubContentReferenceInput struct { + _ struct{} `type:"structure"` + + // The name of the hub content to reference. + HubContentName *string `type:"string"` + + // The name of the hub to add the hub content reference to. + // + // HubName is a required field + HubName *string `type:"string" required:"true"` + + // The minimum version of the hub content to reference. + MinVersion *string `min:"5" type:"string"` + + // The ARN of the public hub content to reference. + // + // SageMakerPublicHubContentArn is a required field + SageMakerPublicHubContentArn *string `type:"string" required:"true"` + + // Any tags associated with the hub content to reference. + Tags []*Tag `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateHubContentReferenceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateHubContentReferenceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateHubContentReferenceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateHubContentReferenceInput"} + if s.HubName == nil { + invalidParams.Add(request.NewErrParamRequired("HubName")) + } + if s.MinVersion != nil && len(*s.MinVersion) < 5 { + invalidParams.Add(request.NewErrParamMinLen("MinVersion", 5)) + } + if s.SageMakerPublicHubContentArn == nil { + invalidParams.Add(request.NewErrParamRequired("SageMakerPublicHubContentArn")) + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHubContentName sets the HubContentName field's value. +func (s *CreateHubContentReferenceInput) SetHubContentName(v string) *CreateHubContentReferenceInput { + s.HubContentName = &v + return s +} + +// SetHubName sets the HubName field's value. +func (s *CreateHubContentReferenceInput) SetHubName(v string) *CreateHubContentReferenceInput { + s.HubName = &v + return s +} + +// SetMinVersion sets the MinVersion field's value. +func (s *CreateHubContentReferenceInput) SetMinVersion(v string) *CreateHubContentReferenceInput { + s.MinVersion = &v + return s +} + +// SetSageMakerPublicHubContentArn sets the SageMakerPublicHubContentArn field's value. +func (s *CreateHubContentReferenceInput) SetSageMakerPublicHubContentArn(v string) *CreateHubContentReferenceInput { + s.SageMakerPublicHubContentArn = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateHubContentReferenceInput) SetTags(v []*Tag) *CreateHubContentReferenceInput { + s.Tags = v + return s +} + +type CreateHubContentReferenceOutput struct { + _ struct{} `type:"structure"` + + // The ARN of the hub that the hub content reference was added to. + // + // HubArn is a required field + HubArn *string `type:"string" required:"true"` + + // The ARN of the hub content. + // + // HubContentArn is a required field + HubContentArn *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateHubContentReferenceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateHubContentReferenceOutput) GoString() string { + return s.String() +} + +// SetHubArn sets the HubArn field's value. +func (s *CreateHubContentReferenceOutput) SetHubArn(v string) *CreateHubContentReferenceOutput { + s.HubArn = &v + return s +} + +// SetHubContentArn sets the HubContentArn field's value. +func (s *CreateHubContentReferenceOutput) SetHubContentArn(v string) *CreateHubContentReferenceOutput { + s.HubContentArn = &v + return s +} + type CreateHubInput struct { _ struct{} `type:"structure"` @@ -54985,6 +55276,102 @@ func (s DeleteHubContentOutput) GoString() string { return s.String() } +type DeleteHubContentReferenceInput struct { + _ struct{} `type:"structure"` + + // The name of the hub content to delete. + // + // HubContentName is a required field + HubContentName *string `type:"string" required:"true"` + + // The type of hub content to delete. + // + // HubContentType is a required field + HubContentType *string `type:"string" required:"true" enum:"HubContentType"` + + // The name of the hub to delete the hub content reference from. + // + // HubName is a required field + HubName *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteHubContentReferenceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteHubContentReferenceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteHubContentReferenceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteHubContentReferenceInput"} + if s.HubContentName == nil { + invalidParams.Add(request.NewErrParamRequired("HubContentName")) + } + if s.HubContentType == nil { + invalidParams.Add(request.NewErrParamRequired("HubContentType")) + } + if s.HubName == nil { + invalidParams.Add(request.NewErrParamRequired("HubName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHubContentName sets the HubContentName field's value. +func (s *DeleteHubContentReferenceInput) SetHubContentName(v string) *DeleteHubContentReferenceInput { + s.HubContentName = &v + return s +} + +// SetHubContentType sets the HubContentType field's value. +func (s *DeleteHubContentReferenceInput) SetHubContentType(v string) *DeleteHubContentReferenceInput { + s.HubContentType = &v + return s +} + +// SetHubName sets the HubName field's value. +func (s *DeleteHubContentReferenceInput) SetHubName(v string) *DeleteHubContentReferenceInput { + s.HubName = &v + return s +} + +type DeleteHubContentReferenceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteHubContentReferenceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteHubContentReferenceOutput) GoString() string { + return s.String() +} + type DeleteHubInput struct { _ struct{} `type:"structure"` @@ -62555,6 +62942,15 @@ type DescribeHubContentOutput struct { // // HubName is a required field HubName *string `type:"string" required:"true"` + + // The minimum version of the hub content. + ReferenceMinVersion *string `min:"5" type:"string"` + + // The ARN of the public hub content. + SageMakerPublicHubContentArn *string `type:"string"` + + // The support status of the hub content. + SupportStatus *string `type:"string" enum:"HubContentSupportStatus"` } // String returns the string representation. @@ -62671,6 +63067,24 @@ func (s *DescribeHubContentOutput) SetHubName(v string) *DescribeHubContentOutpu return s } +// SetReferenceMinVersion sets the ReferenceMinVersion field's value. +func (s *DescribeHubContentOutput) SetReferenceMinVersion(v string) *DescribeHubContentOutput { + s.ReferenceMinVersion = &v + return s +} + +// SetSageMakerPublicHubContentArn sets the SageMakerPublicHubContentArn field's value. +func (s *DescribeHubContentOutput) SetSageMakerPublicHubContentArn(v string) *DescribeHubContentOutput { + s.SageMakerPublicHubContentArn = &v + return s +} + +// SetSupportStatus sets the SupportStatus field's value. +func (s *DescribeHubContentOutput) SetSupportStatus(v string) *DescribeHubContentOutput { + s.SupportStatus = &v + return s +} + type DescribeHubInput struct { _ struct{} `type:"structure"` @@ -76323,6 +76737,16 @@ type HubContentInfo struct { // // HubContentVersion is a required field HubContentVersion *string `min:"5" type:"string" required:"true"` + + // The date and time when the hub content was originally created, before any + // updates or revisions. + OriginalCreationTime *time.Time `type:"timestamp"` + + // The ARN of the public hub content. + SageMakerPublicHubContentArn *string `type:"string"` + + // The support status of the hub content. + SupportStatus *string `type:"string" enum:"HubContentSupportStatus"` } // String returns the string representation. @@ -76403,6 +76827,24 @@ func (s *HubContentInfo) SetHubContentVersion(v string) *HubContentInfo { return s } +// SetOriginalCreationTime sets the OriginalCreationTime field's value. +func (s *HubContentInfo) SetOriginalCreationTime(v time.Time) *HubContentInfo { + s.OriginalCreationTime = &v + return s +} + +// SetSageMakerPublicHubContentArn sets the SageMakerPublicHubContentArn field's value. +func (s *HubContentInfo) SetSageMakerPublicHubContentArn(v string) *HubContentInfo { + s.SageMakerPublicHubContentArn = &v + return s +} + +// SetSupportStatus sets the SupportStatus field's value. +func (s *HubContentInfo) SetSupportStatus(v string) *HubContentInfo { + s.SupportStatus = &v + return s +} + // Information about a hub. type HubInfo struct { _ struct{} `type:"structure"` @@ -81539,6 +81981,54 @@ func (s *InferenceExperimentSummary) SetType(v string) *InferenceExperimentSumma return s } +// Configuration information specifying which hub contents have accessible deployment +// options. +type InferenceHubAccessConfig struct { + _ struct{} `type:"structure"` + + // The ARN of the hub content for which deployment access is allowed. + // + // HubContentArn is a required field + HubContentArn *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InferenceHubAccessConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InferenceHubAccessConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *InferenceHubAccessConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InferenceHubAccessConfig"} + if s.HubContentArn == nil { + invalidParams.Add(request.NewErrParamRequired("HubContentArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHubContentArn sets the HubContentArn field's value. +func (s *InferenceHubAccessConfig) SetHubContentArn(v string) *InferenceHubAccessConfig { + s.HubContentArn = &v + return s +} + // The metrics for an existing endpoint compared in an Inference Recommender // job. type InferenceMetrics struct { @@ -81601,9 +82091,7 @@ type InferenceRecommendation struct { InvocationStartTime *time.Time `type:"timestamp"` // The metrics used to decide what recommendation to make. - // - // Metrics is a required field - Metrics *RecommendationMetrics `type:"structure" required:"true"` + Metrics *RecommendationMetrics `type:"structure"` // Defines the model configuration. // @@ -110282,14 +110770,10 @@ type RecommendationMetrics struct { _ struct{} `type:"structure"` // Defines the cost per hour for the instance. - // - // CostPerHour is a required field - CostPerHour *float64 `type:"float" required:"true"` + CostPerHour *float64 `type:"float"` // Defines the cost per inference for the instance . - // - // CostPerInference is a required field - CostPerInference *float64 `type:"float" required:"true"` + CostPerInference *float64 `type:"float"` // The expected CPU utilization at maximum invocations per minute for the instance. // @@ -110297,9 +110781,7 @@ type RecommendationMetrics struct { CpuUtilization *float64 `type:"float"` // The expected maximum number of requests per minute for the instance. - // - // MaxInvocations is a required field - MaxInvocations *int64 `type:"integer" required:"true"` + MaxInvocations *int64 `type:"integer"` // The expected memory utilization at maximum invocations per minute for the // instance. @@ -110308,9 +110790,7 @@ type RecommendationMetrics struct { MemoryUtilization *float64 `type:"float"` // The expected model latency at maximum invocation per minute for the instance. - // - // ModelLatency is a required field - ModelLatency *int64 `type:"integer" required:"true"` + ModelLatency *int64 `type:"integer"` // The time it takes to launch new compute resources for a serverless endpoint. // The time can vary depending on the model size, how long it takes to download @@ -112247,6 +112727,9 @@ type S3ModelDataSource struct { // CompressionType is a required field CompressionType *string `type:"string" required:"true" enum:"ModelCompressionType"` + // Configuration information for hub access. + HubAccessConfig *InferenceHubAccessConfig `type:"structure"` + // Specifies the access configuration file for the ML model. You can explicitly // accept the model end-user license agreement (EULA) within the ModelAccessConfig. // You are responsible for reviewing and complying with any applicable license @@ -112303,6 +112786,11 @@ func (s *S3ModelDataSource) Validate() error { if s.S3Uri == nil { invalidParams.Add(request.NewErrParamRequired("S3Uri")) } + if s.HubAccessConfig != nil { + if err := s.HubAccessConfig.Validate(); err != nil { + invalidParams.AddNested("HubAccessConfig", err.(request.ErrInvalidParams)) + } + } if s.ModelAccessConfig != nil { if err := s.ModelAccessConfig.Validate(); err != nil { invalidParams.AddNested("ModelAccessConfig", err.(request.ErrInvalidParams)) @@ -112321,6 +112809,12 @@ func (s *S3ModelDataSource) SetCompressionType(v string) *S3ModelDataSource { return s } +// SetHubAccessConfig sets the HubAccessConfig field's value. +func (s *S3ModelDataSource) SetHubAccessConfig(v *InferenceHubAccessConfig) *S3ModelDataSource { + s.HubAccessConfig = v + return s +} + // SetModelAccessConfig sets the ModelAccessConfig field's value. func (s *S3ModelDataSource) SetModelAccessConfig(v *ModelAccessConfig) *S3ModelDataSource { s.ModelAccessConfig = v @@ -131734,12 +132228,31 @@ func HubContentStatus_Values() []string { } } +const ( + // HubContentSupportStatusSupported is a HubContentSupportStatus enum value + HubContentSupportStatusSupported = "Supported" + + // HubContentSupportStatusDeprecated is a HubContentSupportStatus enum value + HubContentSupportStatusDeprecated = "Deprecated" +) + +// HubContentSupportStatus_Values returns all elements of the HubContentSupportStatus enum +func HubContentSupportStatus_Values() []string { + return []string{ + HubContentSupportStatusSupported, + HubContentSupportStatusDeprecated, + } +} + const ( // HubContentTypeModel is a HubContentType enum value HubContentTypeModel = "Model" // HubContentTypeNotebook is a HubContentType enum value HubContentTypeNotebook = "Notebook" + + // HubContentTypeModelReference is a HubContentType enum value + HubContentTypeModelReference = "ModelReference" ) // HubContentType_Values returns all elements of the HubContentType enum @@ -131747,6 +132260,7 @@ func HubContentType_Values() []string { return []string{ HubContentTypeModel, HubContentTypeNotebook, + HubContentTypeModelReference, } } diff --git a/service/sagemaker/sagemakeriface/interface.go b/service/sagemaker/sagemakeriface/interface.go index 01ac587d312..9cb7cc386c1 100644 --- a/service/sagemaker/sagemakeriface/interface.go +++ b/service/sagemaker/sagemakeriface/interface.go @@ -168,6 +168,10 @@ type SageMakerAPI interface { CreateHubWithContext(aws.Context, *sagemaker.CreateHubInput, ...request.Option) (*sagemaker.CreateHubOutput, error) CreateHubRequest(*sagemaker.CreateHubInput) (*request.Request, *sagemaker.CreateHubOutput) + CreateHubContentReference(*sagemaker.CreateHubContentReferenceInput) (*sagemaker.CreateHubContentReferenceOutput, error) + CreateHubContentReferenceWithContext(aws.Context, *sagemaker.CreateHubContentReferenceInput, ...request.Option) (*sagemaker.CreateHubContentReferenceOutput, error) + CreateHubContentReferenceRequest(*sagemaker.CreateHubContentReferenceInput) (*request.Request, *sagemaker.CreateHubContentReferenceOutput) + CreateHumanTaskUi(*sagemaker.CreateHumanTaskUiInput) (*sagemaker.CreateHumanTaskUiOutput, error) CreateHumanTaskUiWithContext(aws.Context, *sagemaker.CreateHumanTaskUiInput, ...request.Option) (*sagemaker.CreateHumanTaskUiOutput, error) CreateHumanTaskUiRequest(*sagemaker.CreateHumanTaskUiInput) (*request.Request, *sagemaker.CreateHumanTaskUiOutput) @@ -396,6 +400,10 @@ type SageMakerAPI interface { DeleteHubContentWithContext(aws.Context, *sagemaker.DeleteHubContentInput, ...request.Option) (*sagemaker.DeleteHubContentOutput, error) DeleteHubContentRequest(*sagemaker.DeleteHubContentInput) (*request.Request, *sagemaker.DeleteHubContentOutput) + DeleteHubContentReference(*sagemaker.DeleteHubContentReferenceInput) (*sagemaker.DeleteHubContentReferenceOutput, error) + DeleteHubContentReferenceWithContext(aws.Context, *sagemaker.DeleteHubContentReferenceInput, ...request.Option) (*sagemaker.DeleteHubContentReferenceOutput, error) + DeleteHubContentReferenceRequest(*sagemaker.DeleteHubContentReferenceInput) (*request.Request, *sagemaker.DeleteHubContentReferenceOutput) + DeleteHumanTaskUi(*sagemaker.DeleteHumanTaskUiInput) (*sagemaker.DeleteHumanTaskUiOutput, error) DeleteHumanTaskUiWithContext(aws.Context, *sagemaker.DeleteHumanTaskUiInput, ...request.Option) (*sagemaker.DeleteHumanTaskUiOutput, error) DeleteHumanTaskUiRequest(*sagemaker.DeleteHumanTaskUiInput) (*request.Request, *sagemaker.DeleteHumanTaskUiOutput) diff --git a/service/securityhub/api.go b/service/securityhub/api.go index c053f4418f3..ff19f60ba26 100644 --- a/service/securityhub/api.go +++ b/service/securityhub/api.go @@ -53462,9 +53462,36 @@ func (s *FindingHistoryUpdateSource) SetType(v string) *FindingHistoryUpdateSour return s } -// In a BatchImportFindings request, finding providers use FindingProviderFields -// to provide and update values for confidence, criticality, related findings, -// severity, and types. +// In a BatchImportFindings (https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchImportFindings.html) +// request, finding providers use FindingProviderFields to provide and update +// values for the following fields: +// +// - Confidence +// +// - Criticality +// +// - RelatedFindings +// +// - Severity +// +// - Types +// +// The preceding fields are nested under the FindingProviderFields object, but +// also have analogues of the same name as top-level ASFF fields. When a new +// finding is sent to Security Hub by a finding provider, Security Hub populates +// the FindingProviderFields object automatically, if it is empty, based on +// the corresponding top-level fields. +// +// Finding providers can update FindingProviderFields only by using the BatchImportFindings +// operation. Finding providers can't update this object with the BatchUpdateFindings +// (https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateFindings.html) +// operation. Customers can update the top-level fields by using the BatchUpdateFindings +// operation. Customers can't update FindingProviderFields. +// +// For information about how Security Hub handles updates from BatchImportFindings +// to FindingProviderFields and to the corresponding top-level attributes, see +// Using FindingProviderFields (https://docs.aws.amazon.com/securityhub/latest/userguide/finding-update-batchimportfindings.html#batchimportfindings-findingproviderfields) +// in the Security Hub User Guide. type FindingProviderFields struct { _ struct{} `type:"structure"` @@ -53563,7 +53590,32 @@ func (s *FindingProviderFields) SetTypes(v []*string) *FindingProviderFields { return s } -// The severity assigned to the finding by the finding provider. +// The severity assigned to a finding by the finding provider. This object may +// include one or more of the following attributes: +// +// - Label +// +// - Normalized +// +// - Original +// +// - Product +// +// If a BatchImportFindings (https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchImportFindings.html) +// request for a new finding only provides Label or only provides Normalized, +// Security Hub automatically populates the value of the other field. +// +// The Normalized and Product attributes are included in the FindingProviderSeverity +// structure to preserve the historical information associated with the finding, +// even if the top-level Severity object is later modified using the BatchUpdateFindings +// (https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateFindings.html) +// operation. +// +// If the top-level Finding.Severity object is present, but Finding.FindingProviderFields +// isn't present, Security Hub creates the FindingProviderFields.Severity object +// and copies the entire Finding.Severity object into it. This ensures that +// the original, provider-supplied details are retained within the FindingProviderFields.Severity +// object, even if the top-level Severity object is overwritten. type FindingProviderSeverity struct { _ struct{} `type:"structure"`