Skip to content

Commit

Permalink
Update services based on release-2024-10-21 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Oct 22, 2024
1 parent a4d3dce commit 5d77fd0
Show file tree
Hide file tree
Showing 10 changed files with 549 additions and 183 deletions.
2 changes: 1 addition & 1 deletion .latest-tag-aws-sdk-go
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release-2024-10-18
release-2024-10-21
12 changes: 9 additions & 3 deletions src/aws_application_insights.erl
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@

%% Example:
%% describe_problem_response() :: #{
%% <<"Problem">> => problem()
%% <<"Problem">> => problem(),
%% <<"SNSNotificationArn">> => string()
%% }
-type describe_problem_response() :: #{binary() => any()}.

Expand All @@ -335,7 +336,8 @@
%% <<"OpsCenterEnabled">> => boolean(),
%% <<"OpsItemSNSTopicArn">> => string(),
%% <<"Remarks">> => string(),
%% <<"ResourceGroupName">> => string()
%% <<"ResourceGroupName">> => string(),
%% <<"SNSNotificationArn">> => string()
%% }
-type application_info() :: #{binary() => any()}.

Expand All @@ -351,6 +353,7 @@
%% Example:
%% workload() :: #{
%% <<"ComponentName">> => string(),
%% <<"MissingWorkloadConfig">> => boolean(),
%% <<"Tier">> => list(any()),
%% <<"WorkloadId">> => string(),
%% <<"WorkloadName">> => string(),
Expand Down Expand Up @@ -451,6 +454,7 @@
%% <<"OpsCenterEnabled">> => boolean(),
%% <<"OpsItemSNSTopicArn">> => string(),
%% <<"ResourceGroupName">> => string(),
%% <<"SNSNotificationArn">> => string(),
%% <<"Tags">> => list(tag()())
%% }
-type create_application_request() :: #{binary() => any()}.
Expand Down Expand Up @@ -514,7 +518,8 @@
%% <<"OpsCenterEnabled">> => boolean(),
%% <<"OpsItemSNSTopicArn">> => string(),
%% <<"RemoveSNSTopic">> => boolean(),
%% <<"ResourceGroupName">> := string()
%% <<"ResourceGroupName">> := string(),
%% <<"SNSNotificationArn">> => string()
%% }
-type update_application_request() :: #{binary() => any()}.

Expand Down Expand Up @@ -584,6 +589,7 @@
%% <<"ResolutionMethod">> => list(any()),
%% <<"ResourceGroupName">> => string(),
%% <<"SeverityLevel">> => list(any()),
%% <<"ShortName">> => string(),
%% <<"StartTime">> => non_neg_integer(),
%% <<"Status">> => list(any()),
%% <<"Title">> => string(),
Expand Down
248 changes: 172 additions & 76 deletions src/aws_auto_scaling.erl

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/aws_bedrock_agent_runtime.erl
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,9 @@

%% Example:
%% orchestration_configuration() :: #{
%% <<"additionalModelRequestFields">> => map(),
%% <<"inferenceConfig">> => inference_config(),
%% <<"promptTemplate">> => prompt_template(),
%% <<"queryTransformationConfiguration">> => query_transformation_configuration()
%% }
-type orchestration_configuration() :: #{binary() => any()}.
Expand Down
16 changes: 15 additions & 1 deletion src/aws_database_migration.erl
Original file line number Diff line number Diff line change
Expand Up @@ -2144,6 +2144,7 @@
%% Example:
%% data_migration() :: #{
%% <<"DataMigrationArn">> => string(),
%% <<"DataMigrationCidrBlocks">> => list(string()()),
%% <<"DataMigrationCreateTime">> => non_neg_integer(),
%% <<"DataMigrationEndTime">> => non_neg_integer(),
%% <<"DataMigrationName">> => string(),
Expand Down Expand Up @@ -2273,6 +2274,16 @@
%% }
-type test_connection_response() :: #{binary() => any()}.

%% Example:
%% replication_task_assessment_run_result_statistic() :: #{
%% <<"Cancelled">> => integer(),
%% <<"Error">> => integer(),
%% <<"Failed">> => integer(),
%% <<"Passed">> => integer(),
%% <<"Warning">> => integer()
%% }
-type replication_task_assessment_run_result_statistic() :: #{binary() => any()}.

%% Example:
%% create_replication_instance_message() :: #{
%% <<"AllocatedStorage">> => integer(),
Expand Down Expand Up @@ -2793,7 +2804,8 @@
%% <<"ResultKmsKeyArn">> => string(),
%% <<"ResultLocationBucket">> := string(),
%% <<"ResultLocationFolder">> => string(),
%% <<"ServiceAccessRoleArn">> := string()
%% <<"ServiceAccessRoleArn">> := string(),
%% <<"Tags">> => list(tag()())
%% }
-type start_replication_task_assessment_run_message() :: #{binary() => any()}.

Expand Down Expand Up @@ -3431,6 +3443,7 @@
%% replication_task_assessment_run() :: #{
%% <<"AssessmentProgress">> => replication_task_assessment_run_progress(),
%% <<"AssessmentRunName">> => string(),
%% <<"IsLatestTaskAssessmentRun">> => boolean(),
%% <<"LastFailureMessage">> => string(),
%% <<"ReplicationTaskArn">> => string(),
%% <<"ReplicationTaskAssessmentRunArn">> => string(),
Expand All @@ -3439,6 +3452,7 @@
%% <<"ResultKmsKeyArn">> => string(),
%% <<"ResultLocationBucket">> => string(),
%% <<"ResultLocationFolder">> => string(),
%% <<"ResultStatistic">> => replication_task_assessment_run_result_statistic(),
%% <<"ServiceAccessRoleArn">> => string(),
%% <<"Status">> => string()
%% }
Expand Down
89 changes: 49 additions & 40 deletions src/aws_ec2.erl
Original file line number Diff line number Diff line change
Expand Up @@ -19045,7 +19045,7 @@ assign_private_ip_addresses(Client, Input, Options)
%%
%% For more information, see
%% Work with NAT gateways:
%% https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with
%% https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html
%% in the Amazon VPC User Guide.
-spec assign_private_nat_gateway_address(aws_client:aws_client(), assign_private_nat_gateway_address_request()) ->
{ok, assign_private_nat_gateway_address_result(), tuple()} |
Expand Down Expand Up @@ -19314,7 +19314,7 @@ associate_ipam_resource_discovery(Client, Input, Options)
%%
%% For more information,
%% see Work with NAT gateways:
%% https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with
%% https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html
%% in the Amazon VPC User Guide.
%%
%% By default, you can associate up to 2 Elastic IP addresses per public NAT
Expand All @@ -19324,15 +19324,16 @@ associate_ipam_resource_discovery(Client, Input, Options)
%% in the Amazon VPC User Guide.
%%
%% When you associate an EIP or secondary EIPs with a public NAT gateway, the
%% network border group of the EIPs must match the network border group of
%% the Availability Zone (AZ) that the public NAT gateway is in. If it's
%% not the same, the EIP will fail to associate. You can see the network
%% border group for the subnet's AZ by viewing the details of the subnet.
%% network border group of the EIPs
%% must match the network border group of the Availability Zone (AZ) that the
%% public NAT gateway is in. If it's not the same,
%% the EIP will fail to associate. You can see the network border group for
%% the subnet's AZ by viewing the details of the subnet.
%% Similarly, you can view the network border group of an EIP by viewing the
%% details of the EIP address. For more information about network border
%% groups and EIPs, see Allocate an Elastic IP address:
%% https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip
%% in the Amazon VPC User Guide.
%% details of the EIP address. For more information
%% about network border groups and EIPs, see Allocate an Elastic IP address:
%% https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html in the
%% Amazon VPC User Guide.
-spec associate_nat_gateway_address(aws_client:aws_client(), associate_nat_gateway_address_request()) ->
{ok, associate_nat_gateway_address_result(), tuple()} |
{error, any()}.
Expand Down Expand Up @@ -20370,7 +20371,7 @@ create_customer_gateway(Client, Input, Options)
%% You can have only one default subnet
%% per Availability Zone. For more information, see Create a default
%% subnet:
%% https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-subnet
%% https://docs.aws.amazon.com/vpc/latest/userguide/work-with-default-vpc.html#create-default-subnet
%% in the Amazon VPC User Guide.
-spec create_default_subnet(aws_client:aws_client(), create_default_subnet_request()) ->
{ok, create_default_subnet_result(), tuple()} |
Expand Down Expand Up @@ -20544,7 +20545,7 @@ create_fleet(Client, Input, Options)
%% consisting of fields that describe the traffic flow. For more information,
%% see
%% Flow log records:
%% https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
%% https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html
%% in the Amazon VPC User Guide.
%%
%% When publishing to CloudWatch Logs, flow log records are published to a
Expand Down Expand Up @@ -21080,14 +21081,18 @@ create_managed_prefix_list(Client, Input, Options)
%% the Amazon VPC User Guide.
%%
%% When you create a public NAT gateway and assign it an EIP or secondary
%% EIPs, the network border group of the EIPs must match the network border
%% group of the Availability Zone (AZ) that the public NAT gateway is in. If
%% it's not the same, the NAT gateway will fail to launch. You can see
%% the network border group for the subnet's AZ by viewing the details of
%% the subnet. Similarly, you can view the network border group of an EIP by
%% viewing the details of the EIP address. For more information about network
%% border groups and EIPs, see Allocate an Elastic IP address:
%% https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip
%% EIPs,
%% the network border group of the EIPs must match the network border group
%% of the Availability Zone (AZ)
%% that the public NAT gateway is in. If it's not the same, the NAT
%% gateway will fail to launch.
%% You can see the network border group for the subnet's AZ by viewing
%% the details of the subnet.
%% Similarly, you can view the network border group of an EIP by viewing the
%% details of the EIP address.
%% For more information about network border groups and EIPs, see Allocate an
%% Elastic IP address:
%% https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html
%% in the Amazon VPC User Guide.
-spec create_nat_gateway(aws_client:aws_client(), create_nat_gateway_request()) ->
{ok, create_nat_gateway_result(), tuple()} |
Expand Down Expand Up @@ -21731,10 +21736,10 @@ create_subnet(Client, Input, Options)
%%
%% For more information, see Subnet CIDR reservations:
%% https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html
%% in the Amazon VPC User Guide and Assign prefixes
%% to network interfaces:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html in
%% the Amazon EC2 User Guide.
%% in the Amazon VPC User Guide and Manage prefixes
%% for your network interfaces:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-prefixes.html
%% in the Amazon EC2 User Guide.
-spec create_subnet_cidr_reservation(aws_client:aws_client(), create_subnet_cidr_reservation_request()) ->
{ok, create_subnet_cidr_reservation_result(), tuple()} |
{error, any()}.
Expand Down Expand Up @@ -23735,11 +23740,16 @@ delete_volume(Client, Input, Options)
%%
%% You must detach or delete all gateways and resources that are associated
%% with the VPC before you can delete it. For example, you must terminate all
%% instances running in the VPC, delete all security groups associated with
%% the VPC (except the default one), delete all route tables associated with
%% the VPC (except the default one), and so on. When you delete the VPC, it
%% deletes the VPC's default security group, network ACL, and route
%% table.
%% instances running in the VPC,
%% delete all security groups associated with the VPC (except the default
%% one), delete all route tables
%% associated with the VPC (except the default one), and so on. When you
%% delete the VPC, it deletes the
%% default security group, network ACL, and route table for the VPC.
%%
%% If you created a flow log for the VPC that you are deleting, note that
%% flow logs for deleted
%% VPCs are eventually automatically removed.
-spec delete_vpc(aws_client:aws_client(), delete_vpc_request()) ->
{ok, undefined, tuple()} |
{error, any()}.
Expand Down Expand Up @@ -27758,7 +27768,7 @@ disable_fast_snapshot_restores(Client, Input, Options)
%% Only the AMI owner can disable an AMI.
%%
%% You can re-enable a disabled AMI using EnableImage:
%% http://amazonaws.com/AWSEC2/latest/APIReference/API_EnableImage.html.
%% https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EnableImage.html.
%%
%% For more information, see Disable an AMI:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/disable-an-ami.html in
Expand Down Expand Up @@ -28198,7 +28208,7 @@ disassociate_ipam_resource_discovery(Client, Input, Options)
%%
%% You cannot disassociate your primary EIP. For more information, see Edit
%% secondary IP address associations:
%% https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary
%% https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html#nat-gateway-edit-secondary
%% in the Amazon VPC User Guide.
%%
%% While disassociating is in progress, you cannot associate/disassociate
Expand Down Expand Up @@ -29252,16 +29262,15 @@ get_instance_tpm_ek_pub(Client, Input, Options)
%%
%% For more information, see Preview instance types with specified
%% attributes:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html#spotfleet-get-instance-types-from-instance-requirements,
%% Attribute-based instance type selection for EC2 Fleet:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements,
%% Specify attributes for instance type selection for EC2 Fleet or Spot
%% Fleet:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html,
%% Attribute-based instance type selection for Spot Fleet:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html,
%% and Spot
%% placement score:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html
%% in the Amazon EC2 User Guide, and Creating an
%% Auto Scaling group using attribute-based instance type selection:
%% in the Amazon EC2 User Guide, and Creating
%% mixed instance groups using attribute-based instance type selection:
%% https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
%% in the
%% Amazon EC2 Auto Scaling User Guide.
Expand Down Expand Up @@ -33745,9 +33754,9 @@ unassign_private_ip_addresses(Client, Input, Options)
%% @doc Unassigns secondary private IPv4 addresses from a private NAT
%% gateway.
%%
%% You cannot unassign your primary private IP. For more information, see
%% Edit secondary IP address associations:
%% https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary
%% You cannot unassign your primary private IP. For more information,
%% see Edit secondary IP address associations:
%% https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html#nat-gateway-edit-secondary
%% in the Amazon VPC User Guide.
%%
%% While unassigning is in progress, you cannot assign/unassign additional IP
Expand Down
27 changes: 24 additions & 3 deletions src/aws_eks.erl
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,13 @@
-type create_eks_anywhere_subscription_request() :: #{binary() => any()}.


%% Example:
%% zonal_shift_config_request() :: #{
%% <<"enabled">> => boolean()
%% }
-type zonal_shift_config_request() :: #{binary() => any()}.


%% Example:
%% create_cluster_request() :: #{
%% <<"accessConfig">> => create_access_config_request(),
Expand All @@ -759,7 +766,8 @@
%% <<"roleArn">> := string(),
%% <<"tags">> => map(),
%% <<"upgradePolicy">> => upgrade_policy_request(),
%% <<"version">> => string()
%% <<"version">> => string(),
%% <<"zonalShiftConfig">> => zonal_shift_config_request()
%% }
-type create_cluster_request() :: #{binary() => any()}.

Expand Down Expand Up @@ -872,6 +880,13 @@
-type invalid_request_exception() :: #{binary() => any()}.


%% Example:
%% zonal_shift_config_response() :: #{
%% <<"enabled">> => boolean()
%% }
-type zonal_shift_config_response() :: #{binary() => any()}.


%% Example:
%% upgrade_policy_response() :: #{
%% <<"supportType">> => list(any())
Expand Down Expand Up @@ -926,7 +941,8 @@
%% <<"status">> => list(any()),
%% <<"tags">> => map(),
%% <<"upgradePolicy">> => upgrade_policy_response(),
%% <<"version">> => string()
%% <<"version">> => string(),
%% <<"zonalShiftConfig">> => zonal_shift_config_response()
%% }
-type cluster() :: #{binary() => any()}.

Expand Down Expand Up @@ -1692,7 +1708,8 @@
%% <<"clientRequestToken">> => string(),
%% <<"logging">> => logging(),
%% <<"resourcesVpcConfig">> => vpc_config_request(),
%% <<"upgradePolicy">> => upgrade_policy_request()
%% <<"upgradePolicy">> => upgrade_policy_request(),
%% <<"zonalShiftConfig">> => zonal_shift_config_request()
%% }
-type update_cluster_config_request() :: #{binary() => any()}.

Expand Down Expand Up @@ -4516,6 +4533,10 @@ update_addon(Client, AddonName, ClusterName, Input0, Options0) ->
%% Amazon EKS User Guide
%% .
%%
%% You can also use this API operation to enable or disable ARC zonal shift.
%% If zonal shift is enabled, Amazon Web Services
%% configures zonal autoshift for the cluster.
%%
%% Cluster updates are asynchronous, and they should finish within a few
%% minutes. During
%% an update, the cluster status moves to `UPDATING' (this status
Expand Down
Loading

0 comments on commit 5d77fd0

Please sign in to comment.