From b8416550f28eabb2eb307dd78996794fba54b8f1 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Mon, 22 Mar 2021 11:12:32 -0700 Subject: [PATCH] Release v1.38.2 (2021-03-22) (#3830) Release v1.38.2 (2021-03-22) === ### Service Client Updates * `service/codeartifact`: Updates service documentation * `service/ec2`: Updates service API and documentation * This release adds support for UEFI boot on selected AMD- and Intel-based EC2 instances. * `service/macie2`: Updates service API and documentation * `service/redshift`: Updates service API and documentation * Added support to enable AQUA in Amazon Redshift clusters. --- CHANGELOG.md | 11 + aws/version.go | 2 +- .../apis/codeartifact/2018-09-22/docs-2.json | 96 ++--- models/apis/ec2/2016-11-15/api-2.json | 47 ++- models/apis/ec2/2016-11-15/docs-2.json | 33 +- models/apis/macie2/2020-01-01/api-2.json | 122 ++++++ models/apis/macie2/2020-01-01/docs-2.json | 36 +- models/apis/redshift/2012-12-01/api-2.json | 62 ++- models/apis/redshift/2012-12-01/docs-2.json | 34 ++ service/codeartifact/api.go | 116 +----- service/codeartifact/doc.go | 21 +- service/ec2/api.go | 117 +++++- service/macie2/api.go | 393 +++++++++++++++++- service/macie2/doc.go | 2 +- service/macie2/macie2iface/interface.go | 8 + service/redshift/api.go | 291 +++++++++++++ service/redshift/redshiftiface/interface.go | 4 + 17 files changed, 1185 insertions(+), 210 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8881a4302c6..7c1425d6532 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +Release v1.38.2 (2021-03-22) +=== + +### Service Client Updates +* `service/codeartifact`: Updates service documentation +* `service/ec2`: Updates service API and documentation + * This release adds support for UEFI boot on selected AMD- and Intel-based EC2 instances. +* `service/macie2`: Updates service API and documentation +* `service/redshift`: Updates service API and documentation + * Added support to enable AQUA in Amazon Redshift clusters. + Release v1.38.1 (2021-03-19) === diff --git a/aws/version.go b/aws/version.go index 3f67c7cb7cf..7c62743eb53 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.38.1" +const SDKVersion = "1.38.2" diff --git a/models/apis/codeartifact/2018-09-22/docs-2.json b/models/apis/codeartifact/2018-09-22/docs-2.json index 0f485eeac95..5e545462c76 100644 --- a/models/apis/codeartifact/2018-09-22/docs-2.json +++ b/models/apis/codeartifact/2018-09-22/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

AWS CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, NuGet, and pip. You can use CodeArtifact to share packages with development teams and pull packages. Packages can be pulled from both public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact repository and another repository, which effectively merges their contents from the point of view of a package manager client.

AWS CodeArtifact Components

Use the information in this guide to help you work with the following CodeArtifact components:

CodeArtifact supports these operations:

", + "service": "

AWS CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, and pip. You can use CodeArtifact to share packages with development teams and pull packages. Packages can be pulled from both public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact repository and another repository, which effectively merges their contents from the point of view of a package manager client.

AWS CodeArtifact Components

Use the information in this guide to help you work with the following CodeArtifact components:

CodeArtifact supports these operations:

", "operations": { "AssociateExternalConnection": "

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.

", "CopyPackageVersions": "

Copies package versions from one repository to another repository in the same domain.

You must specify versions or versionRevisions. You cannot specify both.

", @@ -8,7 +8,7 @@ "CreateRepository": "

Creates a repository.

", "DeleteDomain": "

Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain with repositories, first delete its repositories.

", "DeleteDomainPermissionsPolicy": "

Deletes the resource policy set on a domain.

", - "DeletePackageVersions": "

Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example, ListackageVersions ), but you can restore them using UpdatePackageVersionsStatus .

", + "DeletePackageVersions": "

Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example, ListackageVersions), but you can restore them using UpdatePackageVersionsStatus.

", "DeleteRepository": "

Deletes a repository.

", "DeleteRepositoryPermissionsPolicy": "

Deletes the resource policy that is set on a repository. After a resource policy is deleted, the permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.

Use DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, AWS users, roles, and accounts lose permissions to perform the repository actions granted by the deleted policy.

", "DescribeDomain": "

Returns a DomainDescription object that contains information about the requested domain.

", @@ -20,9 +20,9 @@ "GetDomainPermissionsPolicy": "

Returns the resource policy attached to the specified domain.

The policy is a resource-based policy, not an identity-based policy. For more information, see Identity-based policies and resource-based policies in the AWS Identity and Access Management User Guide.

", "GetPackageVersionAsset": "

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.

", "GetPackageVersionReadme": "

Gets the readme file or descriptive text for a package version. For packages that do not contain a readme file, CodeArtifact extracts a description from a metadata file. For example, from the <description> element in the pom.xml file of a Maven package.

The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.

", - "GetRepositoryEndpoint": "

Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:

", + "GetRepositoryEndpoint": "

Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:

", "GetRepositoryPermissionsPolicy": "

Returns the resource policy that is set on a repository.

", - "ListDomains": "

Returns a list of DomainSummary objects for all domains owned by the AWS account that makes this call. Each returned DomainSummary object contains information about a domain.

", + "ListDomains": "

Returns a list of DomainSummary objects for all domains owned by the AWS account that makes this call. Each returned DomainSummary object contains information about a domain.

", "ListPackageVersionAssets": "

Returns a list of AssetSummary objects for assets in a package version.

", "ListPackageVersionDependencies": "

Returns the direct dependencies for a package version. The dependencies are returned as PackageDependency objects. CodeArtifact extracts the dependencies for a package version from the metadata file for the package format (for example, the package.json file for npm packages and the pom.xml file for Maven). Any package version dependencies that are not listed in the configuration file are not returned.

", "ListPackageVersions": "

Returns a list of PackageVersionSummary objects for package versions in a repository that match the request parameters.

", @@ -313,7 +313,7 @@ "AssociateExternalConnectionRequest$domain": "

The name of the domain that contains the repository.

", "CopyPackageVersionsRequest$domain": "

The name of the domain that contains the source and destination repositories.

", "CreateDomainRequest$domain": "

The name of the domain to create. All domain names in an AWS Region that are in the same AWS account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.

", - "CreateRepositoryRequest$domain": "

The domain that contains the created repository.

", + "CreateRepositoryRequest$domain": "

The name of the domain that contains the created repository.

", "DeleteDomainPermissionsPolicyRequest$domain": "

The name of the domain associated with the resource policy to be deleted.

", "DeleteDomainRequest$domain": "

The name of the domain to delete.

", "DeletePackageVersionsRequest$domain": "

The name of the domain that contains the package to delete.

", @@ -328,20 +328,20 @@ "DomainSummary$name": "

The name of the domain.

", "GetAuthorizationTokenRequest$domain": "

The name of the domain that is in scope for the generated authorization token.

", "GetDomainPermissionsPolicyRequest$domain": "

The name of the domain to which the resource policy is attached.

", - "GetPackageVersionAssetRequest$domain": "

The domain that contains the repository that contains the package version with the requested asset.

", + "GetPackageVersionAssetRequest$domain": "

The name of the domain that contains the repository that contains the package version with the requested asset.

", "GetPackageVersionReadmeRequest$domain": "

The name of the domain that contains the repository that contains the package version with the requested readme file.

", "GetRepositoryEndpointRequest$domain": "

The name of the domain that contains the repository.

", "GetRepositoryPermissionsPolicyRequest$domain": "

The name of the domain containing the repository whose associated resource policy is to be retrieved.

", "ListPackageVersionAssetsRequest$domain": "

The name of the domain that contains the repository associated with the package version assets.

", - "ListPackageVersionDependenciesRequest$domain": "

The domain that contains the repository that contains the requested package version dependencies.

", + "ListPackageVersionDependenciesRequest$domain": "

The name of the domain that contains the repository that contains the requested package version dependencies.

", "ListPackageVersionsRequest$domain": "

The name of the domain that contains the repository that contains the returned package versions.

", - "ListPackagesRequest$domain": "

The domain that contains the repository that contains the requested list of packages.

", + "ListPackagesRequest$domain": "

The name of the domain that contains the repository that contains the requested list of packages.

", "ListRepositoriesInDomainRequest$domain": "

The name of the domain that contains the returned list of repositories.

", "PutDomainPermissionsPolicyRequest$domain": "

The name of the domain on which to set the resource policy.

", "PutRepositoryPermissionsPolicyRequest$domain": "

The name of the domain containing the repository to set the resource policy on.

", "RepositoryDescription$domainName": "

The name of the domain that contains the repository.

", "RepositorySummary$domainName": "

The name of the domain that contains the repository.

", - "UpdatePackageVersionsStatusRequest$domain": "

The domain that contains the repository that contains the package versions with a status to be updated.

", + "UpdatePackageVersionsStatusRequest$domain": "

The name of the domain that contains the repository that contains the package versions with a status to be updated.

", "UpdateRepositoryRequest$domain": "

The name of the domain associated with the repository to update.

" } }, @@ -361,7 +361,7 @@ "DomainSummaryList": { "base": null, "refs": { - "ListDomainsResult$domains": "

The returned list of DomainSummary objects.

" + "ListDomainsResult$domains": "

The returned list of DomainSummary objects.

" } }, "ErrorMessage": { @@ -373,7 +373,7 @@ "ExternalConnectionName": { "base": null, "refs": { - "AssociateExternalConnectionRequest$externalConnection": "

The name of the external connection to add to the repository. The following values are supported:

", + "AssociateExternalConnectionRequest$externalConnection": "

The name of the external connection to add to the repository. The following values are supported:

", "DisassociateExternalConnectionRequest$externalConnection": "

The name of the external connection to be removed from the repository.

", "RepositoryExternalConnectionInfo$externalConnectionName": "

The name of the external connection associated with a repository.

" } @@ -622,25 +622,25 @@ "PackageFormat": { "base": null, "refs": { - "CopyPackageVersionsRequest$format": "

The format of the package that is copied. The valid package types are:

", - "DeletePackageVersionsRequest$format": "

The format of the package versions to delete. The valid values are:

", - "DescribePackageVersionRequest$format": "

A format that specifies the type of the requested package version. The valid values are:

", - "DisposePackageVersionsRequest$format": "

A format that specifies the type of package versions you want to dispose. The valid values are:

", - "GetPackageVersionAssetRequest$format": "

A format that specifies the type of the package version with the requested asset file. The valid values are:

", - "GetPackageVersionReadmeRequest$format": "

A format that specifies the type of the package version with the requested readme file. The valid values are:

", - "GetPackageVersionReadmeResult$format": "

The format of the package with the requested readme file. Valid format types are:

", - "GetRepositoryEndpointRequest$format": "

Returns which endpoint of a repository to return. A repository has one endpoint for each package format:

", - "ListPackageVersionAssetsRequest$format": "

The format of the package that contains the returned package version assets. The valid package types are:

", + "CopyPackageVersionsRequest$format": "

The format of the package that is copied. The valid package types are:

", + "DeletePackageVersionsRequest$format": "

The format of the package versions to delete. The valid values are:

", + "DescribePackageVersionRequest$format": "

A format that specifies the type of the requested package version. The valid values are:

", + "DisposePackageVersionsRequest$format": "

A format that specifies the type of package versions you want to dispose. The valid values are:

", + "GetPackageVersionAssetRequest$format": "

A format that specifies the type of the package version with the requested asset file. The valid values are:

", + "GetPackageVersionReadmeRequest$format": "

A format that specifies the type of the package version with the requested readme file. The valid values are:

", + "GetPackageVersionReadmeResult$format": "

The format of the package with the requested readme file. Valid format types are:

", + "GetRepositoryEndpointRequest$format": "

Returns which endpoint of a repository to return. A repository has one endpoint for each package format:

", + "ListPackageVersionAssetsRequest$format": "

The format of the package that contains the returned package version assets. The valid package types are:

", "ListPackageVersionAssetsResult$format": "

The format of the package that contains the returned package version assets.

", - "ListPackageVersionDependenciesRequest$format": "

The format of the package with the requested dependencies. The valid package types are:

", - "ListPackageVersionDependenciesResult$format": "

A format that specifies the type of the package that contains the returned dependencies. The valid values are:

", - "ListPackageVersionsRequest$format": "

The format of the returned packages. The valid package types are:

", - "ListPackageVersionsResult$format": "

A format of the package. Valid package format values are:

", - "ListPackagesRequest$format": "

The format of the packages. The valid package types are:

", - "PackageSummary$format": "

The format of the package. Valid values are:

", - "PackageVersionDescription$format": "

The format of the package version. The valid package formats are:

", - "RepositoryExternalConnectionInfo$packageFormat": "

The package format associated with a repository's external connection. The valid package formats are:

", - "UpdatePackageVersionsStatusRequest$format": "

A format that specifies the type of the package with the statuses to update. The valid values are:

" + "ListPackageVersionDependenciesRequest$format": "

The format of the package with the requested dependencies. The valid package types are:

", + "ListPackageVersionDependenciesResult$format": "

A format that specifies the type of the package that contains the returned dependencies. The valid values are:

", + "ListPackageVersionsRequest$format": "

The format of the returned packages. The valid package types are:

", + "ListPackageVersionsResult$format": "

A format of the package. Valid package format values are:

", + "ListPackagesRequest$format": "

The format of the packages. The valid package types are:

", + "PackageSummary$format": "

The format of the package. Valid values are:

", + "PackageVersionDescription$format": "

The format of the package version. The valid package formats are:

", + "RepositoryExternalConnectionInfo$packageFormat": "

The package format associated with a repository's external connection. The valid package formats are:

", + "UpdatePackageVersionsStatusRequest$format": "

A format that specifies the type of the package with the statuses to update. The valid values are:

" } }, "PackageName": { @@ -669,24 +669,24 @@ "PackageNamespace": { "base": null, "refs": { - "CopyPackageVersionsRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "DeletePackageVersionsRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "DescribePackageVersionRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "DisposePackageVersionsRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "GetPackageVersionAssetRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "GetPackageVersionReadmeRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "GetPackageVersionReadmeResult$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "ListPackageVersionAssetsRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "ListPackageVersionAssetsResult$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "ListPackageVersionDependenciesRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "ListPackageVersionDependenciesResult$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "ListPackageVersionsRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "ListPackageVersionsResult$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "ListPackagesRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "PackageDependency$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "PackageSummary$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "PackageVersionDescription$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", - "UpdatePackageVersionsStatusRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

" + "CopyPackageVersionsRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "DeletePackageVersionsRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "DescribePackageVersionRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "DisposePackageVersionsRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "GetPackageVersionAssetRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "GetPackageVersionReadmeRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "GetPackageVersionReadmeResult$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "ListPackageVersionAssetsRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "ListPackageVersionAssetsResult$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "ListPackageVersionDependenciesRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "ListPackageVersionDependenciesResult$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "ListPackageVersionsRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "ListPackageVersionsResult$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "ListPackagesRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "PackageDependency$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "PackageSummary$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "PackageVersionDescription$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", + "UpdatePackageVersionsStatusRequest$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

" } }, "PackageSummary": { @@ -725,7 +725,7 @@ "PackageVersionDescription": { "base": "

Details about a package version.

", "refs": { - "DescribePackageVersionResult$packageVersion": "

A PackageVersionDescription object that contains information about the requested package version.

" + "DescribePackageVersionResult$packageVersion": "

A PackageVersionDescription object that contains information about the requested package version.

" } }, "PackageVersionError": { diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index dc916b83ed5..edbb34f3af2 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -5626,6 +5626,27 @@ } }, "Boolean":{"type":"boolean"}, + "BootModeType":{ + "type":"string", + "enum":[ + "legacy-bios", + "uefi" + ] + }, + "BootModeTypeList":{ + "type":"list", + "member":{ + "shape":"BootModeType", + "locationName":"item" + } + }, + "BootModeValues":{ + "type":"string", + "enum":[ + "legacy-bios", + "uefi" + ] + }, "BundleId":{"type":"string"}, "BundleIdStringList":{ "type":"list", @@ -7834,8 +7855,8 @@ "members":{ "DestinationCidrBlock":{"shape":"String"}, "LocalGatewayRouteTableId":{"shape":"LocalGatewayRoutetableId"}, - "LocalGatewayVirtualInterfaceGroupId":{"shape":"LocalGatewayVirtualInterfaceGroupId"}, - "DryRun":{"shape":"Boolean"} + "DryRun":{"shape":"Boolean"}, + "LocalGatewayVirtualInterfaceGroupId":{"shape":"LocalGatewayVirtualInterfaceGroupId"} } }, "CreateLocalGatewayRouteResult":{ @@ -18068,6 +18089,10 @@ "VirtualizationType":{ "shape":"VirtualizationType", "locationName":"virtualizationType" + }, + "BootMode":{ + "shape":"BootModeValues", + "locationName":"bootMode" } } }, @@ -18105,6 +18130,10 @@ "SriovNetSupport":{ "shape":"AttributeValue", "locationName":"sriovNetSupport" + }, + "BootMode":{ + "shape":"AttributeValue", + "locationName":"bootMode" } } }, @@ -18117,7 +18146,8 @@ "launchPermission", "productCodes", "blockDeviceMapping", - "sriovNetSupport" + "sriovNetSupport", + "bootMode" ] }, "ImageDiskContainer":{ @@ -18958,6 +18988,10 @@ "EnclaveOptions":{ "shape":"EnclaveOptions", "locationName":"enclaveOptions" + }, + "BootMode":{ + "shape":"BootModeValues", + "locationName":"bootMode" } } }, @@ -20289,6 +20323,10 @@ "AutoRecoverySupported":{ "shape":"AutoRecoveryFlag", "locationName":"autoRecoverySupported" + }, + "SupportedBootModes":{ + "shape":"BootModeTypeList", + "locationName":"supportedBootModes" } } }, @@ -25538,7 +25576,8 @@ "VirtualizationType":{ "shape":"String", "locationName":"virtualizationType" - } + }, + "BootMode":{"shape":"BootModeValues"} } }, "RegisterImageResult":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index b2d8fa392af..96c7dd0b0db 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -1085,8 +1085,8 @@ "InstanceAttribute$DisableApiTermination": "

If the value is true, you can't terminate the instance through the Amazon EC2 console, CLI, or API; otherwise, you can.

", "InstanceAttribute$EnaSupport": "

Indicates whether enhanced networking with ENA is enabled.

", "InstanceAttribute$EbsOptimized": "

Indicates whether the instance is optimized for Amazon EBS I/O.

", - "InstanceAttribute$SourceDestCheck": "

Indicates whether source/destination checking is enabled. A value of true means that checking is enabled, and false means that checking is disabled. This value must be false for a NAT instance to perform NAT.

", - "ModifyInstanceAttributeRequest$SourceDestCheck": "

Specifies whether source/destination checking is enabled. A value of true means that checking is enabled, and false means that checking is disabled. This value must be false for a NAT instance to perform NAT.

", + "InstanceAttribute$SourceDestCheck": "

Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true, source/destination checks are enabled; otherwise, they are disabled. The default value is true. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.

", + "ModifyInstanceAttributeRequest$SourceDestCheck": "

Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true, source/destination checks are enabled; otherwise, they are disabled. The default value is true. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.

", "ModifyInstanceAttributeRequest$DisableApiTermination": "

If the value is true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot Instances.

", "ModifyInstanceAttributeRequest$EbsOptimized": "

Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

", "ModifyInstanceAttributeRequest$EnaSupport": "

Set to true to enable enhanced networking with ENA for the instance.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

", @@ -1108,6 +1108,7 @@ "ImageAttribute$KernelId": "

The kernel ID.

", "ImageAttribute$RamdiskId": "

The RAM disk ID.

", "ImageAttribute$SriovNetSupport": "

Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

", + "ImageAttribute$BootMode": null, "InstanceAttribute$InstanceInitiatedShutdownBehavior": "

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

", "InstanceAttribute$InstanceType": "

The instance type.

", "InstanceAttribute$KernelId": "

The kernel ID.

", @@ -1723,7 +1724,7 @@ "ImportVolumeRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "Instance$EbsOptimized": "

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

", "Instance$EnaSupport": "

Specifies whether enhanced networking with ENA is enabled.

", - "Instance$SourceDestCheck": "

Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT instances in the Amazon VPC User Guide.

", + "Instance$SourceDestCheck": "

Indicates whether source/destination checking is enabled.

", "InstanceNetworkInterface$SourceDestCheck": "

Indicates whether to validate network traffic to or from this network interface.

", "InstanceNetworkInterfaceAttachment$DeleteOnTermination": "

Indicates whether the network interface is deleted when the instance is terminated.

", "InstanceNetworkInterfaceSpecification$AssociatePublicIpAddress": "

Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

", @@ -1960,6 +1961,26 @@ "WithdrawByoipCidrRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } }, + "BootModeType": { + "base": null, + "refs": { + "BootModeTypeList$member": null + } + }, + "BootModeTypeList": { + "base": null, + "refs": { + "InstanceTypeInfo$SupportedBootModes": "

The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.

" + } + }, + "BootModeValues": { + "base": null, + "refs": { + "Image$BootMode": "

The boot mode of the image. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.

", + "Instance$BootMode": "

The boot mode of the instance. For more information, see Boot modes in the Amazon EC2 User Guide.

", + "RegisterImageRequest$BootMode": "

The boot mode of the AMI. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.

" + } + }, "BundleId": { "base": null, "refs": { @@ -6693,8 +6714,8 @@ "DescribeInstanceCreditSpecificationsRequest$Filters": "

The filters.

", "DescribeInstanceStatusRequest$Filters": "

The filters.

", "DescribeInstanceTypeOfferingsRequest$Filters": "

One or more filters. Filter names and values are case-sensitive.

", - "DescribeInstanceTypesRequest$Filters": "

One or more filters. Filter names and values are case-sensitive.

", - "DescribeInstancesRequest$Filters": "

The filters.

", + "DescribeInstanceTypesRequest$Filters": "

One or more filters. Filter names and values are case-sensitive.

", + "DescribeInstancesRequest$Filters": "

The filters.

", "DescribeInternetGatewaysRequest$Filters": "

One or more filters.

", "DescribeIpv6PoolsRequest$Filters": "

One or more filters.

", "DescribeKeyPairsRequest$Filters": "

The filters.

", @@ -6865,7 +6886,7 @@ "FleetLaunchTemplateOverridesListRequest": { "base": null, "refs": { - "FleetLaunchTemplateConfigRequest$Overrides": "

Any parameters that you specify override the same parameters in the launch template.

" + "FleetLaunchTemplateConfigRequest$Overrides": "

Any parameters that you specify override the same parameters in the launch template.

For fleets of type request and maintain, a maximum of 300 items is allowed across all launch templates.

" } }, "FleetLaunchTemplateOverridesRequest": { diff --git a/models/apis/macie2/2020-01-01/api-2.json b/models/apis/macie2/2020-01-01/api-2.json index 90840742207..b2b7c8170b8 100644 --- a/models/apis/macie2/2020-01-01/api-2.json +++ b/models/apis/macie2/2020-01-01/api-2.json @@ -1121,6 +1121,43 @@ } ] }, + "GetFindingsPublicationConfiguration": { + "name": "GetFindingsPublicationConfiguration", + "http": { + "method": "GET", + "requestUri": "/findings-publication-configuration", + "responseCode": 200 + }, + "input": { + "shape": "GetFindingsPublicationConfigurationRequest" + }, + "output": { + "shape": "GetFindingsPublicationConfigurationResponse" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ConflictException" + } + ] + }, "GetInvitationsCount": { "name": "GetInvitationsCount", "http": { @@ -1654,6 +1691,43 @@ } ] }, + "PutFindingsPublicationConfiguration": { + "name": "PutFindingsPublicationConfiguration", + "http": { + "method": "PUT", + "requestUri": "/findings-publication-configuration", + "responseCode": 200 + }, + "input": { + "shape": "PutFindingsPublicationConfigurationRequest" + }, + "output": { + "shape": "PutFindingsPublicationConfigurationResponse" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ConflictException" + } + ] + }, "TagResource": { "name": "TagResource", "http": { @@ -3746,6 +3820,19 @@ } } }, + "GetFindingsPublicationConfigurationRequest": { + "type": "structure", + "members": {} + }, + "GetFindingsPublicationConfigurationResponse": { + "type": "structure", + "members": { + "securityHubConfiguration": { + "shape": "SecurityHubConfiguration", + "locationName": "securityHubConfiguration" + } + } + }, "GetFindingsRequest": { "type": "structure", "members": { @@ -4765,6 +4852,24 @@ } } }, + "PutFindingsPublicationConfigurationRequest": { + "type": "structure", + "members": { + "clientToken": { + "shape": "__string", + "locationName": "clientToken", + "idempotencyToken": true + }, + "securityHubConfiguration": { + "shape": "SecurityHubConfiguration", + "locationName": "securityHubConfiguration" + } + } + }, + "PutFindingsPublicationConfigurationResponse": { + "type": "structure", + "members": {} + }, "Range": { "type": "structure", "members": { @@ -5039,6 +5144,23 @@ } } }, + "SecurityHubConfiguration": { + "type": "structure", + "members": { + "publishClassificationFindings": { + "shape": "__boolean", + "locationName": "publishClassificationFindings" + }, + "publishPolicyFindings": { + "shape": "__boolean", + "locationName": "publishPolicyFindings" + } + }, + "required": [ + "publishPolicyFindings", + "publishClassificationFindings" + ] + }, "SensitiveData": { "type": "list", "member": { diff --git a/models/apis/macie2/2020-01-01/docs-2.json b/models/apis/macie2/2020-01-01/docs-2.json index d9372372387..543b453433c 100644 --- a/models/apis/macie2/2020-01-01/docs-2.json +++ b/models/apis/macie2/2020-01-01/docs-2.json @@ -1,6 +1,6 @@ { "version" : "2.0", - "service" : "

Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors for you. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.

", + "service" : "

Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors foryou. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.

", "operations" : { "AcceptInvitation" : "

Accepts an Amazon Macie membership invitation that was received from a specific account.

", "BatchGetCustomDataIdentifiers" : "

Retrieves information about one or more custom data identifiers.

", @@ -32,6 +32,7 @@ "GetFindingStatistics" : "

Retrieves (queries) aggregated statistical data about findings.

", "GetFindings" : "

Retrieves the details of one or more findings.

", "GetFindingsFilter" : "

Retrieves the criteria and other settings for a findings filter.

", + "GetFindingsPublicationConfiguration" : "

Retrieves the configuration settings for publishing findings to AWS Security Hub.

", "GetInvitationsCount" : "

Retrieves the count of Amazon Macie membership invitations that were received by an account.

", "GetMacieSession" : "

Retrieves the current status and configuration settings for an Amazon Macie account.

", "GetMasterAccount" : "

(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.

", @@ -47,6 +48,7 @@ "ListOrganizationAdminAccounts" : "

Retrieves information about the delegated Amazon Macie administrator account for an AWS organization.

", "ListTagsForResource" : "

Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.

", "PutClassificationExportConfiguration" : "

Creates or updates the configuration settings for storing data classification results.

", + "PutFindingsPublicationConfiguration" : "

Updates the configuration settings for publishing findings to AWS Security Hub.

", "TagResource" : "

Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.

", "TestCustomDataIdentifier" : "

Tests a custom data identifier.

", "UntagResource" : "

Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.

", @@ -481,7 +483,7 @@ } }, "FindingPublishingFrequency" : { - "base" : "

The frequency with which Amazon Macie publishes updates to policy findings for an account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values are:

", + "base" : "

The frequency with which Amazon Macie publishes updates to policy findings for an account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, see Monitoring and processing findings in the Amazon Macie User Guide. Valid values are:

", "refs" : { "EnableMacieRequest$FindingPublishingFrequency" : "Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).", "GetMacieSessionResponse$FindingPublishingFrequency" : "

The frequency with which Macie publishes updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).

", @@ -554,6 +556,10 @@ "base" : "

Provides information about the criteria and other settings for a findings filter.

", "refs" : { } }, + "GetFindingsPublicationConfigurationResponse" : { + "base" : "

Provides information about the current configuration settings for publishing findings to AWS Security Hub automatically.

", + "refs" : { } + }, "GetFindingsRequest" : { "base" : "

Specifies one or more findings to retrieve.

", "refs" : { } @@ -701,7 +707,7 @@ "refs" : { "DescribeClassificationJobResponse$JobStatus" : "

The current status of the job. Possible values are:

", "JobSummary$JobStatus" : "

The current status of the job. Possible values are:

", - "UpdateClassificationJobRequest$JobStatus" : "

The new status for the job. Valid values are:

" + "UpdateClassificationJobRequest$JobStatus" : "

The new status for the job. Valid values are:

" } }, "JobSummary" : { @@ -822,7 +828,7 @@ "MacieStatus" : { "base" : "

The status of an Amazon Macie account. Valid values are:

", "refs" : { - "EnableMacieRequest$Status" : "

Specifies the status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.

", + "EnableMacieRequest$Status" : "

Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.

", "GetMacieSessionResponse$Status" : "

The current status of the Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.

", "UpdateMacieSessionRequest$Status" : "

Specifies a new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

", "UpdateMemberSessionRequest$Status" : "

Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

" @@ -898,6 +904,10 @@ "base" : "

Provides information about updated settings for storing data classification results.

", "refs" : { } }, + "PutFindingsPublicationConfigurationRequest" : { + "base" : "

Specifies configuration settings for publishing findings to AWS Security Hub automatically.

", + "refs" : { } + }, "Range" : { "base" : "

Provides details about the location of an occurrence of sensitive data in an Adobe Portable Document Format file, Microsoft Word document, or non-binary text file.

", "refs" : { @@ -909,7 +919,7 @@ "Ranges" : { "base" : "

Provides details about the location of occurrences of sensitive data in an Adobe Portable Document Format file, Microsoft Word document, or non-binary text file.

", "refs" : { - "Occurrences$LineRanges" : "

An array of objects, one for each occurrence of sensitive data in a Microsoft Word document or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.

This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of: data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.

", + "Occurrences$LineRanges" : "

An array of objects, one for each occurrence of sensitive data in a Microsoft Word document or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.

This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of data in: unstructured sections of an otherwise structured file, such as a comment in a file; a malformed file that Amazon Macie analyzes as plain text; and, a CSV or TSV file that has any column names that contain sensitive data.

", "Occurrences$OffsetRanges" : "

An array of objects, one for each occurrence of sensitive data in a binary text file. Each object specifies the position of the data relative to the beginning of the file.

This value is typically null. For binary text files, Amazon Macie adds location data to a lineRanges.Range or Page object, depending on the file type.

" } }, @@ -998,6 +1008,13 @@ "S3JobDefinition$Scoping" : "

The property- and tag-based conditions that determine which objects to include or exclude from the analysis.

" } }, + "SecurityHubConfiguration" : { + "base" : "

Specifies configuration settings that determine which findings are published to AWS Security Hub automatically. For information about how Macie publishes findings to Security Hub, see Amazon Macie integration with Security Hub in the Amazon Macie User Guide.

", + "refs" : { + "GetFindingsPublicationConfigurationResponse$SecurityHubConfiguration" : "

The configuration settings that determine which findings are published to AWS Security Hub.

", + "PutFindingsPublicationConfigurationRequest$SecurityHubConfiguration" : "

The configuration settings that determine which findings to publish to AWS Security Hub.

" + } + }, "SensitiveData" : { "base" : "

Provides information about the category and number of occurrences of sensitive data that produced a finding.

", "refs" : { @@ -1319,6 +1336,8 @@ "ReplicationDetails$Replicated" : "

Specifies whether the bucket is configured to replicate one or more objects to any destination.

", "ReplicationDetails$ReplicatedExternally" : "

Specifies whether the bucket is configured to replicate one or more objects to an AWS account that isn't part of the same Amazon Macie organization.

", "S3Object$PublicAccess" : "

Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.

", + "SecurityHubConfiguration$PublishClassificationFindings" : "

Specifies whether to publish sensitive data findings to AWS Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false.

", + "SecurityHubConfiguration$PublishPolicyFindings" : "

Specifies whether to publish policy findings to AWS Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true.

", "ServiceLimit$IsServiceLimited" : "

Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.

", "SessionContextAttributes$MfaAuthenticated" : "

Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.

", "UpdateOrganizationConfigurationRequest$AutoEnable" : "

Specifies whether to enable Amazon Macie automatically for each account, when the account is added to the AWS organization.

" @@ -1348,7 +1367,7 @@ "ListClassificationJobsRequest$MaxResults" : "

The maximum number of items to include in each page of the response.

", "ListCustomDataIdentifiersRequest$MaxResults" : "

The maximum number of items to include in each page of the response.

", "ListFindingsRequest$MaxResults" : "

The maximum number of items to include in each page of the response.

", - "MonthlySchedule$DayOfMonth" : "

The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 31.

If this value exceeds the number of days in a certain month, Macie doesn't run the job that month. Macie runs the job only during months that have the specified day. For example, if this value is 31 and a month has only 30 days, Macie doesn’t run the job that month. To run the job every month, specify a value that’s less than 29.

", + "MonthlySchedule$DayOfMonth" : "

The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 31.

If this value exceeds the number of days in a certain month, Macie doesn't run the job that month. Macie runs the job only during months that have the specified day. For example, if this value is 31 and a month has only 30 days, Macie doesn't run the job that month. To run the job every month, specify a value that's less than 29.

", "TestCustomDataIdentifierRequest$MaximumMatchDistance" : "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.

", "TestCustomDataIdentifierResponse$MatchCount" : "

The number of instances of sample text that matched the detection criteria specified in the custom data identifier.

", "UpdateFindingsFilterRequest$Position" : "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

" @@ -1605,7 +1624,7 @@ "BucketServerSideEncryption$KmsMasterKeyId" : "

The Amazon Resource Name (ARN) or unique identifier (key ID) for the AWS Key Management Service (AWS KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

", "BucketSortCriteria$AttributeName" : "

The name of the bucket property to sort the results by. This value can be one of the following properties that Amazon Macie defines as bucket metadata: accountId, bucketName, classifiableObjectCount, classifiableSizeInBytes, objectCount, or sizeInBytes.

", "Cell$CellReference" : "

The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.

", - "Cell$ColumnName" : "

The name of the column that contains the data, if available.

", + "Cell$ColumnName" : "

The name of the column that contains the data, if available. This value is also null if Amazon Macie detects sensitive data in the name of any column in the file.

", "ClassificationDetails$DetailedResultsLocation" : "

The path to the folder or file (in Amazon S3) that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.

", "ClassificationDetails$JobArn" : "

The Amazon Resource Name (ARN) of the classification job that produced the finding.

", "ClassificationDetails$JobId" : "

The unique identifier for the classification job that produced the finding.

", @@ -1716,7 +1735,8 @@ "Member$Arn" : "

The Amazon Resource Name (ARN) of the account.

", "Member$Email" : "

The email address for the account.

", "Member$MasterAccountId" : "

(Deprecated) The AWS account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

", - "Record$JsonPath" : "

The path, as a JSONPath expression, to the field in the record that contains the data.

If the name of an element exceeds 20 characters, Amazon Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters.

", + "PutFindingsPublicationConfigurationRequest$ClientToken" : "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", + "Record$JsonPath" : "

The path, as a JSONPath expression, to the field in the record that contains the data. If Amazon Macie detects sensitive data in the name of any element in the path, Macie omits this field.

If the name of an element exceeds 20 characters, Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters.

", "ResourceNotFoundException$Message" : "

The explanation of the error that occurred.

", "S3Bucket$Arn" : "

The Amazon Resource Name (ARN) of the bucket.

", "S3Bucket$Name" : "

The name of the bucket.

", diff --git a/models/apis/redshift/2012-12-01/api-2.json b/models/apis/redshift/2012-12-01/api-2.json index 6ee575ea0b3..7203398f3ae 100644 --- a/models/apis/redshift/2012-12-01/api-2.json +++ b/models/apis/redshift/2012-12-01/api-2.json @@ -1124,6 +1124,22 @@ {"shape":"DependentServiceUnavailableFault"} ] }, + "ModifyAquaConfiguration":{ + "name":"ModifyAquaConfiguration", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ModifyAquaInputMessage"}, + "output":{ + "shape":"ModifyAquaOutputMessage", + "resultWrapper":"ModifyAquaConfigurationResult" + }, + "errors":[ + {"shape":"ClusterNotFoundFault"}, + {"shape":"UnsupportedOperationFault"} + ] + }, "ModifyCluster":{ "name":"ModifyCluster", "http":{ @@ -1649,6 +1665,29 @@ "resize-cluster" ] }, + "AquaConfiguration":{ + "type":"structure", + "members":{ + "AquaStatus":{"shape":"AquaStatus"}, + "AquaConfigurationStatus":{"shape":"AquaConfigurationStatus"} + } + }, + "AquaConfigurationStatus":{ + "type":"string", + "enum":[ + "enabled", + "disabled", + "auto" + ] + }, + "AquaStatus":{ + "type":"string", + "enum":[ + "enabled", + "disabled", + "applying" + ] + }, "AssociatedClusterList":{ "type":"list", "member":{ @@ -1902,7 +1941,8 @@ "ResizeInfo":{"shape":"ResizeInfo"}, "AvailabilityZoneRelocationStatus":{"shape":"String"}, "ClusterNamespaceArn":{"shape":"String"}, - "TotalStorageCapacityInMegaBytes":{"shape":"LongOptional"} + "TotalStorageCapacityInMegaBytes":{"shape":"LongOptional"}, + "AquaConfiguration":{"shape":"AquaConfiguration"} }, "wrapper":true }, @@ -2401,7 +2441,8 @@ "IamRoles":{"shape":"IamRoleArnList"}, "MaintenanceTrackName":{"shape":"String"}, "SnapshotScheduleIdentifier":{"shape":"String"}, - "AvailabilityZoneRelocation":{"shape":"BooleanOptional"} + "AvailabilityZoneRelocation":{"shape":"BooleanOptional"}, + "AquaConfigurationStatus":{"shape":"AquaConfigurationStatus"} } }, "CreateClusterParameterGroupMessage":{ @@ -3854,6 +3895,20 @@ "high-performance" ] }, + "ModifyAquaInputMessage":{ + "type":"structure", + "required":["ClusterIdentifier"], + "members":{ + "ClusterIdentifier":{"shape":"String"}, + "AquaConfigurationStatus":{"shape":"AquaConfigurationStatus"} + } + }, + "ModifyAquaOutputMessage":{ + "type":"structure", + "members":{ + "AquaConfiguration":{"shape":"AquaConfiguration"} + } + }, "ModifyClusterDbRevisionMessage":{ "type":"structure", "required":[ @@ -4539,7 +4594,8 @@ "MaintenanceTrackName":{"shape":"String"}, "SnapshotScheduleIdentifier":{"shape":"String"}, "NumberOfNodes":{"shape":"IntegerOptional"}, - "AvailabilityZoneRelocation":{"shape":"BooleanOptional"} + "AvailabilityZoneRelocation":{"shape":"BooleanOptional"}, + "AquaConfigurationStatus":{"shape":"AquaConfigurationStatus"} } }, "RestoreFromClusterSnapshotResult":{ diff --git a/models/apis/redshift/2012-12-01/docs-2.json b/models/apis/redshift/2012-12-01/docs-2.json index 445749c7b0d..dc91c9c4912 100644 --- a/models/apis/redshift/2012-12-01/docs-2.json +++ b/models/apis/redshift/2012-12-01/docs-2.json @@ -70,6 +70,7 @@ "EnableSnapshotCopy": "

Enables the automatic copy of snapshots from one region to another region for a specified cluster.

", "GetClusterCredentials": "

Returns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database. The action returns the database user name prefixed with IAM: if AutoCreate is False or IAMA: if AutoCreate is True. You can optionally specify one or more database user groups that the user will join at log on. By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). For more information, see Using IAM Authentication to Generate Database User Credentials in the Amazon Redshift Cluster Management Guide.

The AWS Identity and Access Management (IAM)user or role that executes GetClusterCredentials must have an IAM policy attached that allows access to all necessary actions and resources. For more information about permissions, see Resource Policies for GetClusterCredentials in the Amazon Redshift Cluster Management Guide.

If the DbGroups parameter is specified, the IAM policy must allow the redshift:JoinGroup action with access to the listed dbgroups.

In addition, if the AutoCreate parameter is set to True, then the policy must include the redshift:CreateClusterUser privilege.

If the DbName parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.

", "GetReservedNodeExchangeOfferings": "

Returns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node.

", + "ModifyAquaConfiguration": "

Modifies whether a cluster can use AQUA (Advanced Query Accelerator).

", "ModifyCluster": "

Modifies the settings for a cluster.

You can also change node type and the number of nodes to scale up or down the cluster. When resizing a cluster, you must specify both the number of nodes and the node type even if one of the parameters does not change.

You can add another security or parameter group, or change the master user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

", "ModifyClusterDbRevision": "

Modifies the database revision of a cluster. The database revision is a unique revision of the database running in a cluster.

", "ModifyClusterIamRoles": "

Modifies the list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.

A cluster can have up to 10 IAM roles associated at any time.

", @@ -140,6 +141,28 @@ "DescribeNodeConfigurationOptionsMessage$ActionType": "

The action type to evaluate for possible node configurations. Specify \"restore-cluster\" to get configuration combinations based on an existing snapshot. Specify \"recommend-node-config\" to get configuration recommendations based on an existing cluster or snapshot. Specify \"resize-cluster\" to get configuration combinations for elastic resize based on an existing cluster.

" } }, + "AquaConfiguration": { + "base": "

The AQUA (Advanced Query Accelerator) configuration of the cluster.

", + "refs": { + "Cluster$AquaConfiguration": "

The AQUA (Advanced Query Accelerator) configuration of the cluster.

", + "ModifyAquaOutputMessage$AquaConfiguration": "

The updated AQUA configuration of the cluster.

" + } + }, + "AquaConfigurationStatus": { + "base": null, + "refs": { + "AquaConfiguration$AquaConfigurationStatus": "

The value represents how the cluster is configured to use AQUA. Possible values include the following.

", + "CreateClusterMessage$AquaConfigurationStatus": "

The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) when it is created. Possible values include the following.

", + "ModifyAquaInputMessage$AquaConfigurationStatus": "

The new value of AQUA configuration status. Possible values include the following.

", + "RestoreFromClusterSnapshotMessage$AquaConfigurationStatus": "

The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following.

" + } + }, + "AquaStatus": { + "base": null, + "refs": { + "AquaConfiguration$AquaStatus": "

The value indicates the status of AQUA on the cluster. Possible values include the following.

" + } + }, "AssociatedClusterList": { "base": null, "refs": { @@ -1590,6 +1613,16 @@ "NodeConfigurationOption$Mode": "

The category of the node configuration recommendation.

" } }, + "ModifyAquaInputMessage": { + "base": null, + "refs": { + } + }, + "ModifyAquaOutputMessage": { + "base": null, + "refs": { + } + }, "ModifyClusterDbRevisionMessage": { "base": null, "refs": { @@ -2613,6 +2646,7 @@ "LoggingStatus$LastFailureMessage": "

The message indicating that logs failed to be delivered.

", "MaintenanceTrack$MaintenanceTrackName": "

The name of the maintenance track. Possible values are current and trailing.

", "MaintenanceTrack$DatabaseVersion": "

The version number for the cluster release.

", + "ModifyAquaInputMessage$ClusterIdentifier": "

The identifier of the cluster to be modified.

", "ModifyClusterDbRevisionMessage$ClusterIdentifier": "

The unique identifier of a cluster whose database revision you want to modify.

Example: examplecluster

", "ModifyClusterDbRevisionMessage$RevisionTarget": "

The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.

", "ModifyClusterIamRolesMessage$ClusterIdentifier": "

The unique identifier of the cluster for which you want to associate or disassociate IAM roles.

", diff --git a/service/codeartifact/api.go b/service/codeartifact/api.go index 26321dbce71..8446586d735 100644 --- a/service/codeartifact/api.go +++ b/service/codeartifact/api.go @@ -671,8 +671,8 @@ func (c *CodeArtifact) DeletePackageVersionsRequest(input *DeletePackageVersions // be restored in your repository. If you want to remove a package version from // your repository and be able to restore it later, set its status to Archived. // Archived packages cannot be downloaded from a repository and don't show up -// with list package APIs (for example, ListackageVersions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html) -// ), but you can restore them using UpdatePackageVersionsStatus (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html) . +// with list package APIs (for example, ListackageVersions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html)), +// but you can restore them using UpdatePackageVersionsStatus (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1886,8 +1886,6 @@ func (c *CodeArtifact) GetRepositoryEndpointRequest(input *GetRepositoryEndpoint // // * maven // -// * nuget -// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3857,8 +3855,6 @@ type AssociateExternalConnectionInput struct { // // * public:maven-commonsware - for the CommonsWare Android repository. // - // * public:nuget-org - for the NuGet Gallery. - // // ExternalConnection is a required field ExternalConnection *string `location:"querystring" locationName:"external-connection" type:"string" required:"true"` @@ -4047,8 +4043,6 @@ type CopyPackageVersionsInput struct { // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. // - // * nuget: A NuGet package. - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -4066,9 +4060,6 @@ type CopyPackageVersionsInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the package that is copied. @@ -4375,7 +4366,7 @@ type CreateRepositoryInput struct { // A description of the created repository. Description *string `locationName:"description" type:"string"` - // The domain that contains the created repository. + // The name of the domain that contains the created repository. // // Domain is a required field Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"` @@ -4714,8 +4705,6 @@ type DeletePackageVersionsInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -4728,9 +4717,6 @@ type DeletePackageVersionsInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the package with the versions to delete. @@ -5196,8 +5182,6 @@ type DescribePackageVersionInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -5210,9 +5194,6 @@ type DescribePackageVersionInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the requested package version. @@ -5589,8 +5570,6 @@ type DisposePackageVersionsInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -5603,9 +5582,6 @@ type DisposePackageVersionsInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the package with the versions you want to dispose. @@ -6139,8 +6115,8 @@ type GetPackageVersionAssetInput struct { // Asset is a required field Asset *string `location:"querystring" locationName:"asset" min:"1" type:"string" required:"true"` - // The domain that contains the repository that contains the package version - // with the requested asset. + // The name of the domain that contains the repository that contains the package + // version with the requested asset. // // Domain is a required field Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"` @@ -6158,8 +6134,6 @@ type GetPackageVersionAssetInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -6172,9 +6146,6 @@ type GetPackageVersionAssetInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the package that contains the requested asset. @@ -6384,8 +6355,6 @@ type GetPackageVersionReadmeInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -6398,9 +6367,6 @@ type GetPackageVersionReadmeInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the package version that contains the requested readme file. @@ -6525,8 +6491,6 @@ type GetPackageVersionReadmeOutput struct { // * pypi // // * maven - // - // * nuget Format *string `locationName:"format" type:"string" enum:"PackageFormat"` // The namespace of the package. The package component that specifies its namespace @@ -6538,9 +6502,6 @@ type GetPackageVersionReadmeOutput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // The name of the package that contains the returned readme file. @@ -6623,8 +6584,6 @@ type GetRepositoryEndpointInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -7010,8 +6969,6 @@ type ListPackageVersionAssetsInput struct { // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. // - // * nuget: A NuGet package. - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -7027,9 +6984,6 @@ type ListPackageVersionAssetsInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The token for the next set of results. Use the value returned in the previous @@ -7185,9 +7139,6 @@ type ListPackageVersionAssetsOutput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // If there are additional results, this is the token for the next set of results. @@ -7258,8 +7209,8 @@ func (s *ListPackageVersionAssetsOutput) SetVersionRevision(v string) *ListPacka type ListPackageVersionDependenciesInput struct { _ struct{} `type:"structure"` - // The domain that contains the repository that contains the requested package - // version dependencies. + // The name of the domain that contains the repository that contains the requested + // package version dependencies. // // Domain is a required field Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"` @@ -7278,8 +7229,6 @@ type ListPackageVersionDependenciesInput struct { // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. // - // * nuget: A NuGet package. - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -7292,9 +7241,6 @@ type ListPackageVersionDependenciesInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The token for the next set of results. Use the value returned in the previous @@ -7436,8 +7382,6 @@ type ListPackageVersionDependenciesOutput struct { // * pypi // // * maven - // - // * nuget Format *string `locationName:"format" type:"string" enum:"PackageFormat"` // The namespace of the package. The package component that specifies its namespace @@ -7449,9 +7393,6 @@ type ListPackageVersionDependenciesOutput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // The token for the next set of results. Use the value returned in the previous @@ -7542,8 +7483,6 @@ type ListPackageVersionsInput struct { // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. // - // * nuget: A NuGet package. - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -7559,9 +7498,6 @@ type ListPackageVersionsInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The token for the next set of results. Use the value returned in the previous @@ -7728,8 +7664,6 @@ type ListPackageVersionsOutput struct { // * pypi // // * maven - // - // * nuget Format *string `locationName:"format" type:"string" enum:"PackageFormat"` // The namespace of the package. The package component that specifies its namespace @@ -7741,9 +7675,6 @@ type ListPackageVersionsOutput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // If there are additional results, this is the token for the next set of results. @@ -7806,8 +7737,8 @@ func (s *ListPackageVersionsOutput) SetVersions(v []*PackageVersionSummary) *Lis type ListPackagesInput struct { _ struct{} `type:"structure"` - // The domain that contains the repository that contains the requested list - // of packages. + // The name of the domain that contains the repository that contains the requested + // list of packages. // // Domain is a required field Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"` @@ -7824,8 +7755,6 @@ type ListPackagesInput struct { // // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. - // - // * nuget: A NuGet package. Format *string `location:"querystring" locationName:"format" type:"string" enum:"PackageFormat"` // The maximum number of results to return per page. @@ -7840,9 +7769,6 @@ type ListPackagesInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The token for the next set of results. Use the value returned in the previous @@ -8301,9 +8227,6 @@ type PackageDependency struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // The name of the package that this package depends on. @@ -8362,8 +8285,6 @@ type PackageSummary struct { // * pypi // // * maven - // - // * nuget Format *string `locationName:"format" type:"string" enum:"PackageFormat"` // The namespace of the package. The package component that specifies its namespace @@ -8375,9 +8296,6 @@ type PackageSummary struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // The name of the package. @@ -8430,8 +8348,6 @@ type PackageVersionDescription struct { // // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. - // - // * nuget: A NuGet package. Format *string `locationName:"format" type:"string" enum:"PackageFormat"` // The homepage associated with the package. @@ -8449,9 +8365,6 @@ type PackageVersionDescription struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `locationName:"namespace" min:"1" type:"string"` // The name of the requested package. @@ -9024,8 +8937,6 @@ type RepositoryExternalConnectionInfo struct { // // * maven: A Maven package that contains compiled code in a distributable // format, such as a JAR file. - // - // * nuget: A NuGet package. PackageFormat *string `locationName:"packageFormat" type:"string" enum:"PackageFormat"` // The status of the external connection of a repository. There is one valid @@ -9614,8 +9525,8 @@ func (s UntagResourceOutput) GoString() string { type UpdatePackageVersionsStatusInput struct { _ struct{} `type:"structure"` - // The domain that contains the repository that contains the package versions - // with a status to be updated. + // The name of the domain that contains the repository that contains the package + // versions with a status to be updated. // // Domain is a required field Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"` @@ -9638,8 +9549,6 @@ type UpdatePackageVersionsStatusInput struct { // // * maven // - // * nuget - // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -9652,9 +9561,6 @@ type UpdatePackageVersionsStatusInput struct { // // * A Python package does not contain a corresponding component, so Python // packages do not have a namespace. - // - // * A NuGet package does not contain a corresponding component, so NuGet - // packages do not have a namespace. Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"` // The name of the package with the version statuses to update. diff --git a/service/codeartifact/doc.go b/service/codeartifact/doc.go index 7de0782e18d..b76476db364 100644 --- a/service/codeartifact/doc.go +++ b/service/codeartifact/doc.go @@ -4,10 +4,10 @@ // requests to CodeArtifact. // // AWS CodeArtifact is a fully managed artifact repository compatible with language-native -// package managers and build tools such as npm, Apache Maven, NuGet, and pip. -// You can use CodeArtifact to share packages with development teams and pull -// packages. Packages can be pulled from both public and CodeArtifact repositories. -// You can also create an upstream relationship between a CodeArtifact repository +// package managers and build tools such as npm, Apache Maven, and pip. You +// can use CodeArtifact to share packages with development teams and pull packages. +// Packages can be pulled from both public and CodeArtifact repositories. You +// can also create an upstream relationship between a CodeArtifact repository // and another repository, which effectively merges their contents from the // point of view of a package manager client. // @@ -21,7 +21,7 @@ // each of which maps to a set of assets, or files. Repositories are polyglot, // so a single repository can contain packages of any supported type. Each // repository exposes endpoints for fetching and publishing packages using -// tools like the npm CLI, the NuGet CLI, the Maven CLI ( mvn ), and pip . +// tools like the npm CLI, the Maven CLI ( mvn ), and pip . // // * Domain: Repositories are aggregated into a higher-level entity known // as a domain. All package assets and metadata are stored in the domain, @@ -41,8 +41,7 @@ // to resolve dependencies and install the software. CodeArtifact supports // npm (https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html), // PyPI (https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html), -// Maven (https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven), -// and NuGet (https://docs.aws.amazon.com/codeartifact/latest/ug/using-nuget) +// and Maven (https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven) // package formats. In CodeArtifact, a package consists of: A name (for example, // webpack is the name of a popular npm package) An optional namespace (for // example, @types in @types/node) A set of versions (for example, 1.0.0, @@ -123,7 +122,7 @@ // // * GetRepositoryEndpoint: Returns the endpoint of a repository for a specific // package format. A repository has one endpoint for each package format: -// npm pypi maven nuget +// npm pypi maven // // * GetRepositoryPermissionsPolicy: Returns the resource policy that is // set on a repository. @@ -146,17 +145,11 @@ // // * ListRepositoriesInDomain: Returns a list of the repositories in a domain. // -// * ListTagsForResource: Returns a list of the tags associated with a resource. -// // * PutDomainPermissionsPolicy: Attaches a resource policy to a domain. // // * PutRepositoryPermissionsPolicy: Sets the resource policy on a repository // that specifies permissions to access it. // -// * TagResource: Adds or updates tags for a resource. -// -// * UntagResource: Removes a tag from a resource. -// // * UpdatePackageVersionsStatus: Updates the status of one or more versions // of a package. // diff --git a/service/ec2/api.go b/service/ec2/api.go index 541f544da7f..694a1409b4b 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -65944,6 +65944,9 @@ type DescribeImageAttributeOutput struct { // The block device mapping entries. BlockDeviceMappings []*BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` + // Describes a value for a resource attribute that is a String. + BootMode *AttributeValue `locationName:"bootMode" type:"structure"` + // A description for the AMI. Description *AttributeValue `locationName:"description" type:"structure"` @@ -65983,6 +65986,12 @@ func (s *DescribeImageAttributeOutput) SetBlockDeviceMappings(v []*BlockDeviceMa return s } +// SetBootMode sets the BootMode field's value. +func (s *DescribeImageAttributeOutput) SetBootMode(v *AttributeValue) *DescribeImageAttributeOutput { + s.BootMode = v + return s +} + // SetDescription sets the Description field's value. func (s *DescribeImageAttributeOutput) SetDescription(v *AttributeValue) *DescribeImageAttributeOutput { s.Description = v @@ -66503,9 +66512,12 @@ type DescribeInstanceAttributeOutput struct { // The device name of the root device volume (for example, /dev/sda1). RootDeviceName *AttributeValue `locationName:"rootDeviceName" type:"structure"` - // Indicates whether source/destination checking is enabled. A value of true - // means that checking is enabled, and false means that checking is disabled. - // This value must be false for a NAT instance to perform NAT. + // Enable or disable source/destination checks, which ensure that the instance + // is either the source or the destination of any traffic that it receives. + // If the value is true, source/destination checks are enabled; otherwise, they + // are disabled. The default value is true. You must disable source/destination + // checks if the instance runs services such as network address translation, + // routing, or firewalls. SourceDestCheck *AttributeBooleanValue `locationName:"sourceDestCheck" type:"structure"` // Indicates whether enhanced networking with the Intel 82599 Virtual Function @@ -67165,6 +67177,8 @@ type DescribeInstanceTypesInput struct { // * processor-info.sustained-clock-speed-in-ghz - The CPU clock speed, in // GHz. // + // * supported-boot-mode - The boot mode (legacy-bios | uefi). + // // * supported-root-device-type - The root device type (ebs | instance-store). // // * supported-usage-class - The usage class (on-demand | spot). @@ -67474,6 +67488,8 @@ type DescribeInstancesInput struct { // // * network-interface.vpc-id - The ID of the VPC for the network interface. // + // * outpost-arn - The Amazon Resource Name (ARN) of the Outpost. + // // * owner-id - The AWS account ID of the instance owner. // // * placement-group-name - The name of the placement group for the instance. @@ -82318,6 +82334,9 @@ type FleetLaunchTemplateConfigRequest struct { // Any parameters that you specify override the same parameters in the launch // template. + // + // For fleets of type request and maintain, a maximum of 300 items is allowed + // across all launch templates. Overrides []*FleetLaunchTemplateOverridesRequest `locationNameList:"item" type:"list"` } @@ -86592,6 +86611,10 @@ type Image struct { // Any block device mapping entries. BlockDeviceMappings []*BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` + // The boot mode of the image. For more information, see Boot modes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + // in the Amazon Elastic Compute Cloud User Guide. + BootMode *string `locationName:"bootMode" type:"string" enum:"BootModeValues"` + // The date and time the image was created. CreationDate *string `locationName:"creationDate" type:"string"` @@ -86702,6 +86725,12 @@ func (s *Image) SetBlockDeviceMappings(v []*BlockDeviceMapping) *Image { return s } +// SetBootMode sets the BootMode field's value. +func (s *Image) SetBootMode(v string) *Image { + s.BootMode = &v + return s +} + // SetCreationDate sets the CreationDate field's value. func (s *Image) SetCreationDate(v string) *Image { s.CreationDate = &v @@ -88527,6 +88556,10 @@ type Instance struct { // Any block device mapping entries for the instance. BlockDeviceMappings []*InstanceBlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` + // The boot mode of the instance. For more information, see Boot modes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + // in the Amazon EC2 User Guide. + BootMode *string `locationName:"bootMode" type:"string" enum:"BootModeValues"` + // The ID of the Capacity Reservation. CapacityReservationId *string `locationName:"capacityReservationId" type:"string"` @@ -88652,12 +88685,7 @@ type Instance struct { // The security groups for the instance. SecurityGroups []*GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` - // Specifies whether to enable an instance launched in a VPC to perform NAT. - // This controls whether source/destination checking is enabled on the instance. - // A value of true means that checking is enabled, and false means that checking - // is disabled. The value must be false for the instance to perform NAT. For - // more information, see NAT instances (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html) - // in the Amazon VPC User Guide. + // Indicates whether source/destination checking is enabled. SourceDestCheck *bool `locationName:"sourceDestCheck" type:"boolean"` // If the request is a Spot Instance request, the ID of the request. @@ -88717,6 +88745,12 @@ func (s *Instance) SetBlockDeviceMappings(v []*InstanceBlockDeviceMapping) *Inst return s } +// SetBootMode sets the BootMode field's value. +func (s *Instance) SetBootMode(v string) *Instance { + s.BootMode = &v + return s +} + // SetCapacityReservationId sets the CapacityReservationId field's value. func (s *Instance) SetCapacityReservationId(v string) *Instance { s.CapacityReservationId = &v @@ -90577,6 +90611,10 @@ type InstanceTypeInfo struct { // Describes the processor. ProcessorInfo *ProcessorInfo `locationName:"processorInfo" type:"structure"` + // The supported boot modes. For more information, see Boot modes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + // in the Amazon EC2 User Guide. + SupportedBootModes []*string `locationName:"supportedBootModes" locationNameList:"item" type:"list"` + // The supported root device types. SupportedRootDeviceTypes []*string `locationName:"supportedRootDeviceTypes" locationNameList:"item" type:"list"` @@ -90714,6 +90752,12 @@ func (s *InstanceTypeInfo) SetProcessorInfo(v *ProcessorInfo) *InstanceTypeInfo return s } +// SetSupportedBootModes sets the SupportedBootModes field's value. +func (s *InstanceTypeInfo) SetSupportedBootModes(v []*string) *InstanceTypeInfo { + s.SupportedBootModes = v + return s +} + // SetSupportedRootDeviceTypes sets the SupportedRootDeviceTypes field's value. func (s *InstanceTypeInfo) SetSupportedRootDeviceTypes(v []*string) *InstanceTypeInfo { s.SupportedRootDeviceTypes = v @@ -95915,9 +95959,12 @@ type ModifyInstanceAttributeInput struct { // PV-GRUB (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html). Ramdisk *AttributeValue `locationName:"ramdisk" type:"structure"` - // Specifies whether source/destination checking is enabled. A value of true - // means that checking is enabled, and false means that checking is disabled. - // This value must be false for a NAT instance to perform NAT. + // Enable or disable source/destination checks, which ensure that the instance + // is either the source or the destination of any traffic that it receives. + // If the value is true, source/destination checks are enabled; otherwise, they + // are disabled. The default value is true. You must disable source/destination + // checks if the instance runs services such as network address translation, + // routing, or firewalls. SourceDestCheck *AttributeBooleanValue `type:"structure"` // Set to simple to enable enhanced networking with the Intel 82599 Virtual @@ -104128,6 +104175,10 @@ type RegisterImageInput struct { // in the Amazon Elastic Compute Cloud User Guide. BlockDeviceMappings []*BlockDeviceMapping `locationName:"BlockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` + // The boot mode of the AMI. For more information, see Boot modes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + // in the Amazon Elastic Compute Cloud User Guide. + BootMode *string `type:"string" enum:"BootModeValues"` + // A description for your AMI. Description *string `locationName:"description" type:"string"` @@ -104225,6 +104276,12 @@ func (s *RegisterImageInput) SetBlockDeviceMappings(v []*BlockDeviceMapping) *Re return s } +// SetBootMode sets the BootMode field's value. +func (s *RegisterImageInput) SetBootMode(v string) *RegisterImageInput { + s.BootMode = &v + return s +} + // SetDescription sets the Description field's value. func (s *RegisterImageInput) SetDescription(v string) *RegisterImageInput { s.Description = &v @@ -122355,6 +122412,38 @@ func BgpStatus_Values() []string { } } +const ( + // BootModeTypeLegacyBios is a BootModeType enum value + BootModeTypeLegacyBios = "legacy-bios" + + // BootModeTypeUefi is a BootModeType enum value + BootModeTypeUefi = "uefi" +) + +// BootModeType_Values returns all elements of the BootModeType enum +func BootModeType_Values() []string { + return []string{ + BootModeTypeLegacyBios, + BootModeTypeUefi, + } +} + +const ( + // BootModeValuesLegacyBios is a BootModeValues enum value + BootModeValuesLegacyBios = "legacy-bios" + + // BootModeValuesUefi is a BootModeValues enum value + BootModeValuesUefi = "uefi" +) + +// BootModeValues_Values returns all elements of the BootModeValues enum +func BootModeValues_Values() []string { + return []string{ + BootModeValuesLegacyBios, + BootModeValuesUefi, + } +} + const ( // BundleTaskStatePending is a BundleTaskState enum value BundleTaskStatePending = "pending" @@ -123708,6 +123797,9 @@ const ( // ImageAttributeNameSriovNetSupport is a ImageAttributeName enum value ImageAttributeNameSriovNetSupport = "sriovNetSupport" + + // ImageAttributeNameBootMode is a ImageAttributeName enum value + ImageAttributeNameBootMode = "bootMode" ) // ImageAttributeName_Values returns all elements of the ImageAttributeName enum @@ -123720,6 +123812,7 @@ func ImageAttributeName_Values() []string { ImageAttributeNameProductCodes, ImageAttributeNameBlockDeviceMapping, ImageAttributeNameSriovNetSupport, + ImageAttributeNameBootMode, } } diff --git a/service/macie2/api.go b/service/macie2/api.go index 92b5684b312..0f53ec6020b 100644 --- a/service/macie2/api.go +++ b/service/macie2/api.go @@ -3215,6 +3215,111 @@ func (c *Macie2) GetFindingsFilterWithContext(ctx aws.Context, input *GetFinding return out, req.Send() } +const opGetFindingsPublicationConfiguration = "GetFindingsPublicationConfiguration" + +// GetFindingsPublicationConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the GetFindingsPublicationConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetFindingsPublicationConfiguration for more information on using the GetFindingsPublicationConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetFindingsPublicationConfigurationRequest method. +// req, resp := client.GetFindingsPublicationConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration +func (c *Macie2) GetFindingsPublicationConfigurationRequest(input *GetFindingsPublicationConfigurationInput) (req *request.Request, output *GetFindingsPublicationConfigurationOutput) { + op := &request.Operation{ + Name: opGetFindingsPublicationConfiguration, + HTTPMethod: "GET", + HTTPPath: "/findings-publication-configuration", + } + + if input == nil { + input = &GetFindingsPublicationConfigurationInput{} + } + + output = &GetFindingsPublicationConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetFindingsPublicationConfiguration API operation for Amazon Macie 2. +// +// Retrieves the configuration settings for publishing findings to AWS Security +// Hub. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation GetFindingsPublicationConfiguration for usage and error information. +// +// Returned Error Types: +// * ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// * InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// * ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. +// +// * AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// * ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// * ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// * ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration +func (c *Macie2) GetFindingsPublicationConfiguration(input *GetFindingsPublicationConfigurationInput) (*GetFindingsPublicationConfigurationOutput, error) { + req, out := c.GetFindingsPublicationConfigurationRequest(input) + return out, req.Send() +} + +// GetFindingsPublicationConfigurationWithContext is the same as GetFindingsPublicationConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See GetFindingsPublicationConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) GetFindingsPublicationConfigurationWithContext(ctx aws.Context, input *GetFindingsPublicationConfigurationInput, opts ...request.Option) (*GetFindingsPublicationConfigurationOutput, error) { + req, out := c.GetFindingsPublicationConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetInvitationsCount = "GetInvitationsCount" // GetInvitationsCountRequest generates a "aws/request.Request" representing the @@ -5220,6 +5325,112 @@ func (c *Macie2) PutClassificationExportConfigurationWithContext(ctx aws.Context return out, req.Send() } +const opPutFindingsPublicationConfiguration = "PutFindingsPublicationConfiguration" + +// PutFindingsPublicationConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the PutFindingsPublicationConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutFindingsPublicationConfiguration for more information on using the PutFindingsPublicationConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutFindingsPublicationConfigurationRequest method. +// req, resp := client.PutFindingsPublicationConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration +func (c *Macie2) PutFindingsPublicationConfigurationRequest(input *PutFindingsPublicationConfigurationInput) (req *request.Request, output *PutFindingsPublicationConfigurationOutput) { + op := &request.Operation{ + Name: opPutFindingsPublicationConfiguration, + HTTPMethod: "PUT", + HTTPPath: "/findings-publication-configuration", + } + + if input == nil { + input = &PutFindingsPublicationConfigurationInput{} + } + + output = &PutFindingsPublicationConfigurationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// PutFindingsPublicationConfiguration API operation for Amazon Macie 2. +// +// Updates the configuration settings for publishing findings to AWS Security +// Hub. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation PutFindingsPublicationConfiguration for usage and error information. +// +// Returned Error Types: +// * ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// * InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// * ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. +// +// * AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// * ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// * ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// * ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration +func (c *Macie2) PutFindingsPublicationConfiguration(input *PutFindingsPublicationConfigurationInput) (*PutFindingsPublicationConfigurationOutput, error) { + req, out := c.PutFindingsPublicationConfigurationRequest(input) + return out, req.Send() +} + +// PutFindingsPublicationConfigurationWithContext is the same as PutFindingsPublicationConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See PutFindingsPublicationConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) PutFindingsPublicationConfigurationWithContext(ctx aws.Context, input *PutFindingsPublicationConfigurationInput, opts ...request.Option) (*PutFindingsPublicationConfigurationOutput, error) { + req, out := c.PutFindingsPublicationConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opTagResource = "TagResource" // TagResourceRequest generates a "aws/request.Request" representing the @@ -9275,8 +9486,9 @@ type EnableMacieInput struct { // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to AWS Security Hub and - // Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values - // are: + // Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, + // see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) + // in the Amazon Macie User Guide. Valid values are: FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` // The status of an Amazon Macie account. Valid values are: @@ -10488,6 +10700,49 @@ func (s *GetFindingsOutput) SetFindings(v []*Finding) *GetFindingsOutput { return s } +type GetFindingsPublicationConfigurationInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s GetFindingsPublicationConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetFindingsPublicationConfigurationInput) GoString() string { + return s.String() +} + +// Provides information about the current configuration settings for publishing +// findings to AWS Security Hub automatically. +type GetFindingsPublicationConfigurationOutput struct { + _ struct{} `type:"structure"` + + // Specifies configuration settings that determine which findings are published + // to AWS Security Hub automatically. For information about how Macie publishes + // findings to Security Hub, see Amazon Macie integration with Security Hub + // (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html) + // in the Amazon Macie User Guide. + SecurityHubConfiguration *SecurityHubConfiguration `locationName:"securityHubConfiguration" type:"structure"` +} + +// String returns the string representation +func (s GetFindingsPublicationConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetFindingsPublicationConfigurationOutput) GoString() string { + return s.String() +} + +// SetSecurityHubConfiguration sets the SecurityHubConfiguration field's value. +func (s *GetFindingsPublicationConfigurationOutput) SetSecurityHubConfiguration(v *SecurityHubConfiguration) *GetFindingsPublicationConfigurationOutput { + s.SecurityHubConfiguration = v + return s +} + type GetInvitationsCountInput struct { _ struct{} `type:"structure"` } @@ -10549,8 +10804,9 @@ type GetMacieSessionOutput struct { // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to AWS Security Hub and - // Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values - // are: + // Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, + // see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) + // in the Amazon Macie User Guide. Valid values are: FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` ServiceRole *string `locationName:"serviceRole" type:"string"` @@ -12767,6 +13023,72 @@ func (s *PutClassificationExportConfigurationOutput) SetConfiguration(v *Classif return s } +// Specifies configuration settings for publishing findings to AWS Security +// Hub automatically. +type PutFindingsPublicationConfigurationInput struct { + _ struct{} `type:"structure"` + + ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` + + // Specifies configuration settings that determine which findings are published + // to AWS Security Hub automatically. For information about how Macie publishes + // findings to Security Hub, see Amazon Macie integration with Security Hub + // (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html) + // in the Amazon Macie User Guide. + SecurityHubConfiguration *SecurityHubConfiguration `locationName:"securityHubConfiguration" type:"structure"` +} + +// String returns the string representation +func (s PutFindingsPublicationConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutFindingsPublicationConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutFindingsPublicationConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutFindingsPublicationConfigurationInput"} + if s.SecurityHubConfiguration != nil { + if err := s.SecurityHubConfiguration.Validate(); err != nil { + invalidParams.AddNested("SecurityHubConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *PutFindingsPublicationConfigurationInput) SetClientToken(v string) *PutFindingsPublicationConfigurationInput { + s.ClientToken = &v + return s +} + +// SetSecurityHubConfiguration sets the SecurityHubConfiguration field's value. +func (s *PutFindingsPublicationConfigurationInput) SetSecurityHubConfiguration(v *SecurityHubConfiguration) *PutFindingsPublicationConfigurationInput { + s.SecurityHubConfiguration = v + return s +} + +type PutFindingsPublicationConfigurationOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s PutFindingsPublicationConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutFindingsPublicationConfigurationOutput) GoString() string { + return s.String() +} + // Provides details about the location of an occurrence of sensitive data in // an Adobe Portable Document Format file, Microsoft Word document, or non-binary // text file. @@ -13402,6 +13724,59 @@ func (s *Scoping) SetIncludes(v *JobScopingBlock) *Scoping { return s } +// Specifies configuration settings that determine which findings are published +// to AWS Security Hub automatically. For information about how Macie publishes +// findings to Security Hub, see Amazon Macie integration with Security Hub +// (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html) +// in the Amazon Macie User Guide. +type SecurityHubConfiguration struct { + _ struct{} `type:"structure"` + + // PublishClassificationFindings is a required field + PublishClassificationFindings *bool `locationName:"publishClassificationFindings" type:"boolean" required:"true"` + + // PublishPolicyFindings is a required field + PublishPolicyFindings *bool `locationName:"publishPolicyFindings" type:"boolean" required:"true"` +} + +// String returns the string representation +func (s SecurityHubConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SecurityHubConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SecurityHubConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SecurityHubConfiguration"} + if s.PublishClassificationFindings == nil { + invalidParams.Add(request.NewErrParamRequired("PublishClassificationFindings")) + } + if s.PublishPolicyFindings == nil { + invalidParams.Add(request.NewErrParamRequired("PublishPolicyFindings")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPublishClassificationFindings sets the PublishClassificationFindings field's value. +func (s *SecurityHubConfiguration) SetPublishClassificationFindings(v bool) *SecurityHubConfiguration { + s.PublishClassificationFindings = &v + return s +} + +// SetPublishPolicyFindings sets the PublishPolicyFindings field's value. +func (s *SecurityHubConfiguration) SetPublishPolicyFindings(v bool) *SecurityHubConfiguration { + s.PublishPolicyFindings = &v + return s +} + // Provides information about the category, types, and occurrences of sensitive // data that produced a sensitive data finding. type SensitiveDataItem struct { @@ -14446,8 +14821,9 @@ type UpdateMacieSessionInput struct { // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to AWS Security Hub and - // Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values - // are: + // Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, + // see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) + // in the Amazon Macie User Guide. Valid values are: FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` // The status of an Amazon Macie account. Valid values are: @@ -15248,8 +15624,9 @@ func FindingCategory_Values() []string { // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to AWS Security Hub and -// Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values -// are: +// Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, +// see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) +// in the Amazon Macie User Guide. Valid values are: const ( // FindingPublishingFrequencyFifteenMinutes is a FindingPublishingFrequency enum value FindingPublishingFrequencyFifteenMinutes = "FIFTEEN_MINUTES" diff --git a/service/macie2/doc.go b/service/macie2/doc.go index 42c29162434..ccbd68e5485 100644 --- a/service/macie2/doc.go +++ b/service/macie2/doc.go @@ -8,7 +8,7 @@ // data in AWS. Macie automates the discovery of sensitive data, such as PII // and intellectual property, to provide you with insight into the data that // your organization stores in AWS. Macie also provides an inventory of your -// Amazon S3 buckets, which it continually monitors for you. If Macie detects +// Amazon S3 buckets, which it continually monitors foryou. If Macie detects // sensitive data or potential data access issues, it generates detailed findings // for you to review and act upon as necessary. // diff --git a/service/macie2/macie2iface/interface.go b/service/macie2/macie2iface/interface.go index 3445dd838d3..6331bb2f5fe 100644 --- a/service/macie2/macie2iface/interface.go +++ b/service/macie2/macie2iface/interface.go @@ -183,6 +183,10 @@ type Macie2API interface { GetFindingsFilterWithContext(aws.Context, *macie2.GetFindingsFilterInput, ...request.Option) (*macie2.GetFindingsFilterOutput, error) GetFindingsFilterRequest(*macie2.GetFindingsFilterInput) (*request.Request, *macie2.GetFindingsFilterOutput) + GetFindingsPublicationConfiguration(*macie2.GetFindingsPublicationConfigurationInput) (*macie2.GetFindingsPublicationConfigurationOutput, error) + GetFindingsPublicationConfigurationWithContext(aws.Context, *macie2.GetFindingsPublicationConfigurationInput, ...request.Option) (*macie2.GetFindingsPublicationConfigurationOutput, error) + GetFindingsPublicationConfigurationRequest(*macie2.GetFindingsPublicationConfigurationInput) (*request.Request, *macie2.GetFindingsPublicationConfigurationOutput) + GetInvitationsCount(*macie2.GetInvitationsCountInput) (*macie2.GetInvitationsCountOutput, error) GetInvitationsCountWithContext(aws.Context, *macie2.GetInvitationsCountInput, ...request.Option) (*macie2.GetInvitationsCountOutput, error) GetInvitationsCountRequest(*macie2.GetInvitationsCountInput) (*request.Request, *macie2.GetInvitationsCountOutput) @@ -267,6 +271,10 @@ type Macie2API interface { PutClassificationExportConfigurationWithContext(aws.Context, *macie2.PutClassificationExportConfigurationInput, ...request.Option) (*macie2.PutClassificationExportConfigurationOutput, error) PutClassificationExportConfigurationRequest(*macie2.PutClassificationExportConfigurationInput) (*request.Request, *macie2.PutClassificationExportConfigurationOutput) + PutFindingsPublicationConfiguration(*macie2.PutFindingsPublicationConfigurationInput) (*macie2.PutFindingsPublicationConfigurationOutput, error) + PutFindingsPublicationConfigurationWithContext(aws.Context, *macie2.PutFindingsPublicationConfigurationInput, ...request.Option) (*macie2.PutFindingsPublicationConfigurationOutput, error) + PutFindingsPublicationConfigurationRequest(*macie2.PutFindingsPublicationConfigurationInput) (*request.Request, *macie2.PutFindingsPublicationConfigurationOutput) + TagResource(*macie2.TagResourceInput) (*macie2.TagResourceOutput, error) TagResourceWithContext(aws.Context, *macie2.TagResourceInput, ...request.Option) (*macie2.TagResourceOutput, error) TagResourceRequest(*macie2.TagResourceInput) (*request.Request, *macie2.TagResourceOutput) diff --git a/service/redshift/api.go b/service/redshift/api.go index 7e3362b999c..19e9ac1e45e 100644 --- a/service/redshift/api.go +++ b/service/redshift/api.go @@ -7793,6 +7793,88 @@ func (c *Redshift) GetReservedNodeExchangeOfferingsPagesWithContext(ctx aws.Cont return p.Err() } +const opModifyAquaConfiguration = "ModifyAquaConfiguration" + +// ModifyAquaConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the ModifyAquaConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyAquaConfiguration for more information on using the ModifyAquaConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ModifyAquaConfigurationRequest method. +// req, resp := client.ModifyAquaConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyAquaConfiguration +func (c *Redshift) ModifyAquaConfigurationRequest(input *ModifyAquaConfigurationInput) (req *request.Request, output *ModifyAquaConfigurationOutput) { + op := &request.Operation{ + Name: opModifyAquaConfiguration, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyAquaConfigurationInput{} + } + + output = &ModifyAquaConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyAquaConfiguration API operation for Amazon Redshift. +// +// Modifies whether a cluster can use AQUA (Advanced Query Accelerator). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Redshift's +// API operation ModifyAquaConfiguration for usage and error information. +// +// Returned Error Codes: +// * ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyAquaConfiguration +func (c *Redshift) ModifyAquaConfiguration(input *ModifyAquaConfigurationInput) (*ModifyAquaConfigurationOutput, error) { + req, out := c.ModifyAquaConfigurationRequest(input) + return out, req.Send() +} + +// ModifyAquaConfigurationWithContext is the same as ModifyAquaConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyAquaConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Redshift) ModifyAquaConfigurationWithContext(ctx aws.Context, input *ModifyAquaConfigurationInput, opts ...request.Option) (*ModifyAquaConfigurationOutput, error) { + req, out := c.ModifyAquaConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opModifyCluster = "ModifyCluster" // ModifyClusterRequest generates a "aws/request.Request" representing the @@ -10299,6 +10381,54 @@ func (s *AccountWithRestoreAccess) SetAccountId(v string) *AccountWithRestoreAcc return s } +// The AQUA (Advanced Query Accelerator) configuration of the cluster. +type AquaConfiguration struct { + _ struct{} `type:"structure"` + + // The value represents how the cluster is configured to use AQUA. Possible + // values include the following. + // + // * enabled - Use AQUA if it is available for the current AWS Region and + // Amazon Redshift node type. + // + // * disabled - Don't use AQUA. + // + // * auto - Amazon Redshift determines whether to use AQUA. + AquaConfigurationStatus *string `type:"string" enum:"AquaConfigurationStatus"` + + // The value indicates the status of AQUA on the cluster. Possible values include + // the following. + // + // * enabled - AQUA is enabled. + // + // * disabled - AQUA is not enabled. + // + // * applying - AQUA status is being applied. + AquaStatus *string `type:"string" enum:"AquaStatus"` +} + +// String returns the string representation +func (s AquaConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AquaConfiguration) GoString() string { + return s.String() +} + +// SetAquaConfigurationStatus sets the AquaConfigurationStatus field's value. +func (s *AquaConfiguration) SetAquaConfigurationStatus(v string) *AquaConfiguration { + s.AquaConfigurationStatus = &v + return s +} + +// SetAquaStatus sets the AquaStatus field's value. +func (s *AquaConfiguration) SetAquaStatus(v string) *AquaConfiguration { + s.AquaStatus = &v + return s +} + // Describes an attribute value. type AttributeValueTarget struct { _ struct{} `type:"structure"` @@ -10945,6 +11075,9 @@ type Cluster struct { // be applied automatically to the cluster during the maintenance window. AllowVersionUpgrade *bool `type:"boolean"` + // The AQUA (Advanced Query Accelerator) configuration of the cluster. + AquaConfiguration *AquaConfiguration `type:"structure"` + // The number of days that automatic cluster snapshots are retained. AutomatedSnapshotRetentionPeriod *int64 `type:"integer"` @@ -11209,6 +11342,12 @@ func (s *Cluster) SetAllowVersionUpgrade(v bool) *Cluster { return s } +// SetAquaConfiguration sets the AquaConfiguration field's value. +func (s *Cluster) SetAquaConfiguration(v *AquaConfiguration) *Cluster { + s.AquaConfiguration = v + return s +} + // SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. func (s *Cluster) SetAutomatedSnapshotRetentionPeriod(v int64) *Cluster { s.AutomatedSnapshotRetentionPeriod = &v @@ -12265,6 +12404,17 @@ type CreateClusterInput struct { // Default: true AllowVersionUpgrade *bool `type:"boolean"` + // The value represents how the cluster is configured to use AQUA (Advanced + // Query Accelerator) when it is created. Possible values include the following. + // + // * enabled - Use AQUA if it is available for the current AWS Region and + // Amazon Redshift node type. + // + // * disabled - Don't use AQUA. + // + // * auto - Amazon Redshift determines whether to use AQUA. + AquaConfigurationStatus *string `type:"string" enum:"AquaConfigurationStatus"` + // The number of days that automated snapshots are retained. If the value is // 0, automated snapshots are disabled. Even if automated snapshots are disabled, // you can still create manual snapshots when you want with CreateClusterSnapshot. @@ -12586,6 +12736,12 @@ func (s *CreateClusterInput) SetAllowVersionUpgrade(v bool) *CreateClusterInput return s } +// SetAquaConfigurationStatus sets the AquaConfigurationStatus field's value. +func (s *CreateClusterInput) SetAquaConfigurationStatus(v string) *CreateClusterInput { + s.AquaConfigurationStatus = &v + return s +} + // SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. func (s *CreateClusterInput) SetAutomatedSnapshotRetentionPeriod(v int64) *CreateClusterInput { s.AutomatedSnapshotRetentionPeriod = &v @@ -20049,6 +20205,83 @@ func (s *MaintenanceTrack) SetUpdateTargets(v []*UpdateTarget) *MaintenanceTrack return s } +type ModifyAquaConfigurationInput struct { + _ struct{} `type:"structure"` + + // The new value of AQUA configuration status. Possible values include the following. + // + // * enabled - Use AQUA if it is available for the current AWS Region and + // Amazon Redshift node type. + // + // * disabled - Don't use AQUA. + // + // * auto - Amazon Redshift determines whether to use AQUA. + AquaConfigurationStatus *string `type:"string" enum:"AquaConfigurationStatus"` + + // The identifier of the cluster to be modified. + // + // ClusterIdentifier is a required field + ClusterIdentifier *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s ModifyAquaConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyAquaConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyAquaConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyAquaConfigurationInput"} + if s.ClusterIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ClusterIdentifier")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAquaConfigurationStatus sets the AquaConfigurationStatus field's value. +func (s *ModifyAquaConfigurationInput) SetAquaConfigurationStatus(v string) *ModifyAquaConfigurationInput { + s.AquaConfigurationStatus = &v + return s +} + +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *ModifyAquaConfigurationInput) SetClusterIdentifier(v string) *ModifyAquaConfigurationInput { + s.ClusterIdentifier = &v + return s +} + +type ModifyAquaConfigurationOutput struct { + _ struct{} `type:"structure"` + + // The updated AQUA configuration of the cluster. + AquaConfiguration *AquaConfiguration `type:"structure"` +} + +// String returns the string representation +func (s ModifyAquaConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyAquaConfigurationOutput) GoString() string { + return s.String() +} + +// SetAquaConfiguration sets the AquaConfiguration field's value. +func (s *ModifyAquaConfigurationOutput) SetAquaConfiguration(v *AquaConfiguration) *ModifyAquaConfigurationOutput { + s.AquaConfiguration = v + return s +} + type ModifyClusterDbRevisionInput struct { _ struct{} `type:"structure"` @@ -23054,6 +23287,18 @@ type RestoreFromClusterSnapshotInput struct { // Default: true AllowVersionUpgrade *bool `type:"boolean"` + // The value represents how the cluster is configured to use AQUA (Advanced + // Query Accelerator) after the cluster is restored. Possible values include + // the following. + // + // * enabled - Use AQUA if it is available for the current AWS Region and + // Amazon Redshift node type. + // + // * disabled - Don't use AQUA. + // + // * auto - Amazon Redshift determines whether to use AQUA. + AquaConfigurationStatus *string `type:"string" enum:"AquaConfigurationStatus"` + // The number of days that automated snapshots are retained. If the value is // 0, automated snapshots are disabled. Even if automated snapshots are disabled, // you can still create manual snapshots when you want with CreateClusterSnapshot. @@ -23283,6 +23528,12 @@ func (s *RestoreFromClusterSnapshotInput) SetAllowVersionUpgrade(v bool) *Restor return s } +// SetAquaConfigurationStatus sets the AquaConfigurationStatus field's value. +func (s *RestoreFromClusterSnapshotInput) SetAquaConfigurationStatus(v string) *RestoreFromClusterSnapshotInput { + s.AquaConfigurationStatus = &v + return s +} + // SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. func (s *RestoreFromClusterSnapshotInput) SetAutomatedSnapshotRetentionPeriod(v int64) *RestoreFromClusterSnapshotInput { s.AutomatedSnapshotRetentionPeriod = &v @@ -25467,6 +25718,46 @@ func ActionType_Values() []string { } } +const ( + // AquaConfigurationStatusEnabled is a AquaConfigurationStatus enum value + AquaConfigurationStatusEnabled = "enabled" + + // AquaConfigurationStatusDisabled is a AquaConfigurationStatus enum value + AquaConfigurationStatusDisabled = "disabled" + + // AquaConfigurationStatusAuto is a AquaConfigurationStatus enum value + AquaConfigurationStatusAuto = "auto" +) + +// AquaConfigurationStatus_Values returns all elements of the AquaConfigurationStatus enum +func AquaConfigurationStatus_Values() []string { + return []string{ + AquaConfigurationStatusEnabled, + AquaConfigurationStatusDisabled, + AquaConfigurationStatusAuto, + } +} + +const ( + // AquaStatusEnabled is a AquaStatus enum value + AquaStatusEnabled = "enabled" + + // AquaStatusDisabled is a AquaStatus enum value + AquaStatusDisabled = "disabled" + + // AquaStatusApplying is a AquaStatus enum value + AquaStatusApplying = "applying" +) + +// AquaStatus_Values returns all elements of the AquaStatus enum +func AquaStatus_Values() []string { + return []string{ + AquaStatusEnabled, + AquaStatusDisabled, + AquaStatusApplying, + } +} + const ( // ModeStandard is a Mode enum value ModeStandard = "standard" diff --git a/service/redshift/redshiftiface/interface.go b/service/redshift/redshiftiface/interface.go index 7f89b4679c1..b6ba894e792 100644 --- a/service/redshift/redshiftiface/interface.go +++ b/service/redshift/redshiftiface/interface.go @@ -407,6 +407,10 @@ type RedshiftAPI interface { GetReservedNodeExchangeOfferingsPages(*redshift.GetReservedNodeExchangeOfferingsInput, func(*redshift.GetReservedNodeExchangeOfferingsOutput, bool) bool) error GetReservedNodeExchangeOfferingsPagesWithContext(aws.Context, *redshift.GetReservedNodeExchangeOfferingsInput, func(*redshift.GetReservedNodeExchangeOfferingsOutput, bool) bool, ...request.Option) error + ModifyAquaConfiguration(*redshift.ModifyAquaConfigurationInput) (*redshift.ModifyAquaConfigurationOutput, error) + ModifyAquaConfigurationWithContext(aws.Context, *redshift.ModifyAquaConfigurationInput, ...request.Option) (*redshift.ModifyAquaConfigurationOutput, error) + ModifyAquaConfigurationRequest(*redshift.ModifyAquaConfigurationInput) (*request.Request, *redshift.ModifyAquaConfigurationOutput) + ModifyCluster(*redshift.ModifyClusterInput) (*redshift.ModifyClusterOutput, error) ModifyClusterWithContext(aws.Context, *redshift.ModifyClusterInput, ...request.Option) (*redshift.ModifyClusterOutput, error) ModifyClusterRequest(*redshift.ModifyClusterInput) (*request.Request, *redshift.ModifyClusterOutput)