diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dd7d3e80d..a5d00e228f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +Release v1.44.12 (2022-05-11) +=== + +### Service Client Updates +* `service/ec2`: Updates service API and documentation + * This release updates AWS PrivateLink APIs to support IPv6 for PrivateLink Services and Endpoints of type 'Interface'. +* `service/secretsmanager`: Updates service documentation and examples + * Doc only update for Secrets Manager that fixes several customer-reported issues. + Release v1.44.11 (2022-05-10) === diff --git a/aws/version.go b/aws/version.go index d86f9e2afe..aee0e587d4 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.44.11" +const SDKVersion = "1.44.12" diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 1cd01570bf..c48c89c73c 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -10149,15 +10149,15 @@ "ReservationType" ], "members":{ - "TagSpecifications":{ - "shape":"TagSpecificationList", - "locationName":"TagSpecification" - }, "SubnetId":{"shape":"SubnetId"}, "Cidr":{"shape":"String"}, "ReservationType":{"shape":"SubnetCidrReservationType"}, "Description":{"shape":"String"}, - "DryRun":{"shape":"Boolean"} + "DryRun":{"shape":"Boolean"}, + "TagSpecifications":{ + "shape":"TagSpecificationList", + "locationName":"TagSpecification" + } } }, "CreateSubnetCidrReservationResult":{ @@ -10707,6 +10707,8 @@ "shape":"VpcEndpointSecurityGroupIdList", "locationName":"SecurityGroupId" }, + "IpAddressType":{"shape":"IpAddressType"}, + "DnsOptions":{"shape":"DnsOptionsSpecification"}, "ClientToken":{"shape":"String"}, "PrivateDnsEnabled":{"shape":"Boolean"}, "TagSpecifications":{ @@ -10742,6 +10744,10 @@ "shape":"ValueStringList", "locationName":"GatewayLoadBalancerArn" }, + "SupportedIpAddressTypes":{ + "shape":"ValueStringList", + "locationName":"SupportedIpAddressType" + }, "ClientToken":{"shape":"String"}, "TagSpecifications":{ "shape":"TagSpecificationList", @@ -17541,6 +17547,30 @@ "failed" ] }, + "DnsOptions":{ + "type":"structure", + "members":{ + "DnsRecordIpType":{ + "shape":"DnsRecordIpType", + "locationName":"dnsRecordIpType" + } + } + }, + "DnsOptionsSpecification":{ + "type":"structure", + "members":{ + "DnsRecordIpType":{"shape":"DnsRecordIpType"} + } + }, + "DnsRecordIpType":{ + "type":"string", + "enum":[ + "ipv4", + "dualstack", + "ipv6", + "service-defined" + ] + }, "DnsServersOptionsModifyStructure":{ "type":"structure", "members":{ @@ -24500,6 +24530,14 @@ "locationName":"item" } }, + "IpAddressType":{ + "type":"string", + "enum":[ + "ipv4", + "dualstack", + "ipv6" + ] + }, "IpPermission":{ "type":"structure", "members":{ @@ -28316,6 +28354,8 @@ "shape":"VpcEndpointSecurityGroupIdList", "locationName":"RemoveSecurityGroupId" }, + "IpAddressType":{"shape":"IpAddressType"}, + "DnsOptions":{"shape":"DnsOptionsSpecification"}, "PrivateDnsEnabled":{"shape":"Boolean"} } }, @@ -28352,6 +28392,14 @@ "RemoveGatewayLoadBalancerArns":{ "shape":"ValueStringList", "locationName":"RemoveGatewayLoadBalancerArn" + }, + "AddSupportedIpAddressTypes":{ + "shape":"ValueStringList", + "locationName":"AddSupportedIpAddressType" + }, + "RemoveSupportedIpAddressTypes":{ + "shape":"ValueStringList", + "locationName":"RemoveSupportedIpAddressType" } } }, @@ -34415,6 +34463,10 @@ "shape":"ValueStringList", "locationName":"gatewayLoadBalancerArnSet" }, + "SupportedIpAddressTypes":{ + "shape":"SupportedIpAddressTypes", + "locationName":"supportedIpAddressTypeSet" + }, "BaseEndpointDnsNames":{ "shape":"ValueStringList", "locationName":"baseEndpointDnsNameSet" @@ -34444,6 +34496,13 @@ "locationName":"item" } }, + "ServiceConnectivityType":{ + "type":"string", + "enum":[ + "ipv4", + "ipv6" + ] + }, "ServiceDetail":{ "type":"structure", "members":{ @@ -34502,6 +34561,10 @@ "PrivateDnsNameVerificationState":{ "shape":"DnsNameState", "locationName":"privateDnsNameVerificationState" + }, + "SupportedIpAddressTypes":{ + "shape":"SupportedIpAddressTypes", + "locationName":"supportedIpAddressTypeSet" } } }, @@ -36145,6 +36208,15 @@ "initializing" ] }, + "SupportedIpAddressTypes":{ + "type":"list", + "member":{ + "shape":"ServiceConnectivityType", + "locationName":"item" + }, + "max":2, + "min":0 + }, "Tag":{ "type":"structure", "members":{ @@ -39227,6 +39299,14 @@ "shape":"GroupIdentifierSet", "locationName":"groupSet" }, + "IpAddressType":{ + "shape":"IpAddressType", + "locationName":"ipAddressType" + }, + "DnsOptions":{ + "shape":"DnsOptions", + "locationName":"dnsOptions" + }, "PrivateDnsEnabled":{ "shape":"Boolean", "locationName":"privateDnsEnabled" @@ -39295,6 +39375,10 @@ "GatewayLoadBalancerArns":{ "shape":"ValueStringList", "locationName":"gatewayLoadBalancerArnSet" + }, + "IpAddressType":{ + "shape":"IpAddressType", + "locationName":"ipAddressType" } } }, diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index bea269657c..b268b6717c 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -2409,7 +2409,7 @@ "Vpc$IsDefault": "

Indicates whether the VPC is the default VPC.

", "VpcClassicLink$ClassicLinkEnabled": "

Indicates whether the VPC is enabled for ClassicLink.

", "VpcEndpoint$PrivateDnsEnabled": "

(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.

", - "VpcEndpoint$RequesterManaged": "

Indicates whether the VPC endpoint is being managed by its service.

", + "VpcEndpoint$RequesterManaged": "

Indicates whether the endpoint is being managed by its service.

", "VpcPeeringConnectionOptionsDescription$AllowDnsResolutionFromRemoteVpc": "

Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC.

", "VpcPeeringConnectionOptionsDescription$AllowEgressFromLocalClassicLinkToRemoteVpc": "

Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.

", "VpcPeeringConnectionOptionsDescription$AllowEgressFromLocalVpcToRemoteClassicLink": "

Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.

", @@ -7145,6 +7145,26 @@ "ServiceDetail$PrivateDnsNameVerificationState": "

The verification state of the VPC endpoint service.

Consumers of the endpoint service cannot use the private name when the state is not verified.

" } }, + "DnsOptions": { + "base": "

Describes the DNS options for an endpoint.

", + "refs": { + "VpcEndpoint$DnsOptions": "

The DNS options for the endpoint.

" + } + }, + "DnsOptionsSpecification": { + "base": "

Describes the DNS options for an endpoint.

", + "refs": { + "CreateVpcEndpointRequest$DnsOptions": "

The DNS options for the endpoint.

", + "ModifyVpcEndpointRequest$DnsOptions": "

The DNS options for the endpoint.

" + } + }, + "DnsRecordIpType": { + "base": null, + "refs": { + "DnsOptions$DnsRecordIpType": "

The DNS records created for the endpoint.

", + "DnsOptionsSpecification$DnsRecordIpType": "

The DNS records created for the endpoint.

" + } + }, "DnsServersOptionsModifyStructure": { "base": "

Information about the DNS server to be used.

", "refs": { @@ -8010,11 +8030,11 @@ "DescribeVolumesRequest$Filters": "

The filters.

", "DescribeVpcClassicLinkRequest$Filters": "

One or more filters.

", "DescribeVpcEndpointConnectionNotificationsRequest$Filters": "

One or more filters.

", - "DescribeVpcEndpointConnectionsRequest$Filters": "

One or more filters.

", - "DescribeVpcEndpointServiceConfigurationsRequest$Filters": "

One or more filters.

", + "DescribeVpcEndpointConnectionsRequest$Filters": "

One or more filters.

", + "DescribeVpcEndpointServiceConfigurationsRequest$Filters": "

One or more filters.

", "DescribeVpcEndpointServicePermissionsRequest$Filters": "

One or more filters.

", - "DescribeVpcEndpointServicesRequest$Filters": "

One or more filters.

", - "DescribeVpcEndpointsRequest$Filters": "

One or more filters.

", + "DescribeVpcEndpointServicesRequest$Filters": "

One or more filters.

", + "DescribeVpcEndpointsRequest$Filters": "

One or more filters.

", "DescribeVpcPeeringConnectionsRequest$Filters": "

One or more filters.

", "DescribeVpcsRequest$Filters": "

One or more filters.

", "DescribeVpnConnectionsRequest$Filters": "

One or more filters.

", @@ -10661,6 +10681,15 @@ "Explanation$Addresses": "

The IPv4 addresses, in CIDR notation.

" } }, + "IpAddressType": { + "base": null, + "refs": { + "CreateVpcEndpointRequest$IpAddressType": "

The IP address type for the endpoint.

", + "ModifyVpcEndpointRequest$IpAddressType": "

The IP address type for the endpoint.

", + "VpcEndpoint$IpAddressType": "

The IP address type for the endpoint.

", + "VpcEndpointConnection$IpAddressType": "

The IP address type for the endpoint.

" + } + }, "IpPermission": { "base": "

Describes a set of permissions for a security group rule.

", "refs": { @@ -11307,7 +11336,7 @@ "LastError": { "base": "

The last error that occurred for a VPC endpoint.

", "refs": { - "VpcEndpoint$LastError": "

The last error that occurred for VPC endpoint.

" + "VpcEndpoint$LastError": "

The last error that occurred for endpoint.

" } }, "LaunchPermission": { @@ -12352,7 +12381,7 @@ "StoreImageTaskResult$TaskStartTime": "

The time the task started.

", "VolumeStatusEvent$NotAfter": "

The latest end time of the event.

", "VolumeStatusEvent$NotBefore": "

The earliest start time of the event.

", - "VpcEndpoint$CreationTimestamp": "

The date and time that the VPC endpoint was created.

", + "VpcEndpoint$CreationTimestamp": "

The date and time that the endpoint was created.

", "VpcEndpointConnection$CreationTimestamp": "

The date and time that the VPC endpoint was created.

" } }, @@ -15820,6 +15849,12 @@ "DescribeVpcEndpointServiceConfigurationsResult$ServiceConfigurations": "

Information about one or more services.

" } }, + "ServiceConnectivityType": { + "base": null, + "refs": { + "SupportedIpAddressTypes$member": null + } + }, "ServiceDetail": { "base": "

Describes a VPC endpoint service.

", "refs": { @@ -16270,7 +16305,7 @@ "State": { "base": null, "refs": { - "VpcEndpoint$State": "

The state of the VPC endpoint.

", + "VpcEndpoint$State": "

The state of the endpoint.

", "VpcEndpointConnection$VpcEndpointState": "

The state of the VPC endpoint.

" } }, @@ -18134,11 +18169,11 @@ "VpcCidrBlockAssociation$CidrBlock": "

The IPv4 CIDR block.

", "VpcCidrBlockState$StatusMessage": "

A message about the status of the CIDR block, if applicable.

", "VpcClassicLink$VpcId": "

The ID of the VPC.

", - "VpcEndpoint$VpcEndpointId": "

The ID of the VPC endpoint.

", + "VpcEndpoint$VpcEndpointId": "

The ID of the endpoint.

", "VpcEndpoint$VpcId": "

The ID of the VPC to which the endpoint is associated.

", "VpcEndpoint$ServiceName": "

The name of the service to which the endpoint is associated.

", "VpcEndpoint$PolicyDocument": "

The policy document associated with the endpoint, if applicable.

", - "VpcEndpoint$OwnerId": "

The ID of the Amazon Web Services account that owns the VPC endpoint.

", + "VpcEndpoint$OwnerId": "

The ID of the Amazon Web Services account that owns the endpoint.

", "VpcEndpointConnection$ServiceId": "

The ID of the service to which the endpoint is connected.

", "VpcEndpointConnection$VpcEndpointId": "

The ID of the VPC endpoint.

", "VpcEndpointConnection$VpcEndpointOwner": "

The ID of the Amazon Web Services account that owns the VPC endpoint.

", @@ -18358,6 +18393,13 @@ "InstanceStatusSummary$Status": "

The status.

" } }, + "SupportedIpAddressTypes": { + "base": null, + "refs": { + "ServiceConfiguration$SupportedIpAddressTypes": "

The supported IP address types.

", + "ServiceDetail$SupportedIpAddressTypes": "

The supported IP address types.

" + } + }, "Tag": { "base": "

Describes a tag.

", "refs": { @@ -18473,7 +18515,7 @@ "Volume$Tags": "

Any tags assigned to the volume.

", "Vpc$Tags": "

Any tags assigned to the VPC.

", "VpcClassicLink$Tags": "

Any tags assigned to the VPC.

", - "VpcEndpoint$Tags": "

Any tags assigned to the VPC endpoint.

", + "VpcEndpoint$Tags": "

Any tags assigned to the endpoint.

", "VpcPeeringConnection$Tags": "

Any tags assigned to the resource.

", "VpnConnection$Tags": "

Any tags assigned to the VPN connection.

", "VpnGateway$Tags": "

Any tags assigned to the virtual private gateway.

" @@ -19861,6 +19903,7 @@ "CreateVpcEndpointConnectionNotificationRequest$ConnectionEvents": "

One or more endpoint events for which to receive notifications. Valid values are Accept, Connect, Delete, and Reject.

", "CreateVpcEndpointServiceConfigurationRequest$NetworkLoadBalancerArns": "

The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.

", "CreateVpcEndpointServiceConfigurationRequest$GatewayLoadBalancerArns": "

The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.

", + "CreateVpcEndpointServiceConfigurationRequest$SupportedIpAddressTypes": "

The supported IP address types. The possible values are ipv4 and ipv6.

", "DescribeClientVpnTargetNetworksRequest$AssociationIds": "

The IDs of the target network associations.

", "DescribeIpamPoolsRequest$IpamPoolIds": "

The IDs of the IPAM pools you would like information on.

", "DescribeIpamScopesRequest$IpamScopeIds": "

The IDs of the scopes you want information on.

", @@ -19878,6 +19921,8 @@ "ModifyVpcEndpointServiceConfigurationRequest$RemoveNetworkLoadBalancerArns": "

The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.

", "ModifyVpcEndpointServiceConfigurationRequest$AddGatewayLoadBalancerArns": "

The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service configuration.

", "ModifyVpcEndpointServiceConfigurationRequest$RemoveGatewayLoadBalancerArns": "

The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service configuration.

", + "ModifyVpcEndpointServiceConfigurationRequest$AddSupportedIpAddressTypes": "

The IP address types to add to your service configuration.

", + "ModifyVpcEndpointServiceConfigurationRequest$RemoveSupportedIpAddressTypes": "

The IP address types to remove from your service configuration.

", "ModifyVpcEndpointServicePermissionsRequest$AddAllowedPrincipals": "

The Amazon Resource Names (ARN) of one or more principals. Permissions are granted to the principals in this list. To grant permissions to all principals, specify an asterisk (*).

", "ModifyVpcEndpointServicePermissionsRequest$RemoveAllowedPrincipals": "

The Amazon Resource Names (ARN) of one or more principals. Permissions are revoked for principals in this list.

", "NewDhcpConfiguration$Values": null, @@ -19915,7 +19960,7 @@ "TransitGatewayOptions$TransitGatewayCidrBlocks": "

The transit gateway CIDR blocks.

", "TransitGatewayVpcAttachment$SubnetIds": "

The IDs of the subnets.

", "VpcEndpoint$RouteTableIds": "

(Gateway endpoint) One or more route tables associated with the endpoint.

", - "VpcEndpoint$SubnetIds": "

(Interface endpoint) One or more subnets in which the endpoint is located.

", + "VpcEndpoint$SubnetIds": "

(Interface endpoint) The subnets for the endpoint.

", "VpcEndpoint$NetworkInterfaceIds": "

(Interface endpoint) One or more network interfaces for the endpoint.

", "VpcEndpointConnection$NetworkLoadBalancerArns": "

The Amazon Resource Names (ARNs) of the network load balancers for the service.

", "VpcEndpointConnection$GatewayLoadBalancerArns": "

The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

" diff --git a/models/apis/secretsmanager/2017-10-17/docs-2.json b/models/apis/secretsmanager/2017-10-17/docs-2.json index 73e3067b1b..116ca8bd5a 100644 --- a/models/apis/secretsmanager/2017-10-17/docs-2.json +++ b/models/apis/secretsmanager/2017-10-17/docs-2.json @@ -2,16 +2,16 @@ "version": "2.0", "service": "Amazon Web Services Secrets Manager

Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets.

This guide provides descriptions of the Secrets Manager API. For more information about using this service, see the Amazon Web Services Secrets Manager User Guide.

API Version

This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.

Support and Feedback for Amazon Web Services Secrets Manager

We welcome your feedback. Send your comments to awssecretsmanager-feedback@amazon.com, or post your feedback and questions in the Amazon Web Services Secrets Manager Discussion Forum. For more information about the Amazon Web Services Discussion Forums, see Forums Help.

Logging API Requests

Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information that's collected by Amazon Web Services CloudTrail, you can determine the requests successfully made to Secrets Manager, who made the request, when it was made, and so on. For more about Amazon Web Services Secrets Manager and support for Amazon Web Services CloudTrail, see Logging Amazon Web Services Secrets Manager Events with Amazon Web Services CloudTrail in the Amazon Web Services Secrets Manager User Guide. To learn more about CloudTrail, including enabling it and find your log files, see the Amazon Web Services CloudTrail User Guide.

", "operations": { - "CancelRotateSecret": "

Turns off automatic rotation, and if a rotation is currently in progress, cancels the rotation.

To turn on automatic rotation again, call RotateSecret.

If you cancel a rotation in progress, it can leave the VersionStage labels in an unexpected state. Depending on the step of the rotation in progress, you might need to remove the staging label AWSPENDING from the partially created version, specified by the VersionId response value. We recommend you also evaluate the partially rotated new version to see if it should be deleted. You can delete a version by removing all staging labels from it.

Required permissions: secretsmanager:CancelRotateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", + "CancelRotateSecret": "

Turns off automatic rotation, and if a rotation is currently in progress, cancels the rotation.

If you cancel a rotation in progress, it can leave the VersionStage labels in an unexpected state. You might need to remove the staging label AWSPENDING from the partially created version. You also need to determine whether to roll back to the previous version of the secret by moving the staging label AWSCURRENT to the version that has AWSPENDING. To determine which version has a specific staging label, call ListSecretVersionIds. Then use UpdateSecretVersionStage to change staging labels. For more information, see How rotation works.

To turn on automatic rotation again, call RotateSecret.

Required permissions: secretsmanager:CancelRotateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "CreateSecret": "

Creates a new secret. A secret can be a password, a set of credentials such as a user name and password, an OAuth token, or other secret information that you store in an encrypted form in Secrets Manager. The secret also includes the connection information to access a database or other service, which Secrets Manager doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the important information needed to manage the secret.

For information about creating a secret in the console, see Create a secret.

To create a secret, you can provide the secret value to be encrypted in either the SecretString parameter or the SecretBinary parameter, but not both. If you include SecretString or SecretBinary then Secrets Manager creates an initial secret version and automatically attaches the staging label AWSCURRENT to it.

For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret, you must make sure the JSON you store in the SecretString matches the JSON structure of a database secret.

If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result.

If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed KMS key.

Required permissions: secretsmanager:CreateSecret. If you include tags in the secret, you also need secretsmanager:TagResource. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

To encrypt the secret with a KMS key other than aws/secretsmanager, you need kms:GenerateDataKey and kms:Decrypt permission to the key.

", "DeleteResourcePolicy": "

Deletes the resource-based permission policy attached to the secret. To attach a policy to a secret, use PutResourcePolicy.

Required permissions: secretsmanager:DeleteResourcePolicy. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", - "DeleteSecret": "

Deletes a secret and all of its versions. You can specify a recovery window during which you can restore the secret. The minimum recovery window is 7 days. The default recovery window is 30 days. Secrets Manager attaches a DeletionDate stamp to the secret that specifies the end of the recovery window. At the end of the recovery window, Secrets Manager deletes the secret permanently.

For information about deleting a secret in the console, see https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_delete-secret.html.

Secrets Manager performs the permanent secret deletion at the end of the waiting period as a background task with low priority. There is no guarantee of a specific time after the recovery window for the permanent delete to occur.

At any time before recovery window ends, you can use RestoreSecret to remove the DeletionDate and cancel the deletion of the secret.

In a secret scheduled for deletion, you cannot access the encrypted secret value. To access that information, first cancel the deletion with RestoreSecret and then retrieve the information.

Required permissions: secretsmanager:DeleteSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", + "DeleteSecret": "

Deletes a secret and all of its versions. You can specify a recovery window during which you can restore the secret. The minimum recovery window is 7 days. The default recovery window is 30 days. Secrets Manager attaches a DeletionDate stamp to the secret that specifies the end of the recovery window. At the end of the recovery window, Secrets Manager deletes the secret permanently.

You can't delete a primary secret that is replicated to other Regions. You must first delete the replicas using RemoveRegionsFromReplication, and then delete the primary secret. When you delete a replica, it is deleted immediately.

You can't directly delete a version of a secret. Instead, you remove all staging labels from the version using UpdateSecretVersionStage. This marks the version as deprecated, and then Secrets Manager can automatically delete the version in the background.

To determine whether an application still uses a secret, you can create an Amazon CloudWatch alarm to alert you to any attempts to access a secret during the recovery window. For more information, see Monitor secrets scheduled for deletion.

Secrets Manager performs the permanent secret deletion at the end of the waiting period as a background task with low priority. There is no guarantee of a specific time after the recovery window for the permanent delete to occur.

At any time before recovery window ends, you can use RestoreSecret to remove the DeletionDate and cancel the deletion of the secret.

When a secret is scheduled for deletion, you cannot retrieve the secret value. You must first cancel the deletion with RestoreSecret and then you can retrieve the secret.

Required permissions: secretsmanager:DeleteSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "DescribeSecret": "

Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager only returns fields that have a value in the response.

Required permissions: secretsmanager:DescribeSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "GetRandomPassword": "

Generates a random password. We recommend that you specify the maximum length and include every character type that the system you are generating a password for can support.

Required permissions: secretsmanager:GetRandomPassword. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "GetResourcePolicy": "

Retrieves the JSON text of the resource-based policy document attached to the secret. For more information about permissions policies attached to a secret, see Permissions policies attached to a secret.

Required permissions: secretsmanager:GetResourcePolicy. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "GetSecretValue": "

Retrieves the contents of the encrypted fields SecretString or SecretBinary from the specified version of a secret, whichever contains content.

We recommend that you cache your secret values by using client-side caching. Caching secrets improves speed and reduces your costs. For more information, see Cache secrets for your applications.

Required permissions: secretsmanager:GetSecretValue. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key aws/secretsmanager, then you also need kms:Decrypt permissions for that key. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", - "ListSecretVersionIds": "

Lists the versions for a secret.

To list the secrets in the account, use ListSecrets.

To get the secret value from SecretString or SecretBinary, call GetSecretValue.

Required permissions: secretsmanager:ListSecretVersionIds. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", - "ListSecrets": "

Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console.

To list the versions of a secret, use ListSecretVersionIds.

To get the secret value from SecretString or SecretBinary, call GetSecretValue.

For information about finding secrets in the console, see Enhanced search capabilities for secrets in Secrets Manager.

Required permissions: secretsmanager:ListSecrets. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", + "ListSecretVersionIds": "

Lists the versions of a secret. Secrets Manager uses staging labels to indicate the different versions of a secret. For more information, see Secrets Manager concepts: Versions.

To list the secrets in the account, use ListSecrets.

Required permissions: secretsmanager:ListSecretVersionIds. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", + "ListSecrets": "

Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console.

To list the versions of a secret, use ListSecretVersionIds.

To get the secret value from SecretString or SecretBinary, call GetSecretValue.

For information about finding secrets in the console, see Find secrets in Secrets Manager.

Required permissions: secretsmanager:ListSecrets. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "PutResourcePolicy": "

Attaches a resource-based permission policy to a secret. A resource-based policy is optional. For more information, see Authentication and access control for Secrets Manager

For information about attaching a policy in the console, see Attach a permissions policy to a secret.

Required permissions: secretsmanager:PutResourcePolicy. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "PutSecretValue": "

Creates a new version with a new encrypted secret value and attaches it to the secret. The version can contain a new SecretString value or a new SecretBinary value.

We recommend you avoid calling PutSecretValue at a sustained rate of more than once every 10 minutes. When you update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you call PutSecretValue more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions.

You can specify the staging labels to attach to the new version in VersionStages. If you don't include VersionStages, then Secrets Manager automatically moves the staging label AWSCURRENT to this version. If this operation creates the first version for the secret, then Secrets Manager automatically attaches the staging label AWSCURRENT to it .

If this operation moves the staging label AWSCURRENT from another version to this version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to the version that AWSCURRENT was removed from.

This operation is idempotent. If a version with a VersionId with the same value as the ClientRequestToken parameter already exists, and you specify the same secret data, the operation succeeds but does nothing. However, if the secret data is different, then the operation fails because you can't modify an existing version; you can only create new ones.

Required permissions: secretsmanager:PutSecretValue. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "RemoveRegionsFromReplication": "

For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.

Required permissions: secretsmanager:RemoveRegionsFromReplication. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", diff --git a/models/apis/secretsmanager/2017-10-17/examples-1.json b/models/apis/secretsmanager/2017-10-17/examples-1.json index 219ed26352..43a3ec4fd4 100644 --- a/models/apis/secretsmanager/2017-10-17/examples-1.json +++ b/models/apis/secretsmanager/2017-10-17/examples-1.json @@ -384,9 +384,9 @@ "SecretId": "MyTestDatabaseSecret" }, "output": { - "SecretARN": "arn:aws:secretsmanager:us-west-2:123456789012:secret:MyTestDatabaseSecret-a1b2c3", - "SecretName": "MyTestDatabaseSecret", - "SecretVersionId": "EXAMPLE2-90ab-cdef-fedc-ba987SECRET2" + "ARN": "arn:aws:secretsmanager:us-west-2:123456789012:secret:MyTestDatabaseSecret-a1b2c3", + "Name": "MyTestDatabaseSecret", + "VersionId": "EXAMPLE2-90ab-cdef-fedc-ba987SECRET2" }, "comments": { "input": { diff --git a/service/ec2/api.go b/service/ec2/api.go index 8f44a8ed4a..1eaaf35495 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -69614,12 +69614,18 @@ type CreateVpcEndpointInput struct { // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` + // The DNS options for the endpoint. + DnsOptions *DnsOptionsSpecification `type:"structure"` + // 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. DryRun *bool `type:"boolean"` + // The IP address type for the endpoint. + IpAddressType *string `type:"string" enum:"IpAddressType"` + // (Interface and gateway endpoints) A policy to attach to the endpoint that // controls access to the service. The policy must be in valid JSON format. // If this parameter is not specified, we attach a default policy that allows @@ -69713,12 +69719,24 @@ func (s *CreateVpcEndpointInput) SetClientToken(v string) *CreateVpcEndpointInpu return s } +// SetDnsOptions sets the DnsOptions field's value. +func (s *CreateVpcEndpointInput) SetDnsOptions(v *DnsOptionsSpecification) *CreateVpcEndpointInput { + s.DnsOptions = v + return s +} + // SetDryRun sets the DryRun field's value. func (s *CreateVpcEndpointInput) SetDryRun(v bool) *CreateVpcEndpointInput { s.DryRun = &v return s } +// SetIpAddressType sets the IpAddressType field's value. +func (s *CreateVpcEndpointInput) SetIpAddressType(v string) *CreateVpcEndpointInput { + s.IpAddressType = &v + return s +} + // SetPolicyDocument sets the PolicyDocument field's value. func (s *CreateVpcEndpointInput) SetPolicyDocument(v string) *CreateVpcEndpointInput { s.PolicyDocument = &v @@ -69843,6 +69861,9 @@ type CreateVpcEndpointServiceConfigurationInput struct { // VPC endpoint service. PrivateDnsName *string `type:"string"` + // The supported IP address types. The possible values are ipv4 and ipv6. + SupportedIpAddressTypes []*string `locationName:"SupportedIpAddressType" locationNameList:"item" type:"list"` + // The tags to associate with the service. TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` } @@ -69901,6 +69922,12 @@ func (s *CreateVpcEndpointServiceConfigurationInput) SetPrivateDnsName(v string) return s } +// SetSupportedIpAddressTypes sets the SupportedIpAddressTypes field's value. +func (s *CreateVpcEndpointServiceConfigurationInput) SetSupportedIpAddressTypes(v []*string) *CreateVpcEndpointServiceConfigurationInput { + s.SupportedIpAddressTypes = v + return s +} + // SetTagSpecifications sets the TagSpecifications field's value. func (s *CreateVpcEndpointServiceConfigurationInput) SetTagSpecifications(v []*TagSpecification) *CreateVpcEndpointServiceConfigurationInput { s.TagSpecifications = v @@ -95169,6 +95196,8 @@ type DescribeVpcEndpointConnectionsInput struct { // One or more filters. // + // * ip-address-type - The IP address type (ipv4 | ipv6). + // // * service-id - The ID of the service. // // * vpc-endpoint-owner - The ID of the Amazon Web Services account ID that @@ -95292,6 +95321,8 @@ type DescribeVpcEndpointServiceConfigurationsInput struct { // * service-state - The state of the service (Pending | Available | Deleting // | Deleted | Failed). // + // * supported-ip-address-types - The IP address type (ipv4 | ipv6). + // // * tag: - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner @@ -95557,6 +95588,8 @@ type DescribeVpcEndpointServicesInput struct { // // * service-type - The type of service (Interface | Gateway). // + // * supported-ip-address-types - The IP address type (ipv4 | ipv6). + // // * tag: - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner @@ -95694,6 +95727,8 @@ type DescribeVpcEndpointsInput struct { // One or more filters. // + // * ip-address-type - The IP address type (ipv4 | ipv6). + // // * service-name - The name of the service. // // * vpc-id - The ID of the VPC in which the endpoint resides. @@ -99739,6 +99774,70 @@ func (s *DnsEntry) SetHostedZoneId(v string) *DnsEntry { return s } +// Describes the DNS options for an endpoint. +type DnsOptions struct { + _ struct{} `type:"structure"` + + // The DNS records created for the endpoint. + DnsRecordIpType *string `locationName:"dnsRecordIpType" type:"string" enum:"DnsRecordIpType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DnsOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DnsOptions) GoString() string { + return s.String() +} + +// SetDnsRecordIpType sets the DnsRecordIpType field's value. +func (s *DnsOptions) SetDnsRecordIpType(v string) *DnsOptions { + s.DnsRecordIpType = &v + return s +} + +// Describes the DNS options for an endpoint. +type DnsOptionsSpecification struct { + _ struct{} `type:"structure"` + + // The DNS records created for the endpoint. + DnsRecordIpType *string `type:"string" enum:"DnsRecordIpType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DnsOptionsSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DnsOptionsSpecification) GoString() string { + return s.String() +} + +// SetDnsRecordIpType sets the DnsRecordIpType field's value. +func (s *DnsOptionsSpecification) SetDnsRecordIpType(v string) *DnsOptionsSpecification { + s.DnsRecordIpType = &v + return s +} + // Information about the DNS server to be used. type DnsServersOptionsModifyStructure struct { _ struct{} `type:"structure"` @@ -130383,12 +130482,18 @@ type ModifyVpcEndpointInput struct { // specify only one subnet. AddSubnetIds []*string `locationName:"AddSubnetId" locationNameList:"item" type:"list"` + // The DNS options for the endpoint. + DnsOptions *DnsOptionsSpecification `type:"structure"` + // 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. DryRun *bool `type:"boolean"` + // The IP address type for the endpoint. + IpAddressType *string `type:"string" enum:"IpAddressType"` + // (Interface and gateway endpoints) A policy to attach to the endpoint that // controls access to the service. The policy must be in valid JSON format. PolicyDocument *string `type:"string"` @@ -130466,12 +130571,24 @@ func (s *ModifyVpcEndpointInput) SetAddSubnetIds(v []*string) *ModifyVpcEndpoint return s } +// SetDnsOptions sets the DnsOptions field's value. +func (s *ModifyVpcEndpointInput) SetDnsOptions(v *DnsOptionsSpecification) *ModifyVpcEndpointInput { + s.DnsOptions = v + return s +} + // SetDryRun sets the DryRun field's value. func (s *ModifyVpcEndpointInput) SetDryRun(v bool) *ModifyVpcEndpointInput { s.DryRun = &v return s } +// SetIpAddressType sets the IpAddressType field's value. +func (s *ModifyVpcEndpointInput) SetIpAddressType(v string) *ModifyVpcEndpointInput { + s.IpAddressType = &v + return s +} + // SetPolicyDocument sets the PolicyDocument field's value. func (s *ModifyVpcEndpointInput) SetPolicyDocument(v string) *ModifyVpcEndpointInput { s.PolicyDocument = &v @@ -130560,6 +130677,9 @@ type ModifyVpcEndpointServiceConfigurationInput struct { // service configuration. AddNetworkLoadBalancerArns []*string `locationName:"AddNetworkLoadBalancerArn" locationNameList:"item" type:"list"` + // The IP address types to add to your service configuration. + AddSupportedIpAddressTypes []*string `locationName:"AddSupportedIpAddressType" locationNameList:"item" type:"list"` + // 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, @@ -130582,6 +130702,9 @@ type ModifyVpcEndpointServiceConfigurationInput struct { // service. RemovePrivateDnsName *bool `type:"boolean"` + // The IP address types to remove from your service configuration. + RemoveSupportedIpAddressTypes []*string `locationName:"RemoveSupportedIpAddressType" locationNameList:"item" type:"list"` + // The ID of the service. // // ServiceId is a required field @@ -130637,6 +130760,12 @@ func (s *ModifyVpcEndpointServiceConfigurationInput) SetAddNetworkLoadBalancerAr return s } +// SetAddSupportedIpAddressTypes sets the AddSupportedIpAddressTypes field's value. +func (s *ModifyVpcEndpointServiceConfigurationInput) SetAddSupportedIpAddressTypes(v []*string) *ModifyVpcEndpointServiceConfigurationInput { + s.AddSupportedIpAddressTypes = v + return s +} + // SetDryRun sets the DryRun field's value. func (s *ModifyVpcEndpointServiceConfigurationInput) SetDryRun(v bool) *ModifyVpcEndpointServiceConfigurationInput { s.DryRun = &v @@ -130667,6 +130796,12 @@ func (s *ModifyVpcEndpointServiceConfigurationInput) SetRemovePrivateDnsName(v b return s } +// SetRemoveSupportedIpAddressTypes sets the RemoveSupportedIpAddressTypes field's value. +func (s *ModifyVpcEndpointServiceConfigurationInput) SetRemoveSupportedIpAddressTypes(v []*string) *ModifyVpcEndpointServiceConfigurationInput { + s.RemoveSupportedIpAddressTypes = v + return s +} + // SetServiceId sets the ServiceId field's value. func (s *ModifyVpcEndpointServiceConfigurationInput) SetServiceId(v string) *ModifyVpcEndpointServiceConfigurationInput { s.ServiceId = &v @@ -148253,6 +148388,9 @@ type ServiceConfiguration struct { // The type of service. ServiceType []*ServiceTypeDetail `locationName:"serviceType" locationNameList:"item" type:"list"` + // The supported IP address types. + SupportedIpAddressTypes []*string `locationName:"supportedIpAddressTypeSet" locationNameList:"item" type:"list" enum:"ServiceConnectivityType"` + // Any tags assigned to the service. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` } @@ -148353,6 +148491,12 @@ func (s *ServiceConfiguration) SetServiceType(v []*ServiceTypeDetail) *ServiceCo return s } +// SetSupportedIpAddressTypes sets the SupportedIpAddressTypes field's value. +func (s *ServiceConfiguration) SetSupportedIpAddressTypes(v []*string) *ServiceConfiguration { + s.SupportedIpAddressTypes = v + return s +} + // SetTags sets the Tags field's value. func (s *ServiceConfiguration) SetTags(v []*Tag) *ServiceConfiguration { s.Tags = v @@ -148404,6 +148548,9 @@ type ServiceDetail struct { // The type of service. ServiceType []*ServiceTypeDetail `locationName:"serviceType" locationNameList:"item" type:"list"` + // The supported IP address types. + SupportedIpAddressTypes []*string `locationName:"supportedIpAddressTypeSet" locationNameList:"item" type:"list" enum:"ServiceConnectivityType"` + // Any tags assigned to the service. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` @@ -148501,6 +148648,12 @@ func (s *ServiceDetail) SetServiceType(v []*ServiceTypeDetail) *ServiceDetail { return s } +// SetSupportedIpAddressTypes sets the SupportedIpAddressTypes field's value. +func (s *ServiceDetail) SetSupportedIpAddressTypes(v []*string) *ServiceDetail { + s.SupportedIpAddressTypes = v + return s +} + // SetTags sets the Tags field's value. func (s *ServiceDetail) SetTags(v []*Tag) *ServiceDetail { s.Tags = v @@ -159271,23 +159424,29 @@ func (s *VpcClassicLink) SetVpcId(v string) *VpcClassicLink { type VpcEndpoint struct { _ struct{} `type:"structure"` - // The date and time that the VPC endpoint was created. + // The date and time that the endpoint was created. CreationTimestamp *time.Time `locationName:"creationTimestamp" type:"timestamp"` // (Interface endpoint) The DNS entries for the endpoint. DnsEntries []*DnsEntry `locationName:"dnsEntrySet" locationNameList:"item" type:"list"` + // The DNS options for the endpoint. + DnsOptions *DnsOptions `locationName:"dnsOptions" type:"structure"` + // (Interface endpoint) Information about the security groups that are associated // with the network interface. Groups []*SecurityGroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` - // The last error that occurred for VPC endpoint. + // The IP address type for the endpoint. + IpAddressType *string `locationName:"ipAddressType" type:"string" enum:"IpAddressType"` + + // The last error that occurred for endpoint. LastError *LastError `locationName:"lastError" type:"structure"` // (Interface endpoint) One or more network interfaces for the endpoint. NetworkInterfaceIds []*string `locationName:"networkInterfaceIdSet" locationNameList:"item" type:"list"` - // The ID of the Amazon Web Services account that owns the VPC endpoint. + // The ID of the Amazon Web Services account that owns the endpoint. OwnerId *string `locationName:"ownerId" type:"string"` // The policy document associated with the endpoint, if applicable. @@ -159297,7 +159456,7 @@ type VpcEndpoint struct { // hosted zone. PrivateDnsEnabled *bool `locationName:"privateDnsEnabled" type:"boolean"` - // Indicates whether the VPC endpoint is being managed by its service. + // Indicates whether the endpoint is being managed by its service. RequesterManaged *bool `locationName:"requesterManaged" type:"boolean"` // (Gateway endpoint) One or more route tables associated with the endpoint. @@ -159306,16 +159465,16 @@ type VpcEndpoint struct { // The name of the service to which the endpoint is associated. ServiceName *string `locationName:"serviceName" type:"string"` - // The state of the VPC endpoint. + // The state of the endpoint. State *string `locationName:"state" type:"string" enum:"State"` - // (Interface endpoint) One or more subnets in which the endpoint is located. + // (Interface endpoint) The subnets for the endpoint. SubnetIds []*string `locationName:"subnetIdSet" locationNameList:"item" type:"list"` - // Any tags assigned to the VPC endpoint. + // Any tags assigned to the endpoint. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` - // The ID of the VPC endpoint. + // The ID of the endpoint. VpcEndpointId *string `locationName:"vpcEndpointId" type:"string"` // The type of endpoint. @@ -159355,12 +159514,24 @@ func (s *VpcEndpoint) SetDnsEntries(v []*DnsEntry) *VpcEndpoint { return s } +// SetDnsOptions sets the DnsOptions field's value. +func (s *VpcEndpoint) SetDnsOptions(v *DnsOptions) *VpcEndpoint { + s.DnsOptions = v + return s +} + // SetGroups sets the Groups field's value. func (s *VpcEndpoint) SetGroups(v []*SecurityGroupIdentifier) *VpcEndpoint { s.Groups = v return s } +// SetIpAddressType sets the IpAddressType field's value. +func (s *VpcEndpoint) SetIpAddressType(v string) *VpcEndpoint { + s.IpAddressType = &v + return s +} + // SetLastError sets the LastError field's value. func (s *VpcEndpoint) SetLastError(v *LastError) *VpcEndpoint { s.LastError = v @@ -159458,6 +159629,9 @@ type VpcEndpointConnection struct { // The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service. GatewayLoadBalancerArns []*string `locationName:"gatewayLoadBalancerArnSet" locationNameList:"item" type:"list"` + // The IP address type for the endpoint. + IpAddressType *string `locationName:"ipAddressType" type:"string" enum:"IpAddressType"` + // The Amazon Resource Names (ARNs) of the network load balancers for the service. NetworkLoadBalancerArns []*string `locationName:"networkLoadBalancerArnSet" locationNameList:"item" type:"list"` @@ -159510,6 +159684,12 @@ func (s *VpcEndpointConnection) SetGatewayLoadBalancerArns(v []*string) *VpcEndp return s } +// SetIpAddressType sets the IpAddressType field's value. +func (s *VpcEndpointConnection) SetIpAddressType(v string) *VpcEndpointConnection { + s.IpAddressType = &v + return s +} + // SetNetworkLoadBalancerArns sets the NetworkLoadBalancerArns field's value. func (s *VpcEndpointConnection) SetNetworkLoadBalancerArns(v []*string) *VpcEndpointConnection { s.NetworkLoadBalancerArns = v @@ -162202,6 +162382,30 @@ func DnsNameState_Values() []string { } } +const ( + // DnsRecordIpTypeIpv4 is a DnsRecordIpType enum value + DnsRecordIpTypeIpv4 = "ipv4" + + // DnsRecordIpTypeDualstack is a DnsRecordIpType enum value + DnsRecordIpTypeDualstack = "dualstack" + + // DnsRecordIpTypeIpv6 is a DnsRecordIpType enum value + DnsRecordIpTypeIpv6 = "ipv6" + + // DnsRecordIpTypeServiceDefined is a DnsRecordIpType enum value + DnsRecordIpTypeServiceDefined = "service-defined" +) + +// DnsRecordIpType_Values returns all elements of the DnsRecordIpType enum +func DnsRecordIpType_Values() []string { + return []string{ + DnsRecordIpTypeIpv4, + DnsRecordIpTypeDualstack, + DnsRecordIpTypeIpv6, + DnsRecordIpTypeServiceDefined, + } +} + const ( // DnsSupportValueEnable is a DnsSupportValue enum value DnsSupportValueEnable = "enable" @@ -165526,6 +165730,26 @@ func InterfaceProtocolType_Values() []string { } } +const ( + // IpAddressTypeIpv4 is a IpAddressType enum value + IpAddressTypeIpv4 = "ipv4" + + // IpAddressTypeDualstack is a IpAddressType enum value + IpAddressTypeDualstack = "dualstack" + + // IpAddressTypeIpv6 is a IpAddressType enum value + IpAddressTypeIpv6 = "ipv6" +) + +// IpAddressType_Values returns all elements of the IpAddressType enum +func IpAddressType_Values() []string { + return []string{ + IpAddressTypeIpv4, + IpAddressTypeDualstack, + IpAddressTypeIpv6, + } +} + const ( // IpamAddressHistoryResourceTypeEip is a IpamAddressHistoryResourceType enum value IpamAddressHistoryResourceTypeEip = "eip" @@ -167546,6 +167770,22 @@ func SelfServicePortal_Values() []string { } } +const ( + // ServiceConnectivityTypeIpv4 is a ServiceConnectivityType enum value + ServiceConnectivityTypeIpv4 = "ipv4" + + // ServiceConnectivityTypeIpv6 is a ServiceConnectivityType enum value + ServiceConnectivityTypeIpv6 = "ipv6" +) + +// ServiceConnectivityType_Values returns all elements of the ServiceConnectivityType enum +func ServiceConnectivityType_Values() []string { + return []string{ + ServiceConnectivityTypeIpv4, + ServiceConnectivityTypeIpv6, + } +} + const ( // ServiceStatePending is a ServiceState enum value ServiceStatePending = "Pending" diff --git a/service/secretsmanager/api.go b/service/secretsmanager/api.go index 7c14caea56..cf62a7dcf2 100644 --- a/service/secretsmanager/api.go +++ b/service/secretsmanager/api.go @@ -60,14 +60,15 @@ func (c *SecretsManager) CancelRotateSecretRequest(input *CancelRotateSecretInpu // Turns off automatic rotation, and if a rotation is currently in progress, // cancels the rotation. // -// To turn on automatic rotation again, call RotateSecret. -// // If you cancel a rotation in progress, it can leave the VersionStage labels -// in an unexpected state. Depending on the step of the rotation in progress, -// you might need to remove the staging label AWSPENDING from the partially -// created version, specified by the VersionId response value. We recommend -// you also evaluate the partially rotated new version to see if it should be -// deleted. You can delete a version by removing all staging labels from it. +// in an unexpected state. You might need to remove the staging label AWSPENDING +// from the partially created version. You also need to determine whether to +// roll back to the previous version of the secret by moving the staging label +// AWSCURRENT to the version that has AWSPENDING. To determine which version +// has a specific staging label, call ListSecretVersionIds. Then use UpdateSecretVersionStage +// to change staging labels. For more information, see How rotation works (https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html). +// +// To turn on automatic rotation again, call RotateSecret. // // Required permissions: secretsmanager:CancelRotateSecret. For more information, // see IAM policy actions for Secrets Manager (https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions) @@ -429,8 +430,19 @@ func (c *SecretsManager) DeleteSecretRequest(input *DeleteSecretInput) (req *req // DeletionDate stamp to the secret that specifies the end of the recovery window. // At the end of the recovery window, Secrets Manager deletes the secret permanently. // -// For information about deleting a secret in the console, see https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_delete-secret.html -// (https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_delete-secret.html). +// You can't delete a primary secret that is replicated to other Regions. You +// must first delete the replicas using RemoveRegionsFromReplication, and then +// delete the primary secret. When you delete a replica, it is deleted immediately. +// +// You can't directly delete a version of a secret. Instead, you remove all +// staging labels from the version using UpdateSecretVersionStage. This marks +// the version as deprecated, and then Secrets Manager can automatically delete +// the version in the background. +// +// To determine whether an application still uses a secret, you can create an +// Amazon CloudWatch alarm to alert you to any attempts to access a secret during +// the recovery window. For more information, see Monitor secrets scheduled +// for deletion (https://docs.aws.amazon.com/secretsmanager/latest/userguide/monitoring_cloudwatch_deleted-secrets.html). // // Secrets Manager performs the permanent secret deletion at the end of the // waiting period as a background task with low priority. There is no guarantee @@ -440,9 +452,9 @@ func (c *SecretsManager) DeleteSecretRequest(input *DeleteSecretInput) (req *req // At any time before recovery window ends, you can use RestoreSecret to remove // the DeletionDate and cancel the deletion of the secret. // -// In a secret scheduled for deletion, you cannot access the encrypted secret -// value. To access that information, first cancel the deletion with RestoreSecret -// and then retrieve the information. +// When a secret is scheduled for deletion, you cannot retrieve the secret value. +// You must first cancel the deletion with RestoreSecret and then you can retrieve +// the secret. // // Required permissions: secretsmanager:DeleteSecret. For more information, // see IAM policy actions for Secrets Manager (https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions) @@ -950,12 +962,12 @@ func (c *SecretsManager) ListSecretVersionIdsRequest(input *ListSecretVersionIds // ListSecretVersionIds API operation for AWS Secrets Manager. // -// Lists the versions for a secret. +// Lists the versions of a secret. Secrets Manager uses staging labels to indicate +// the different versions of a secret. For more information, see Secrets Manager +// concepts: Versions (https://docs.aws.amazon.com/secretsmanager/latest/userguide/getting-started.html#term_version). // // To list the secrets in the account, use ListSecrets. // -// To get the secret value from SecretString or SecretBinary, call GetSecretValue. -// // Required permissions: secretsmanager:ListSecretVersionIds. For more information, // see IAM policy actions for Secrets Manager (https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions) // and Authentication and access control in Secrets Manager (https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html). @@ -1112,8 +1124,8 @@ func (c *SecretsManager) ListSecretsRequest(input *ListSecretsInput) (req *reque // // To get the secret value from SecretString or SecretBinary, call GetSecretValue. // -// For information about finding secrets in the console, see Enhanced search -// capabilities for secrets in Secrets Manager (https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html). +// For information about finding secrets in the console, see Find secrets in +// Secrets Manager (https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html). // // Required permissions: secretsmanager:ListSecrets. For more information, see // IAM policy actions for Secrets Manager (https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions)