From b6c21b2ad1a626b101ce845b71150fca66523e0c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 7 Feb 2025 02:01:29 +0000 Subject: [PATCH] Update services based on release-2025-02-06 of AWS Go SDK Reference: https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2025-02-06 --- .latest-tag-aws-sdk-go | 2 +- src/aws_cloudformation.erl | 229 +++++++++++++- src/aws_connectcases.erl | 504 ++++++++++++++++++++++++++++-- src/aws_cost_optimization_hub.erl | 11 +- src/aws_s3.erl | 186 ++++++----- 5 files changed, 822 insertions(+), 110 deletions(-) diff --git a/.latest-tag-aws-sdk-go b/.latest-tag-aws-sdk-go index 10737e0d..6da904e0 100644 --- a/.latest-tag-aws-sdk-go +++ b/.latest-tag-aws-sdk-go @@ -1 +1 @@ -release-2025-02-05 +release-2025-02-06 diff --git a/src/aws_cloudformation.erl b/src/aws_cloudformation.erl index ec97bd0a..91f053de 100644 --- a/src/aws_cloudformation.erl +++ b/src/aws_cloudformation.erl @@ -50,6 +50,8 @@ create_stack/3, create_stack_instances/2, create_stack_instances/3, + create_stack_refactor/2, + create_stack_refactor/3, create_stack_set/2, create_stack_set/3, deactivate_organizations_access/2, @@ -88,6 +90,8 @@ describe_stack_events/3, describe_stack_instance/2, describe_stack_instance/3, + describe_stack_refactor/2, + describe_stack_refactor/3, describe_stack_resource/2, describe_stack_resource/3, describe_stack_resource_drifts/2, @@ -114,6 +118,8 @@ estimate_template_cost/3, execute_change_set/2, execute_change_set/3, + execute_stack_refactor/2, + execute_stack_refactor/3, get_generated_template/2, get_generated_template/3, get_stack_policy/2, @@ -144,6 +150,10 @@ list_stack_instance_resource_drifts/3, list_stack_instances/2, list_stack_instances/3, + list_stack_refactor_actions/2, + list_stack_refactor_actions/3, + list_stack_refactors/2, + list_stack_refactors/3, list_stack_resources/2, list_stack_resources/3, list_stack_set_auto_deployment_targets/2, @@ -243,6 +253,12 @@ %% } -type set_stack_policy_input() :: #{binary() => any()}. +%% Example: +%% create_stack_refactor_output() :: #{ +%% <<"StackRefactorId">> => string() +%% } +-type create_stack_refactor_output() :: #{binary() => any()}. + %% Example: %% get_stack_policy_input() :: #{ %% <<"StackName">> := string() @@ -264,6 +280,17 @@ %% } -type activate_type_input() :: #{binary() => any()}. +%% Example: +%% stack_refactor_summary() :: #{ +%% <<"Description">> => string(), +%% <<"ExecutionStatus">> => list(any()), +%% <<"ExecutionStatusReason">> => string(), +%% <<"StackRefactorId">> => string(), +%% <<"Status">> => list(any()), +%% <<"StatusReason">> => string() +%% } +-type stack_refactor_summary() :: #{binary() => any()}. + %% Example: %% stack_resource_summary() :: #{ %% <<"DriftInformation">> => stack_resource_drift_information_summary(), @@ -489,6 +516,22 @@ %% } -type stack_event() :: #{binary() => any()}. +%% Example: +%% resource_mapping() :: #{ +%% <<"Destination">> => resource_location(), +%% <<"Source">> => resource_location() +%% } +-type resource_mapping() :: #{binary() => any()}. + +%% Example: +%% create_stack_refactor_input() :: #{ +%% <<"Description">> => string(), +%% <<"EnableStackCreation">> => boolean(), +%% <<"ResourceMappings">> => list(resource_mapping()()), +%% <<"StackDefinitions">> := list(stack_definition()()) +%% } +-type create_stack_refactor_input() :: #{binary() => any()}. + %% Example: %% physical_resource_id_context_key_value_pair() :: #{ %% <<"Key">> => string(), @@ -585,6 +628,12 @@ %% } -type concurrent_resources_limit_exceeded_exception() :: #{binary() => any()}. +%% Example: +%% stack_refactor_not_found_exception() :: #{ +%% <<"Message">> => string() +%% } +-type stack_refactor_not_found_exception() :: #{binary() => any()}. + %% Example: %% managed_execution() :: #{ %% <<"Active">> => boolean() @@ -697,6 +746,21 @@ %% } -type stack_resource_detail() :: #{binary() => any()}. +%% Example: +%% stack_refactor_action() :: #{ +%% <<"Action">> => list(any()), +%% <<"Description">> => string(), +%% <<"Detection">> => list(any()), +%% <<"DetectionReason">> => string(), +%% <<"Entity">> => list(any()), +%% <<"PhysicalResourceId">> => string(), +%% <<"ResourceIdentifier">> => string(), +%% <<"ResourceMapping">> => resource_mapping(), +%% <<"TagResources">> => list(tag()()), +%% <<"UntagResources">> => list(string()()) +%% } +-type stack_refactor_action() :: #{binary() => any()}. + %% Example: %% stack_instance_summary() :: #{ %% <<"Account">> => string(), @@ -900,6 +964,13 @@ %% } -type describe_type_registration_input() :: #{binary() => any()}. +%% Example: +%% resource_location() :: #{ +%% <<"LogicalResourceId">> => string(), +%% <<"StackName">> => string() +%% } +-type resource_location() :: #{binary() => any()}. + %% Example: %% test_type_output() :: #{ %% <<"TypeVersionArn">> => string() @@ -1199,6 +1270,13 @@ %% } -type describe_stack_set_input() :: #{binary() => any()}. +%% Example: +%% list_stack_refactors_output() :: #{ +%% <<"NextToken">> => string(), +%% <<"StackRefactorSummaries">> => list(stack_refactor_summary()()) +%% } +-type list_stack_refactors_output() :: #{binary() => any()}. + %% Example: %% activate_type_output() :: #{ %% <<"Arn">> => string() @@ -1387,6 +1465,14 @@ %% } -type resource_scan_not_found_exception() :: #{binary() => any()}. +%% Example: +%% stack_definition() :: #{ +%% <<"StackName">> => string(), +%% <<"TemplateBody">> => string(), +%% <<"TemplateURL">> => string() +%% } +-type stack_definition() :: #{binary() => any()}. + %% Example: %% activate_organizations_access_input() :: #{ @@ -2150,12 +2236,25 @@ %% } -type deactivate_organizations_access_output() :: #{binary() => any()}. +%% Example: +%% list_stack_refactor_actions_output() :: #{ +%% <<"NextToken">> => string(), +%% <<"StackRefactorActions">> => list(stack_refactor_action()()) +%% } +-type list_stack_refactor_actions_output() :: #{binary() => any()}. + %% Example: %% token_already_exists_exception() :: #{ %% <<"Message">> => string() %% } -type token_already_exists_exception() :: #{binary() => any()}. +%% Example: +%% describe_stack_refactor_input() :: #{ +%% <<"StackRefactorId">> := string() +%% } +-type describe_stack_refactor_input() :: #{binary() => any()}. + %% Example: %% batch_describe_type_configurations_input() :: #{ %% <<"TypeConfigurationIdentifiers">> := list(type_configuration_identifier()()) @@ -2335,6 +2434,32 @@ %% } -type operation_result_filter() :: #{binary() => any()}. +%% Example: +%% execute_stack_refactor_input() :: #{ +%% <<"StackRefactorId">> := string() +%% } +-type execute_stack_refactor_input() :: #{binary() => any()}. + +%% Example: +%% describe_stack_refactor_output() :: #{ +%% <<"Description">> => string(), +%% <<"ExecutionStatus">> => list(any()), +%% <<"ExecutionStatusReason">> => string(), +%% <<"StackIds">> => list(string()()), +%% <<"StackRefactorId">> => string(), +%% <<"Status">> => list(any()), +%% <<"StatusReason">> => string() +%% } +-type describe_stack_refactor_output() :: #{binary() => any()}. + +%% Example: +%% list_stack_refactors_input() :: #{ +%% <<"ExecutionStatusFilter">> => list(list(any())()), +%% <<"MaxResults">> => integer(), +%% <<"NextToken">> => string() +%% } +-type list_stack_refactors_input() :: #{binary() => any()}. + %% Example: %% change_set_not_found_exception() :: #{ %% <<"Message">> => string() @@ -2523,6 +2648,14 @@ %% } -type auto_deployment() :: #{binary() => any()}. +%% Example: +%% list_stack_refactor_actions_input() :: #{ +%% <<"MaxResults">> => integer(), +%% <<"NextToken">> => string(), +%% <<"StackRefactorId">> := string() +%% } +-type list_stack_refactor_actions_input() :: #{binary() => any()}. + -type activate_organizations_access_errors() :: operation_not_found_exception() | invalid_operation_exception(). @@ -2626,6 +2759,9 @@ stack_instance_not_found_exception() | stack_set_not_found_exception(). +-type describe_stack_refactor_errors() :: + stack_refactor_not_found_exception(). + -type describe_stack_set_errors() :: stack_set_not_found_exception(). @@ -3036,6 +3172,22 @@ create_stack_instances(Client, Input, Options) when is_map(Client), is_map(Input), is_list(Options) -> request(Client, <<"CreateStackInstances">>, Input, Options). +%% @doc Creates a refactor across multiple stacks, with the list of stacks +%% and resources that are affected. +-spec create_stack_refactor(aws_client:aws_client(), create_stack_refactor_input()) -> + {ok, create_stack_refactor_output(), tuple()} | + {error, any()}. +create_stack_refactor(Client, Input) + when is_map(Client), is_map(Input) -> + create_stack_refactor(Client, Input, []). + +-spec create_stack_refactor(aws_client:aws_client(), create_stack_refactor_input(), proplists:proplist()) -> + {ok, create_stack_refactor_output(), tuple()} | + {error, any()}. +create_stack_refactor(Client, Input, Options) + when is_map(Client), is_map(Input), is_list(Options) -> + request(Client, <<"CreateStackRefactor">>, Input, Options). + %% @doc Creates a stack set. -spec create_stack_set(aws_client:aws_client(), create_stack_set_input()) -> {ok, create_stack_set_output(), tuple()} | @@ -3507,6 +3659,23 @@ describe_stack_instance(Client, Input, Options) when is_map(Client), is_map(Input), is_list(Options) -> request(Client, <<"DescribeStackInstance">>, Input, Options). +%% @doc Describes the stack refactor status. +-spec describe_stack_refactor(aws_client:aws_client(), describe_stack_refactor_input()) -> + {ok, describe_stack_refactor_output(), tuple()} | + {error, any()} | + {error, describe_stack_refactor_errors(), tuple()}. +describe_stack_refactor(Client, Input) + when is_map(Client), is_map(Input) -> + describe_stack_refactor(Client, Input, []). + +-spec describe_stack_refactor(aws_client:aws_client(), describe_stack_refactor_input(), proplists:proplist()) -> + {ok, describe_stack_refactor_output(), tuple()} | + {error, any()} | + {error, describe_stack_refactor_errors(), tuple()}. +describe_stack_refactor(Client, Input, Options) + when is_map(Client), is_map(Input), is_list(Options) -> + request(Client, <<"DescribeStackRefactor">>, Input, Options). + %% @doc Returns a description of the specified resource in the specified %% stack. %% @@ -3816,8 +3985,8 @@ detect_stack_resource_drift(Client, Input, Options) %% When CloudFormation performs drift detection on a stack set, it %% performs drift detection on the stack associated with each stack instance %% in the stack set. -%% For more information, see How CloudFormation performs drift -%% detection on a stack set: +%% For more information, see Performing drift detection on +%% CloudFormation StackSets: %% https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html. %% %% `DetectStackSetDrift' returns the `OperationId' of the stack set @@ -3849,11 +4018,6 @@ detect_stack_resource_drift(Client, Input, Options) %% specific stack instance, including its drift status and last drift time %% checked. %% -%% For more information about performing a drift detection operation on a -%% stack set, see -%% Detecting unmanaged changes in stack sets: -%% https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html. -%% %% You can only run a single drift detection operation on a given stack set %% at one %% time. @@ -3932,6 +4096,21 @@ execute_change_set(Client, Input, Options) when is_map(Client), is_map(Input), is_list(Options) -> request(Client, <<"ExecuteChangeSet">>, Input, Options). +%% @doc Executes the stack refactor operation. +-spec execute_stack_refactor(aws_client:aws_client(), execute_stack_refactor_input()) -> + {ok, undefined, tuple()} | + {error, any()}. +execute_stack_refactor(Client, Input) + when is_map(Client), is_map(Input) -> + execute_stack_refactor(Client, Input, []). + +-spec execute_stack_refactor(aws_client:aws_client(), execute_stack_refactor_input(), proplists:proplist()) -> + {ok, undefined, tuple()} | + {error, any()}. +execute_stack_refactor(Client, Input, Options) + when is_map(Client), is_map(Input), is_list(Options) -> + request(Client, <<"ExecuteStackRefactor">>, Input, Options). + %% @doc Retrieves a generated template. %% %% If the template is in an `InProgress' or @@ -4271,6 +4450,37 @@ list_stack_instances(Client, Input, Options) when is_map(Client), is_map(Input), is_list(Options) -> request(Client, <<"ListStackInstances">>, Input, Options). +%% @doc Lists the stack refactor actions that will be taken after calling the +%% `ExecuteStackRefactor' action. +-spec list_stack_refactor_actions(aws_client:aws_client(), list_stack_refactor_actions_input()) -> + {ok, list_stack_refactor_actions_output(), tuple()} | + {error, any()}. +list_stack_refactor_actions(Client, Input) + when is_map(Client), is_map(Input) -> + list_stack_refactor_actions(Client, Input, []). + +-spec list_stack_refactor_actions(aws_client:aws_client(), list_stack_refactor_actions_input(), proplists:proplist()) -> + {ok, list_stack_refactor_actions_output(), tuple()} | + {error, any()}. +list_stack_refactor_actions(Client, Input, Options) + when is_map(Client), is_map(Input), is_list(Options) -> + request(Client, <<"ListStackRefactorActions">>, Input, Options). + +%% @doc Lists all account stack refactor operations and their statuses. +-spec list_stack_refactors(aws_client:aws_client(), list_stack_refactors_input()) -> + {ok, list_stack_refactors_output(), tuple()} | + {error, any()}. +list_stack_refactors(Client, Input) + when is_map(Client), is_map(Input) -> + list_stack_refactors(Client, Input, []). + +-spec list_stack_refactors(aws_client:aws_client(), list_stack_refactors_input(), proplists:proplist()) -> + {ok, list_stack_refactors_output(), tuple()} | + {error, any()}. +list_stack_refactors(Client, Input, Options) + when is_map(Client), is_map(Input), is_list(Options) -> + request(Client, <<"ListStackRefactors">>, Input, Options). + %% @doc Returns descriptions of all resources of the specified stack. %% %% For deleted stacks, ListStackResources returns resource information for up @@ -4755,8 +4965,9 @@ start_resource_scan(Client, Input, Options) %% @doc Stops an in-progress operation on a stack set and its associated %% stack instances. %% -%% StackSets will cancel all the -%% unstarted stack instance deployments and wait for those are in-progress to +%% StackSets +%% will cancel all the unstarted stack instance deployments and wait for +%% those are in-progress to %% complete. -spec stop_stack_set_operation(aws_client:aws_client(), stop_stack_set_operation_input()) -> {ok, stop_stack_set_operation_output(), tuple()} | diff --git a/src/aws_connectcases.erl b/src/aws_connectcases.erl index 85624b9c..86f63306 100644 --- a/src/aws_connectcases.erl +++ b/src/aws_connectcases.erl @@ -1,7 +1,17 @@ %% WARNING: DO NOT EDIT, AUTO-GENERATED CODE! %% See https://github.com/aws-beam/aws-codegen for more details. -%% @doc With Amazon Connect Cases, your agents can track and manage customer +%% @doc +%% +%% Cases +%% actions: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Cases.html +%% +%% Cases data +%% types: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Cases.html +%% +%% With Amazon Connect Cases, your agents can track and manage customer %% issues that require %% multiple interactions, follow-up tasks, and teams in your contact center. %% @@ -13,12 +23,16 @@ %% Amazon Connect Administrator Guide. -module(aws_connectcases). --export([batch_get_field/3, +-export([batch_get_case_rule/3, + batch_get_case_rule/4, + batch_get_field/3, batch_get_field/4, batch_put_field_options/4, batch_put_field_options/5, create_case/3, create_case/4, + create_case_rule/3, + create_case_rule/4, create_domain/2, create_domain/3, create_field/3, @@ -29,6 +43,8 @@ create_related_item/5, create_template/3, create_template/4, + delete_case_rule/4, + delete_case_rule/5, delete_domain/3, delete_domain/4, delete_field/4, @@ -49,6 +65,8 @@ get_layout/5, get_template/4, get_template/5, + list_case_rules/3, + list_case_rules/4, list_cases_for_contact/3, list_cases_for_contact/4, list_domains/2, @@ -76,6 +94,8 @@ untag_resource/4, update_case/4, update_case/5, + update_case_rule/4, + update_case_rule/5, update_field/4, update_field/5, update_layout/4, @@ -98,10 +118,18 @@ %% get_domain_request() :: #{} -type get_domain_request() :: #{}. +%% Example: +%% delete_case_rule_request() :: #{} +-type delete_case_rule_request() :: #{}. + %% Example: %% delete_domain_response() :: #{} -type delete_domain_response() :: #{}. +%% Example: +%% update_case_rule_response() :: #{} +-type update_case_rule_response() :: #{}. + %% Example: %% tag_resource_request() :: #{ @@ -118,6 +146,14 @@ -type update_layout_request() :: #{binary() => any()}. +%% Example: +%% template_rule() :: #{ +%% <<"caseRuleId">> => string(), +%% <<"fieldId">> => string() +%% } +-type template_rule() :: #{binary() => any()}. + + %% Example: %% get_case_audit_events_response() :: #{ %% <<"auditEvents">> => list(audit_event()()), @@ -162,6 +198,14 @@ -type get_case_audit_events_request() :: #{binary() => any()}. +%% Example: +%% create_case_rule_response() :: #{ +%% <<"caseRuleArn">> => string(), +%% <<"caseRuleId">> => string() +%% } +-type create_case_rule_response() :: #{binary() => any()}. + + %% Example: %% list_templates_request() :: #{ %% <<"maxResults">> => integer(), @@ -213,6 +257,7 @@ %% <<"layoutConfiguration">> => layout_configuration(), %% <<"name">> := string(), %% <<"requiredFields">> => list(required_field()()), +%% <<"rules">> => list(template_rule()()), %% <<"status">> => string() %% } -type create_template_request() :: #{binary() => any()}. @@ -227,6 +272,7 @@ %% <<"layoutConfiguration">> => layout_configuration(), %% <<"name">> := string(), %% <<"requiredFields">> => list(required_field()()), +%% <<"rules">> => list(template_rule()()), %% <<"status">> := string(), %% <<"tags">> => map(), %% <<"templateArn">> := string(), @@ -288,6 +334,7 @@ %% <<"layoutConfiguration">> => layout_configuration(), %% <<"name">> => string(), %% <<"requiredFields">> => list(required_field()()), +%% <<"rules">> => list(template_rule()()), %% <<"status">> => string() %% } -type update_template_request() :: #{binary() => any()}. @@ -340,6 +387,21 @@ %% } -type required_field() :: #{binary() => any()}. + +%% Example: +%% get_case_rule_response() :: #{ +%% <<"caseRuleArn">> => string(), +%% <<"caseRuleId">> => string(), +%% <<"createdTime">> => non_neg_integer(), +%% <<"deleted">> => boolean(), +%% <<"description">> => string(), +%% <<"lastModifiedTime">> => non_neg_integer(), +%% <<"name">> => string(), +%% <<"rule">> => list(), +%% <<"tags">> => map() +%% } +-type get_case_rule_response() :: #{binary() => any()}. + %% Example: %% delete_layout_response() :: #{} -type delete_layout_response() :: #{}. @@ -468,6 +530,14 @@ %% } -type list_domains_response() :: #{binary() => any()}. + +%% Example: +%% list_case_rules_request() :: #{ +%% <<"maxResults">> => integer(), +%% <<"nextToken">> => string() +%% } +-type list_case_rules_request() :: #{binary() => any()}. + %% Example: %% update_field_response() :: #{} -type update_field_response() :: #{}. @@ -483,6 +553,15 @@ -type template_summary() :: #{binary() => any()}. +%% Example: +%% create_case_rule_request() :: #{ +%% <<"description">> => string(), +%% <<"name">> := string(), +%% <<"rule">> := list() +%% } +-type create_case_rule_request() :: #{binary() => any()}. + + %% Example: %% create_field_request() :: #{ %% <<"description">> => string(), @@ -500,6 +579,18 @@ -type batch_get_field_response() :: #{binary() => any()}. +%% Example: +%% list_case_rules_response() :: #{ +%% <<"caseRules">> => list(case_rule_summary()()), +%% <<"nextToken">> => string() +%% } +-type list_case_rules_response() :: #{binary() => any()}. + +%% Example: +%% delete_case_rule_response() :: #{} +-type delete_case_rule_response() :: #{}. + + %% Example: %% list_tags_for_resource_response() :: #{ %% <<"tags">> => map() @@ -514,6 +605,10 @@ %% } -type create_layout_response() :: #{binary() => any()}. +%% Example: +%% empty_operand_value() :: #{} +-type empty_operand_value() :: #{}. + %% Example: %% put_case_event_configuration_response() :: #{} -type put_case_event_configuration_response() :: #{}. @@ -644,11 +739,31 @@ %% delete_field_response() :: #{} -type delete_field_response() :: #{}. + +%% Example: +%% update_case_rule_request() :: #{ +%% <<"description">> => string(), +%% <<"name">> => string(), +%% <<"rule">> => list() +%% } +-type update_case_rule_request() :: #{binary() => any()}. + %% Example: %% get_layout_request() :: #{} -type get_layout_request() :: #{}. +%% Example: +%% case_rule_summary() :: #{ +%% <<"caseRuleArn">> => string(), +%% <<"caseRuleId">> => string(), +%% <<"description">> => string(), +%% <<"name">> => string(), +%% <<"ruleType">> => string() +%% } +-type case_rule_summary() :: #{binary() => any()}. + + %% Example: %% access_denied_exception() :: #{ %% <<"message">> => [string()] @@ -656,6 +771,14 @@ -type access_denied_exception() :: #{binary() => any()}. +%% Example: +%% batch_get_case_rule_response() :: #{ +%% <<"caseRules">> => list(get_case_rule_response()()), +%% <<"errors">> => list(case_rule_error()()) +%% } +-type batch_get_case_rule_response() :: #{binary() => any()}. + + %% Example: %% field_value() :: #{ %% <<"id">> => string(), @@ -776,6 +899,15 @@ -type update_case_response() :: #{}. +%% Example: +%% case_rule_error() :: #{ +%% <<"errorCode">> => [string()], +%% <<"id">> => string(), +%% <<"message">> => [string()] +%% } +-type case_rule_error() :: #{binary() => any()}. + + %% Example: %% create_template_response() :: #{ %% <<"templateArn">> := string(), @@ -805,11 +937,28 @@ %% } -type file_content() :: #{binary() => any()}. + +%% Example: +%% boolean_operands() :: #{ +%% <<"operandOne">> => list(), +%% <<"operandTwo">> => list(), +%% <<"result">> => [boolean()] +%% } +-type boolean_operands() :: #{binary() => any()}. + %% Example: %% delete_layout_request() :: #{} -type delete_layout_request() :: #{}. +%% Example: +%% required_case_rule() :: #{ +%% <<"conditions">> => list(list()()), +%% <<"defaultValue">> => [boolean()] +%% } +-type required_case_rule() :: #{binary() => any()}. + + %% Example: %% list_field_options_response() :: #{ %% <<"nextToken">> => string(), @@ -818,6 +967,13 @@ -type list_field_options_response() :: #{binary() => any()}. +%% Example: +%% case_rule_identifier() :: #{ +%% <<"id">> => string() +%% } +-type case_rule_identifier() :: #{binary() => any()}. + + %% Example: %% list_cases_for_contact_request() :: #{ %% <<"contactArn">> := string(), @@ -917,6 +1073,20 @@ %% } -type audit_event_performed_by() :: #{binary() => any()}. + +%% Example: +%% batch_get_case_rule_request() :: #{ +%% <<"caseRules">> := list(case_rule_identifier()()) +%% } +-type batch_get_case_rule_request() :: #{binary() => any()}. + +-type batch_get_case_rule_errors() :: + throttling_exception() | + validation_exception() | + access_denied_exception() | + internal_server_exception() | + resource_not_found_exception(). + -type batch_get_field_errors() :: throttling_exception() | validation_exception() | @@ -940,6 +1110,15 @@ resource_not_found_exception() | conflict_exception(). +-type create_case_rule_errors() :: + throttling_exception() | + validation_exception() | + access_denied_exception() | + internal_server_exception() | + service_quota_exceeded_exception() | + resource_not_found_exception() | + conflict_exception(). + -type create_domain_errors() :: throttling_exception() | validation_exception() | @@ -983,6 +1162,13 @@ resource_not_found_exception() | conflict_exception(). +-type delete_case_rule_errors() :: + throttling_exception() | + access_denied_exception() | + internal_server_exception() | + resource_not_found_exception() | + conflict_exception(). + -type delete_domain_errors() :: throttling_exception() | validation_exception() | @@ -1058,6 +1244,13 @@ internal_server_exception() | resource_not_found_exception(). +-type list_case_rules_errors() :: + throttling_exception() | + validation_exception() | + access_denied_exception() | + internal_server_exception() | + resource_not_found_exception(). + -type list_cases_for_contact_errors() :: throttling_exception() | validation_exception() | @@ -1148,6 +1341,14 @@ internal_server_exception() | resource_not_found_exception(). +-type update_case_rule_errors() :: + throttling_exception() | + validation_exception() | + access_denied_exception() | + internal_server_exception() | + resource_not_found_exception() | + conflict_exception(). + -type update_field_errors() :: throttling_exception() | validation_exception() | @@ -1177,6 +1378,47 @@ %% API %%==================================================================== +%% @doc Gets a batch of case rules. +%% +%% In the Amazon Connect admin website, case rules are known as case field +%% conditions. For more +%% information about case field conditions, see Add case field conditions to +%% a +%% case template: +%% https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html. +-spec batch_get_case_rule(aws_client:aws_client(), binary() | list(), batch_get_case_rule_request()) -> + {ok, batch_get_case_rule_response(), tuple()} | + {error, any()} | + {error, batch_get_case_rule_errors(), tuple()}. +batch_get_case_rule(Client, DomainId, Input) -> + batch_get_case_rule(Client, DomainId, Input, []). + +-spec batch_get_case_rule(aws_client:aws_client(), binary() | list(), batch_get_case_rule_request(), proplists:proplist()) -> + {ok, batch_get_case_rule_response(), tuple()} | + {error, any()} | + {error, batch_get_case_rule_errors(), tuple()}. +batch_get_case_rule(Client, DomainId, Input0, Options0) -> + Method = post, + Path = ["/domains/", aws_util:encode_uri(DomainId), "/rules-batch"], + SuccessStatusCode = 200, + {SendBodyAsBinary, Options1} = proplists_take(send_body_as_binary, Options0, false), + {ReceiveBodyAsBinary, Options2} = proplists_take(receive_body_as_binary, Options1, false), + Options = [{send_body_as_binary, SendBodyAsBinary}, + {receive_body_as_binary, ReceiveBodyAsBinary}, + {append_sha256_content_hash, false} + | Options2], + + Headers = [], + Input1 = Input0, + + CustomHeaders = [], + Input2 = Input1, + + Query_ = [], + Input = Input2, + + request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode). + %% @doc Returns the description for the list of fields in the request %% parameters. -spec batch_get_field(aws_client:aws_client(), binary() | list(), batch_get_field_request()) -> @@ -1302,6 +1544,47 @@ create_case(Client, DomainId, Input0, Options0) -> request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode). +%% @doc Creates a new case rule. +%% +%% In the Amazon Connect admin website, case rules are known as case field +%% conditions. For more +%% information about case field conditions, see Add case field conditions to +%% a +%% case template: +%% https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html. +-spec create_case_rule(aws_client:aws_client(), binary() | list(), create_case_rule_request()) -> + {ok, create_case_rule_response(), tuple()} | + {error, any()} | + {error, create_case_rule_errors(), tuple()}. +create_case_rule(Client, DomainId, Input) -> + create_case_rule(Client, DomainId, Input, []). + +-spec create_case_rule(aws_client:aws_client(), binary() | list(), create_case_rule_request(), proplists:proplist()) -> + {ok, create_case_rule_response(), tuple()} | + {error, any()} | + {error, create_case_rule_errors(), tuple()}. +create_case_rule(Client, DomainId, Input0, Options0) -> + Method = post, + Path = ["/domains/", aws_util:encode_uri(DomainId), "/case-rules"], + SuccessStatusCode = 200, + {SendBodyAsBinary, Options1} = proplists_take(send_body_as_binary, Options0, false), + {ReceiveBodyAsBinary, Options2} = proplists_take(receive_body_as_binary, Options1, false), + Options = [{send_body_as_binary, SendBodyAsBinary}, + {receive_body_as_binary, ReceiveBodyAsBinary}, + {append_sha256_content_hash, false} + | Options2], + + Headers = [], + Input1 = Input0, + + CustomHeaders = [], + Input2 = Input1, + + Query_ = [], + Input = Input2, + + request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode). + %% @doc Creates a domain, which is a container for all case data, such as %% cases, fields, templates %% and layouts. @@ -1450,6 +1733,8 @@ create_layout(Client, DomainId, Input0, Options0) -> %% DescribeUser: %% https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html %% permission on the ARN of the user that you provide. +%% +%% The `type' field is reserved for internal use only. -spec create_related_item(aws_client:aws_client(), binary() | list(), binary() | list(), create_related_item_request()) -> {ok, create_related_item_response(), tuple()} | {error, any()} | @@ -1495,6 +1780,20 @@ create_related_item(Client, CaseId, DomainId, Input0, Options0) -> %% template can be either Active or Inactive, as indicated by its status. %% Inactive templates %% cannot be used to create cases. +%% +%% Other template APIs are: +%% +%% DeleteTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_DeleteTemplate.html +%% +%% GetTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_GetTemplate.html +%% +%% ListTemplates: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_ListTemplates.html +%% +%% UpdateTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_UpdateTemplate.html -spec create_template(aws_client:aws_client(), binary() | list(), create_template_request()) -> {ok, create_template_response(), tuple()} | {error, any()} | @@ -1528,6 +1827,47 @@ create_template(Client, DomainId, Input0, Options0) -> request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode). +%% @doc Deletes a case rule. +%% +%% In the Amazon Connect admin website, case rules are known as case field +%% conditions. For more +%% information about case field conditions, see Add case field conditions to +%% a +%% case template: +%% https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html. +-spec delete_case_rule(aws_client:aws_client(), binary() | list(), binary() | list(), delete_case_rule_request()) -> + {ok, delete_case_rule_response(), tuple()} | + {error, any()} | + {error, delete_case_rule_errors(), tuple()}. +delete_case_rule(Client, CaseRuleId, DomainId, Input) -> + delete_case_rule(Client, CaseRuleId, DomainId, Input, []). + +-spec delete_case_rule(aws_client:aws_client(), binary() | list(), binary() | list(), delete_case_rule_request(), proplists:proplist()) -> + {ok, delete_case_rule_response(), tuple()} | + {error, any()} | + {error, delete_case_rule_errors(), tuple()}. +delete_case_rule(Client, CaseRuleId, DomainId, Input0, Options0) -> + Method = delete, + Path = ["/domains/", aws_util:encode_uri(DomainId), "/case-rules/", aws_util:encode_uri(CaseRuleId), ""], + SuccessStatusCode = 200, + {SendBodyAsBinary, Options1} = proplists_take(send_body_as_binary, Options0, false), + {ReceiveBodyAsBinary, Options2} = proplists_take(receive_body_as_binary, Options1, false), + Options = [{send_body_as_binary, SendBodyAsBinary}, + {receive_body_as_binary, ReceiveBodyAsBinary}, + {append_sha256_content_hash, false} + | Options2], + + Headers = [], + Input1 = Input0, + + CustomHeaders = [], + Input2 = Input1, + + Query_ = [], + Input = Input2, + + request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode). + %% @doc Deletes a Cases domain. %% %% After deleting your domain you must disassociate the deleted domain from @@ -1583,38 +1923,39 @@ delete_domain(Client, DomainId, Input0, Options0) -> %% Deleted fields are not included in the `ListFields' response. %% %% Calling `CreateCase' with a deleted field throws a -%% `ValidationException' denoting -%% which field IDs in the request have been deleted. +%% `ValidationException' denoting which field IDs in the request have +%% been +%% deleted. %% %% Calling `GetCase' with a deleted field ID returns the deleted -%% field's value if one -%% exists. +%% field's value +%% if one exists. %% %% Calling `UpdateCase' with a deleted field ID throws a -%% `ValidationException' if the -%% case does not already contain a value for the deleted field. Otherwise it -%% succeeds, -%% allowing you to update or remove (using `emptyValue: {}') the -%% field's value from the -%% case. +%% `ValidationException' if the case does not already contain a value for +%% the +%% deleted field. Otherwise it succeeds, allowing you to update or remove +%% (using +%% `emptyValue: {}') the field's value from the case. %% %% `GetTemplate' does not return field IDs for deleted fields. %% %% `GetLayout' does not return field IDs for deleted fields. %% %% Calling `SearchCases' with the deleted field ID as a filter returns -%% any cases that -%% have a value for the deleted field that matches the filter criteria. +%% any +%% cases that have a value for the deleted field that matches the filter +%% criteria. %% %% Calling `SearchCases' with a `searchTerm' value that matches a -%% deleted field's value on a -%% case returns the case in the response. +%% deleted field's value on a case returns the case in the response. %% %% Calling `BatchPutFieldOptions' with a deleted field ID throw a %% `ValidationException'. %% %% Calling `GetCaseEventConfiguration' does not return field IDs for -%% deleted fields. +%% deleted +%% fields. -spec delete_field(aws_client:aws_client(), binary() | list(), binary() | list(), delete_field_request()) -> {ok, delete_field_response(), tuple()} | {error, any()} | @@ -1650,7 +1991,8 @@ delete_field(Client, DomainId, FieldId, Input0, Options0) -> %% @doc Deletes a layout from a cases template. %% -%% You can delete up to 100 layouts per domain. +%% You can delete up to 100 layouts per +%% domain. %% %% After a layout is deleted: %% @@ -1911,6 +2253,20 @@ get_layout(Client, DomainId, LayoutId, Input0, Options0) -> request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode). %% @doc Returns the details for the requested template. +%% +%% Other template APIs are: +%% +%% CreateTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateTemplate.html +%% +%% DeleteTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_DeleteTemplate.html +%% +%% ListTemplates: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_ListTemplates.html +%% +%% UpdateTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_UpdateTemplate.html -spec get_template(aws_client:aws_client(), binary() | list(), binary() | list(), get_template_request()) -> {ok, get_template_response(), tuple()} | {error, any()} | @@ -1944,6 +2300,49 @@ get_template(Client, DomainId, TemplateId, Input0, Options0) -> request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode). +%% @doc Lists all case rules in a Cases domain. +%% +%% In the Amazon Connect admin website, case rules are known as case field +%% conditions. For more +%% information about case field conditions, see Add case field conditions to +%% a +%% case template: +%% https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html. +-spec list_case_rules(aws_client:aws_client(), binary() | list(), list_case_rules_request()) -> + {ok, list_case_rules_response(), tuple()} | + {error, any()} | + {error, list_case_rules_errors(), tuple()}. +list_case_rules(Client, DomainId, Input) -> + list_case_rules(Client, DomainId, Input, []). + +-spec list_case_rules(aws_client:aws_client(), binary() | list(), list_case_rules_request(), proplists:proplist()) -> + {ok, list_case_rules_response(), tuple()} | + {error, any()} | + {error, list_case_rules_errors(), tuple()}. +list_case_rules(Client, DomainId, Input0, Options0) -> + Method = post, + Path = ["/domains/", aws_util:encode_uri(DomainId), "/rules-list/"], + SuccessStatusCode = 200, + {SendBodyAsBinary, Options1} = proplists_take(send_body_as_binary, Options0, false), + {ReceiveBodyAsBinary, Options2} = proplists_take(receive_body_as_binary, Options1, false), + Options = [{send_body_as_binary, SendBodyAsBinary}, + {receive_body_as_binary, ReceiveBodyAsBinary}, + {append_sha256_content_hash, false} + | Options2], + + Headers = [], + Input1 = Input0, + + CustomHeaders = [], + Input2 = Input1, + + QueryMapping = [ + {<<"maxResults">>, <<"maxResults">>}, + {<<"nextToken">>, <<"nextToken">>} + ], + {Query_, Input} = aws_request:build_headers(QueryMapping, Input2), + request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode). + %% @doc Lists cases for a given contact. -spec list_cases_for_contact(aws_client:aws_client(), binary() | list(), list_cases_for_contact_request()) -> {ok, list_cases_for_contact_response(), tuple()} | @@ -2170,6 +2569,20 @@ list_tags_for_resource(Client, Arn, QueryMap, HeadersMap, Options0) %% %% Each list item is a condensed summary %% object of the template. +%% +%% Other template APIs are: +%% +%% CreateTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateTemplate.html +%% +%% DeleteTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_DeleteTemplate.html +%% +%% GetTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_GetTemplate.html +%% +%% UpdateTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_UpdateTemplate.html -spec list_templates(aws_client:aws_client(), binary() | list(), list_templates_request()) -> {ok, list_templates_response(), tuple()} | {error, any()} | @@ -2444,6 +2857,47 @@ update_case(Client, CaseId, DomainId, Input0, Options0) -> request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode). +%% @doc Updates a case rule. +%% +%% In the Amazon Connect admin website, case rules are known as case field +%% conditions. For more +%% information about case field conditions, see Add case field conditions to +%% a +%% case template: +%% https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html. +-spec update_case_rule(aws_client:aws_client(), binary() | list(), binary() | list(), update_case_rule_request()) -> + {ok, update_case_rule_response(), tuple()} | + {error, any()} | + {error, update_case_rule_errors(), tuple()}. +update_case_rule(Client, CaseRuleId, DomainId, Input) -> + update_case_rule(Client, CaseRuleId, DomainId, Input, []). + +-spec update_case_rule(aws_client:aws_client(), binary() | list(), binary() | list(), update_case_rule_request(), proplists:proplist()) -> + {ok, update_case_rule_response(), tuple()} | + {error, any()} | + {error, update_case_rule_errors(), tuple()}. +update_case_rule(Client, CaseRuleId, DomainId, Input0, Options0) -> + Method = put, + Path = ["/domains/", aws_util:encode_uri(DomainId), "/case-rules/", aws_util:encode_uri(CaseRuleId), ""], + SuccessStatusCode = 200, + {SendBodyAsBinary, Options1} = proplists_take(send_body_as_binary, Options0, false), + {ReceiveBodyAsBinary, Options2} = proplists_take(receive_body_as_binary, Options1, false), + Options = [{send_body_as_binary, SendBodyAsBinary}, + {receive_body_as_binary, ReceiveBodyAsBinary}, + {append_sha256_content_hash, false} + | Options2], + + Headers = [], + Input1 = Input0, + + CustomHeaders = [], + Input2 = Input1, + + Query_ = [], + Input = Input2, + + request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode). + %% @doc Updates the properties of an existing field. -spec update_field(aws_client:aws_client(), binary() | list(), binary() | list(), update_field_request()) -> {ok, update_field_response(), tuple()} | @@ -2530,6 +2984,20 @@ update_layout(Client, DomainId, LayoutId, Input0, Options0) -> %% least one of these attributes must not be null. If a null value is %% provided for a given %% attribute, that attribute is ignored and its current value is preserved. +%% +%% Other template APIs are: +%% +%% CreateTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateTemplate.html +%% +%% DeleteTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_DeleteTemplate.html +%% +%% GetTemplate: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_GetTemplate.html +%% +%% ListTemplates: +%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_ListTemplates.html -spec update_template(aws_client:aws_client(), binary() | list(), binary() | list(), update_template_request()) -> {ok, update_template_response(), tuple()} | {error, any()} | diff --git a/src/aws_cost_optimization_hub.erl b/src/aws_cost_optimization_hub.erl index 629b20ec..8d592692 100644 --- a/src/aws_cost_optimization_hub.erl +++ b/src/aws_cost_optimization_hub.erl @@ -399,6 +399,12 @@ %% } -type reserved_instances_cost_calculation() :: #{binary() => any()}. +%% Example: +%% mixed_instance_configuration() :: #{ +%% <<"type">> => [string()] +%% } +-type mixed_instance_configuration() :: #{binary() => any()}. + %% Example: %% elasti_cache_reserved_instances_configuration() :: #{ %% <<"accountScope">> => [string()], @@ -455,7 +461,10 @@ %% Example: %% ec2_auto_scaling_group_configuration() :: #{ -%% <<"instance">> => instance_configuration() +%% <<"allocationStrategy">> => list(any()), +%% <<"instance">> => instance_configuration(), +%% <<"mixedInstances">> => list(mixed_instance_configuration()()), +%% <<"type">> => list(any()) %% } -type ec2_auto_scaling_group_configuration() :: #{binary() => any()}. diff --git a/src/aws_s3.erl b/src/aws_s3.erl index 24cc2592..7f08b377 100644 --- a/src/aws_s3.erl +++ b/src/aws_s3.erl @@ -3421,14 +3421,14 @@ %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -3611,14 +3611,14 @@ abort_multipart_upload(Client, Bucket, Key, Input0, Options0) -> %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -3812,14 +3812,14 @@ complete_multipart_upload(Client, Bucket, Key, Input0, Options0) -> %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -3985,6 +3985,15 @@ complete_multipart_upload(Client, Bucket, Key, Input0, Options0) -> %% ``` %% Bucket-name.s3express-zone-id.region-code.amazonaws.com'''. %% +%% Amazon S3 on Outposts - When you use this action with S3 on Outposts +%% through the REST API, you must direct requests to the S3 on Outposts +%% hostname. The S3 on Outposts hostname takes the +%% form +%% ``` +%% AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com'''. +%% The hostname isn't required when you use the Amazon Web Services CLI +%% or SDKs. +%% %% The following operations are related to `CopyObject': %% %% PutObject: @@ -4136,10 +4145,10 @@ copy_object(Client, Bucket, Key, Input0, Options0) -> %% '''. Virtual-hosted-style requests aren't supported. %% For more information about endpoints in Availability Zones, see Regional %% and Zonal endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -4437,14 +4446,14 @@ create_bucket_metadata_table_configuration(Client, Bucket, Input0, Options0) -> %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -4845,10 +4854,10 @@ create_multipart_upload(Client, Bucket, Key, Input0, Options0) -> %% Path-style requests are not supported. For more information about %% endpoints in Availability Zones, see Regional and Zonal endpoints for %% directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -5064,10 +5073,10 @@ create_session(Client, Bucket, QueryMap, HeadersMap, Options0) %% '''. Virtual-hosted-style requests aren't supported. %% For more information about endpoints in Availability Zones, see Regional %% and Zonal endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -5536,10 +5545,10 @@ delete_bucket_inventory_configuration(Client, Bucket, Input0, Options0) -> %% '''. Virtual-hosted-style requests aren't supported. %% For more information about endpoints in Availability Zones, see Regional %% and Zonal endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -5795,10 +5804,10 @@ delete_bucket_ownership_controls(Client, Bucket, Input0, Options0) -> %% '''. Virtual-hosted-style requests aren't supported. %% For more information about endpoints in Availability Zones, see Regional %% and Zonal endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -6114,14 +6123,14 @@ delete_bucket_website(Client, Bucket, Input0, Options0) -> %% API operation to the Zonal endpoint. These endpoints support %% virtual-hosted-style requests in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -6342,17 +6351,16 @@ delete_object_tagging(Client, Bucket, Key, Input0, Options0) -> %% per-request %% overhead. %% -%% The request can contain a list of up to 1000 keys that you want to delete. -%% In the XML, -%% you provide the object key names, and optionally, version IDs if you want -%% to delete a -%% specific version of the object from a versioning-enabled bucket. For each -%% key, Amazon S3 -%% performs a delete operation and returns the result of that delete, success -%% or failure, in -%% the response. Note that if the object specified in the request is not -%% found, Amazon S3 returns -%% the result as deleted. +%% The request can contain a list of up to 1,000 keys that you want to +%% delete. In the XML, you +%% provide the object key names, and optionally, version IDs if you want to +%% delete a specific +%% version of the object from a versioning-enabled bucket. For each key, +%% Amazon S3 performs a +%% delete operation and returns the result of that delete, success or +%% failure, in the response. +%% If the object specified in the request isn't found, Amazon S3 confirms +%% the deletion by returning the result as deleted. %% %% Directory buckets - %% S3 Versioning isn't enabled and supported for directory buckets. @@ -6362,14 +6370,14 @@ delete_object_tagging(Client, Bucket, Key, Input0, Options0) -> %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -7229,10 +7237,10 @@ get_bucket_inventory_configuration(Client, Bucket, Id, QueryMap, HeadersMap, Opt %% '''. Virtual-hosted-style requests aren't supported. %% For more information about endpoints in Availability Zones, see Regional %% and Zonal endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -7733,10 +7741,10 @@ get_bucket_ownership_controls(Client, Bucket, QueryMap, HeadersMap, Options0) %% '''. Virtual-hosted-style requests aren't supported. %% For more information about endpoints in Availability Zones, see Regional %% and Zonal endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -8256,7 +8264,7 @@ get_bucket_website(Client, Bucket, QueryMap, HeadersMap, Options0) %% Only virtual-hosted-style requests are supported. For a virtual %% hosted-style request example, if you have the object %% `photos/2006/February/sample.jpg' in the bucket named -%% `examplebucket--use1-az5--x-s3', specify the object key name as +%% `amzn-s3-demo-bucket--usw2-az1--x-s3', specify the object key name as %% `/photos/2006/February/sample.jpg'. Also, when you make requests to %% this API operation, your requests are sent to the Zonal endpoint. These %% endpoints support virtual-hosted-style requests in the format @@ -8265,10 +8273,10 @@ get_bucket_website(Client, Bucket, QueryMap, HeadersMap, Options0) %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -8668,14 +8676,14 @@ get_object_acl(Client, Bucket, Key, QueryMap, HeadersMap, Options0) %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -9422,10 +9430,10 @@ get_public_access_block(Client, Bucket, QueryMap, HeadersMap, Options0) %% Path-style requests are not supported. For more information about %% endpoints in Availability Zones, see Regional and Zonal endpoints for %% directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -9639,14 +9647,14 @@ head_bucket(Client, Bucket, Input0, Options0) -> %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -10184,10 +10192,10 @@ list_buckets(Client, QueryMap, HeadersMap, Options0) %% '''. Virtual-hosted-style requests aren't supported. %% For more information about endpoints in Availability Zones, see Regional %% and Zonal endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -10307,14 +10315,14 @@ list_directory_buckets(Client, QueryMap, HeadersMap, Options0) %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -10678,14 +10686,14 @@ list_objects(Client, Bucket, QueryMap, HeadersMap, Options0) %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -10860,14 +10868,14 @@ list_objects_v2(Client, Bucket, QueryMap, HeadersMap, Options0) %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -11525,10 +11533,10 @@ put_bucket_cors(Client, Bucket, Input0, Options0) -> %% '''. Virtual-hosted-style requests aren't supported. %% For more information about endpoints in Availability Zones, see Regional %% and Zonal endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -11576,7 +11584,7 @@ put_bucket_cors(Client, Bucket, Input0, Options0) -> %% %% Your SSE-KMS configuration can only support 1 customer managed key: %% https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk -%% per directory bucket for the lifetime of the bucket. +%% per directory bucket's lifetime. %% The Amazon Web Services managed key: %% https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk %% (`aws/s3') isn't supported. @@ -12063,10 +12071,10 @@ put_bucket_inventory_configuration(Client, Bucket, Input0, Options0) -> %% '''. Virtual-hosted-style requests aren't supported. %% For more information about endpoints in Availability Zones, see Regional %% and Zonal endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -12524,10 +12532,10 @@ put_bucket_ownership_controls(Client, Bucket, Input0, Options0) -> %% '''. Virtual-hosted-style requests aren't supported. %% For more information about endpoints in Availability Zones, see Regional %% and Zonal endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -13176,14 +13184,14 @@ put_bucket_website(Client, Bucket, Input0, Options0) -> %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -13202,6 +13210,22 @@ put_bucket_website(Client, Bucket, Input0, Options0) -> %% %% This functionality is not supported for directory buckets. %% +%% If-None-Match - Uploads the object only if the object key name does not +%% already exist in the specified bucket. Otherwise, Amazon S3 returns a `412 +%% Precondition Failed' error. If a conflicting operation occurs during +%% the upload, S3 returns a `409 ConditionalRequestConflict' response. On +%% a 409 failure, retry the upload. +%% +%% Expects the * character (asterisk). +%% +%% For more information, see Add preconditions to S3 operations with +%% conditional requests: +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html +%% in the Amazon S3 User Guide or RFC 7232: +%% https://datatracker.ietf.org/doc/rfc7232/. +%% +%% This functionality is not supported for S3 on Outposts. +%% %% S3 Versioning - When you enable versioning %% for a bucket, if Amazon S3 receives multiple write requests for the same %% object @@ -14514,14 +14538,14 @@ select_object_content(Client, Bucket, Key, Input0, Options0) -> %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide. @@ -14802,14 +14826,14 @@ upload_part(Client, Bucket, Key, Input0, Options0) -> %% the Zonal endpoint. These endpoints support virtual-hosted-style requests %% in the format %% ``` -%% https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name +%% https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name %% '''. Path-style requests are not supported. For more %% information about endpoints in Availability Zones, see Regional and Zonal %% endpoints for directory buckets in Availability Zones: -%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html +%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html %% in the %% Amazon S3 User Guide. For more information about endpoints in Local Zones, -%% see Available Local Zone for directory buckets: +%% see Concepts for directory buckets in Local Zones: %% https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html %% in the %% Amazon S3 User Guide.