From 6e67590836419932966a5838d997a6b67c2da3e6 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Wed, 5 Apr 2023 18:13:11 +0000 Subject: [PATCH] Regenerated Clients --- .../2fdf64a0d04147209eefea3655e6c774.json | 8 ++ .../493c6fdc0d904990803c1e4eefb537fc.json | 8 ++ .../4dc0b1332d634a72b50698d291af334f.json | 8 ++ .../69cc3b7338604fe4ad4526ed0bb5308c.json | 8 ++ .../bbc7eb5b83464c17b61d8f726c39035c.json | 8 ++ .../c54fe8fa46904c5088d178b90268f81e.json | 8 ++ .../d149bb5f90de4ca290f17d53cac08dbc.json | 8 ++ .../e4c32cf7e6814eb9a33f0259e0c073a9.json | 8 ++ .../appstream/internal/endpoints/endpoints.go | 18 +++ .../internal/endpoints/endpoints.go | 6 + .../codebuild/internal/endpoints/endpoints.go | 9 ++ service/configservice/types/enums.go | 46 +++++++ service/configservice/types/types.go | 2 +- service/ecs/api_op_CreateService.go | 13 +- service/ecs/api_op_RunTask.go | 9 +- service/ecs/api_op_StartTask.go | 11 +- service/ecs/types/types.go | 123 +++++++++--------- .../internal/endpoints/endpoints.go | 3 + service/identitystore/api_op_CreateGroup.go | 3 +- service/identitystore/api_op_CreateUser.go | 23 ++-- service/identitystore/api_op_DescribeUser.go | 12 +- service/identitystore/api_op_GetGroupId.go | 4 +- service/identitystore/api_op_GetUserId.go | 4 +- service/identitystore/doc.go | 2 +- service/identitystore/types/types.go | 37 +++--- service/ivsrealtime/deserializers.go | 19 ++- service/networkfirewall/doc.go | 2 +- service/networkfirewall/types/enums.go | 2 + service/networkfirewall/types/types.go | 4 +- .../internal/endpoints/endpoints.go | 3 + service/servicecatalog/types/enums.go | 4 - ...i_op_CreateServiceNetworkVpcAssociation.go | 9 +- service/vpclattice/api_op_DeleteAuthPolicy.go | 10 +- service/vpclattice/api_op_GetAuthPolicy.go | 4 +- .../vpclattice/api_op_GetResourcePolicy.go | 7 +- service/vpclattice/api_op_PutAuthPolicy.go | 13 +- .../vpclattice/api_op_PutResourcePolicy.go | 3 +- ...i_op_UpdateServiceNetworkVpcAssociation.go | 10 +- 38 files changed, 328 insertions(+), 151 deletions(-) create mode 100644 .changelog/2fdf64a0d04147209eefea3655e6c774.json create mode 100644 .changelog/493c6fdc0d904990803c1e4eefb537fc.json create mode 100644 .changelog/4dc0b1332d634a72b50698d291af334f.json create mode 100644 .changelog/69cc3b7338604fe4ad4526ed0bb5308c.json create mode 100644 .changelog/bbc7eb5b83464c17b61d8f726c39035c.json create mode 100644 .changelog/c54fe8fa46904c5088d178b90268f81e.json create mode 100644 .changelog/d149bb5f90de4ca290f17d53cac08dbc.json create mode 100644 .changelog/e4c32cf7e6814eb9a33f0259e0c073a9.json diff --git a/.changelog/2fdf64a0d04147209eefea3655e6c774.json b/.changelog/2fdf64a0d04147209eefea3655e6c774.json new file mode 100644 index 00000000000..d42b669355c --- /dev/null +++ b/.changelog/2fdf64a0d04147209eefea3655e6c774.json @@ -0,0 +1,8 @@ +{ + "id": "2fdf64a0-d041-4720-9eef-ea3655e6c774", + "type": "feature", + "description": "AWS Network Firewall now supports IPv6-only subnets.", + "modules": [ + "service/networkfirewall" + ] +} \ No newline at end of file diff --git a/.changelog/493c6fdc0d904990803c1e4eefb537fc.json b/.changelog/493c6fdc0d904990803c1e4eefb537fc.json new file mode 100644 index 00000000000..b839c8b0f49 --- /dev/null +++ b/.changelog/493c6fdc0d904990803c1e4eefb537fc.json @@ -0,0 +1,8 @@ +{ + "id": "493c6fdc-0d90-4990-803c-1e4eefb537fc", + "type": "feature", + "description": "Fix ParticipantToken ExpirationTime format", + "modules": [ + "service/ivsrealtime" + ] +} \ No newline at end of file diff --git a/.changelog/4dc0b1332d634a72b50698d291af334f.json b/.changelog/4dc0b1332d634a72b50698d291af334f.json new file mode 100644 index 00000000000..bc6c4a61566 --- /dev/null +++ b/.changelog/4dc0b1332d634a72b50698d291af334f.json @@ -0,0 +1,8 @@ +{ + "id": "4dc0b133-2d63-4a72-b506-98d291af334f", + "type": "feature", + "description": "This release adds resourceType enums for types released in March 2023.", + "modules": [ + "service/configservice" + ] +} \ No newline at end of file diff --git a/.changelog/69cc3b7338604fe4ad4526ed0bb5308c.json b/.changelog/69cc3b7338604fe4ad4526ed0bb5308c.json new file mode 100644 index 00000000000..9b074aad591 --- /dev/null +++ b/.changelog/69cc3b7338604fe4ad4526ed0bb5308c.json @@ -0,0 +1,8 @@ +{ + "id": "69cc3b73-3860-4fe4-ad45-26ed0bb5308c", + "type": "documentation", + "description": "Documentation updates for Identity Store CLI command reference.", + "modules": [ + "service/identitystore" + ] +} \ No newline at end of file diff --git a/.changelog/bbc7eb5b83464c17b61d8f726c39035c.json b/.changelog/bbc7eb5b83464c17b61d8f726c39035c.json new file mode 100644 index 00000000000..b63a08ae988 --- /dev/null +++ b/.changelog/bbc7eb5b83464c17b61d8f726c39035c.json @@ -0,0 +1,8 @@ +{ + "id": "bbc7eb5b-8346-4c17-b61d-8f726c39035c", + "type": "documentation", + "description": "This is a document only updated to add information about Amazon Elastic Inference (EI).", + "modules": [ + "service/ecs" + ] +} \ No newline at end of file diff --git a/.changelog/c54fe8fa46904c5088d178b90268f81e.json b/.changelog/c54fe8fa46904c5088d178b90268f81e.json new file mode 100644 index 00000000000..ce8b7e7844e --- /dev/null +++ b/.changelog/c54fe8fa46904c5088d178b90268f81e.json @@ -0,0 +1,8 @@ +{ + "id": "c54fe8fa-4690-4c50-88d1-78b90268f81e", + "type": "feature", + "description": "removed incorrect product type value", + "modules": [ + "service/servicecatalog" + ] +} \ No newline at end of file diff --git a/.changelog/d149bb5f90de4ca290f17d53cac08dbc.json b/.changelog/d149bb5f90de4ca290f17d53cac08dbc.json new file mode 100644 index 00000000000..a14aab6d600 --- /dev/null +++ b/.changelog/d149bb5f90de4ca290f17d53cac08dbc.json @@ -0,0 +1,8 @@ +{ + "id": "d149bb5f-90de-4ca2-90f1-7d53cac08dbc", + "type": "feature", + "description": "App Runner adds support for seven new vCPU and memory configurations.", + "modules": [ + "service/apprunner" + ] +} \ No newline at end of file diff --git a/.changelog/e4c32cf7e6814eb9a33f0259e0c073a9.json b/.changelog/e4c32cf7e6814eb9a33f0259e0c073a9.json new file mode 100644 index 00000000000..843a3e47bbb --- /dev/null +++ b/.changelog/e4c32cf7e6814eb9a33f0259e0c073a9.json @@ -0,0 +1,8 @@ +{ + "id": "e4c32cf7-e681-4eb9-a33f-0259e0c073a9", + "type": "documentation", + "description": "This release removes the entities in the API doc model package for auth policies.", + "modules": [ + "service/vpclattice" + ] +} \ No newline at end of file diff --git a/service/appstream/internal/endpoints/endpoints.go b/service/appstream/internal/endpoints/endpoints.go index 5e6c15c603c..e66fbfb8598 100644 --- a/service/appstream/internal/endpoints/endpoints.go +++ b/service/appstream/internal/endpoints/endpoints.go @@ -360,6 +360,24 @@ var defaultPartitions = endpoints.Partitions{ }, Deprecated: aws.TrueTernary, }, + endpoints.EndpointKey{ + Region: "us-gov-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-gov-east-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "appstream2-fips.us-gov-east-1.amazonaws.com", + }, + endpoints.EndpointKey{ + Region: "us-gov-east-1-fips", + }: endpoints.Endpoint{ + Hostname: "appstream2-fips.us-gov-east-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-gov-east-1", + }, + Deprecated: aws.TrueTernary, + }, endpoints.EndpointKey{ Region: "us-gov-west-1", }: endpoints.Endpoint{}, diff --git a/service/arczonalshift/internal/endpoints/endpoints.go b/service/arczonalshift/internal/endpoints/endpoints.go index c884cc93a55..752053450be 100644 --- a/service/arczonalshift/internal/endpoints/endpoints.go +++ b/service/arczonalshift/internal/endpoints/endpoints.go @@ -135,9 +135,15 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.Aws, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "af-south-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-northeast-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{}, diff --git a/service/codebuild/internal/endpoints/endpoints.go b/service/codebuild/internal/endpoints/endpoints.go index bf8b0329e85..55b93cd34cd 100644 --- a/service/codebuild/internal/endpoints/endpoints.go +++ b/service/codebuild/internal/endpoints/endpoints.go @@ -153,6 +153,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-south-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-southeast-1", }: endpoints.Endpoint{}, @@ -168,12 +171,18 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "eu-central-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-central-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-north-1", }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-south-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, diff --git a/service/configservice/types/enums.go b/service/configservice/types/enums.go index 2f57b7b77eb..f4b62ead0c9 100644 --- a/service/configservice/types/enums.go +++ b/service/configservice/types/enums.go @@ -889,6 +889,29 @@ const ( ResourceTypeEventsConnection ResourceType = "AWS::Events::Connection" ResourceTypeEventSchemasSchema ResourceType = "AWS::EventSchemas::Schema" ResourceTypeMediaPackagePackagingConfiguration ResourceType = "AWS::MediaPackage::PackagingConfiguration" + ResourceTypeKinesisVideoSignalingChannel ResourceType = "AWS::KinesisVideo::SignalingChannel" + ResourceTypeAppStreamDirectoryConfig ResourceType = "AWS::AppStream::DirectoryConfig" + ResourceTypeLookoutVisionProject ResourceType = "AWS::LookoutVision::Project" + ResourceTypeRoute53RecoveryControlCluster ResourceType = "AWS::Route53RecoveryControl::Cluster" + ResourceTypeRoute53RecoveryControlSafetyRule ResourceType = "AWS::Route53RecoveryControl::SafetyRule" + ResourceTypeRoute53RecoveryControlControlPanel ResourceType = "AWS::Route53RecoveryControl::ControlPanel" + ResourceTypeRoute53RecoveryControlRoutingControl ResourceType = "AWS::Route53RecoveryControl::RoutingControl" + ResourceTypeRoute53RecoveryReadinessResourceSet ResourceType = "AWS::Route53RecoveryReadiness::ResourceSet" + ResourceTypeRoboMakerSimulationApplication ResourceType = "AWS::RoboMaker::SimulationApplication" + ResourceTypeRoboMakerRobotApplication ResourceType = "AWS::RoboMaker::RobotApplication" + ResourceTypeHealthLakeFHIRDatastore ResourceType = "AWS::HealthLake::FHIRDatastore" + ResourceTypePinpointSegment ResourceType = "AWS::Pinpoint::Segment" + ResourceTypePinpointApplicationSettings ResourceType = "AWS::Pinpoint::ApplicationSettings" + ResourceTypeEventsRule ResourceType = "AWS::Events::Rule" + ResourceTypeEC2DHCPOptions ResourceType = "AWS::EC2::DHCPOptions" + ResourceTypeEC2NetworkInsightsPath ResourceType = "AWS::EC2::NetworkInsightsPath" + ResourceTypeEC2TrafficMirrorFilter ResourceType = "AWS::EC2::TrafficMirrorFilter" + ResourceTypeEc2ipam ResourceType = "AWS::EC2::IPAM" + ResourceTypeIoTTwinMakerScene ResourceType = "AWS::IoTTwinMaker::Scene" + ResourceTypeNetworkManagerTransitGatewayRegistration ResourceType = "AWS::NetworkManager::TransitGatewayRegistration" + ResourceTypeCustomerProfilesDomain ResourceType = "AWS::CustomerProfiles::Domain" + ResourceTypeAutoScalingWarmPool ResourceType = "AWS::AutoScaling::WarmPool" + ResourceTypeConnectPhoneNumber ResourceType = "AWS::Connect::PhoneNumber" ) // Values returns all known values for ResourceType. Note that this can be expanded @@ -1147,6 +1170,29 @@ func (ResourceType) Values() []ResourceType { "AWS::Events::Connection", "AWS::EventSchemas::Schema", "AWS::MediaPackage::PackagingConfiguration", + "AWS::KinesisVideo::SignalingChannel", + "AWS::AppStream::DirectoryConfig", + "AWS::LookoutVision::Project", + "AWS::Route53RecoveryControl::Cluster", + "AWS::Route53RecoveryControl::SafetyRule", + "AWS::Route53RecoveryControl::ControlPanel", + "AWS::Route53RecoveryControl::RoutingControl", + "AWS::Route53RecoveryReadiness::ResourceSet", + "AWS::RoboMaker::SimulationApplication", + "AWS::RoboMaker::RobotApplication", + "AWS::HealthLake::FHIRDatastore", + "AWS::Pinpoint::Segment", + "AWS::Pinpoint::ApplicationSettings", + "AWS::Events::Rule", + "AWS::EC2::DHCPOptions", + "AWS::EC2::NetworkInsightsPath", + "AWS::EC2::TrafficMirrorFilter", + "AWS::EC2::IPAM", + "AWS::IoTTwinMaker::Scene", + "AWS::NetworkManager::TransitGatewayRegistration", + "AWS::CustomerProfiles::Domain", + "AWS::AutoScaling::WarmPool", + "AWS::Connect::PhoneNumber", } } diff --git a/service/configservice/types/types.go b/service/configservice/types/types.go index 36f0a39e365..bce8f09fa5b 100644 --- a/service/configservice/types/types.go +++ b/service/configservice/types/types.go @@ -2289,7 +2289,7 @@ type RemediationConfiguration struct { // This member is required. ConfigRuleName *string - // Target ID is the name of the public document. + // Target ID is the name of the SSM document. // // This member is required. TargetId *string diff --git a/service/ecs/api_op_CreateService.go b/service/ecs/api_op_CreateService.go index 579d37537e5..8778d9ffb8a 100644 --- a/service/ecs/api_op_CreateService.go +++ b/service/ecs/api_op_CreateService.go @@ -14,7 +14,14 @@ import ( // Runs and maintains your desired number of tasks from a specified task // definition. If the number of tasks running in a service drops below the // desiredCount, Amazon ECS runs another copy of the task in the specified cluster. -// To update an existing service, see the UpdateService action. In addition to +// To update an existing service, see the UpdateService action. Starting April 15, +// 2023, Amazon Web Services will not onboard new customers to Amazon Elastic +// Inference (EI), and will help current customers migrate their workloads to +// options that offer better price and performance. After April 15, 2023, new +// customers will not be able to launch instances with Amazon EI accelerators in +// Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used +// Amazon EI at least once during the past 30-day period are considered current +// customers and will be able to continue using the service. In addition to // maintaining the desired count of tasks in your service, you can optionally run // your service behind one or more load balancers. The load balancers distribute // traffic across the tasks that are associated with the service. For more @@ -262,7 +269,9 @@ type CreateServiceInput struct { // Specifies whether to propagate the tags from the task definition to the task. If // no value is specified, the tags aren't propagated. Tags can only be propagated // to the task during task creation. To add tags to a task after task creation, use - // the TagResource API action. + // the TagResource + // (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html) + // API action. PropagateTags types.PropagateTags // The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon diff --git a/service/ecs/api_op_RunTask.go b/service/ecs/api_op_RunTask.go index 3043e046eb0..4eee6f1b241 100644 --- a/service/ecs/api_op_RunTask.go +++ b/service/ecs/api_op_RunTask.go @@ -18,7 +18,14 @@ import ( // (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html) // in the Amazon Elastic Container Service Developer Guide. Alternatively, you can // use StartTask to use your own scheduler or place tasks manually on specific -// container instances. The Amazon ECS API follows an eventual consistency model. +// container instances. Starting April 15, 2023, Amazon Web Services will not +// onboard new customers to Amazon Elastic Inference (EI), and will help current +// customers migrate their workloads to options that offer better price and +// performance. After April 15, 2023, new customers will not be able to launch +// instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon +// EC2. However, customers who have used Amazon EI at least once during the past +// 30-day period are considered current customers and will be able to continue +// using the service. The Amazon ECS API follows an eventual consistency model. // This is because of the distributed nature of the system supporting the API. This // means that the result of an API command you run that affects your Amazon ECS // resources might not be immediately visible to all subsequent commands you run. diff --git a/service/ecs/api_op_StartTask.go b/service/ecs/api_op_StartTask.go index 9852be45c84..52319171735 100644 --- a/service/ecs/api_op_StartTask.go +++ b/service/ecs/api_op_StartTask.go @@ -12,8 +12,15 @@ import ( ) // Starts a new task from the specified task definition on the specified container -// instance or instances. Alternatively, you can use RunTask to place tasks for -// you. For more information, see Scheduling Tasks +// instance or instances. Starting April 15, 2023, Amazon Web Services will not +// onboard new customers to Amazon Elastic Inference (EI), and will help current +// customers migrate their workloads to options that offer better price and +// performance. After April 15, 2023, new customers will not be able to launch +// instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon +// EC2. However, customers who have used Amazon EI at least once during the past +// 30-day period are considered current customers and will be able to continue +// using the service. Alternatively, you can use RunTask to place tasks for you. +// For more information, see Scheduling Tasks // (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html) // in the Amazon Elastic Container Service Developer Guide. func (c *Client) StartTask(ctx context.Context, params *StartTaskInput, optFns ...func(*Options)) (*StartTaskOutput, error) { diff --git a/service/ecs/types/types.go b/service/ecs/types/types.go index c3c881cbae3..f22ac1aa901 100644 --- a/service/ecs/types/types.go +++ b/service/ecs/types/types.go @@ -2056,29 +2056,30 @@ type FSxWindowsFileServerVolumeConfiguration struct { // An object representing a container health check. Health check parameters that // are specified in a container definition override any Docker health checks that // exist in the container image (such as those specified in a parent image or from -// the image's Dockerfile). The Amazon ECS container agent only monitors and -// reports on the health checks specified in the task definition. Amazon ECS does -// not monitor Docker health checks that are embedded in a container image and not -// specified in the container definition. Health check parameters that are -// specified in a container definition override any Docker health checks that exist -// in the container image. You can view the health status of both individual -// containers and a task with the DescribeTasks API operation or when viewing the -// task details in the console. The following describes the possible healthStatus -// values for a container: +// the image's Dockerfile). This configuration maps to the HEALTHCHECK parameter of +// docker run (https://docs.docker.com/engine/reference/run/). The Amazon ECS +// container agent only monitors and reports on the health checks specified in the +// task definition. Amazon ECS does not monitor Docker health checks that are +// embedded in a container image and not specified in the container definition. +// Health check parameters that are specified in a container definition override +// any Docker health checks that exist in the container image. You can view the +// health status of both individual containers and a task with the DescribeTasks +// API operation or when viewing the task details in the console. The following +// describes the possible healthStatus values for a container: // -// * HEALTHY-The container health check has passed -// successfully. +// * HEALTHY-The +// container health check has passed successfully. // -// * UNHEALTHY-The container health check has failed. +// * UNHEALTHY-The container +// health check has failed. // -// * UNKNOWN-The -// container health check is being evaluated or there's no container health check -// defined. +// * UNKNOWN-The container health check is being +// evaluated or there's no container health check defined. // -// The following describes the possible healthStatus values for a task. -// The container health check status of nonessential containers only affects the -// health status of a task if no essential containers have health checks -// defined. +// The following describes +// the possible healthStatus values for a task. The container health check status +// of non-essential containers don't have an effect on the health status of a +// task. // // * HEALTHY-All essential containers within the task have passed their // health checks. @@ -2087,23 +2088,19 @@ type FSxWindowsFileServerVolumeConfiguration struct { // health check. // // * UNKNOWN-The essential containers within the task are still -// having their health checks evaluated or there are only nonessential containers -// with health checks defined. +// having their health checks evaluated, there are only nonessential containers +// with health checks defined, or there are no container health checks defined. // -// If a task is run manually, and not as part of a -// service, the task will continue its lifecycle regardless of its health status. -// For tasks that are part of a service, if the task reports as unhealthy then the -// task will be stopped and the service scheduler will replace it. For tasks that -// are a part of a service and the service uses the ECS rolling deployment type, -// the deployment is paused while the new tasks have the UNKNOWN task health check -// status. For example, tasks that define health checks for nonessential containers -// when no essential containers have health checks will have the UNKNOWN health -// check status indefinitely which prevents the deployment from completing. The -// following are notes about container health check support: +// If +// a task is run manually, and not as part of a service, the task will continue its +// lifecycle regardless of its health status. For tasks that are part of a service, +// if the task reports as unhealthy then the task will be stopped and the service +// scheduler will replace it. The following are notes about container health check +// support: // -// * Container health -// checks require version 1.17.0 or greater of the Amazon ECS container agent. For -// more information, see Updating the Amazon ECS container agent +// * Container health checks require version 1.17.0 or greater of the +// Amazon ECS container agent. For more information, see Updating the Amazon ECS +// container agent // (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html). // // * @@ -2197,7 +2194,8 @@ type HostVolumeProperties struct { type InferenceAccelerator struct { // The Elastic Inference accelerator device name. The deviceName must also be - // referenced in a container definition as a ResourceRequirement. + // referenced in a container definition as a ResourceRequirement + // (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ResourceRequirement.html). // // This member is required. DeviceName *string @@ -2307,8 +2305,9 @@ type KeyValuePair struct { noSmithyDocumentSerde } -// Linux-specific options that are applied to the container, such as Linux -// KernelCapabilities. +// The Linux-specific options that are applied to the container, such as Linux +// KernelCapabilities +// (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). type LinuxParameters struct { // The Linux capabilities for the container that are added to or dropped from the @@ -2377,9 +2376,7 @@ type LinuxParameters struct { noSmithyDocumentSerde } -// The load balancer configuration to use with a service or task set. For specific -// notes and restrictions regarding the use of load balancers with services and -// task sets, see the CreateService and CreateTaskSet actions. When you add, +// The load balancer configuration to use with a service or task set. When you add, // update, or remove a load balancer configuration, Amazon ECS starts a new // deployment with the updated Elastic Load Balancing configuration. This causes // tasks to register to and deregister from load balancers. We recommend that you @@ -2581,15 +2578,18 @@ type ManagedScaling struct { // Determines whether to use managed scaling for the capacity provider. Status ManagedScalingStatus - // The target capacity value for the capacity provider. The specified value must be - // greater than 0 and less than or equal to 100. A value of 100 results in the - // Amazon EC2 instances in your Auto Scaling group being completely used. + // The target capacity utilization as a percentage for the capacity provider. The + // specified value must be greater than 0 and less than or equal to 100. For + // example, if you want the capacity provider to maintain 10% spare capacity, then + // that means the utilization is 90%, so use a targetCapacity of 90. The default + // value of 100 percent results in the Amazon EC2 instances in your Auto Scaling + // group being completely used. TargetCapacity *int32 noSmithyDocumentSerde } -// Details for a volume mount point that's used in a container definition. +// The details for a volume mount point that's used in a container definition. type MountPoint struct { // The path on the container to mount the host volume at. @@ -2909,9 +2909,11 @@ type PortMapping struct { // host port that was previously specified in a running task is also reserved while // the task is running. That is, after a task stops, the host port is released. The // current reserved ports are displayed in the remainingResources of - // DescribeContainerInstances output. A container instance can have up to 100 - // reserved ports at a time. This number includes the default reserved ports. - // Automatically assigned ports aren't included in the 100 reserved ports quota. + // DescribeContainerInstances + // (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeContainerInstances.html) + // output. A container instance can have up to 100 reserved ports at a time. This + // number includes the default reserved ports. Automatically assigned ports aren't + // included in the 100 reserved ports quota. HostPort *int32 // The name that's used for the port mapping. This parameter only applies to @@ -3052,7 +3054,7 @@ type Resource struct { // information, see Working with GPUs on Amazon ECS // (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html) or // Working with Amazon Elastic Inference on Amazon ECS -// (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html) +// (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/url-ecs-dev;ecs-inference.html) // in the Amazon Elastic Container Service Developer Guide type ResourceRequirement struct { @@ -3067,7 +3069,9 @@ type ResourceRequirement struct { // container. The number of GPUs that's reserved for all containers in a task can't // exceed the number of available GPUs on the container instance that the task is // launched on. If the InferenceAccelerator type is used, the value matches the - // deviceName for an InferenceAccelerator specified in a task definition. + // deviceName for an InferenceAccelerator + // (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_InferenceAccelerator.html) + // specified in a task definition. // // This member is required. Value *string @@ -3146,7 +3150,7 @@ type Secret struct { noSmithyDocumentSerde } -// Details on a service within a cluster +// Details on a service within a cluster. type Service struct { // The capacity provider strategy the service uses. When using the DescribeServices @@ -3470,9 +3474,8 @@ type ServiceConnectService struct { // creates for this Amazon ECS service. This must be unique within the Cloud Map // namespace. The name can contain up to 64 characters. The name can include // lowercase letters, numbers, underscores (_), and hyphens (-). The name can't - // start with a hyphen. If this parameter isn't specified, the default value of - // discoveryName.namespace is used. If the discoveryName isn't specified, the port - // mapping name from the task definition is used in portName.namespace. + // start with a hyphen. If the discoveryName isn't specified, the port mapping name + // from the task definition is used in portName.namespace. DiscoveryName *string // The port number for the Service Connect proxy to listen on. Use the value of @@ -3507,10 +3510,9 @@ type ServiceConnectServiceResource struct { // name of the new Cloud Map service that Amazon ECS creates for this Amazon ECS // service. This must be unique within the Cloud Map namespace. The name can // contain up to 64 characters. The name can include lowercase letters, numbers, - // underscores (_), and hyphens (-). The name can't start with a hyphen. If this - // parameter isn't specified, the default value of discoveryName.namespace is used. - // If the discoveryName isn't specified, the port mapping name from the task - // definition is used in portName.namespace. + // underscores (_), and hyphens (-). The name can't start with a hyphen. If the + // discoveryName isn't specified, the port mapping name from the task definition is + // used in portName.namespace. DiscoveryName *string noSmithyDocumentSerde @@ -4144,9 +4146,10 @@ type TaskDefinition struct { // supported for tasks run on Fargate. RequiresAttributes []Attribute - // The task launch types the task definition was validated against. To determine - // which task launch types the task definition is validated for, see the - // TaskDefinition$compatibilities parameter. + // The task launch types the task definition was validated against. For more + // information, see Amazon ECS launch types + // (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) + // in the Amazon Elastic Container Service Developer Guide. RequiresCompatibilities []Compatibility // The revision of the task in a particular family. The revision is a version diff --git a/service/healthlake/internal/endpoints/endpoints.go b/service/healthlake/internal/endpoints/endpoints.go index 51d1fd59782..8a98f25ea70 100644 --- a/service/healthlake/internal/endpoints/endpoints.go +++ b/service/healthlake/internal/endpoints/endpoints.go @@ -135,6 +135,9 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.Aws, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "ap-south-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "us-east-1", }: endpoints.Endpoint{}, diff --git a/service/identitystore/api_op_CreateGroup.go b/service/identitystore/api_op_CreateGroup.go index 4fea5ffdfa1..57e4b5b8ce6 100644 --- a/service/identitystore/api_op_CreateGroup.go +++ b/service/identitystore/api_op_CreateGroup.go @@ -37,7 +37,8 @@ type CreateGroupInput struct { Description *string // A string containing the name of the group. This value is commonly displayed when - // the group is referenced. + // the group is referenced. "Administrator" and "AWSAdministrators" are reserved + // names and can't be used for users or groups. DisplayName *string noSmithyDocumentSerde diff --git a/service/identitystore/api_op_CreateUser.go b/service/identitystore/api_op_CreateUser.go index e862a68e1fb..35365e55bcf 100644 --- a/service/identitystore/api_op_CreateUser.go +++ b/service/identitystore/api_op_CreateUser.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates a new user within the specified identity store. +// Creates a user within the specified identity store. func (c *Client) CreateUser(ctx context.Context, params *CreateUserInput, optFns ...func(*Options)) (*CreateUserOutput, error) { if params == nil { params = &CreateUserInput{} @@ -37,17 +37,17 @@ type CreateUserInput struct { // A list of Address objects containing addresses associated with the user. Addresses []types.Address - // A string containing the user's name. This value is typically formatted for + // A string containing the name of the user. This value is typically formatted for // display when the user is referenced. For example, "John Doe." DisplayName *string // A list of Email objects containing email addresses associated with the user. Emails []types.Email - // A string containing the user's geographical region or location. + // A string containing the geographical region or location of the user. Locale *string - // An object containing the user's name. + // An object containing the name of the user. Name *types.Name // A string containing an alternate name for the user. @@ -60,24 +60,25 @@ type CreateUserInput struct { // English" or "en-us." PreferredLanguage *string - // A string containing a URL that may be associated with the user. + // A string containing a URL that might be associated with the user. ProfileUrl *string - // A string containing the user's time zone. + // A string containing the time zone of the user. Timezone *string - // A string containing the user's title. Possible values are left unspecified given - // that they depend on each customer's specific needs. + // A string containing the title of the user. Possible values are left unspecified. + // The value can vary based on your specific use case. Title *string // A unique string used to identify the user. The length limit is 128 characters. // This value can consist of letters, accented characters, symbols, numbers, and // punctuation. This value is specified at the time the user is created and stored - // as an attribute of the user object in the identity store. + // as an attribute of the user object in the identity store. "Administrator" and + // "AWSAdministrators" are reserved names and can't be used for users or groups. UserName *string - // A string indicating the user's type. Possible values depend on each customer's - // specific needs, so they are left unspecified. + // A string indicating the type of user. Possible values are left unspecified. The + // value can vary based on your specific use case. UserType *string noSmithyDocumentSerde diff --git a/service/identitystore/api_op_DescribeUser.go b/service/identitystore/api_op_DescribeUser.go index fa0a4157623..a60035f9747 100644 --- a/service/identitystore/api_op_DescribeUser.go +++ b/service/identitystore/api_op_DescribeUser.go @@ -57,20 +57,20 @@ type DescribeUserOutput struct { // This member is required. UserId *string - // The user's physical address. + // The physical address of the user. Addresses []types.Address - // The user's name value for display. + // The display name of the user. DisplayName *string - // The user's email value. + // The email address of the user. Emails []types.Email // A list of ExternalId objects that contains the identifiers issued to this // resource by an external identity provider. ExternalIds []types.ExternalId - // A string containing the user's geographical region or location. + // A string containing the geographical region or location of the user. Locale *string // The name of the user. @@ -91,7 +91,7 @@ type DescribeUserOutput struct { // The time zone for a user. Timezone *string - // A string containing the user's title. + // A string containing the title of the user. Title *string // A unique string used to identify the user. The length limit is 128 characters. @@ -100,7 +100,7 @@ type DescribeUserOutput struct { // as an attribute of the user object in the identity store. UserName *string - // A string indicating the user's type. + // A string indicating the type of user. UserType *string // Metadata pertaining to the operation's result. diff --git a/service/identitystore/api_op_GetGroupId.go b/service/identitystore/api_op_GetGroupId.go index b7390b0656b..c63b39766aa 100644 --- a/service/identitystore/api_op_GetGroupId.go +++ b/service/identitystore/api_op_GetGroupId.go @@ -31,8 +31,8 @@ type GetGroupIdInput struct { // A unique identifier for a user or group that is not the primary identifier. This // value can be an identifier from an external identity provider (IdP) that is - // associated with the user, the group, or a unique attribute. For example, a - // unique GroupDisplayName. + // associated with the user, the group, or a unique attribute. For the unique + // attribute, the only valid path is displayName. // // This member is required. AlternateIdentifier types.AlternateIdentifier diff --git a/service/identitystore/api_op_GetUserId.go b/service/identitystore/api_op_GetUserId.go index 7105be655ae..cae9080260c 100644 --- a/service/identitystore/api_op_GetUserId.go +++ b/service/identitystore/api_op_GetUserId.go @@ -31,8 +31,8 @@ type GetUserIdInput struct { // A unique identifier for a user or group that is not the primary identifier. This // value can be an identifier from an external identity provider (IdP) that is - // associated with the user, the group, or a unique attribute. For example, a - // unique UserDisplayName. + // associated with the user, the group, or a unique attribute. For the unique + // attribute, the only valid paths are userName and emails.value. // // This member is required. AlternateIdentifier types.AlternateIdentifier diff --git a/service/identitystore/doc.go b/service/identitystore/doc.go index 1f6abad1d5e..ec9f48f29cf 100644 --- a/service/identitystore/doc.go +++ b/service/identitystore/doc.go @@ -12,5 +12,5 @@ // compatibility purposes. For more information, see IAM Identity Center rename // (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed). // This reference guide describes the identity store operations that you can call -// programatically and includes detailed information on data types and errors. +// programatically and includes detailed information about data types and errors. package identitystore diff --git a/service/identitystore/types/types.go b/service/identitystore/types/types.go index 1661bb6a7f6..405037e47b0 100644 --- a/service/identitystore/types/types.go +++ b/service/identitystore/types/types.go @@ -40,8 +40,7 @@ type Address struct { // A unique identifier for a user or group that is not the primary identifier. This // value can be an identifier from an external identity provider (IdP) that is -// associated with the user, the group, or a unique attribute. For example, a -// unique GroupDisplayName. +// associated with the user, the group, or a unique attribute. // // The following types satisfy this interface: // @@ -139,7 +138,7 @@ type Filter struct { noSmithyDocumentSerde } -// A group object that contains a specified group’s metadata and attributes. +// A group object that contains the metadata and attributes for a specified group. type Group struct { // The identifier for a group in the identity store. @@ -155,11 +154,11 @@ type Group struct { // A string containing a description of the specified group. Description *string - // The group’s display name value. The length limit is 1,024 characters. This value - // can consist of letters, accented characters, symbols, numbers, punctuation, tab, - // new line, carriage return, space, and nonbreaking space in this attribute. This - // value is specified at the time the group is created and stored as an attribute - // of the group object in the identity store. + // The display name value for the group. The length limit is 1,024 characters. This + // value can consist of letters, accented characters, symbols, numbers, + // punctuation, tab, new line, carriage return, space, and nonbreaking space in + // this attribute. This value is specified at the time the group is created and + // stored as an attribute of the group object in the identity store. DisplayName *string // A list of ExternalId objects that contains the identifiers issued to this @@ -286,7 +285,7 @@ type UniqueAttribute struct { noSmithyDocumentSerde } -// A user object that contains a specified user’s metadata and attributes. +// A user object that contains the metadata and attributes for a specified user. type User struct { // The globally unique identifier for the identity store. @@ -302,8 +301,8 @@ type User struct { // A list of Address objects containing addresses associated with the user. Addresses []Address - // A string containing the user's name that's formatted for display when the user - // is referenced. For example, "John Doe." + // A string containing the name of the user that is formatted for display when the + // user is referenced. For example, "John Doe." DisplayName *string // A list of Email objects containing email addresses associated with the user. @@ -313,10 +312,10 @@ type User struct { // resource by an external identity provider. ExternalIds []ExternalId - // A string containing the user's geographical region or location. + // A string containing the geographical region or location of the user. Locale *string - // An object containing the user's name. + // An object containing the name of the user. Name *Name // A string containing an alternate name for the user. @@ -329,14 +328,14 @@ type User struct { // English" or "en-us." PreferredLanguage *string - // A string containing a URL that may be associated with the user. + // A string containing a URL that might be associated with the user. ProfileUrl *string - // A string containing the user's time zone. + // A string containing the time zone of the user. Timezone *string - // A string containing the user's title. Possible values depend on each customer's - // specific needs, so they are left unspecified. + // A string containing the title of the user. Possible values are left unspecified. + // The value can vary based on your specific use case. Title *string // A unique string used to identify the user. The length limit is 128 characters. @@ -345,8 +344,8 @@ type User struct { // as an attribute of the user object in the identity store. UserName *string - // A string indicating the user's type. Possible values depend on each customer's - // specific needs, so they are left unspecified. + // A string indicating the type of user. Possible values are left unspecified. The + // value can vary based on your specific use case. UserType *string noSmithyDocumentSerde diff --git a/service/ivsrealtime/deserializers.go b/service/ivsrealtime/deserializers.go index acb4542d3d6..22c137891d1 100644 --- a/service/ivsrealtime/deserializers.go +++ b/service/ivsrealtime/deserializers.go @@ -1750,18 +1750,15 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken case "expirationTime": if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.ExpirationTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected ParticipantTokenExpirationTime to be a JSON Number, got %T instead", value) - + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ParticipantTokenExpirationTime to be of type string, got %T instead", value) + } + t, err := smithytime.ParseDateTime(jtv) + if err != nil { + return err } + sv.ExpirationTime = ptr.Time(t) } case "participantId": diff --git a/service/networkfirewall/doc.go b/service/networkfirewall/doc.go index 5b64ff8298c..9db008f6b29 100644 --- a/service/networkfirewall/doc.go +++ b/service/networkfirewall/doc.go @@ -32,7 +32,7 @@ // filtering traffic going to and coming from an internet gateway, NAT gateway, or // over VPN or Direct Connect. Network Firewall uses rules that are compatible with // Suricata, a free, open source network analysis and threat detection engine. -// Network Firewall supports Suricata version 5.0.2. For information about +// Network Firewall supports Suricata version 6.0.9. For information about // Suricata, see the Suricata website (https://suricata.io/). You can use Network // Firewall to monitor and protect your VPC traffic in a number of ways. The // following are just a few examples: diff --git a/service/networkfirewall/types/enums.go b/service/networkfirewall/types/enums.go index 4beb33bfc5c..44c6c815531 100644 --- a/service/networkfirewall/types/enums.go +++ b/service/networkfirewall/types/enums.go @@ -106,6 +106,7 @@ type IPAddressType string const ( IPAddressTypeDualstack IPAddressType = "DUALSTACK" IPAddressTypeIpv4 IPAddressType = "IPV4" + IPAddressTypeIpv6 IPAddressType = "IPV6" ) // Values returns all known values for IPAddressType. Note that this can be @@ -115,6 +116,7 @@ func (IPAddressType) Values() []IPAddressType { return []IPAddressType{ "DUALSTACK", "IPV4", + "IPV6", } } diff --git a/service/networkfirewall/types/types.go b/service/networkfirewall/types/types.go index b16806f2c92..ca6a3d369c4 100644 --- a/service/networkfirewall/types/types.go +++ b/service/networkfirewall/types/types.go @@ -978,7 +978,7 @@ type RulesSource struct { // a stateful rule group. Use this option to specify simple Suricata rules with // protocol, source and destination, ports, direction, and rule options. For // information about the Suricata Rules format, see Rules Format - // (https://suricata.readthedocs.io/rules/intro.html#). + // (https://suricata.readthedocs.iorules/intro.html#). StatefulRules []StatefulRule // Stateless inspection criteria to be used in a stateless rule group. @@ -1171,7 +1171,7 @@ type StatefulEngineOptions struct { // this option to specify a simple Suricata rule with protocol, source and // destination, ports, direction, and rule options. For information about the // Suricata Rules format, see Rules Format -// (https://suricata.readthedocs.io/rules/intro.html#). +// (https://suricata.readthedocs.iorules/intro.html#). type StatefulRule struct { // Defines what Network Firewall should do with the packets in a traffic flow when diff --git a/service/sagemakerruntime/internal/endpoints/endpoints.go b/service/sagemakerruntime/internal/endpoints/endpoints.go index c5f6440d038..e5356674ede 100644 --- a/service/sagemakerruntime/internal/endpoints/endpoints.go +++ b/service/sagemakerruntime/internal/endpoints/endpoints.go @@ -153,6 +153,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-south-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-southeast-1", }: endpoints.Endpoint{}, diff --git a/service/servicecatalog/types/enums.go b/service/servicecatalog/types/enums.go index cdf72978967..c7142ba928a 100644 --- a/service/servicecatalog/types/enums.go +++ b/service/servicecatalog/types/enums.go @@ -254,7 +254,6 @@ type ProductType string const ( ProductTypeCloudFormationTemplate ProductType = "CLOUD_FORMATION_TEMPLATE" ProductTypeMarketplace ProductType = "MARKETPLACE" - ProductTypeDefaultCustom ProductType = "DEFAULT_CUSTOM" ProductTypeTerraformOpenSource ProductType = "TERRAFORM_OPEN_SOURCE" ) @@ -265,7 +264,6 @@ func (ProductType) Values() []ProductType { return []ProductType{ "CLOUD_FORMATION_TEMPLATE", "MARKETPLACE", - "DEFAULT_CUSTOM", "TERRAFORM_OPEN_SOURCE", } } @@ -455,7 +453,6 @@ const ( ProvisioningArtifactTypeCloudFormationTemplate ProvisioningArtifactType = "CLOUD_FORMATION_TEMPLATE" ProvisioningArtifactTypeMarketplaceAmi ProvisioningArtifactType = "MARKETPLACE_AMI" ProvisioningArtifactTypeMarketplaceCar ProvisioningArtifactType = "MARKETPLACE_CAR" - ProvisioningArtifactTypeDefaultCustom ProvisioningArtifactType = "DEFAULT_CUSTOM" ProvisioningArtifactTypeTerraformOpenSource ProvisioningArtifactType = "TERRAFORM_OPEN_SOURCE" ) @@ -467,7 +464,6 @@ func (ProvisioningArtifactType) Values() []ProvisioningArtifactType { "CLOUD_FORMATION_TEMPLATE", "MARKETPLACE_AMI", "MARKETPLACE_CAR", - "DEFAULT_CUSTOM", "TERRAFORM_OPEN_SOURCE", } } diff --git a/service/vpclattice/api_op_CreateServiceNetworkVpcAssociation.go b/service/vpclattice/api_op_CreateServiceNetworkVpcAssociation.go index c016bb79659..4e7e65d0916 100644 --- a/service/vpclattice/api_op_CreateServiceNetworkVpcAssociation.go +++ b/service/vpclattice/api_op_CreateServiceNetworkVpcAssociation.go @@ -20,10 +20,11 @@ import ( // in the Amazon VPC Lattice User Guide. You can't use this operation if there is a // disassociation in progress. If the association fails, retry by deleting the // association and recreating it. As a result of this operation, the association -// gets created in the service network account and the VPC owner account. Once a -// security group is added to the VPC association it cannot be removed. You can add -// or update the security groups being used for the VPC association once a security -// group is attached. To remove all security groups you must reassociate the VPC. +// gets created in the service network account and the VPC owner account. If you +// add a security group to the service network and VPC association, the association +// must continue to always have at least one security group. You can add or edit +// security groups at any time. However, to remove all security groups, you must +// first delete the association and recreate it without security groups. func (c *Client) CreateServiceNetworkVpcAssociation(ctx context.Context, params *CreateServiceNetworkVpcAssociationInput, optFns ...func(*Options)) (*CreateServiceNetworkVpcAssociationOutput, error) { if params == nil { params = &CreateServiceNetworkVpcAssociationInput{} diff --git a/service/vpclattice/api_op_DeleteAuthPolicy.go b/service/vpclattice/api_op_DeleteAuthPolicy.go index 1c49e1fe726..be7f2c77371 100644 --- a/service/vpclattice/api_op_DeleteAuthPolicy.go +++ b/service/vpclattice/api_op_DeleteAuthPolicy.go @@ -10,11 +10,11 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes the specified auth policy. If an auth is set to Amazon Web Services_IAM -// and the auth policy is deleted, all requests will be denied by default. If you -// are trying to remove the auth policy completely, you must set the auth_type to -// NONE. If auth is enabled on the resource, but no auth policy is set, all -// requests will be denied. +// Deletes the specified auth policy. If an auth is set to AWS_IAM and the auth +// policy is deleted, all requests will be denied by default. If you are trying to +// remove the auth policy completely, you must set the auth_type to NONE. If auth +// is enabled on the resource, but no auth policy is set, all requests will be +// denied. func (c *Client) DeleteAuthPolicy(ctx context.Context, params *DeleteAuthPolicyInput, optFns ...func(*Options)) (*DeleteAuthPolicyOutput, error) { if params == nil { params = &DeleteAuthPolicyInput{} diff --git a/service/vpclattice/api_op_GetAuthPolicy.go b/service/vpclattice/api_op_GetAuthPolicy.go index 0b738d3ecb2..e98c3723bb7 100644 --- a/service/vpclattice/api_op_GetAuthPolicy.go +++ b/service/vpclattice/api_op_GetAuthPolicy.go @@ -53,8 +53,8 @@ type GetAuthPolicyOutput struct { Policy *string // The state of the auth policy. The auth policy is only active when the auth type - // is set to Amazon Web Services_IAM. If you provide a policy, then authentication - // and authorization decisions are made based on this policy and the client's IAM + // is set to AWS_IAM. If you provide a policy, then authentication and + // authorization decisions are made based on this policy and the client's IAM // policy. If the auth type is NONE, then any auth policy you provide will remain // inactive. For more information, see Create a service network // (https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network) diff --git a/service/vpclattice/api_op_GetResourcePolicy.go b/service/vpclattice/api_op_GetResourcePolicy.go index c768c74baa8..e9e46293fd2 100644 --- a/service/vpclattice/api_op_GetResourcePolicy.go +++ b/service/vpclattice/api_op_GetResourcePolicy.go @@ -11,8 +11,7 @@ import ( ) // Retrieves information about the resource policy. The resource policy is an IAM -// policy created by AWS RAM on behalf of the resource owner when they share a -// resource. +// policy created on behalf of the resource owner when they share a resource. func (c *Client) GetResourcePolicy(ctx context.Context, params *GetResourcePolicyInput, optFns ...func(*Options)) (*GetResourcePolicyOutput, error) { if params == nil { params = &GetResourcePolicyInput{} @@ -30,7 +29,7 @@ func (c *Client) GetResourcePolicy(ctx context.Context, params *GetResourcePolic type GetResourcePolicyInput struct { - // An IAM policy. + // The Amazon Resource Name (ARN) of the service network or service. // // This member is required. ResourceArn *string @@ -40,7 +39,7 @@ type GetResourcePolicyInput struct { type GetResourcePolicyOutput struct { - // The Amazon Resource Name (ARN) of the service network or service. + // An IAM policy. Policy *string // Metadata pertaining to the operation's result. diff --git a/service/vpclattice/api_op_PutAuthPolicy.go b/service/vpclattice/api_op_PutAuthPolicy.go index 18db8c6c65b..fd6e2462543 100644 --- a/service/vpclattice/api_op_PutAuthPolicy.go +++ b/service/vpclattice/api_op_PutAuthPolicy.go @@ -11,7 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates or updates the auth policy. +// Creates or updates the auth policy. The policy string in JSON must not contain +// newlines or blank lines. func (c *Client) PutAuthPolicy(ctx context.Context, params *PutAuthPolicyInput, optFns ...func(*Options)) (*PutAuthPolicyOutput, error) { if params == nil { params = &PutAuthPolicyInput{} @@ -29,7 +30,8 @@ func (c *Client) PutAuthPolicy(ctx context.Context, params *PutAuthPolicyInput, type PutAuthPolicyInput struct { - // The auth policy. + // The auth policy. The policy string in JSON must not contain newlines or blank + // lines. // // This member is required. Policy *string @@ -45,12 +47,13 @@ type PutAuthPolicyInput struct { type PutAuthPolicyOutput struct { - // The auth policy. + // The auth policy. The policy string in JSON must not contain newlines or blank + // lines. Policy *string // The state of the auth policy. The auth policy is only active when the auth type - // is set to Amazon Web Services_IAM. If you provide a policy, then authentication - // and authorization decisions are made based on this policy and the client's IAM + // is set to AWS_IAM. If you provide a policy, then authentication and + // authorization decisions are made based on this policy and the client's IAM // policy. If the Auth type is NONE, then, any auth policy you provide will remain // inactive. For more information, see Create a service network // (https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network) diff --git a/service/vpclattice/api_op_PutResourcePolicy.go b/service/vpclattice/api_op_PutResourcePolicy.go index e9d91bc6b5c..32a8f02f550 100644 --- a/service/vpclattice/api_op_PutResourcePolicy.go +++ b/service/vpclattice/api_op_PutResourcePolicy.go @@ -31,7 +31,8 @@ func (c *Client) PutResourcePolicy(ctx context.Context, params *PutResourcePolic type PutResourcePolicyInput struct { - // An IAM policy. + // An IAM policy. The policy string in JSON must not contain newlines or blank + // lines. // // This member is required. Policy *string diff --git a/service/vpclattice/api_op_UpdateServiceNetworkVpcAssociation.go b/service/vpclattice/api_op_UpdateServiceNetworkVpcAssociation.go index a72ae568caf..2110ff6733d 100644 --- a/service/vpclattice/api_op_UpdateServiceNetworkVpcAssociation.go +++ b/service/vpclattice/api_op_UpdateServiceNetworkVpcAssociation.go @@ -11,8 +11,11 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Updates the service network and VPC association. Once you add a security group, -// it cannot be removed. +// Updates the service network and VPC association. If you add a security group to +// the service network and VPC association, the association must continue to always +// have at least one security group. You can add or edit security groups at any +// time. However, to remove all security groups, you must first delete the +// association and recreate it without security groups. func (c *Client) UpdateServiceNetworkVpcAssociation(ctx context.Context, params *UpdateServiceNetworkVpcAssociationInput, optFns ...func(*Options)) (*UpdateServiceNetworkVpcAssociationOutput, error) { if params == nil { params = &UpdateServiceNetworkVpcAssociationInput{} @@ -30,8 +33,7 @@ func (c *Client) UpdateServiceNetworkVpcAssociation(ctx context.Context, params type UpdateServiceNetworkVpcAssociationInput struct { - // The IDs of the security groups. Once you add a security group, it cannot be - // removed. + // The IDs of the security groups. // // This member is required. SecurityGroupIds []string