Skip to content

Commit

Permalink
Update services based on v1.49.19 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Jan 12, 2024
1 parent bb8298a commit fd6e499
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .latest-tag-aws-sdk-go
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.49.18
v1.49.19
5 changes: 5 additions & 0 deletions src/aws_ec2.erl
Original file line number Diff line number Diff line change
Expand Up @@ -6494,6 +6494,11 @@ detach_verified_access_trust_provider(Client, Input, Options)
%% detached from an instance, the product code is no longer associated with
%% the instance.
%%
%% You can't detach or force detach volumes that are attached to Amazon
%% ECS or Fargate tasks. Attempting to do this results in the
%% `UnsupportedOperationException' exception with the `Unable to detach
%% volume attached to ECS tasks' error message.
%%
%% For more information, see Detach an Amazon EBS volume in the Amazon
%% Elastic Compute Cloud User Guide.
detach_volume(Client, Input)
Expand Down
41 changes: 36 additions & 5 deletions src/aws_ecs.erl
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,12 @@ create_cluster(Client, Input, Options)
%% with the service. For more information, see Service load balancing in the
%% Amazon Elastic Container Service Developer Guide.
%%
%% You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the
%% volume when creating or updating a service. `volumeConfigurations' is
%% only supported for REPLICA service and not DAEMON service. For more
%% infomation, see Amazon EBS volumes in the Amazon Elastic Container Service
%% Developer Guide.
%%
%% Tasks for services that don't use a load balancer are considered
%% healthy if they're in the `RUNNING' state. Tasks for services that
%% use a load balancer are considered healthy if they're in the
Expand Down Expand Up @@ -904,6 +910,11 @@ register_task_definition(Client, Input, Options)
%% once during the past 30-day period are considered current customers and
%% will be able to continue using the service.
%%
%% You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the
%% volume when creating or updating a service. For more infomation, see
%% Amazon EBS volumes in the Amazon Elastic Container Service Developer
%% Guide.
%%
%% 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
Expand Down Expand Up @@ -948,6 +959,11 @@ run_task(Client, Input, Options)
%% Alternatively, you can use `RunTask' to place tasks for you. For more
%% information, see Scheduling Tasks in the Amazon Elastic Container Service
%% Developer Guide.
%%
%% You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the
%% volume when creating or updating a service. For more infomation, see
%% Amazon EBS volumes in the Amazon Elastic Container Service Developer
%% Guide.
start_task(Client, Input)
when is_map(Client), is_map(Input) ->
start_task(Client, Input, []).
Expand Down Expand Up @@ -1153,6 +1169,16 @@ update_container_instances_state(Client, Input, Options)
%% definition. When you update any of these parameters, Amazon ECS starts new
%% tasks with the new configuration.
%%
%% You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the
%% volume when starting or running a task, or when creating or updating a
%% service. For more infomation, see Amazon EBS volumes in the Amazon Elastic
%% Container Service Developer Guide. You can update your volume
%% configurations and trigger a new deployment. `volumeConfigurations' is
%% only supported for REPLICA service and not DAEMON service. If you leave
%% `volumeConfigurations' `null', it doesn't trigger a new
%% deployment. For more infomation on volumes, see Amazon EBS volumes in the
%% Amazon Elastic Container Service Developer Guide.
%%
%% For services using the blue/green (`CODE_DEPLOY') deployment
%% controller, only the desired count, deployment configuration, health check
%% grace period, task placement constraints and strategies, enable ECS
Expand All @@ -1172,11 +1198,16 @@ update_container_instances_state(Client, Input, Options)
%% definition in a service by specifying the cluster that the service is
%% running in and a new `desiredCount' parameter.
%%
%% If you have updated the Docker image of your application, you can create a
%% new task definition with that image and deploy it to your service. The
%% service scheduler uses the minimum healthy percent and maximum percent
%% parameters (in the service's deployment configuration) to determine
%% the deployment strategy.
%% You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the
%% volume when starting or running a task, or when creating or updating a
%% service. For more infomation, see Amazon EBS volumes in the Amazon Elastic
%% Container Service Developer Guide.
%%
%% If you have updated the container image of your application, you can
%% create a new task definition with that image and deploy it to your
%% service. The service scheduler uses the minimum healthy percent and
%% maximum percent parameters (in the service's deployment configuration)
%% to determine the deployment strategy.
%%
%% If your updated Docker image uses the same tag as what is in the existing
%% task definition for your service (for example, `my_image:latest'), you
Expand Down
15 changes: 11 additions & 4 deletions src/aws_secrets_manager.erl
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,9 @@ describe_secret(Client, Input, Options)
%%
%% We recommend that you specify the maximum length and include every
%% character type that the system you are generating a password for can
%% support.
%% support. By default, Secrets Manager uses uppercase and lowercase letters,
%% numbers, and the following characters in passwords:
%% `!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~'
%%
%% Secrets Manager generates a CloudTrail log entry when you call this
%% action. Do not include sensitive information in request parameters because
Expand Down Expand Up @@ -527,9 +529,14 @@ remove_regions_from_replication(Client, Input, Options)
%% it might be logged. For more information, see Logging Secrets Manager
%% events with CloudTrail.
%%
%% Required permissions: `secretsmanager:ReplicateSecretToRegions'. For
%% more information, see IAM policy actions for Secrets Manager and
%% Authentication and access control in Secrets Manager.
%% Required permissions: `secretsmanager:ReplicateSecretToRegions'. If
%% the primary secret is encrypted with a KMS key other than
%% `aws/secretsmanager', you also need `kms:Decrypt' permission to
%% the key. To encrypt the replicated secret with a KMS key other than
%% `aws/secretsmanager', you need `kms:GenerateDataKey' and
%% `kms:Encrypt' to the key. For more information, see IAM policy actions
%% for Secrets Manager and Authentication and access control in Secrets
%% Manager.
replicate_secret_to_regions(Client, Input)
when is_map(Client), is_map(Input) ->
replicate_secret_to_regions(Client, Input, []).
Expand Down
11 changes: 4 additions & 7 deletions src/aws_workspaces.erl
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,6 @@ create_workspace_image(Client, Input, Options)
%%
%% You don't need to specify the `PCOIP' protocol for Linux bundles
%% because `WSP' is the default protocol for those bundles.
%%
%% Ensure you review your running mode to ensure you are using a running mode
%% that is optimal for your needs and budget. For more information on
%% switching running modes, see Can I switch between hourly and monthly
%% billing?
create_workspaces(Client, Input)
when is_map(Client), is_map(Input) ->
create_workspaces(Client, Input, []).
Expand Down Expand Up @@ -905,8 +900,10 @@ modify_workspace_state(Client, Input, Options)

%% @doc Reboots the specified WorkSpaces.
%%
%% You cannot reboot a WorkSpace unless its state is `AVAILABLE' or
%% `UNHEALTHY'.
%% You cannot reboot a WorkSpace unless its state is `AVAILABLE',
%% `UNHEALTHY', or `REBOOTING'. Reboot a WorkSpace in the
%% `REBOOTING' state only if your WorkSpace has been stuck in the
%% `REBOOTING' state for over 20 minutes.
%%
%% This operation is asynchronous and returns before the WorkSpaces have
%% rebooted.
Expand Down

0 comments on commit fd6e499

Please sign in to comment.