From 6b24aeca88a12b1b7b38a0ecdfd385b180f06b9b Mon Sep 17 00:00:00 2001 From: AWS SDK Rust Bot Date: Tue, 15 Oct 2024 18:18:21 +0000 Subject: [PATCH] Update SDK models --- Cargo.toml | 4 +- aws-models/amplify.json | 49 +- aws-models/cloudformation.json | 1320 +++++++------- aws-models/codebuild.json | 148 ++ aws-models/ivs.json | 6 + aws-models/qbusiness.json | 54 +- aws-models/redshift.json | 596 +++++- aws-models/resiliencehub.json | 1605 ++++++++++------- aws-models/sdk-endpoints.json | 80 + aws-models/sesv2.json | 21 + aws-models/transcribe-streaming.json | 295 ++- examples/examples/cloudformation/Cargo.toml | 2 +- examples/examples/ses/Cargo.toml | 2 +- .../examples/transcribestreaming/Cargo.toml | 2 +- sdk/amplify/Cargo.toml | 2 +- sdk/amplify/README.md | 2 +- sdk/amplify/src/client/start_deployment.rs | 7 +- sdk/amplify/src/lib.rs | 2 +- .../operation/create_deployment/builders.rs | 2 +- .../_start_deployment_input.rs | 52 +- .../operation/start_deployment/builders.rs | 34 +- .../src/protocol_serde/shape_job_summary.rs | 14 + .../shape_start_deployment_input.rs | 3 + sdk/amplify/src/types.rs | 4 + sdk/amplify/src/types/_job_summary.rs | 59 +- sdk/amplify/src/types/_source_url_type.rs | 107 ++ sdk/cloudformation/Cargo.toml | 2 +- sdk/cloudformation/README.md | 4 +- .../src/client/continue_update_rollback.rs | 4 +- .../src/client/create_change_set.rs | 12 +- sdk/cloudformation/src/client/create_stack.rs | 16 +- .../src/client/create_stack_set.rs | 6 +- sdk/cloudformation/src/client/delete_stack.rs | 2 +- .../src/client/delete_stack_instances.rs | 2 +- .../src/client/describe_change_set.rs | 2 +- .../client/describe_stack_resource_drifts.rs | 2 +- .../src/client/describe_type.rs | 10 +- .../src/client/detect_stack_set_drift.rs | 2 +- .../src/client/estimate_template_cost.rs | 4 +- .../src/client/get_stack_policy.rs | 2 +- sdk/cloudformation/src/client/get_template.rs | 2 +- .../src/client/get_template_summary.rs | 6 +- .../src/client/import_stacks_to_stack_set.rs | 2 +- .../src/client/register_publisher.rs | 2 +- .../src/client/register_type.rs | 4 +- .../src/client/rollback_stack.rs | 2 +- .../src/client/set_stack_policy.rs | 2 +- .../src/client/set_type_configuration.rs | 2 +- sdk/cloudformation/src/client/test_type.rs | 2 +- sdk/cloudformation/src/client/update_stack.rs | 10 +- .../src/client/update_stack_set.rs | 6 +- .../src/client/validate_template.rs | 6 +- sdk/cloudformation/src/lib.rs | 4 +- .../src/operation/activate_type/builders.rs | 3 +- .../builders.rs | 2 +- .../_continue_update_rollback_input.rs | 20 +- .../continue_update_rollback/builders.rs | 14 +- .../_create_change_set_input.rs | 130 +- .../operation/create_change_set/builders.rs | 78 +- .../create_stack/_create_stack_input.rs | 150 +- .../src/operation/create_stack/builders.rs | 91 +- .../_create_stack_set_input.rs | 90 +- .../operation/create_stack_set/builders.rs | 54 +- .../delete_stack/_delete_stack_input.rs | 10 +- .../src/operation/delete_stack/builders.rs | 7 +- .../_delete_stack_instances_input.rs | 10 +- .../delete_stack_instances/builders.rs | 6 +- .../describe_account_limits/builders.rs | 2 +- .../_describe_change_set_output.rs | 10 +- .../operation/describe_change_set/builders.rs | 2 +- .../operation/describe_publisher/builders.rs | 2 +- .../builders.rs | 2 +- .../describe_stack_events/builders.rs | 2 +- .../_describe_stack_resource_drifts_output.rs | 10 +- .../builders.rs | 2 +- .../describe_stack_resources/builders.rs | 2 +- .../src/operation/describe_stacks/builders.rs | 2 +- .../describe_type/_describe_type_output.rs | 50 +- .../operation/detect_stack_drift/builders.rs | 4 +- .../detect_stack_resource_drift/builders.rs | 4 +- .../_detect_stack_set_drift_input.rs | 10 +- .../detect_stack_set_drift/builders.rs | 6 +- .../_estimate_template_cost_input.rs | 20 +- .../estimate_template_cost/builders.rs | 12 +- .../_get_stack_policy_output.rs | 10 +- .../get_template/_get_template_output.rs | 10 +- .../_get_template_summary_input.rs | 20 +- .../_get_template_summary_output.rs | 10 +- .../get_template_summary/builders.rs | 12 +- .../_import_stacks_to_stack_set_input.rs | 10 +- .../import_stacks_to_stack_set/builders.rs | 6 +- .../src/operation/list_exports/builders.rs | 2 +- .../src/operation/publish_type/builders.rs | 2 +- .../_register_publisher_input.rs | 10 +- .../operation/register_publisher/builders.rs | 8 +- .../register_type/_register_type_input.rs | 40 +- .../src/operation/register_type/builders.rs | 28 +- .../rollback_stack/_rollback_stack_input.rs | 10 +- .../src/operation/rollback_stack/builders.rs | 6 +- .../_set_stack_policy_input.rs | 10 +- .../operation/set_stack_policy/builders.rs | 6 +- .../_set_type_configuration_input.rs | 10 +- .../set_type_configuration/builders.rs | 10 +- .../operation/test_type/_test_type_input.rs | 10 +- .../src/operation/test_type/builders.rs | 10 +- .../update_stack/_update_stack_input.rs | 120 +- .../src/operation/update_stack/builders.rs | 74 +- .../_update_stack_set_input.rs | 90 +- .../operation/update_stack_set/builders.rs | 54 +- .../update_termination_protection/builders.rs | 2 +- .../_validate_template_input.rs | 20 +- .../_validate_template_output.rs | 10 +- .../operation/validate_template/builders.rs | 12 +- .../src/types/_account_limit.rs | 2 +- sdk/cloudformation/src/types/_module_info.rs | 12 +- sdk/cloudformation/src/types/_parameter.rs | 10 +- .../src/types/_property_difference.rs | 2 +- .../src/types/_required_activated_type.rs | 12 +- .../src/types/_resource_change.rs | 20 +- .../src/types/_resource_definition.rs | 20 +- .../src/types/_resource_detail.rs | 20 +- .../src/types/_resource_target_definition.rs | 10 +- .../src/types/_resource_to_import.rs | 10 +- .../src/types/_rollback_configuration.rs | 2 +- .../src/types/_rollback_trigger.rs | 10 +- .../src/types/_scanned_resource.rs | 20 +- .../src/types/_scanned_resource_identifier.rs | 20 +- sdk/cloudformation/src/types/_stack.rs | 60 +- sdk/cloudformation/src/types/_stack_event.rs | 20 +- .../src/types/_stack_instance.rs | 2 +- ..._stack_instance_resource_drifts_summary.rs | 10 +- .../src/types/_stack_resource.rs | 20 +- .../src/types/_stack_resource_detail.rs | 30 +- .../src/types/_stack_resource_drift.rs | 4 +- .../_stack_resource_drift_information.rs | 10 +- ...tack_resource_drift_information_summary.rs | 10 +- .../src/types/_stack_resource_summary.rs | 20 +- sdk/cloudformation/src/types/_stack_set.rs | 10 +- .../src/types/_stack_set_operation.rs | 10 +- .../types/_stack_set_operation_preferences.rs | 2 +- .../src/types/_stack_set_operation_summary.rs | 10 +- .../src/types/_stack_summary.rs | 30 +- sdk/cloudformation/src/types/_tag.rs | 10 +- .../src/types/_type_configuration_details.rs | 2 +- sdk/cloudformation/src/types/_type_summary.rs | 50 +- .../src/types/_type_version_summary.rs | 20 +- .../src/types/_warning_detail.rs | 10 +- .../types/error/_cfn_registry_exception.rs | 8 +- ..._type_configuration_not_found_exception.rs | 8 +- .../types/error/_type_not_found_exception.rs | 8 +- sdk/codebuild/Cargo.toml | 2 +- sdk/codebuild/README.md | 2 +- sdk/codebuild/src/client/create_fleet.rs | 1 + sdk/codebuild/src/client/update_fleet.rs | 1 + sdk/codebuild/src/lib.rs | 2 +- .../create_fleet/_create_fleet_input.rs | 22 + .../src/operation/create_fleet/builders.rs | 14 + .../update_fleet/_update_fleet_input.rs | 22 + .../src/operation/update_fleet/builders.rs | 14 + sdk/codebuild/src/protocol_serde.rs | 8 + .../shape_create_fleet_input.rs | 28 +- .../src/protocol_serde/shape_fleet.rs | 4 + .../protocol_serde/shape_fleet_proxy_rule.rs | 76 + .../shape_fleet_proxy_rule_entities.rs | 34 + .../protocol_serde/shape_fleet_proxy_rules.rs | 32 + .../shape_proxy_configuration.rs | 65 + .../shape_update_fleet_input.rs | 28 +- sdk/codebuild/src/serde_util.rs | 15 + sdk/codebuild/src/types.rs | 20 + sdk/codebuild/src/types/_fleet.rs | 22 + sdk/codebuild/src/types/_fleet_proxy_rule.rs | 122 ++ .../src/types/_fleet_proxy_rule_behavior.rs | 107 ++ .../types/_fleet_proxy_rule_effect_type.rs | 107 ++ .../src/types/_fleet_proxy_rule_type.rs | 107 ++ .../src/types/_proxy_configuration.rs | 80 + .../src/types/_webhook_filter_type.rs | 7 + sdk/codebuild/src/types/builders.rs | 4 + sdk/ivs/Cargo.toml | 2 +- sdk/ivs/README.md | 2 +- sdk/ivs/src/lib.rs | 2 +- .../src/protocol_serde/shape_stream_event.rs | 7 + sdk/ivs/src/types/_stream_event.rs | 62 + sdk/qbusiness/Cargo.toml | 2 +- sdk/qbusiness/README.md | 2 +- sdk/qbusiness/src/client/chat.rs | 2 +- sdk/qbusiness/src/client/chat_sync.rs | 2 +- .../src/client/create_application.rs | 2 +- .../src/client/create_web_experience.rs | 1 + .../src/client/get_web_experience.rs | 1 + .../src/client/update_web_experience.rs | 1 + sdk/qbusiness/src/lib.rs | 2 +- .../src/operation/chat/_chat_input.rs | 10 +- sdk/qbusiness/src/operation/chat/builders.rs | 6 +- .../operation/chat_sync/_chat_sync_input.rs | 10 +- .../src/operation/chat_sync/builders.rs | 6 +- .../_create_application_input.rs | 10 +- .../operation/create_application/builders.rs | 6 +- .../_create_web_experience_input.rs | 40 + .../create_web_experience/builders.rs | 25 + .../_get_web_experience_output.rs | 30 + .../_update_web_experience_input.rs | 65 + .../update_web_experience/builders.rs | 40 + sdk/qbusiness/src/protocol_serde.rs | 2 + .../shape_create_web_experience_input.rs | 43 +- .../shape_get_web_experience.rs | 3 + .../shape_update_web_experience_input.rs | 29 +- .../shape_web_experience_origins.rs | 34 + .../src/types/_q_apps_configuration.rs | 2 +- sdk/qbusiness/src/types/_users_and_groups.rs | 12 +- sdk/redshift/Cargo.toml | 2 +- sdk/redshift/README.md | 2 +- sdk/redshift/src/client.rs | 8 + sdk/redshift/src/client/create_cluster.rs | 2 +- sdk/redshift/src/client/create_integration.rs | 29 + sdk/redshift/src/client/delete_integration.rs | 23 + .../src/client/describe_integrations.rs | 18 + sdk/redshift/src/client/describe_tags.rs | 2 +- sdk/redshift/src/client/modify_cluster.rs | 2 +- sdk/redshift/src/client/modify_integration.rs | 25 + sdk/redshift/src/error_meta.rs | 164 ++ sdk/redshift/src/lens.rs | 20 + sdk/redshift/src/lib.rs | 2 +- sdk/redshift/src/operation.rs | 12 + .../create_cluster/_create_cluster_input.rs | 10 +- .../src/operation/create_cluster/builders.rs | 6 +- .../src/operation/create_integration.rs | 435 +++++ .../_create_integration_input.rs | 214 +++ .../_create_integration_output.rs | 317 ++++ .../operation/create_integration/builders.rs | 231 +++ .../src/operation/delete_integration.rs | 385 ++++ .../_delete_integration_input.rs | 52 + .../_delete_integration_output.rs | 317 ++++ .../operation/delete_integration/builders.rs | 125 ++ .../src/operation/describe_integrations.rs | 369 ++++ .../_describe_integrations_input.rs | 136 ++ .../_describe_integrations_output.rs | 96 + .../describe_integrations/builders.rs | 184 ++ .../describe_integrations/paginator.rs | 148 ++ .../describe_tags/_describe_tags_input.rs | 20 + .../src/operation/describe_tags/builders.rs | 12 + .../modify_cluster/_modify_cluster_input.rs | 10 +- .../src/operation/modify_cluster/builders.rs | 6 +- .../src/operation/modify_integration.rs | 395 ++++ .../_modify_integration_input.rs | 96 + .../_modify_integration_output.rs | 317 ++++ .../operation/modify_integration/builders.rs | 153 ++ .../src/operation/resize_cluster/builders.rs | 2 + sdk/redshift/src/protocol_serde.rs | 44 +- .../shape_create_integration.rs | 362 ++++ .../shape_create_integration_input.rs | 59 + .../shape_delete_integration.rs | 278 +++ .../shape_delete_integration_input.rs | 15 + .../shape_describe_integrations.rs | 135 ++ .../shape_describe_integrations_filter.rs | 24 + .../shape_describe_integrations_input.rs | 39 + .../shape_encryption_context_map.rs | 52 + .../src/protocol_serde/shape_integration.rs | 150 ++ .../shape_integration_already_exists_fault.rs | 32 + ...pe_integration_conflict_operation_fault.rs | 32 + .../shape_integration_conflict_state_fault.rs | 32 + .../protocol_serde/shape_integration_list.rs | 19 + .../shape_integration_quota_exceeded_fault.rs | 32 + ...hape_integration_source_not_found_fault.rs | 32 + ...hape_integration_target_not_found_fault.rs | 32 + .../shape_modify_integration.rs | 296 +++ .../shape_modify_integration_input.rs | 25 + sdk/redshift/src/serde_util.rs | 18 +- sdk/redshift/src/types.rs | 18 +- .../types/_describe_integrations_filter.rs | 81 + .../_describe_integrations_filter_name.rs | 119 ++ sdk/redshift/src/types/_integration.rs | 300 +++ sdk/redshift/src/types/builders.rs | 8 +- sdk/redshift/src/types/error.rs | 28 +- .../_integration_already_exists_fault.rs | 87 + .../_integration_conflict_operation_fault.rs | 87 + .../_integration_conflict_state_fault.rs | 87 + .../_integration_quota_exceeded_fault.rs | 87 + .../_integration_source_not_found_fault.rs | 87 + .../_integration_target_not_found_fault.rs | 87 + sdk/redshift/src/types/error/builders.rs | 16 +- sdk/resiliencehub/Cargo.toml | 2 +- sdk/resiliencehub/README.md | 2 +- sdk/resiliencehub/src/client/create_app.rs | 1 + ...aft_app_version_resources_import_status.rs | 3 +- sdk/resiliencehub/src/client/list_apps.rs | 1 + sdk/resiliencehub/src/lib.rs | 2 +- .../operation/create_app/_create_app_input.rs | 24 + .../src/operation/create_app/builders.rs | 14 + ..._version_resources_import_status_output.rs | 40 +- .../builders.rs | 2 +- sdk/resiliencehub/src/operation/list_apps.rs | 5 + .../operation/list_apps/_list_apps_input.rs | 22 + .../src/operation/list_apps/builders.rs | 14 + sdk/resiliencehub/src/protocol_serde.rs | 4 + .../src/protocol_serde/shape_app.rs | 7 + .../src/protocol_serde/shape_app_summary.rs | 7 + .../protocol_serde/shape_create_app_input.rs | 51 +- ...aft_app_version_resources_import_status.rs | 3 + .../src/protocol_serde/shape_error_detail.rs | 40 + .../protocol_serde/shape_error_detail_list.rs | 32 + sdk/resiliencehub/src/serde_util.rs | 6 - sdk/resiliencehub/src/types.rs | 4 + sdk/resiliencehub/src/types/_app.rs | 24 + .../src/types/_app_assessment.rs | 20 +- sdk/resiliencehub/src/types/_app_summary.rs | 22 + ..._recommendation_status_successful_entry.rs | 1 - sdk/resiliencehub/src/types/_error_detail.rs | 50 + ...ate_recommendation_status_request_entry.rs | 1 - sdk/resiliencehub/src/types/builders.rs | 2 + sdk/sesv2/Cargo.toml | 2 +- sdk/sesv2/README.md | 2 +- .../put_configuration_set_delivery_options.rs | 1 + sdk/sesv2/src/lib.rs | 2 +- ...onfiguration_set_delivery_options_input.rs | 22 + .../builders.rs | 14 + .../protocol_serde/shape_delivery_options.rs | 13 + ...onfiguration_set_delivery_options_input.rs | 14 +- sdk/sesv2/src/types/_delivery_options.rs | 22 + sdk/transcribestreaming/Cargo.toml | 2 +- sdk/transcribestreaming/README.md | 2 +- ...art_call_analytics_stream_transcription.rs | 14 +- .../start_medical_stream_transcription.rs | 6 +- .../src/client/start_stream_transcription.rs | 18 +- sdk/transcribestreaming/src/error_meta.rs | 2 +- sdk/transcribestreaming/src/lib.rs | 2 +- ...art_call_analytics_stream_transcription.rs | 2 +- ...ll_analytics_stream_transcription_input.rs | 65 +- ...l_analytics_stream_transcription_output.rs | 20 +- .../builders.rs | 39 +- .../start_medical_stream_transcription.rs | 2 +- ...tart_medical_stream_transcription_input.rs | 25 +- .../builders.rs | 15 +- .../operation/start_stream_transcription.rs | 2 +- .../_start_stream_transcription_input.rs | 110 +- .../start_stream_transcription/builders.rs | 66 +- ...call_analytics_transcript_result_stream.rs | 2 +- .../src/types/_configuration_event.rs | 15 +- .../src/types/_language_code.rs | 245 ++- .../types/_post_call_analytics_settings.rs | 15 +- sdk/transcribestreaming/src/types/error.rs | 6 +- .../src/types/error/_bad_request_exception.rs | 2 +- versions.toml | 72 +- 342 files changed, 13457 insertions(+), 2901 deletions(-) create mode 100644 sdk/amplify/src/types/_source_url_type.rs create mode 100644 sdk/codebuild/src/protocol_serde/shape_fleet_proxy_rule.rs create mode 100644 sdk/codebuild/src/protocol_serde/shape_fleet_proxy_rule_entities.rs create mode 100644 sdk/codebuild/src/protocol_serde/shape_fleet_proxy_rules.rs create mode 100644 sdk/codebuild/src/protocol_serde/shape_proxy_configuration.rs create mode 100644 sdk/codebuild/src/types/_fleet_proxy_rule.rs create mode 100644 sdk/codebuild/src/types/_fleet_proxy_rule_behavior.rs create mode 100644 sdk/codebuild/src/types/_fleet_proxy_rule_effect_type.rs create mode 100644 sdk/codebuild/src/types/_fleet_proxy_rule_type.rs create mode 100644 sdk/codebuild/src/types/_proxy_configuration.rs create mode 100644 sdk/qbusiness/src/protocol_serde/shape_web_experience_origins.rs create mode 100644 sdk/redshift/src/client/create_integration.rs create mode 100644 sdk/redshift/src/client/delete_integration.rs create mode 100644 sdk/redshift/src/client/describe_integrations.rs create mode 100644 sdk/redshift/src/client/modify_integration.rs create mode 100644 sdk/redshift/src/operation/create_integration.rs create mode 100644 sdk/redshift/src/operation/create_integration/_create_integration_input.rs create mode 100644 sdk/redshift/src/operation/create_integration/_create_integration_output.rs create mode 100644 sdk/redshift/src/operation/create_integration/builders.rs create mode 100644 sdk/redshift/src/operation/delete_integration.rs create mode 100644 sdk/redshift/src/operation/delete_integration/_delete_integration_input.rs create mode 100644 sdk/redshift/src/operation/delete_integration/_delete_integration_output.rs create mode 100644 sdk/redshift/src/operation/delete_integration/builders.rs create mode 100644 sdk/redshift/src/operation/describe_integrations.rs create mode 100644 sdk/redshift/src/operation/describe_integrations/_describe_integrations_input.rs create mode 100644 sdk/redshift/src/operation/describe_integrations/_describe_integrations_output.rs create mode 100644 sdk/redshift/src/operation/describe_integrations/builders.rs create mode 100644 sdk/redshift/src/operation/describe_integrations/paginator.rs create mode 100644 sdk/redshift/src/operation/modify_integration.rs create mode 100644 sdk/redshift/src/operation/modify_integration/_modify_integration_input.rs create mode 100644 sdk/redshift/src/operation/modify_integration/_modify_integration_output.rs create mode 100644 sdk/redshift/src/operation/modify_integration/builders.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_create_integration.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_create_integration_input.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_delete_integration.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_delete_integration_input.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_describe_integrations.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_describe_integrations_filter.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_describe_integrations_input.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_encryption_context_map.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_integration.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_integration_already_exists_fault.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_integration_conflict_operation_fault.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_integration_conflict_state_fault.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_integration_list.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_integration_quota_exceeded_fault.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_integration_source_not_found_fault.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_integration_target_not_found_fault.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_modify_integration.rs create mode 100644 sdk/redshift/src/protocol_serde/shape_modify_integration_input.rs create mode 100644 sdk/redshift/src/types/_describe_integrations_filter.rs create mode 100644 sdk/redshift/src/types/_describe_integrations_filter_name.rs create mode 100644 sdk/redshift/src/types/_integration.rs create mode 100644 sdk/redshift/src/types/error/_integration_already_exists_fault.rs create mode 100644 sdk/redshift/src/types/error/_integration_conflict_operation_fault.rs create mode 100644 sdk/redshift/src/types/error/_integration_conflict_state_fault.rs create mode 100644 sdk/redshift/src/types/error/_integration_quota_exceeded_fault.rs create mode 100644 sdk/redshift/src/types/error/_integration_source_not_found_fault.rs create mode 100644 sdk/redshift/src/types/error/_integration_target_not_found_fault.rs create mode 100644 sdk/resiliencehub/src/protocol_serde/shape_error_detail.rs create mode 100644 sdk/resiliencehub/src/protocol_serde/shape_error_detail_list.rs create mode 100644 sdk/resiliencehub/src/types/_error_detail.rs diff --git a/Cargo.toml b/Cargo.toml index 75c2580c90d2..cc650cab0d2c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [workspace] resolver = "2" exclude = [ - "examples/test-utils", + "examples/cross_service", "examples/webassembly", "examples/examples", - "examples/cross_service", + "examples/test-utils", "examples/lambda", "tests/webassembly", "tests/no-default-features" diff --git a/aws-models/amplify.json b/aws-models/amplify.json index 10d06a0aa3f3..45ba331ec0ab 100644 --- a/aws-models/amplify.json +++ b/aws-models/amplify.json @@ -2388,7 +2388,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a deployment for a manually deployed Amplify app. Manually deployed apps are\n not connected to a repository.

\n

The maximum duration between the CreateDeployment call and the\n StartDeployment call cannot exceed 8 hours. If the duration exceeds 8\n hours, the StartDeployment call and the associated Job will\n fail.

", + "smithy.api#documentation": "

Creates a deployment for a manually deployed Amplify app. Manually deployed apps are\n not connected to a Git repository.

\n

The maximum duration between the CreateDeployment call and the\n StartDeployment call cannot exceed 8 hours. If the duration exceeds 8\n hours, the StartDeployment call and the associated Job will\n fail.

", "smithy.api#http": { "method": "POST", "uri": "/apps/{appId}/branches/{branchName}/deployments", @@ -4280,9 +4280,21 @@ "jobType": { "target": "com.amazonaws.amplify#JobType", "traits": { - "smithy.api#documentation": "

The type for the job. If the value is RELEASE, the job was manually\n released from its source by using the StartJob API. If the value is\n RETRY, the job was manually retried using the StartJob\n API. If the value is WEB_HOOK, the job was automatically triggered by\n webhooks.

", + "smithy.api#documentation": "

The type for the job. If the value is RELEASE, the job was manually\n released from its source by using the StartJob API. This value is available only for apps\n that are connected to a repository.

\n

If the value is RETRY, the job was manually retried using the StartJob\n API. If the value is WEB_HOOK, the job was automatically triggered by\n webhooks. If the value is MANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.

", "smithy.api#required": {} } + }, + "sourceUrl": { + "target": "com.amazonaws.amplify#SourceUrl", + "traits": { + "smithy.api#documentation": "

The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and\n downloads a single .zip file, or an Amazon S3 bucket and prefix.

" + } + }, + "sourceUrlType": { + "target": "com.amazonaws.amplify#SourceUrlType", + "traits": { + "smithy.api#documentation": "

The type of source specified by the sourceURL.\n If the value is ZIP, the source is a .zip file.\n If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and\n prefix. If no value is specified, the default is ZIP.

" + } } }, "traits": { @@ -5279,7 +5291,24 @@ "min": 0, "max": 3000 }, - "smithy.api#pattern": "^(?s)" + "smithy.api#pattern": "^(s3|https|http)://" + } + }, + "com.amazonaws.amplify#SourceUrlType": { + "type": "enum", + "members": { + "ZIP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZIP" + } + }, + "BUCKET_PREFIX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BUCKET_PREFIX" + } + } } }, "com.amazonaws.amplify#StackArn": { @@ -5363,7 +5392,7 @@ } ], "traits": { - "smithy.api#documentation": "

Starts a deployment for a manually deployed app. Manually deployed apps are not\n connected to a repository.

\n

The maximum duration between the CreateDeployment call and the\n StartDeployment call cannot exceed 8 hours. If the duration exceeds 8\n hours, the StartDeployment call and the associated Job will\n fail.

", + "smithy.api#documentation": "

Starts a deployment for a manually deployed app. Manually deployed apps are not\n connected to a Git repository.

\n

The maximum duration between the CreateDeployment call and the\n StartDeployment call cannot exceed 8 hours. If the duration exceeds 8\n hours, the StartDeployment call and the associated Job will\n fail.

", "smithy.api#http": { "method": "POST", "uri": "/apps/{appId}/branches/{branchName}/deployments/start", @@ -5385,7 +5414,7 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "

The name of the branch to use for the job.

", + "smithy.api#documentation": "

The name of the branch to use for the deployment job.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5393,13 +5422,19 @@ "jobId": { "target": "com.amazonaws.amplify#JobId", "traits": { - "smithy.api#documentation": "

The job ID for this deployment, generated by the create deployment request.

" + "smithy.api#documentation": "

The job ID for this deployment that is generated by the CreateDeployment request.

" } }, "sourceUrl": { "target": "com.amazonaws.amplify#SourceUrl", "traits": { - "smithy.api#documentation": "

The source URL for this deployment, used when calling start deployment without create\n deployment. The source URL can be any HTTP GET URL that is publicly accessible and\n downloads a single .zip file.

" + "smithy.api#documentation": "

The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and\n downloads a single .zip file, or an Amazon S3 bucket and prefix.

" + } + }, + "sourceUrlType": { + "target": "com.amazonaws.amplify#SourceUrlType", + "traits": { + "smithy.api#documentation": "

The type of source specified by the sourceURL.\n If the value is ZIP, the source is a .zip file.\n If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and\n prefix. If no value is specified, the default is ZIP.

" } } }, diff --git a/aws-models/cloudformation.json b/aws-models/cloudformation.json index a2160e7f7e4f..9334d3409f49 100644 --- a/aws-models/cloudformation.json +++ b/aws-models/cloudformation.json @@ -119,7 +119,7 @@ "Name": { "target": "com.amazonaws.cloudformation#LimitName", "traits": { - "smithy.api#documentation": "

The name of the account limit.

\n

Values: ConcurrentResourcesLimit | StackLimit | StackOutputsLimit\n

" + "smithy.api#documentation": "

The name of the account limit.

\n

Values: ConcurrentResourcesLimit | StackLimit |\n StackOutputsLimit\n

" } }, "Value": { @@ -130,7 +130,7 @@ } }, "traits": { - "smithy.api#documentation": "

The AccountLimit data type.

\n

CloudFormation has the following limits per account:

\n \n

For more information about these account limits, and other CloudFormation limits, see CloudFormation quotas in the\n CloudFormation User Guide.

" + "smithy.api#documentation": "

The AccountLimit data type.

\n

CloudFormation has the following limits per account:

\n \n

For more information about these account limits, and other CloudFormation limits, see Understand CloudFormation quotas in the CloudFormation User Guide.

" } }, "com.amazonaws.cloudformation#AccountLimitList": { @@ -172,7 +172,7 @@ } ], "traits": { - "smithy.api#documentation": "

Activate trusted access with Organizations. With trusted access between StackSets and Organizations\n activated, the management account has permissions to create and manage StackSets for your\n organization.

" + "smithy.api#documentation": "

Activate trusted access with Organizations. With trusted access between StackSets\n and Organizations activated, the management account has permissions to create\n and manage StackSets for your organization.

" } }, "com.amazonaws.cloudformation#ActivateOrganizationsAccessInput": { @@ -206,7 +206,7 @@ } ], "traits": { - "smithy.api#documentation": "

Activates a public third-party extension, making it available for use in stack templates. For more information,\n see Using public\n extensions in the CloudFormation User Guide.

\n

Once you have activated a public third-party extension in your account and Region, use SetTypeConfiguration to specify configuration properties for the extension. For more information, see\n Configuring extensions at\n the account level in the CloudFormation User Guide.

", + "smithy.api#documentation": "

Activates a public third-party extension, making it available for use in stack templates.\n Once you have activated a public third-party extension in your account and Region, use SetTypeConfiguration to specify configuration properties for the extension. For\n more information, see Using public\n extensions in the CloudFormation User Guide.

", "smithy.api#idempotent": {} } }, @@ -216,37 +216,37 @@ "Type": { "target": "com.amazonaws.cloudformation#ThirdPartyType", "traits": { - "smithy.api#documentation": "

The extension type.

\n

Conditional: You must specify PublicTypeArn, or TypeName, Type, and\n PublisherId.

" + "smithy.api#documentation": "

The extension type.

\n

Conditional: You must specify PublicTypeArn, or TypeName,\n Type, and PublisherId.

" } }, "PublicTypeArn": { "target": "com.amazonaws.cloudformation#ThirdPartyTypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the public extension.

\n

Conditional: You must specify PublicTypeArn, or TypeName, Type, and\n PublisherId.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the public extension.

\n

Conditional: You must specify PublicTypeArn, or TypeName,\n Type, and PublisherId.

" } }, "PublisherId": { "target": "com.amazonaws.cloudformation#PublisherId", "traits": { - "smithy.api#documentation": "

The ID of the extension publisher.

\n

Conditional: You must specify PublicTypeArn, or TypeName, Type, and\n PublisherId.

" + "smithy.api#documentation": "

The ID of the extension publisher.

\n

Conditional: You must specify PublicTypeArn, or TypeName,\n Type, and PublisherId.

" } }, "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify PublicTypeArn, or TypeName, Type, and\n PublisherId.

" + "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify PublicTypeArn, or TypeName,\n Type, and PublisherId.

" } }, "TypeNameAlias": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

An alias to assign to the public extension, in this account and Region. If you specify an alias for the\n extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the\n alias to refer to the extension in your templates, API calls, and CloudFormation console.

\n

An extension alias must be unique within a given account and Region. You can activate the same public resource\n multiple times in the same account and Region, using different type name aliases.

" + "smithy.api#documentation": "

An alias to assign to the public extension, in this account and Region. If you specify an\n alias for the extension, CloudFormation treats the alias as the extension type name within this\n account and Region. You must use the alias to refer to the extension in your templates, API\n calls, and CloudFormation console.

\n

An extension alias must be unique within a given account and Region. You can activate the\n same public resource multiple times in the same account and Region, using different type name\n aliases.

" } }, "AutoUpdate": { "target": "com.amazonaws.cloudformation#AutoUpdate", "traits": { - "smithy.api#documentation": "

Whether to automatically update the extension in this account and Region when a new minor\n version is published by the extension publisher. Major versions released by the publisher must be manually\n updated.

\n

The default is true.

" + "smithy.api#documentation": "

Whether to automatically update the extension in this account and Region when a new\n minor version is published by the extension publisher. Major versions\n released by the publisher must be manually updated.

\n

The default is true.

" } }, "LoggingConfig": { @@ -264,13 +264,13 @@ "VersionBump": { "target": "com.amazonaws.cloudformation#VersionBump", "traits": { - "smithy.api#documentation": "

Manually updates a previously-activated type to a new major or minor version, if available. You can also use\n this parameter to update the value of AutoUpdate.

\n " + "smithy.api#documentation": "

Manually updates a previously-activated type to a new major or minor version, if\n available. You can also use this parameter to update the value of\n AutoUpdate.

\n " } }, "MajorVersion": { "target": "com.amazonaws.cloudformation#MajorVersion", "traits": { - "smithy.api#documentation": "

The major version of this extension you want to activate, if multiple major versions are available. The default\n is the latest major version. CloudFormation uses the latest available minor version of the major\n version selected.

\n

You can specify MajorVersion or VersionBump, but not both.

" + "smithy.api#documentation": "

The major version of this extension you want to activate, if multiple major versions are\n available. The default is the latest major version. CloudFormation uses the latest available\n minor version of the major version selected.

\n

You can specify MajorVersion or VersionBump, but not\n both.

" } } }, @@ -284,7 +284,7 @@ "Arn": { "target": "com.amazonaws.cloudformation#PrivateTypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the activated extension, in this account and Region.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the activated extension, in this account and\n Region.

" } } }, @@ -393,7 +393,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns configuration data for the specified CloudFormation extensions, from the CloudFormation registry\n for the account and Region.

\n

For more information, see Configuring extensions at\n the account level in the CloudFormation User Guide.

" + "smithy.api#documentation": "

Returns configuration data for the specified CloudFormation extensions, from the CloudFormation\n registry for the account and Region.

\n

For more information, see Edit configuration\n data for extensions in your account in the\n CloudFormation User Guide.

" } }, "com.amazonaws.cloudformation#BatchDescribeTypeConfigurationsError": { @@ -419,7 +419,7 @@ } }, "traits": { - "smithy.api#documentation": "

Detailed information concerning an error generated during the setting of configuration data for a CloudFormation extension.

" + "smithy.api#documentation": "

Detailed information concerning an error generated during the setting of configuration data\n for a CloudFormation extension.

" } }, "com.amazonaws.cloudformation#BatchDescribeTypeConfigurationsErrors": { @@ -450,19 +450,19 @@ "Errors": { "target": "com.amazonaws.cloudformation#BatchDescribeTypeConfigurationsErrors", "traits": { - "smithy.api#documentation": "

A list of information concerning any errors generated during the setting of the specified configurations.

" + "smithy.api#documentation": "

A list of information concerning any errors generated during the setting of the specified\n configurations.

" } }, "UnprocessedTypeConfigurations": { "target": "com.amazonaws.cloudformation#UnprocessedTypeConfigurations", "traits": { - "smithy.api#documentation": "

A list of any of the specified extension configurations that CloudFormation could not process for any reason.

" + "smithy.api#documentation": "

A list of any of the specified extension configurations that CloudFormation could not process\n for any reason.

" } }, "TypeConfigurations": { "target": "com.amazonaws.cloudformation#TypeConfigurationDetailsList", "traits": { - "smithy.api#documentation": "

A list of any of the specified extension configurations from the CloudFormation registry.

" + "smithy.api#documentation": "

A list of any of the specified extension configurations from the CloudFormation\n registry.

" } } }, @@ -494,7 +494,7 @@ "Message": { "target": "com.amazonaws.cloudformation#ErrorMessage", "traits": { - "smithy.api#documentation": "

An message with details about the error that occurred.

" + "smithy.api#documentation": "

A message with details about the error that occurred.

" } } }, @@ -539,7 +539,7 @@ } ], "traits": { - "smithy.api#documentation": "

Cancels an update on the specified stack. If the call completes successfully, the stack rolls back the update\n and reverts to the previous stack configuration.

\n \n

You can cancel only stacks that are in the UPDATE_IN_PROGRESS state.

\n
" + "smithy.api#documentation": "

Cancels an update on the specified stack. If the call completes successfully, the stack\n rolls back the update and reverts to the previous stack configuration.

\n \n

You can cancel only stacks that are in the UPDATE_IN_PROGRESS state.

\n
" } }, "com.amazonaws.cloudformation#CancelUpdateStackInput": { @@ -549,14 +549,14 @@ "target": "com.amazonaws.cloudformation#StackName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "\n

If you don't pass a parameter to StackName, the API returns a response that describes all\n resources in the account.

\n

The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and\n avoid returning a response when no parameter is sent in the request:

\n

\n { \"Version\": \"2012-10-17\", \"Statement\": [{ \"Effect\": \"Deny\", \"Action\": \"cloudformation:DescribeStacks\",\n \"NotResource\": \"arn:aws:cloudformation:*:*:stack/*/*\" }] }\n

\n
\n

The name or the unique stack ID that's associated with the stack.

", + "smithy.api#documentation": "\n

If you don't pass a parameter to StackName, the API returns a response that\n describes all resources in the account.

\n

The IAM policy below can be added to IAM policies when you want to limit\n resource-level permissions and avoid returning a response when no parameter is sent in the\n request:

\n

\n { \"Version\": \"2012-10-17\", \"Statement\": [{ \"Effect\": \"Deny\", \"Action\":\n \"cloudformation:DescribeStacks\", \"NotResource\": \"arn:aws:cloudformation:*:*:stack/*/*\" }]\n }\n

\n
\n

The name or the unique stack ID that's associated with the stack.

", "smithy.api#required": {} } }, "ClientRequestToken": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

A unique identifier for this CancelUpdateStack request. Specify this token if you plan to retry\n requests so that CloudFormation knows that you're not attempting to cancel an update on a stack with the same name. You might\n retry CancelUpdateStack requests to ensure that CloudFormation successfully received them.

" + "smithy.api#documentation": "

A unique identifier for this CancelUpdateStack request. Specify this token if\n you plan to retry requests so that CloudFormation knows that you're not attempting to cancel an\n update on a stack with the same name. You might retry CancelUpdateStack requests\n to ensure that CloudFormation successfully received them.

" } } }, @@ -641,18 +641,18 @@ "HookInvocationCount": { "target": "com.amazonaws.cloudformation#HookInvocationCount", "traits": { - "smithy.api#documentation": "

Is either null, if no hooks invoke for the resource, or contains the number of hooks that will\n invoke for the resource.

" + "smithy.api#documentation": "

Is either null, if no hooks invoke for the resource, or contains the number of\n hooks that will invoke for the resource.

" } }, "ResourceChange": { "target": "com.amazonaws.cloudformation#ResourceChange", "traits": { - "smithy.api#documentation": "

A ResourceChange structure that describes the resource and action that CloudFormation will perform.

" + "smithy.api#documentation": "

A ResourceChange structure that describes the resource and action that\n CloudFormation will perform.

" } } }, "traits": { - "smithy.api#documentation": "

The Change structure describes the changes CloudFormation will perform if you execute the change set.

" + "smithy.api#documentation": "

The Change structure describes the changes CloudFormation will perform if you\n execute the change set.

" } }, "com.amazonaws.cloudformation#ChangeAction": { @@ -708,7 +708,7 @@ "TypeName": { "target": "com.amazonaws.cloudformation#HookTypeName", "traits": { - "smithy.api#documentation": "

The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of\n Organization::Service::Hook.

\n \n

The following organization namespaces are reserved and can't be used in your hook type names:

\n \n
" + "smithy.api#documentation": "

The unique name for your hook. Specifies a three-part namespace for your hook, with a\n recommended pattern of Organization::Service::Hook.

\n \n

The following organization namespaces are reserved and can't be used in your hook type\n names:

\n \n
" } }, "TypeVersionId": { @@ -947,19 +947,19 @@ "ExecutionStatus": { "target": "com.amazonaws.cloudformation#ExecutionStatus", "traits": { - "smithy.api#documentation": "

If the change set execution status is AVAILABLE, you can execute the change set. If you can't\n execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE\n state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already\n updated.

" + "smithy.api#documentation": "

If the change set execution status is AVAILABLE, you can execute the change\n set. If you can't execute the change set, the status indicates why. For example, a change set\n might be in an UNAVAILABLE state because CloudFormation is still creating it or in an\n OBSOLETE state because the stack was already updated.

" } }, "Status": { "target": "com.amazonaws.cloudformation#ChangeSetStatus", "traits": { - "smithy.api#documentation": "

The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or\n FAILED.

" + "smithy.api#documentation": "

The state of the change set, such as CREATE_IN_PROGRESS,\n CREATE_COMPLETE, or FAILED.

" } }, "StatusReason": { "target": "com.amazonaws.cloudformation#ChangeSetStatusReason", "traits": { - "smithy.api#documentation": "

A description of the change set's status. For example, if your change set is in the FAILED state,\n CloudFormation shows the error message.

" + "smithy.api#documentation": "

A description of the change set's status. For example, if your change set is in the\n FAILED state, CloudFormation shows the error message.

" } }, "CreationTime": { @@ -1000,7 +1000,7 @@ } }, "traits": { - "smithy.api#documentation": "

The ChangeSetSummary structure describes a change set, its status, and the stack with which it's\n associated.

" + "smithy.api#documentation": "

The ChangeSetSummary structure describes a change set, its status, and the\n stack with which it's associated.

" } }, "com.amazonaws.cloudformation#ChangeSetType": { @@ -1360,7 +1360,7 @@ "name": "cloudformation" }, "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "CloudFormation\n

CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments predictably and\n repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly reliable, highly\n scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services\n infrastructure.

\n

With CloudFormation, you declare all your resources and dependencies in a template file. The template defines a\n collection of resources as a single unit called a stack. CloudFormation creates and deletes all member resources of the stack\n together and manages all dependencies between the resources for you.

\n

For more information about CloudFormation, see the CloudFormation\n product page.

\n

CloudFormation makes use of other Amazon Web Services products. If you need additional technical information about a\n specific Amazon Web Services product, you can find the product's technical documentation at docs.aws.amazon.com.

", + "smithy.api#documentation": "CloudFormation\n

CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments predictably and\n repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service,\n Elastic Load Balancing, and Amazon EC2 Auto Scaling to build highly reliable, highly\n scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services\n infrastructure.

\n

With CloudFormation, you declare all your resources and dependencies in a template file. The template defines a\n collection of resources as a single unit called a stack. CloudFormation creates and deletes all member resources of the stack\n together and manages all dependencies between the resources for you.

\n

For more information about CloudFormation, see the CloudFormation\n product page.

\n

CloudFormation makes use of other Amazon Web Services products. If you need additional technical information about a\n specific Amazon Web Services product, you can find the product's technical documentation at docs.aws.amazon.com.

", "smithy.api#title": "AWS CloudFormation", "smithy.api#xmlNamespace": { "uri": "http://cloudformation.amazonaws.com/doc/2010-05-15/" @@ -2452,7 +2452,7 @@ } ], "traits": { - "smithy.api#documentation": "

For a specified stack that's in the UPDATE_ROLLBACK_FAILED state, continues rolling it back to the\n UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the failure, you can manually fix the\n error and continue the rollback. By continuing the rollback, you can return your stack to a working state\n (the UPDATE_ROLLBACK_COMPLETE state), and then try to update the stack again.

\n

A stack goes into the UPDATE_ROLLBACK_FAILED state when CloudFormation can't roll back all changes after\n a failed stack update. For example, you might have a stack that's rolling back to an old database instance that was\n deleted outside of CloudFormation. Because CloudFormation doesn't know the database was deleted, it assumes that the database instance\n still exists and attempts to roll back to it, causing the update rollback to fail.

" + "smithy.api#documentation": "

For a specified stack that's in the UPDATE_ROLLBACK_FAILED state, continues\n rolling it back to the UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of\n the failure, you can manually fix the error and continue the rollback. By continuing the rollback, you can\n return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE state), and\n then try to update the stack again.

\n

A stack goes into the UPDATE_ROLLBACK_FAILED state when CloudFormation can't roll\n back all changes after a failed stack update. For example, you might have a stack that's\n rolling back to an old database instance that was deleted outside of CloudFormation. Because\n CloudFormation doesn't know the database was deleted, it assumes that the database instance still\n exists and attempts to roll back to it, causing the update rollback to fail.

" } }, "com.amazonaws.cloudformation#ContinueUpdateRollbackInput": { @@ -2462,26 +2462,26 @@ "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or the unique ID of the stack that you want to continue rolling back.

\n \n

Don't specify the name of a nested stack (a stack that was created by using the\n AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the stack that\n contains the AWS::CloudFormation::Stack resource).

\n
", + "smithy.api#documentation": "

The name or the unique ID of the stack that you want to continue rolling back.

\n \n

Don't specify the name of a nested stack (a stack that was created by using the\n AWS::CloudFormation::Stack resource). Instead, use this operation on the\n parent stack (the stack that contains the AWS::CloudFormation::Stack\n resource).

\n
", "smithy.api#required": {} } }, "RoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to\n roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this\n role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation\n uses this role even if the users don't have permission to pass it. Ensure that the role grants least\n permission.

\n

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role\n is available, CloudFormation uses a temporary session that's generated from your user credentials.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to roll back the\n stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always\n uses this role for all future operations on the stack. Provided that users have permission to\n operate on the stack, CloudFormation uses this role even if the users don't have permission to\n pass it. Ensure that the role grants least permission.

\n

If you don't specify a value, CloudFormation uses the role that was previously associated with\n the stack. If no role is available, CloudFormation uses a temporary session that's generated from\n your user credentials.

" } }, "ResourcesToSkip": { "target": "com.amazonaws.cloudformation#ResourcesToSkip", "traits": { - "smithy.api#documentation": "

A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback operation.\n You can specify only resources that are in the UPDATE_FAILED state because a rollback failed. You can't\n specify resources that are in the UPDATE_FAILED state for other reasons, for example, because an update\n was canceled. To check why a resource update failed, use the DescribeStackResources action, and\n view the resource status reason.

\n \n

Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We recommend\n that you \n troubleshoot resources before skipping them. CloudFormation sets the status of the specified resources to\n UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of the\n skipped resources will be inconsistent with the state of the resources in the stack template. Before performing\n another stack update, you must update the stack or resources to be consistent with each other. If you don't,\n subsequent stack updates might fail, and the stack will become unrecoverable.

\n
\n

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed\n resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the\n dependent resources.

\n

To skip resources that are part of nested stacks, use the following format:\n NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource\n (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding\n embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE,\n or DELETE_FAILED.

\n \n

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an\n example of a continue update rollback operation with nested stacks, see Using\n ResourcesToSkip to recover a nested stacks hierarchy.

\n
" + "smithy.api#documentation": "

A list of the logical IDs of the resources that CloudFormation skips during the continue\n update rollback operation. You can specify only resources that are in the\n UPDATE_FAILED state because a rollback failed. You can't specify resources that\n are in the UPDATE_FAILED state for other reasons, for example, because an update\n was canceled. To check why a resource update failed, use the DescribeStackResources action, and view the resource status reason.

\n \n

Specify this property to skip rolling back resources that CloudFormation can't successfully\n roll back. We recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the\n specified resources to UPDATE_COMPLETE and continues to roll back the stack.\n After the rollback is complete, the state of the skipped resources will be inconsistent with\n the state of the resources in the stack template. Before performing another stack update,\n you must update the stack or resources to be consistent with each other. If you don't,\n subsequent stack updates might fail, and the stack will become unrecoverable.

\n
\n

Specify the minimum number of resources required to successfully roll back your stack. For\n example, a failed resource update might cause dependent resources to fail. In this case, it\n might not be necessary to skip the dependent resources.

\n

To skip resources that are part of nested stacks, use the following format:\n NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a\n stack resource (Type: AWS::CloudFormation::Stack) in the\n ResourcesToSkip list, then its corresponding embedded stack must be in one of\n the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or\n DELETE_FAILED.

\n \n

Don't confuse a child stack's name with its corresponding logical ID defined in the\n parent stack. For an example of a continue update rollback operation with nested stacks, see\n Continue rolling back from failed nested stack updates.

\n
" } }, "ClientRequestToken": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan to\n retry requests so that CloudFormation knows that you're not attempting to continue the rollback to a stack with the same name.\n You might retry ContinueUpdateRollback requests to ensure that CloudFormation successfully received\n them.

" + "smithy.api#documentation": "

A unique identifier for this ContinueUpdateRollback request. Specify this\n token if you plan to retry requests so that CloudFormation knows that you're not attempting to\n continue the rollback to a stack with the same name. You might retry\n ContinueUpdateRollback requests to ensure that CloudFormation successfully received\n them.

" } } }, @@ -2518,7 +2518,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a list of changes that will be applied to a stack so that you can review the changes before executing\n them. You can create a change set for a stack that doesn't exist or an existing stack. If you create a change set for\n a stack that doesn't exist, the change set shows all of the resources that CloudFormation will create. If you create a change\n set for an existing stack, CloudFormation compares the stack's information with the information that you submit in the change\n set and lists the differences. Use change sets to understand which resources CloudFormation will create or\n change, and how it will change resources in an existing stack, before you create or update a stack.

\n

To create a change set for a stack that doesn't exist, for the ChangeSetType parameter, specify\n CREATE. To create a change set for an existing stack, specify UPDATE for the\n ChangeSetType parameter. To create a change set for an import operation, specify IMPORT for\n the ChangeSetType parameter. After the CreateChangeSet call successfully completes, CloudFormation starts creating the change set. To check the status of the change set or to review it, use the DescribeChangeSet action.

\n

When you are satisfied with the changes the change set will make, execute the change set by using the ExecuteChangeSet action. CloudFormation doesn't make changes until you execute the change set.

\n

To create a change set for the entire stack hierarchy, set IncludeNestedStacks to\n True.

" + "smithy.api#documentation": "

Creates a list of changes that will be applied to a stack so that you can review the\n changes before executing them. You can create a change set for a stack that doesn't exist or\n an existing stack. If you create a change set for a stack that doesn't exist, the change set\n shows all of the resources that CloudFormation will create. If you create a change set for an\n existing stack, CloudFormation compares the stack's information with the information that you\n submit in the change set and lists the differences. Use change sets to understand which\n resources CloudFormation will create or change, and how it will change resources in an existing\n stack, before you create or update a stack.

\n

To create a change set for a stack that doesn't exist, for the ChangeSetType\n parameter, specify CREATE. To create a change set for an existing stack, specify\n UPDATE for the ChangeSetType parameter. To create a change set for\n an import operation, specify IMPORT for the ChangeSetType parameter.\n After the CreateChangeSet call successfully completes, CloudFormation starts creating\n the change set. To check the status of the change set or to review it, use the DescribeChangeSet action.

\n

When you are satisfied with the changes the change set will make, execute the change set\n by using the ExecuteChangeSet action. CloudFormation doesn't make changes until\n you execute the change set.

\n

To create a change set for the entire stack hierarchy, set\n IncludeNestedStacks to True.

" } }, "com.amazonaws.cloudformation#CreateChangeSetInput": { @@ -2528,82 +2528,82 @@ "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or the unique ID of the stack for which you are creating a change set. CloudFormation generates the change set\n by comparing this stack's information with the information that you submit, such as a modified template or different\n parameter input values.

", + "smithy.api#documentation": "

The name or the unique ID of the stack for which you are creating a change set. CloudFormation\n generates the change set by comparing this stack's information with the information that you\n submit, such as a modified template or different parameter input values.

", "smithy.api#required": {} } }, "TemplateBody": { "target": "com.amazonaws.cloudformation#TemplateBody", "traits": { - "smithy.api#documentation": "

A structure that contains the body of the revised template, with a minimum length of 1 byte and a maximum length\n of 51,200 bytes. CloudFormation generates the change set by comparing this template with the template of the stack that you\n specified.

\n

Conditional: You must specify only TemplateBody or TemplateURL.

" + "smithy.api#documentation": "

A structure that contains the body of the revised template, with a minimum length of 1\n byte and a maximum length of 51,200 bytes. CloudFormation generates the change set by comparing\n this template with the template of the stack that you specified.

\n

Conditional: You must specify only TemplateBody or\n TemplateURL.

" } }, "TemplateURL": { "target": "com.amazonaws.cloudformation#TemplateURL", "traits": { - "smithy.api#documentation": "

The location of the file that contains the revised template. The URL must point to a template (max size: 460,800\n bytes) that's located in an Amazon S3 bucket or a Systems Manager document. CloudFormation generates the change set by\n comparing this template with the stack that you specified. The location for an Amazon S3 bucket must start with\n https://.

\n

Conditional: You must specify only TemplateBody or TemplateURL.

" + "smithy.api#documentation": "

The location of the file that contains the revised template. The URL must point to a\n template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager\n document. CloudFormation generates the change set by comparing this template with the stack that\n you specified. The location for an Amazon S3 bucket must start with https://.

\n

Conditional: You must specify only TemplateBody or\n TemplateURL.

" } }, "UsePreviousTemplate": { "target": "com.amazonaws.cloudformation#UsePreviousTemplate", "traits": { - "smithy.api#documentation": "

Whether to reuse the template that's associated with the stack to create the change set.

" + "smithy.api#documentation": "

Whether to reuse the template that's associated with the stack to create the change\n set.

" } }, "Parameters": { "target": "com.amazonaws.cloudformation#Parameters", "traits": { - "smithy.api#documentation": "

A list of Parameter structures that specify input parameters for the change set. For more\n information, see the Parameter data type.

" + "smithy.api#documentation": "

A list of Parameter structures that specify input parameters for the change\n set. For more information, see the Parameter data type.

" } }, "Capabilities": { "target": "com.amazonaws.cloudformation#Capabilities", "traits": { - "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order\n for CloudFormation to create the stack.

\n \n \n

Only one of the Capabilities and ResourceType parameters can be specified.

\n
" + "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack template contains certain\n capabilities in order for CloudFormation to create the stack.

\n \n \n

Only one of the Capabilities and ResourceType parameters can\n be specified.

\n
" } }, "ResourceTypes": { "target": "com.amazonaws.cloudformation#ResourceTypes", "traits": { - "smithy.api#documentation": "

The template resource types that you have permissions to work with if you execute this change set, such as\n AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

\n

If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By\n default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for\n condition keys in IAM policies for CloudFormation. For more information, see Controlling access with Identity and Access Management in the CloudFormation User Guide.

\n \n

Only one of the Capabilities and ResourceType parameters can be specified.

\n
" + "smithy.api#documentation": "

The template resource types that you have permissions to work with if you execute this\n change set, such as AWS::EC2::Instance, AWS::EC2::*, or\n Custom::MyCustomInstance.

\n

If the list of resource types doesn't include a resource type that you're updating, the\n stack update fails. By default, CloudFormation grants permissions to all resource types. IAM\n uses this parameter for condition keys in IAM policies for CloudFormation. For more information,\n see Control access with\n Identity and Access Management in the CloudFormation User Guide.

\n \n

Only one of the Capabilities and ResourceType parameters can\n be specified.

\n
" } }, "RoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the\n change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future\n operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if\n the users don't have permission to pass it. Ensure that the role grants least permission.

\n

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is\n available, CloudFormation uses a temporary session that is generated from your user credentials.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes when executing the\n change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation\n uses this role for all future operations on the stack. Provided that users have permission to\n operate on the stack, CloudFormation uses this role even if the users don't have permission to\n pass it. Ensure that the role grants least permission.

\n

If you don't specify a value, CloudFormation uses the role that was previously associated with\n the stack. If no role is available, CloudFormation uses a temporary session that is generated from\n your user credentials.

" } }, "RollbackConfiguration": { "target": "com.amazonaws.cloudformation#RollbackConfiguration", "traits": { - "smithy.api#documentation": "

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified\n monitoring period afterwards.

" + "smithy.api#documentation": "

The rollback triggers for CloudFormation to monitor during stack creation and updating\n operations, and for the specified monitoring period afterwards.

" } }, "NotificationARNs": { "target": "com.amazonaws.cloudformation#NotificationARNs", "traits": { - "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that CloudFormation associates\n with the stack. To remove all associated notification topics, specify an empty list.

" + "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of Amazon SNS topics that CloudFormation associates with the\n stack. To remove all associated notification topics, specify an empty list.

" } }, "Tags": { "target": "com.amazonaws.cloudformation#Tags", "traits": { - "smithy.api#documentation": "

Key-value pairs to associate with this stack. CloudFormation also propagates these tags to resources in the stack. You\n can specify a maximum of 50 tags.

" + "smithy.api#documentation": "

Key-value pairs to associate with this stack. CloudFormation also propagates these tags to\n resources in the stack. You can specify a maximum of 50 tags.

" } }, "ChangeSetName": { "target": "com.amazonaws.cloudformation#ChangeSetName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name of the change set. The name must be unique among all change sets that are associated with the specified\n stack.

\n

A change set name can contain only alphanumeric, case sensitive characters, and hyphens. It must start with an\n alphabetical character and can't exceed 128 characters.

", + "smithy.api#documentation": "

The name of the change set. The name must be unique among all change sets that are\n associated with the specified stack.

\n

A change set name can contain only alphanumeric, case sensitive characters, and hyphens.\n It must start with an alphabetical character and can't exceed 128 characters.

", "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.cloudformation#ClientToken", "traits": { - "smithy.api#documentation": "

A unique identifier for this CreateChangeSet request. Specify this token if you plan to retry\n requests so that CloudFormation knows that you're not attempting to create another change set with the same name. You might\n retry CreateChangeSet requests to ensure that CloudFormation successfully received them.

" + "smithy.api#documentation": "

A unique identifier for this CreateChangeSet request. Specify this token if\n you plan to retry requests so that CloudFormation knows that you're not attempting to create\n another change set with the same name. You might retry CreateChangeSet requests\n to ensure that CloudFormation successfully received them.

" } }, "Description": { @@ -2615,7 +2615,7 @@ "ChangeSetType": { "target": "com.amazonaws.cloudformation#ChangeSetType", "traits": { - "smithy.api#documentation": "

The type of change set operation. To create a change set for a new stack, specify CREATE. To create\n a change set for an existing stack, specify UPDATE. To create a change set for an import operation,\n specify IMPORT.

\n

If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or\n resources. The stack will be in the REVIEW_IN_PROGRESS state\n until you execute the change set.

\n

By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change\n set for a new stack or the CREATE type to create a change set for an existing stack.

" + "smithy.api#documentation": "

The type of change set operation. To create a change set for a new stack, specify\n CREATE. To create a change set for an existing stack, specify\n UPDATE. To create a change set for an import operation, specify\n IMPORT.

\n

If you create a change set for a new stack, CloudFormation creates a stack with a unique stack\n ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS\n state until you execute the change set.

\n

By default, CloudFormation specifies UPDATE. You can't use the\n UPDATE type to create a change set for a new stack or the CREATE\n type to create a change set for an existing stack.

" } }, "ResourcesToImport": { @@ -2627,19 +2627,19 @@ "IncludeNestedStacks": { "target": "com.amazonaws.cloudformation#IncludeNestedStacks", "traits": { - "smithy.api#documentation": "

Creates a change set for the all nested stacks specified in the template. The default behavior of this action is\n set to False. To include nested sets in a change set, specify True.

" + "smithy.api#documentation": "

Creates a change set for the all nested stacks specified in the template. The default\n behavior of this action is set to False. To include nested sets in a change set,\n specify True.

" } }, "OnStackFailure": { "target": "com.amazonaws.cloudformation#OnStackFailure", "traits": { - "smithy.api#documentation": "

Determines what action will be taken if stack creation fails. If this parameter is specified, the\n DisableRollback parameter to the ExecuteChangeSet API operation must\n not be specified. This must be one of these values:

\n \n

For nested stacks, when the OnStackFailure parameter is set to DELETE for the change\n set for the parent stack, any failure in a child stack will cause the parent stack creation to fail and all stacks to\n be deleted.

" + "smithy.api#documentation": "

Determines what action will be taken if stack creation fails. If this parameter is\n specified, the DisableRollback parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these\n values:

\n \n

For nested stacks, when the OnStackFailure parameter is set to\n DELETE for the change set for the parent stack, any failure in a child stack\n will cause the parent stack creation to fail and all stacks to be deleted.

" } }, "ImportExistingResources": { "target": "com.amazonaws.cloudformation#ImportExistingResources", "traits": { - "smithy.api#documentation": "

Indicates if the change set imports resources that already exist.

\n \n

This parameter can only import resources that have custom names in templates. For more information, see name type in the\n CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances,\n use the resource import feature instead. For more information, see Bringing existing resources into CloudFormation\n management in the CloudFormation User Guide.

\n
" + "smithy.api#documentation": "

Indicates if the change set imports resources that already exist.

\n \n

This parameter can only import resources that have custom names in templates. For more\n information, see name type in the\n CloudFormation User Guide. To import resources that do not accept custom\n names, such as EC2 instances, use the resource import feature instead. For more information,\n see Import Amazon Web Services resources into\n a CloudFormation stack with a resource import in the\n CloudFormation User Guide.

\n
" } } }, @@ -2689,7 +2689,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a template from existing resources that are not already managed with CloudFormation. You can check the status of\n the template generation using the DescribeGeneratedTemplate API action.

", + "smithy.api#documentation": "

Creates a template from existing resources that are not already managed with CloudFormation.\n You can check the status of the template generation using the\n DescribeGeneratedTemplate API action.

", "smithy.api#examples": [ { "title": "To create a generated template", @@ -2724,7 +2724,7 @@ "Resources": { "target": "com.amazonaws.cloudformation#ResourceDefinitions", "traits": { - "smithy.api#documentation": "

An optional list of resources to be included in the generated template.

\n

If no resources are specified,the template will be created without any resources. Resources can be added to the\n template using the UpdateGeneratedTemplate API action.

" + "smithy.api#documentation": "

An optional list of resources to be included in the generated template.

\n

If no resources are specified,the template will be created without any resources.\n Resources can be added to the template using the UpdateGeneratedTemplate API\n action.

" } }, "GeneratedTemplateName": { @@ -2738,13 +2738,13 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { - "smithy.api#documentation": "

An optional name or ARN of a stack to use as the base stack for the generated template.

" + "smithy.api#documentation": "

An optional name or ARN of a stack to use as the base stack for the generated\n template.

" } }, "TemplateConfiguration": { "target": "com.amazonaws.cloudformation#TemplateConfiguration", "traits": { - "smithy.api#documentation": "

The configuration details of the generated template, including the DeletionPolicy and\n UpdateReplacePolicy.

" + "smithy.api#documentation": "

The configuration details of the generated template, including the\n DeletionPolicy and UpdateReplacePolicy.

" } } }, @@ -2789,7 +2789,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a stack as specified in the template. After the call completes successfully, the stack creation starts.\n You can check the status of the stack through the DescribeStacks operation.

" + "smithy.api#documentation": "

Creates a stack as specified in the template. After the call completes successfully, the\n stack creation starts. You can check the status of the stack through the DescribeStacks operation.

\n

For more information about creating a stack and monitoring stack progress, see Managing Amazon Web Services\n resources as a single unit with CloudFormation stacks in the\n CloudFormation User Guide.

" } }, "com.amazonaws.cloudformation#CreateStackInput": { @@ -2799,110 +2799,110 @@ "target": "com.amazonaws.cloudformation#StackName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name that's associated with the stack. The name must be unique in the Region in which you are creating the\n stack.

\n \n

A stack name can contain only alphanumeric characters (case sensitive) and hyphens. It must start with an\n alphabetical character and can't be longer than 128 characters.

\n
", + "smithy.api#documentation": "

The name that's associated with the stack. The name must be unique in the Region in which\n you are creating the stack.

\n \n

A stack name can contain only alphanumeric characters (case sensitive) and hyphens. It\n must start with an alphabetical character and can't be longer than 128 characters.

\n
", "smithy.api#required": {} } }, "TemplateBody": { "target": "com.amazonaws.cloudformation#TemplateBody", "traits": { - "smithy.api#documentation": "

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For\n more information, go to Template anatomy in the CloudFormation User Guide.

\n

Conditional: You must specify either the TemplateBody or the TemplateURL parameter,\n but not both.

" + "smithy.api#documentation": "

Structure containing the template body with a minimum length of 1 byte and a maximum\n length of 51,200 bytes.

\n

Conditional: You must specify either the TemplateBody or the\n TemplateURL parameter, but not both.

" } }, "TemplateURL": { "target": "com.amazonaws.cloudformation#TemplateURL", "traits": { - "smithy.api#documentation": "

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's\n located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template anatomy in the\n CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

\n

Conditional: You must specify either the TemplateBody or the TemplateURL parameter,\n but not both.

" + "smithy.api#documentation": "

Location of file containing the template body. The URL must point to a template (max size:\n 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location\n for an Amazon S3 bucket must start with https://.

\n

Conditional: You must specify either the TemplateBody or the\n TemplateURL parameter, but not both.

" } }, "Parameters": { "target": "com.amazonaws.cloudformation#Parameters", "traits": { - "smithy.api#documentation": "

A list of Parameter structures that specify input parameters for the stack. For more information,\n see the Parameter\n data type.

" + "smithy.api#documentation": "

A list of Parameter structures that specify input parameters for the stack.\n For more information, see the Parameter data\n type.

" } }, "DisableRollback": { "target": "com.amazonaws.cloudformation#DisableRollback", "traits": { - "smithy.api#documentation": "

Set to true to disable rollback of the stack if stack creation failed. You can specify either\n DisableRollback or OnFailure, but not both.

\n

Default: false\n

" + "smithy.api#documentation": "

Set to true to disable rollback of the stack if stack creation failed. You\n can specify either DisableRollback or OnFailure, but not\n both.

\n

Default: false\n

" } }, "RollbackConfiguration": { "target": "com.amazonaws.cloudformation#RollbackConfiguration", "traits": { - "smithy.api#documentation": "

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the\n specified monitoring period afterwards.

" + "smithy.api#documentation": "

The rollback triggers for CloudFormation to monitor during stack creation and updating\n operations, and for the specified monitoring period afterwards.

" } }, "TimeoutInMinutes": { "target": "com.amazonaws.cloudformation#TimeoutMinutes", "traits": { - "smithy.api#documentation": "

The amount of time that can pass before the stack status becomes CREATE_FAILED; if\n DisableRollback is not set or is set to false, the stack will be rolled back.

" + "smithy.api#documentation": "

The amount of time that can pass before the stack status becomes\n CREATE_FAILED; if DisableRollback is not set or is set to\n false, the stack will be rolled back.

" } }, "NotificationARNs": { "target": "com.amazonaws.cloudformation#NotificationARNs", "traits": { - "smithy.api#documentation": "

The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your\n Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

" + "smithy.api#documentation": "

The Amazon SNS topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs\n using the Amazon SNS console or your Command Line Interface (CLI).

" } }, "Capabilities": { "target": "com.amazonaws.cloudformation#Capabilities", "traits": { - "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order\n for CloudFormation to create the stack.

\n \n \n

Only one of the Capabilities and ResourceType parameters can be specified.

\n
" + "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack template contains certain\n capabilities in order for CloudFormation to create the stack.

\n \n \n

Only one of the Capabilities and ResourceType parameters can\n be specified.

\n
" } }, "ResourceTypes": { "target": "com.amazonaws.cloudformation#ResourceTypes", "traits": { - "smithy.api#documentation": "

The template resource types that you have permissions to work with for this create stack action, such as\n AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the\n following syntax to describe template resource types: AWS::* (for all Amazon Web Services resources),\n Custom::* (for all custom resources), Custom::logical_ID\n (for a\n specific custom resource), AWS::service_name::* (for all resources of a particular\n Amazon Web Services service), and\n AWS::service_name::resource_logical_ID\n (for a specific\n Amazon Web Services resource).

\n

If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By\n default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for\n CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

\n \n

Only one of the Capabilities and ResourceType parameters can be specified.

\n
" + "smithy.api#documentation": "

The template resource types that you have permissions to work with for this create stack\n action, such as AWS::EC2::Instance, AWS::EC2::*, or\n Custom::MyCustomInstance. Use the following syntax to describe template\n resource types: AWS::* (for all Amazon Web Services resources), Custom::* (for all\n custom resources), Custom::logical_ID\n (for a specific custom resource),\n AWS::service_name::* (for all resources of a particular\n Amazon Web Services service), and\n AWS::service_name::resource_logical_ID\n (for a specific Amazon Web Services resource).

\n

If the list of resource types doesn't include a resource that you're creating, the stack\n creation fails. By default, CloudFormation grants permissions to all resource types. IAM uses\n this parameter for CloudFormation-specific condition keys in IAM policies. For more information,\n see Control access with\n Identity and Access Management.

\n \n

Only one of the Capabilities and ResourceType parameters can\n be specified.

\n
" } }, "RoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to\n create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role\n for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses\n this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

\n

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role\n is available, CloudFormation uses a temporary session that's generated from your user credentials.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to create the\n stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always\n uses this role for all future operations on the stack. Provided that users have permission to\n operate on the stack, CloudFormation uses this role even if the users don't have permission to\n pass it. Ensure that the role grants least privilege.

\n

If you don't specify a value, CloudFormation uses the role that was previously associated with\n the stack. If no role is available, CloudFormation uses a temporary session that's generated from\n your user credentials.

" } }, "OnFailure": { "target": "com.amazonaws.cloudformation#OnFailure", "traits": { - "smithy.api#documentation": "

Determines what action will be taken if stack creation fails. This must be one of: DO_NOTHING,\n ROLLBACK, or DELETE. You can specify either OnFailure or\n DisableRollback, but not both.

\n

Default: ROLLBACK\n

" + "smithy.api#documentation": "

Determines what action will be taken if stack creation fails. This must be one of:\n DO_NOTHING, ROLLBACK, or DELETE. You can specify\n either OnFailure or DisableRollback, but not both.

\n

Default: ROLLBACK\n

" } }, "StackPolicyBody": { "target": "com.amazonaws.cloudformation#StackPolicyBody", "traits": { - "smithy.api#documentation": "

Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in\n the CloudFormation User Guide. You can specify either the StackPolicyBody or the\n StackPolicyURL parameter, but not both.

" + "smithy.api#documentation": "

Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide.\n You can specify either the StackPolicyBody or the StackPolicyURL\n parameter, but not both.

" } }, "StackPolicyURL": { "target": "com.amazonaws.cloudformation#StackPolicyURL", "traits": { - "smithy.api#documentation": "

Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in\n an S3 bucket in the same Region as the stack. The location for an Amazon S3 bucket must start with https://.\n You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not\n both.

" + "smithy.api#documentation": "

Location of a file containing the stack policy. The URL must point to a policy (maximum\n size: 16 KB) located in an S3 bucket in the same Region as the stack. The location for an Amazon S3\n bucket must start with https://. You can specify either the\n StackPolicyBody or the StackPolicyURL parameter, but not\n both.

" } }, "Tags": { "target": "com.amazonaws.cloudformation#Tags", "traits": { - "smithy.api#documentation": "

Key-value pairs to associate with this stack. CloudFormation also propagates these tags to the resources created in\n the stack. A maximum number of 50 tags can be specified.

" + "smithy.api#documentation": "

Key-value pairs to associate with this stack. CloudFormation also propagates these tags to the\n resources created in the stack. A maximum number of 50 tags can be specified.

" } }, "ClientRequestToken": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

A unique identifier for this CreateStack request. Specify this token if you plan to retry requests\n so that CloudFormation knows that you're not attempting to create a stack with the same name. You might retry\n CreateStack requests to ensure that CloudFormation successfully received them.

\n

All events initiated by a given stack operation are assigned the same client request token, which you can use to\n track operations. For example, if you execute a CreateStack operation with the token\n token1, then all the StackEvents generated by that operation will have\n ClientRequestToken set as token1.

\n

In the console, stack operations display the client request token on the Events tab. Stack operations that are\n initiated from the console use the token format Console-StackOperation-ID, which helps you\n easily identify the stack operation . For example, if you create a stack using the console, each stack event would be\n assigned the same token in the following format:\n Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

" + "smithy.api#documentation": "

A unique identifier for this CreateStack request. Specify this token if you\n plan to retry requests so that CloudFormation knows that you're not attempting to create a stack\n with the same name. You might retry CreateStack requests to ensure that\n CloudFormation successfully received them.

\n

All events initiated by a given stack operation are assigned the same client request\n token, which you can use to track operations. For example, if you execute a\n CreateStack operation with the token token1, then all the\n StackEvents generated by that operation will have\n ClientRequestToken set as token1.

\n

In the console, stack operations display the client request token on the Events tab. Stack\n operations that are initiated from the console use the token format\n Console-StackOperation-ID, which helps you easily identify the stack\n operation . For example, if you create a stack using the console, each stack event would be\n assigned the same token in the following format:\n Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

" } }, "EnableTerminationProtection": { "target": "com.amazonaws.cloudformation#EnableTerminationProtection", "traits": { - "smithy.api#documentation": "

Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with\n termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From\n Being Deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks\n by default.

\n

For nested\n stacks, termination protection is set on the root stack and can't be changed directly on the nested\n stack.

" + "smithy.api#documentation": "

Whether to enable termination protection on the specified stack. If a user attempts to\n delete a stack with termination protection enabled, the operation fails and the stack remains\n unchanged. For more information, see Protect CloudFormation\n stacks from being deleted in the CloudFormation User Guide. Termination\n protection is deactivated on stacks by default.

\n

For nested stacks,\n termination protection is set on the root stack and can't be changed directly on the nested\n stack.

" } }, "RetainExceptOnCreate": { "target": "com.amazonaws.cloudformation#RetainExceptOnCreate", "traits": { - "smithy.api#documentation": "

When set to true, newly created resources are deleted when the operation rolls back. This includes\n newly created resources marked with a deletion policy of Retain.

\n

Default: false\n

" + "smithy.api#documentation": "

When set to true, newly created resources are deleted when the operation\n rolls back. This includes newly created resources marked with a deletion policy of\n Retain.

\n

Default: false\n

" } } }, @@ -2940,7 +2940,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack\n instance refers to a stack in a specific account and Region. You must specify at least one value for either\n Accounts or DeploymentTargets, and you must specify at least one value for\n Regions.

" + "smithy.api#documentation": "

Creates stack instances for the specified accounts, within the specified Amazon Web Services Regions. A\n stack instance refers to a stack in a specific account and Region. You must specify at least\n one value for either Accounts or DeploymentTargets, and you must\n specify at least one value for Regions.

" } }, "com.amazonaws.cloudformation#CreateStackInstancesInput": { @@ -2950,34 +2950,34 @@ "target": "com.amazonaws.cloudformation#StackSetName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or unique ID of the stack set that you want to create stack instances from.

", + "smithy.api#documentation": "

The name or unique ID of the stack set that you want to create stack instances\n from.

", "smithy.api#required": {} } }, "Accounts": { "target": "com.amazonaws.cloudformation#AccountList", "traits": { - "smithy.api#documentation": "

[Self-managed permissions] The names of one or more Amazon Web Services accounts that you want to create stack\n instances in the specified Region(s) for.

\n

You can specify Accounts or DeploymentTargets, but not both.

" + "smithy.api#documentation": "

[Self-managed permissions] The names of one or more Amazon Web Services accounts that you want to create\n stack instances in the specified Region(s) for.

\n

You can specify Accounts or DeploymentTargets, but not\n both.

" } }, "DeploymentTargets": { "target": "com.amazonaws.cloudformation#DeploymentTargets", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] The Organizations accounts for which to create stack instances in the\n specified Amazon Web Services Regions.

\n

You can specify Accounts or DeploymentTargets, but not both.

" + "smithy.api#documentation": "

[Service-managed permissions] The Organizations accounts for which to create stack\n instances in the specified Amazon Web Services Regions.

\n

You can specify Accounts or DeploymentTargets, but not\n both.

" } }, "Regions": { "target": "com.amazonaws.cloudformation#RegionList", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The names of one or more Amazon Web Services Regions where you want to create stack instances using the specified\n Amazon Web Services accounts.

", + "smithy.api#documentation": "

The names of one or more Amazon Web Services Regions where you want to create stack instances using the\n specified Amazon Web Services accounts.

", "smithy.api#required": {} } }, "ParameterOverrides": { "target": "com.amazonaws.cloudformation#Parameters", "traits": { - "smithy.api#documentation": "

A list of stack set parameters whose values you want to override in the selected stack instances.

\n

Any overridden parameter values will be applied to all stack instances in the specified accounts and Amazon Web Services Regions. When specifying parameters and their values, be aware of how CloudFormation sets parameter values\n during stack instance operations:

\n \n

During stack set updates, any parameter values overridden for a stack instance aren't updated, but retain their\n overridden value.

\n

You can only override the parameter values that are specified in the stack set; to add or\n delete a parameter itself, use UpdateStackSet to update the stack set\n template.

" + "smithy.api#documentation": "

A list of stack set parameters whose values you want to override in the selected stack\n instances.

\n

Any overridden parameter values will be applied to all stack instances in the specified\n accounts and Amazon Web Services Regions. When specifying parameters and their values, be aware of how\n CloudFormation sets parameter values during stack instance operations:

\n \n

During stack set updates, any parameter values overridden for a stack instance aren't\n updated, but retain their overridden value.

\n

You can only override the parameter values that are specified in the\n stack set; to add or delete a parameter itself, use UpdateStackSet\n to update the stack set template.

" } }, "OperationPreferences": { @@ -2989,14 +2989,14 @@ "OperationId": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

The unique identifier for this stack set operation.

\n

The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set\n operation only once, even if you retry the request multiple times. You might retry stack set operation requests to\n ensure that CloudFormation successfully received them.

\n

If you don't specify an operation ID, the SDK generates one automatically.

\n

Repeating this stack set operation with a new operation ID retries all stack instances whose status is\n OUTDATED.

", + "smithy.api#documentation": "

The unique identifier for this stack set operation.

\n

The operation ID also functions as an idempotency token, to ensure that CloudFormation\n performs the stack set operation only once, even if you retry the request multiple times. You\n might retry stack set operation requests to ensure that CloudFormation successfully received\n them.

\n

If you don't specify an operation ID, the SDK generates one\n automatically.

\n

Repeating this stack set operation with a new operation ID retries all stack instances\n whose status is OUTDATED.

", "smithy.api#idempotencyToken": {} } }, "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -3063,32 +3063,32 @@ "target": "com.amazonaws.cloudformation#StackSetName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name to associate with the stack set. The name must be unique in the Region where you create your stack\n set.

\n \n

A stack name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an\n alphabetic character and can't be longer than 128 characters.

\n
", + "smithy.api#documentation": "

The name to associate with the stack set. The name must be unique in the Region where you\n create your stack set.

\n \n

A stack name can contain only alphanumeric characters (case-sensitive) and hyphens. It\n must start with an alphabetic character and can't be longer than 128 characters.

\n
", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.cloudformation#Description", "traits": { - "smithy.api#documentation": "

A description of the stack set. You can use the description to identify the stack set's purpose or other\n important information.

" + "smithy.api#documentation": "

A description of the stack set. You can use the description to identify the stack set's\n purpose or other important information.

" } }, "TemplateBody": { "target": "com.amazonaws.cloudformation#TemplateBody", "traits": { - "smithy.api#documentation": "

The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200\n bytes. For more information, see Template Anatomy in the\n CloudFormation User Guide.

\n

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

" + "smithy.api#documentation": "

The structure that contains the template body, with a minimum length of 1 byte and a\n maximum length of 51,200 bytes.

\n

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but\n not both.

" } }, "TemplateURL": { "target": "com.amazonaws.cloudformation#TemplateURL", "traits": { - "smithy.api#documentation": "

The location of the file that contains the template body. The URL must point to a template (maximum size:\n 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, see\n Template Anatomy\n in the CloudFormation User Guide.

\n

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

" + "smithy.api#documentation": "

The location of the file that contains the template body. The URL must point to a template\n (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager\n document.

\n

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but\n not both.

" } }, "StackId": { "target": "com.amazonaws.cloudformation#StackId", "traits": { - "smithy.api#documentation": "

The stack ID you are importing into a new stack set. Specify the Amazon Resource Name (ARN) of the stack.

" + "smithy.api#documentation": "

The stack ID you are importing into a new stack set. Specify the Amazon Resource Name\n (ARN) of the stack.

" } }, "Parameters": { @@ -3100,56 +3100,56 @@ "Capabilities": { "target": "com.amazonaws.cloudformation#Capabilities", "traits": { - "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in\n order for CloudFormation to create the stack set and related stack instances.

\n " + "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack set template contains\n certain capabilities in order for CloudFormation to create the stack set and related stack\n instances.

\n " } }, "Tags": { "target": "com.amazonaws.cloudformation#Tags", "traits": { - "smithy.api#documentation": "

The key-value pairs to associate with this stack set and the stacks created from it. CloudFormation also propagates\n these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be\n specified.

\n

If you specify tags as part of a CreateStackSet action, CloudFormation checks to see if you have the\n required IAM permission to tag resources. If you don't, the entire CreateStackSet action fails with an\n access denied error, and the stack set is not created.

" + "smithy.api#documentation": "

The key-value pairs to associate with this stack set and the stacks created from it.\n CloudFormation also propagates these tags to supported resources that are created in the stacks. A\n maximum number of 50 tags can be specified.

\n

If you specify tags as part of a CreateStackSet action, CloudFormation checks to\n see if you have the required IAM permission to tag resources. If you don't, the entire\n CreateStackSet action fails with an access denied error, and the\n stack set is not created.

" } }, "AdministrationRoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to use to create this stack set.

\n

Specify an IAM role only if you are using customized administrator roles to control which users or groups can\n manage specific stack sets within the same administrator account. For more information, see Prerequisites: Granting\n Permissions for Stack Set Operations in the CloudFormation User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to use to create this stack set.

\n

Specify an IAM role only if you are using customized administrator roles to control\n which users or groups can manage specific stack sets within the same administrator account.\n For more information, see Prerequisites: Granting\n Permissions for Stack Set Operations in the\n CloudFormation User Guide.

" } }, "ExecutionRoleName": { "target": "com.amazonaws.cloudformation#ExecutionRoleName", "traits": { - "smithy.api#documentation": "

The name of the IAM execution role to use to create the stack set. If you do not specify an execution role,\n CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation.

\n

Specify an IAM role only if you are using customized execution roles to control which stack resources users\n and groups can include in their stack sets.

" + "smithy.api#documentation": "

The name of the IAM execution role to use to create the stack set. If you do not specify\n an execution role, CloudFormation uses the AWSCloudFormationStackSetExecutionRole\n role for the stack set operation.

\n

Specify an IAM role only if you are using customized execution roles to control which\n stack resources users and groups can include in their stack sets.

" } }, "PermissionModel": { "target": "com.amazonaws.cloudformation#PermissionModels", "traits": { - "smithy.api#documentation": "

Describes how the IAM roles required for stack set operations are created. By default,\n SELF-MANAGED is specified.

\n " + "smithy.api#documentation": "

Describes how the IAM roles required for stack set operations are created. By default,\n SELF-MANAGED is specified.

\n " } }, "AutoDeployment": { "target": "com.amazonaws.cloudformation#AutoDeployment", "traits": { - "smithy.api#documentation": "

Describes whether StackSets automatically deploys to Organizations accounts that are added to the target\n organization or organizational unit (OU). Specify only if PermissionModel is\n SERVICE_MANAGED.

" + "smithy.api#documentation": "

Describes whether StackSets automatically deploys to Organizations accounts that\n are added to the target organization or organizational unit (OU). Specify only if\n PermissionModel is SERVICE_MANAGED.

" } }, "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n \n

Stack sets with service-managed permissions are created in the management account, including stack\n sets that are created by delegated administrators.

" + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n \n

Stack sets with service-managed permissions are created in the management account, including stack sets that are created by delegated\n administrators.

" } }, "ClientRequestToken": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

A unique identifier for this CreateStackSet request. Specify this token if you plan to retry\n requests so that CloudFormation knows that you're not attempting to create another stack set with the same name. You might\n retry CreateStackSet requests to ensure that CloudFormation successfully received them.

\n

If you don't specify an operation ID, the SDK generates one automatically.

", + "smithy.api#documentation": "

A unique identifier for this CreateStackSet request. Specify this token if\n you plan to retry requests so that CloudFormation knows that you're not attempting to create\n another stack set with the same name. You might retry CreateStackSet requests to\n ensure that CloudFormation successfully received them.

\n

If you don't specify an operation ID, the SDK generates one\n automatically.

", "smithy.api#idempotencyToken": {} } }, "ManagedExecution": { "target": "com.amazonaws.cloudformation#ManagedExecution", "traits": { - "smithy.api#documentation": "

Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting\n operations.

" + "smithy.api#documentation": "

Describes whether StackSets performs non-conflicting operations concurrently and queues\n conflicting operations.

" } } }, @@ -3208,7 +3208,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deactivates trusted access with Organizations. If trusted access is deactivated, the management account does not have permissions to create and manage service-managed StackSets for your\n organization.

" + "smithy.api#documentation": "

Deactivates trusted access with Organizations. If trusted access is deactivated,\n the management account does not have permissions to create and manage\n service-managed StackSets for your organization.

" } }, "com.amazonaws.cloudformation#DeactivateOrganizationsAccessInput": { @@ -3242,7 +3242,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deactivates a public extension that was previously activated in this account and Region.

\n

Once deactivated, an extension can't be used in any CloudFormation operation. This includes stack update operations\n where the stack template includes the extension, even if no updates are being made to the extension. In addition,\n deactivated extensions aren't automatically updated if a new version of the extension is released.

", + "smithy.api#documentation": "

Deactivates a public extension that was previously activated in this account and\n Region.

\n

Once deactivated, an extension can't be used in any CloudFormation operation. This includes\n stack update operations where the stack template includes the extension, even if no updates\n are being made to the extension. In addition, deactivated extensions aren't automatically\n updated if a new version of the extension is released.

", "smithy.api#idempotent": {} } }, @@ -3252,19 +3252,19 @@ "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The type name of the extension, in this account and Region. If you specified a type name alias when enabling the\n extension, use the type name alias.

\n

Conditional: You must specify either Arn, or TypeName and Type.

" + "smithy.api#documentation": "

The type name of the extension, in this account and Region. If you specified a type name\n alias when enabling the extension, use the type name alias.

\n

Conditional: You must specify either Arn, or TypeName and\n Type.

" } }, "Type": { "target": "com.amazonaws.cloudformation#ThirdPartyType", "traits": { - "smithy.api#documentation": "

The extension type.

\n

Conditional: You must specify either Arn, or TypeName and Type.

" + "smithy.api#documentation": "

The extension type.

\n

Conditional: You must specify either Arn, or TypeName and\n Type.

" } }, "Arn": { "target": "com.amazonaws.cloudformation#PrivateTypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the extension, in this account and Region.

\n

Conditional: You must specify either Arn, or TypeName and Type.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the extension, in this account and Region.

\n

Conditional: You must specify either Arn, or TypeName and\n Type.

" } } }, @@ -3293,7 +3293,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified change set. Deleting change sets ensures that no one executes the wrong change set.

\n

If the call successfully completes, CloudFormation successfully deleted the change set.

\n

If IncludeNestedStacks specifies True during the creation of the nested change set,\n then DeleteChangeSet will delete all change sets that belong to the stacks hierarchy and will also\n delete all change sets for nested stacks with the status of REVIEW_IN_PROGRESS.

" + "smithy.api#documentation": "

Deletes the specified change set. Deleting change sets ensures that no one executes the\n wrong change set.

\n

If the call successfully completes, CloudFormation successfully deleted the change set.

\n

If IncludeNestedStacks specifies True during the creation of the\n nested change set, then DeleteChangeSet will delete all change sets that belong\n to the stacks hierarchy and will also delete all change sets for nested stacks with the status\n of REVIEW_IN_PROGRESS.

" } }, "com.amazonaws.cloudformation#DeleteChangeSetInput": { @@ -3310,7 +3310,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { - "smithy.api#documentation": "

If you specified the name of a change set to delete, specify the stack name or Amazon Resource Name (ARN) that's\n associated with it.

" + "smithy.api#documentation": "

If you specified the name of a change set to delete, specify the stack name or Amazon\n Resource Name (ARN) that's associated with it.

" } } }, @@ -3386,7 +3386,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks don't\n show up in the DescribeStacks operation if the deletion has been completed successfully.

" + "smithy.api#documentation": "

Deletes a specified stack. Once the call completes successfully, stack deletion starts.\n Deleted stacks don't show up in the DescribeStacks operation if the deletion\n has been completed successfully.

\n

For more information about deleting a stack, see Delete a stack from\n the CloudFormation console in the CloudFormation User Guide.

" } }, "com.amazonaws.cloudformation#DeleteStackInput": { @@ -3403,25 +3403,25 @@ "RetainResources": { "target": "com.amazonaws.cloudformation#RetainResources", "traits": { - "smithy.api#documentation": "

For stacks in the DELETE_FAILED state, a list of resource logical IDs that are associated with the\n resources you want to retain. During deletion, CloudFormation deletes the stack but doesn't delete the retained\n resources.

\n

Retaining resources is useful when you can't delete a resource, such as a non-empty S3 bucket, but you want to\n delete the stack.

" + "smithy.api#documentation": "

For stacks in the DELETE_FAILED state, a list of resource logical IDs that\n are associated with the resources you want to retain. During deletion, CloudFormation deletes the\n stack but doesn't delete the retained resources.

\n

Retaining resources is useful when you can't delete a resource, such as a non-empty S3\n bucket, but you want to delete the stack.

" } }, "RoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to\n delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

\n

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role\n is available, CloudFormation uses a temporary session that's generated from your user credentials.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to delete the\n stack. CloudFormation uses the role's credentials to make calls on your behalf.

\n

If you don't specify a value, CloudFormation uses the role that was previously associated with\n the stack. If no role is available, CloudFormation uses a temporary session that's generated from\n your user credentials.

" } }, "ClientRequestToken": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

A unique identifier for this DeleteStack request. Specify this token if you plan to retry requests\n so that CloudFormation knows that you're not attempting to delete a stack with the same name. You might retry\n DeleteStack requests to ensure that CloudFormation successfully received them.

\n

All events initiated by a given stack operation are assigned the same client request token, which you can use to\n track operations. For example, if you execute a CreateStack operation with the token\n token1, then all the StackEvents generated by that operation will have\n ClientRequestToken set as token1.

\n

In the console, stack operations display the client request token on the Events tab. Stack operations that are\n initiated from the console use the token format Console-StackOperation-ID, which helps you\n easily identify the stack operation . For example, if you create a stack using the console, each stack event would be\n assigned the same token in the following format:\n Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

" + "smithy.api#documentation": "

A unique identifier for this DeleteStack request. Specify this token if you\n plan to retry requests so that CloudFormation knows that you're not attempting to delete a stack\n with the same name. You might retry DeleteStack requests to ensure that\n CloudFormation successfully received them.

\n

All events initiated by a given stack operation are assigned the same client request\n token, which you can use to track operations. For example, if you execute a\n CreateStack operation with the token token1, then all the\n StackEvents generated by that operation will have\n ClientRequestToken set as token1.

\n

In the console, stack operations display the client request token on the Events tab. Stack\n operations that are initiated from the console use the token format\n Console-StackOperation-ID, which helps you easily identify the stack\n operation . For example, if you create a stack using the console, each stack event would be\n assigned the same token in the following format:\n Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

" } }, "DeletionMode": { "target": "com.amazonaws.cloudformation#DeletionMode", "traits": { - "smithy.api#documentation": "

Specifies the deletion mode for the stack. Possible values are:

\n " + "smithy.api#documentation": "

Specifies the deletion mode for the stack. Possible values are:

\n " } } }, @@ -3473,13 +3473,13 @@ "Accounts": { "target": "com.amazonaws.cloudformation#AccountList", "traits": { - "smithy.api#documentation": "

[Self-managed permissions] The names of the Amazon Web Services accounts that you want to delete stack instances\n for.

\n

You can specify Accounts or DeploymentTargets, but not both.

" + "smithy.api#documentation": "

[Self-managed permissions] The names of the Amazon Web Services accounts that you want to delete stack\n instances for.

\n

You can specify Accounts or DeploymentTargets, but not\n both.

" } }, "DeploymentTargets": { "target": "com.amazonaws.cloudformation#DeploymentTargets", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] The Organizations accounts from which to delete stack instances.

\n

You can specify Accounts or DeploymentTargets, but not both.

" + "smithy.api#documentation": "

[Service-managed permissions] The Organizations accounts from which to delete\n stack instances.

\n

You can specify Accounts or DeploymentTargets, but not\n both.

" } }, "Regions": { @@ -3500,21 +3500,21 @@ "target": "com.amazonaws.cloudformation#RetainStacks", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a\n retained stack or add an existing, saved stack to a new stack set.

\n

For more information, see Stack set operation\n options.

", + "smithy.api#documentation": "

Removes the stack instances from the specified stack set, but doesn't delete the stacks.\n You can't reassociate a retained stack or add an existing, saved stack to a new stack\n set.

\n

For more information, see Stack set operation options.

", "smithy.api#required": {} } }, "OperationId": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

The unique identifier for this stack set operation.

\n

If you don't specify an operation ID, the SDK generates one automatically.

\n

The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set\n operation only once, even if you retry the request multiple times. You can retry stack set operation requests to\n ensure that CloudFormation successfully received them.

\n

Repeating this stack set operation with a new operation ID retries all stack instances whose status is\n OUTDATED.

", + "smithy.api#documentation": "

The unique identifier for this stack set operation.

\n

If you don't specify an operation ID, the SDK generates one\n automatically.

\n

The operation ID also functions as an idempotency token, to ensure that CloudFormation\n performs the stack set operation only once, even if you retry the request multiple times. You\n can retry stack set operation requests to ensure that CloudFormation successfully received\n them.

\n

Repeating this stack set operation with a new operation ID retries all stack instances\n whose status is OUTDATED.

", "smithy.api#idempotencyToken": {} } }, "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -3553,7 +3553,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a stack set. Before you can delete a stack set, all its member stack instances must be deleted. For more\n information about how to complete this, see DeleteStackInstances.

" + "smithy.api#documentation": "

Deletes a stack set. Before you can delete a stack set, all its member stack instances\n must be deleted. For more information about how to complete this, see DeleteStackInstances.

" } }, "com.amazonaws.cloudformation#DeleteStackSetInput": { @@ -3563,14 +3563,14 @@ "target": "com.amazonaws.cloudformation#StackSetName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or unique ID of the stack set that you're deleting. You can obtain this value by running ListStackSets.

", + "smithy.api#documentation": "

The name or unique ID of the stack set that you're deleting. You can obtain this value by\n running ListStackSets.

", "smithy.api#required": {} } }, "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -3671,7 +3671,7 @@ } ], "traits": { - "smithy.api#documentation": "

Marks an extension or extension version as DEPRECATED in the CloudFormation registry, removing it from\n active use. Deprecated extensions or extension versions cannot be used in CloudFormation operations.

\n

To deregister an entire extension, you must individually deregister all active versions of that extension. If an\n extension has only a single active version, deregistering that version results in the extension itself being\n deregistered and marked as deprecated in the registry.

\n

You can't deregister the default version of an extension if there are other active version of that extension. If\n you do deregister the default version of an extension, the extension type itself is deregistered as well and marked\n as deprecated.

\n

To view the deprecation status of an extension or extension version, use DescribeType.

", + "smithy.api#documentation": "

Marks an extension or extension version as DEPRECATED in the CloudFormation\n registry, removing it from active use. Deprecated extensions or extension versions cannot be\n used in CloudFormation operations.

\n

To deregister an entire extension, you must individually deregister all active versions of\n that extension. If an extension has only a single active version, deregistering that version\n results in the extension itself being deregistered and marked as deprecated in the\n registry.

\n

You can't deregister the default version of an extension if there are other active version\n of that extension. If you do deregister the default version of an extension, the extension\n type itself is deregistered as well and marked as deprecated.

\n

To view the deprecation status of an extension or extension version, use DescribeType.

", "smithy.api#idempotent": {} } }, @@ -3681,25 +3681,25 @@ "Arn": { "target": "com.amazonaws.cloudformation#PrivateTypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "Type": { "target": "com.amazonaws.cloudformation#RegistryType", "traits": { - "smithy.api#documentation": "

The kind of extension.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The kind of extension.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "VersionId": { "target": "com.amazonaws.cloudformation#TypeVersionId", "traits": { - "smithy.api#documentation": "

The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource\n Name (ARN) assigned to the extension version when it is registered.

" + "smithy.api#documentation": "

The ID of a specific version of the extension. The version ID is the value at the end of\n the Amazon Resource Name (ARN) assigned to the extension version when it is registered.

" } } }, @@ -3723,7 +3723,7 @@ "target": "com.amazonaws.cloudformation#DescribeAccountLimitsOutput" }, "traits": { - "smithy.api#documentation": "

Retrieves your account's CloudFormation limits, such as the maximum number of stacks that you can create in your account.\n For more information about account limits, see CloudFormation Quotas in the\n CloudFormation User Guide.

", + "smithy.api#documentation": "

Retrieves your account's CloudFormation limits, such as the maximum number of stacks that you\n can create in your account. For more information about account limits, see Understand CloudFormation quotas in the CloudFormation User Guide.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -3752,13 +3752,13 @@ "AccountLimits": { "target": "com.amazonaws.cloudformation#AccountLimitList", "traits": { - "smithy.api#documentation": "

An account limit structure that contain a list of CloudFormation account limits and their values.

" + "smithy.api#documentation": "

An account limit structure that contain a list of CloudFormation account limits and their\n values.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the output exceeds 1 MB in size, a string that identifies the next page of limits. If no additional page\n exists, this value is null.

" + "smithy.api#documentation": "

If the output exceeds 1 MB in size, a string that identifies the next page of limits. If\n no additional page exists, this value is null.

" } } }, @@ -3781,7 +3781,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the inputs for the change set and a list of changes that CloudFormation will make if you execute the change set.\n For more information, see Updating Stacks Using Change\n Sets in the CloudFormation User Guide.

", + "smithy.api#documentation": "

Returns the inputs for the change set and a list of changes that CloudFormation will make if\n you execute the change set. For more information, see Update\n CloudFormation stacks using change sets in the\n CloudFormation User Guide.

", "smithy.api#suppress": [ "WaitableTraitInvalidErrorType" ], @@ -3835,7 +3835,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns hook-related information for the change set and a list of changes that CloudFormation makes when you run the\n change set.

" + "smithy.api#documentation": "

Returns hook-related information for the change set and a list of changes that CloudFormation\n makes when you run the change set.

" } }, "com.amazonaws.cloudformation#DescribeChangeSetHooksInput": { @@ -3852,19 +3852,19 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { - "smithy.api#documentation": "

If you specified the name of a change set, specify the stack name or stack ID (ARN) of the change set you want\n to describe.

" + "smithy.api#documentation": "

If you specified the name of a change set, specify the stack name or stack ID (ARN) of the\n change set you want to describe.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

A string, provided by the DescribeChangeSetHooks response output, that identifies the next page of\n information that you want to retrieve.

" + "smithy.api#documentation": "

A string, provided by the DescribeChangeSetHooks response output, that\n identifies the next page of information that you want to retrieve.

" } }, "LogicalResourceId": { "target": "com.amazonaws.cloudformation#LogicalResourceId", "traits": { - "smithy.api#documentation": "

If specified, lists only the hooks related to the specified LogicalResourceId.

" + "smithy.api#documentation": "

If specified, lists only the hooks related to the specified\n LogicalResourceId.

" } } }, @@ -3936,19 +3936,19 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { - "smithy.api#documentation": "

If you specified the name of a change set, specify the stack name or ID (ARN) of the change set you want to\n describe.

" + "smithy.api#documentation": "

If you specified the name of a change set, specify the stack name or ID (ARN) of the\n change set you want to describe.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

A string (provided by the DescribeChangeSet response output) that identifies the next page of\n information that you want to retrieve.

" + "smithy.api#documentation": "

A string (provided by the DescribeChangeSet response output) that\n identifies the next page of information that you want to retrieve.

" } }, "IncludePropertyValues": { "target": "com.amazonaws.cloudformation#IncludePropertyValues", "traits": { - "smithy.api#documentation": "

If true, the returned changes include detailed changes in the property values.

" + "smithy.api#documentation": "

If true, the returned changes include detailed changes in the property\n values.

" } } }, @@ -3993,7 +3993,7 @@ "Parameters": { "target": "com.amazonaws.cloudformation#Parameters", "traits": { - "smithy.api#documentation": "

A list of Parameter structures that describes the input parameters and their values used to create\n the change set. For more information, see the Parameter data type.

" + "smithy.api#documentation": "

A list of Parameter structures that describes the input parameters and their\n values used to create the change set. For more information, see the Parameter data type.

" } }, "CreationTime": { @@ -4005,37 +4005,37 @@ "ExecutionStatus": { "target": "com.amazonaws.cloudformation#ExecutionStatus", "traits": { - "smithy.api#documentation": "

If the change set execution status is AVAILABLE, you can execute the change set. If you can't\n execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE\n state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already\n updated.

" + "smithy.api#documentation": "

If the change set execution status is AVAILABLE, you can execute the change\n set. If you can't execute the change set, the status indicates why. For example, a change set\n might be in an UNAVAILABLE state because CloudFormation is still creating it or in an\n OBSOLETE state because the stack was already updated.

" } }, "Status": { "target": "com.amazonaws.cloudformation#ChangeSetStatus", "traits": { - "smithy.api#documentation": "

The current status of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or\n FAILED.

" + "smithy.api#documentation": "

The current status of the change set, such as CREATE_IN_PROGRESS,\n CREATE_COMPLETE, or FAILED.

" } }, "StatusReason": { "target": "com.amazonaws.cloudformation#ChangeSetStatusReason", "traits": { - "smithy.api#documentation": "

A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.

" + "smithy.api#documentation": "

A description of the change set's status. For example, if your attempt to create a change\n set failed, CloudFormation shows the error message.

" } }, "NotificationARNs": { "target": "com.amazonaws.cloudformation#NotificationARNs", "traits": { - "smithy.api#documentation": "

The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you\n execute the change set.

" + "smithy.api#documentation": "

The ARNs of the Amazon SNS topics that will be associated with the stack if you execute the\n change set.

" } }, "RollbackConfiguration": { "target": "com.amazonaws.cloudformation#RollbackConfiguration", "traits": { - "smithy.api#documentation": "

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified\n monitoring period afterwards.

" + "smithy.api#documentation": "

The rollback triggers for CloudFormation to monitor during stack creation and updating\n operations, and for the specified monitoring period afterwards.

" } }, "Capabilities": { "target": "com.amazonaws.cloudformation#Capabilities", "traits": { - "smithy.api#documentation": "

If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set\n was created.

" + "smithy.api#documentation": "

If you execute the change set, the list of capabilities that were explicitly acknowledged\n when the change set was created.

" } }, "Tags": { @@ -4047,13 +4047,13 @@ "Changes": { "target": "com.amazonaws.cloudformation#Changes", "traits": { - "smithy.api#documentation": "

A list of Change structures that describes the resources CloudFormation changes if you execute the change\n set.

" + "smithy.api#documentation": "

A list of Change structures that describes the resources CloudFormation changes\n if you execute the change set.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page,\n this value is null.

" + "smithy.api#documentation": "

If the output exceeds 1 MB, a string that identifies the next page of changes. If there is\n no additional page, this value is null.

" } }, "IncludeNestedStacks": { @@ -4065,25 +4065,25 @@ "ParentChangeSetId": { "target": "com.amazonaws.cloudformation#ChangeSetId", "traits": { - "smithy.api#documentation": "

Specifies the change set ID of the parent change set in the current nested change set hierarchy.

" + "smithy.api#documentation": "

Specifies the change set ID of the parent change set in the current nested change set\n hierarchy.

" } }, "RootChangeSetId": { "target": "com.amazonaws.cloudformation#ChangeSetId", "traits": { - "smithy.api#documentation": "

Specifies the change set ID of the root change set in the current nested change set hierarchy.

" + "smithy.api#documentation": "

Specifies the change set ID of the root change set in the current nested change set\n hierarchy.

" } }, "OnStackFailure": { "target": "com.amazonaws.cloudformation#OnStackFailure", "traits": { - "smithy.api#documentation": "

Determines what action will be taken if stack creation fails. When this parameter is specified, the\n DisableRollback parameter to the ExecuteChangeSet API operation must\n not be specified. This must be one of these values:

\n " + "smithy.api#documentation": "

Determines what action will be taken if stack creation fails. When this parameter is\n specified, the DisableRollback parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these\n values:

\n " } }, "ImportExistingResources": { "target": "com.amazonaws.cloudformation#ImportExistingResources", "traits": { - "smithy.api#documentation": "

Indicates if the change set imports resources that already exist.

\n \n

This parameter can only import resources that have custom names in templates. To import\n resources that do not accept custom names, such as EC2 instances, use the resource import feature instead.

\n
" + "smithy.api#documentation": "

Indicates if the change set imports resources that already exist.

\n \n

This parameter can only import resources that have custom names in\n templates. To import resources that do not accept custom names, such as EC2 instances, use\n the resource import\n feature instead.

\n
" } } }, @@ -4106,7 +4106,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes a generated template. The output includes details about the progress of the creation of a generated\n template started by a CreateGeneratedTemplate API action or the update of a generated template started\n with an UpdateGeneratedTemplate API action.

" + "smithy.api#documentation": "

Describes a generated template. The output includes details about the progress of the\n creation of a generated template started by a CreateGeneratedTemplate API action\n or the update of a generated template started with an UpdateGeneratedTemplate API\n action.

" } }, "com.amazonaws.cloudformation#DescribeGeneratedTemplateInput": { @@ -4131,7 +4131,7 @@ "GeneratedTemplateId": { "target": "com.amazonaws.cloudformation#GeneratedTemplateId", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the generated template. The format is\n arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}. For example,\n arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc\n .

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the generated template. The format is\n arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}.\n For example,\n arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc\n .

" } }, "GeneratedTemplateName": { @@ -4143,7 +4143,7 @@ "Resources": { "target": "com.amazonaws.cloudformation#ResourceDetails", "traits": { - "smithy.api#documentation": "

A list of objects describing the details of the resources in the template generation.

" + "smithy.api#documentation": "

A list of objects describing the details of the resources in the template\n generation.

" } }, "Status": { @@ -4155,7 +4155,7 @@ "StatusReason": { "target": "com.amazonaws.cloudformation#TemplateStatusReason", "traits": { - "smithy.api#documentation": "

The reason for the current template generation status. This will provide more details if a failure\n happened.

" + "smithy.api#documentation": "

The reason for the current template generation status. This will provide more details if a\n failure happened.

" } }, "CreationTime": { @@ -4179,19 +4179,19 @@ "StackId": { "target": "com.amazonaws.cloudformation#StackId", "traits": { - "smithy.api#documentation": "

The stack ARN of the base stack if a base stack was provided when generating the template.

" + "smithy.api#documentation": "

The stack ARN of the base stack if a base stack was provided when generating the\n template.

" } }, "TemplateConfiguration": { "target": "com.amazonaws.cloudformation#TemplateConfiguration", "traits": { - "smithy.api#documentation": "

The configuration details of the generated template, including the DeletionPolicy and\n UpdateReplacePolicy.

" + "smithy.api#documentation": "

The configuration details of the generated template, including the\n DeletionPolicy and UpdateReplacePolicy.

" } }, "TotalWarnings": { "target": "com.amazonaws.cloudformation#TotalWarnings", "traits": { - "smithy.api#documentation": "

The number of warnings generated for this template. The warnings are found in the details of each of the\n resources in the template.

" + "smithy.api#documentation": "

The number of warnings generated for this template. The warnings are found in the details\n of each of the resources in the template.

" } } }, @@ -4216,7 +4216,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves information about the account's OrganizationAccess status. This API can be called either\n by the management account or the delegated administrator by using the CallAs parameter. This API can\n also be called without the CallAs parameter by the management account.

" + "smithy.api#documentation": "

Retrieves information about the account's OrganizationAccess status. This API\n can be called either by the management account or the delegated administrator by using the\n CallAs parameter. This API can also be called without the CallAs\n parameter by the management account.

" } }, "com.amazonaws.cloudformation#DescribeOrganizationsAccessInput": { @@ -4225,7 +4225,7 @@ "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified.

\n " } } }, @@ -4261,7 +4261,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns information about a CloudFormation extension publisher.

\n

If you don't supply a PublisherId, and you have registered as an extension publisher,\n DescribePublisher returns information about your own publisher account.

\n

For more information about registering as a publisher, see:

\n ", + "smithy.api#documentation": "

Returns information about a CloudFormation extension publisher.

\n

If you don't supply a PublisherId, and you have registered as an extension\n publisher, DescribePublisher returns information about your own publisher\n account.

\n

For more information about registering as a publisher, see:

\n ", "smithy.api#idempotent": {} } }, @@ -4271,7 +4271,7 @@ "PublisherId": { "target": "com.amazonaws.cloudformation#PublisherId", "traits": { - "smithy.api#documentation": "

The ID of the extension publisher.

\n

If you don't supply a PublisherId, and you have registered as an extension publisher,\n DescribePublisher returns information about your own publisher account.

" + "smithy.api#documentation": "

The ID of the extension publisher.

\n

If you don't supply a PublisherId, and you have registered as an extension\n publisher, DescribePublisher returns information about your own publisher\n account.

" } } }, @@ -4291,13 +4291,13 @@ "PublisherStatus": { "target": "com.amazonaws.cloudformation#PublisherStatus", "traits": { - "smithy.api#documentation": "

Whether the publisher is verified. Currently, all registered publishers are verified.

" + "smithy.api#documentation": "

Whether the publisher is verified. Currently, all registered publishers are\n verified.

" } }, "IdentityProvider": { "target": "com.amazonaws.cloudformation#IdentityProvider", "traits": { - "smithy.api#documentation": "

The type of account used as the identity provider when registering this publisher with CloudFormation.

" + "smithy.api#documentation": "

The type of account used as the identity provider when registering this publisher with\n CloudFormation.

" } }, "PublisherProfile": { @@ -4350,19 +4350,19 @@ "ResourceScanId": { "target": "com.amazonaws.cloudformation#ResourceScanId", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource scan. The format is\n arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}. An example is\n arn:aws:cloudformation:us-east-1:123456789012:resourceScan/f5b490f7-7ed4-428a-aa06-31ff25db0772\n .

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource scan. The format is\n arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}. An\n example is\n arn:aws:cloudformation:us-east-1:123456789012:resourceScan/f5b490f7-7ed4-428a-aa06-31ff25db0772\n .

" } }, "Status": { "target": "com.amazonaws.cloudformation#ResourceScanStatus", "traits": { - "smithy.api#documentation": "

Status of the resource scan.

\n
\n
INPROGRESS
\n
\n

The resource scan is still in progress.

\n
\n
COMPLETE
\n
\n

The resource scan is complete.

\n
\n
EXPIRED
\n
\n

The resource scan has expired.

\n
\n
FAILED
\n
\n

The resource scan has failed.

\n
\n
" + "smithy.api#documentation": "

Status of the resource scan.

\n
\n
\n \n INPROGRESS\n \n
\n
\n

The resource scan is still in progress.

\n
\n
\n \n COMPLETE\n \n
\n
\n

The resource scan is complete.

\n
\n
\n \n EXPIRED\n \n
\n
\n

The resource scan has expired.

\n
\n
\n \n FAILED\n \n
\n
\n

The resource scan has failed.

\n
\n
" } }, "StatusReason": { "target": "com.amazonaws.cloudformation#ResourceScanStatusReason", "traits": { - "smithy.api#documentation": "

The reason for the resource scan status, providing more information if a failure happened.

" + "smithy.api#documentation": "

The reason for the resource scan status, providing more information if a failure\n happened.

" } }, "StartTime": { @@ -4386,19 +4386,19 @@ "ResourceTypes": { "target": "com.amazonaws.cloudformation#ResourceTypes", "traits": { - "smithy.api#documentation": "

The list of resource types for the specified scan. Resource types are only available for scans with a\n Status set to COMPLETE or FAILED .

" + "smithy.api#documentation": "

The list of resource types for the specified scan. Resource types are only available for\n scans with a Status set to COMPLETE or FAILED .

" } }, "ResourcesScanned": { "target": "com.amazonaws.cloudformation#ResourcesScanned", "traits": { - "smithy.api#documentation": "

The number of resources that were listed. This is only available for scans with a Status set to\n COMPLETE, EXPIRED, or FAILED .

" + "smithy.api#documentation": "

The number of resources that were listed. This is only available for scans with a\n Status set to COMPLETE, EXPIRED, or FAILED\n .

" } }, "ResourcesRead": { "target": "com.amazonaws.cloudformation#ResourcesRead", "traits": { - "smithy.api#documentation": "

The number of resources that were read. This is only available for scans with a Status set to\n COMPLETE, EXPIRED, or FAILED .

\n \n

This field may be 0 if the resource scan failed with a ResourceScanLimitExceededException.

\n
" + "smithy.api#documentation": "

The number of resources that were read. This is only available for scans with a\n Status set to COMPLETE, EXPIRED, or FAILED\n .

\n \n

This field may be 0 if the resource scan failed with a\n ResourceScanLimitExceededException.

\n
" } } }, @@ -4415,7 +4415,7 @@ "target": "com.amazonaws.cloudformation#DescribeStackDriftDetectionStatusOutput" }, "traits": { - "smithy.api#documentation": "

Returns information about a stack drift detection operation. A stack drift detection operation detects whether a\n stack's actual configuration differs, or has drifted, from its expected configuration, as\n defined in the stack template and any values specified as template parameters. A stack is considered to have drifted\n if one or more of its resources have drifted. For more information about stack and resource drift, see Detecting Unregulated\n Configuration Changes to Stacks and Resources.

\n

Use DetectStackDrift to initiate a stack drift detection operation.\n DetectStackDrift returns a StackDriftDetectionId you can use to monitor the progress of the\n operation using DescribeStackDriftDetectionStatus. Once the drift detection operation has completed, use\n DescribeStackResourceDrifts to return drift information about the stack and its resources.

" + "smithy.api#documentation": "

Returns information about a stack drift detection operation. A stack drift detection\n operation detects whether a stack's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack\n template and any values specified as template parameters. A stack is considered to have\n drifted if one or more of its resources have drifted. For more information about stack and\n resource drift, see Detect unmanaged\n configuration changes to stacks and resources with drift detection.

\n

Use DetectStackDrift to initiate a stack drift detection operation.\n DetectStackDrift returns a StackDriftDetectionId you can use to\n monitor the progress of the operation using DescribeStackDriftDetectionStatus.\n Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its\n resources.

" } }, "com.amazonaws.cloudformation#DescribeStackDriftDetectionStatusInput": { @@ -4425,7 +4425,7 @@ "target": "com.amazonaws.cloudformation#StackDriftDetectionId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The ID of the drift detection results of this operation.

\n

CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number\n of drift results CloudFormation retains for any given stack, and for how long, may vary.

", + "smithy.api#documentation": "

The ID of the drift detection results of this operation.

\n

CloudFormation generates new results, with a new drift detection ID, each time this operation\n is run. However, the number of drift results CloudFormation retains for any given stack, and for\n how long, may vary.

", "smithy.api#required": {} } } @@ -4449,21 +4449,21 @@ "target": "com.amazonaws.cloudformation#StackDriftDetectionId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The ID of the drift detection results of this operation.

\n

CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number\n of reports CloudFormation retains for any given stack, and for how long, may vary.

", + "smithy.api#documentation": "

The ID of the drift detection results of this operation.

\n

CloudFormation generates new results, with a new drift detection ID, each time this operation\n is run. However, the number of reports CloudFormation retains for any given stack, and for how\n long, may vary.

", "smithy.api#required": {} } }, "StackDriftStatus": { "target": "com.amazonaws.cloudformation#StackDriftStatus", "traits": { - "smithy.api#documentation": "

Status of the stack's actual configuration compared to its expected configuration.

\n " + "smithy.api#documentation": "

Status of the stack's actual configuration compared to its expected configuration.

\n " } }, "DetectionStatus": { "target": "com.amazonaws.cloudformation#StackDriftDetectionStatus", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The status of the stack drift detection operation.

\n ", + "smithy.api#documentation": "

The status of the stack drift detection operation.

\n ", "smithy.api#required": {} } }, @@ -4476,7 +4476,7 @@ "DriftedStackResourceCount": { "target": "com.amazonaws.cloudformation#BoxedInteger", "traits": { - "smithy.api#documentation": "

Total number of stack resources that have drifted. This is NULL until the drift detection operation reaches a\n status of DETECTION_COMPLETE. This value will be 0 for stacks whose drift status is\n IN_SYNC.

" + "smithy.api#documentation": "

Total number of stack resources that have drifted. This is NULL until the drift detection\n operation reaches a status of DETECTION_COMPLETE. This value will be 0 for stacks\n whose drift status is IN_SYNC.

" } }, "Timestamp": { @@ -4501,7 +4501,7 @@ "target": "com.amazonaws.cloudformation#DescribeStackEventsOutput" }, "traits": { - "smithy.api#documentation": "

Returns all stack related events for a specified stack in reverse chronological order. For more information\n about a stack's event history, see CloudFormation stack creation\n events in the CloudFormation User Guide.

\n \n

You can list events for stacks that have failed to create or have been deleted by specifying the unique stack\n identifier (stack ID).

\n
", + "smithy.api#documentation": "

Returns all stack related events for a specified stack in reverse chronological order. For\n more information about a stack's event history, see Understand CloudFormation stack creation events in the\n CloudFormation User Guide.

\n \n

You can list events for stacks that have failed to create or have been deleted by\n specifying the unique stack identifier (stack ID).

\n
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -4515,7 +4515,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { - "smithy.api#documentation": "

The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:

\n \n

Default: There is no default value.

" + "smithy.api#documentation": "

The name or the unique stack ID that's associated with the stack, which aren't always\n interchangeable:

\n \n

Default: There is no default value.

" } }, "NextToken": { @@ -4542,7 +4542,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the output exceeds 1 MB in size, a string that identifies the next page of events. If no additional page\n exists, this value is null.

" + "smithy.api#documentation": "

If the output exceeds 1 MB in size, a string that identifies the next page of events. If\n no additional page exists, this value is null.

" } } }, @@ -4568,7 +4568,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the stack instance that's associated with the specified StackSet, Amazon Web Services account, and\n Amazon Web Services Region.

\n

For a list of stack instances that are associated with a specific StackSet, use ListStackInstances.

" + "smithy.api#documentation": "

Returns the stack instance that's associated with the specified StackSet, Amazon Web Services account,\n and Amazon Web Services Region.

\n

For a list of stack instances that are associated with a specific StackSet, use ListStackInstances.

" } }, "com.amazonaws.cloudformation#DescribeStackInstanceInput": { @@ -4578,7 +4578,7 @@ "target": "com.amazonaws.cloudformation#StackSetName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or the unique stack ID of the stack set that you want to get stack instance information for.

", + "smithy.api#documentation": "

The name or the unique stack ID of the stack set that you want to get stack instance\n information for.

", "smithy.api#required": {} } }, @@ -4601,7 +4601,7 @@ "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -4632,7 +4632,7 @@ "target": "com.amazonaws.cloudformation#DescribeStackResourceOutput" }, "traits": { - "smithy.api#documentation": "

Returns a description of the specified resource in the specified stack.

\n

For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has\n been deleted.

" + "smithy.api#documentation": "

Returns a description of the specified resource in the specified stack.

\n

For deleted stacks, DescribeStackResource returns resource information for up to 90 days\n after the stack has been deleted.

" } }, "com.amazonaws.cloudformation#DescribeStackResourceDrifts": { @@ -4644,7 +4644,7 @@ "target": "com.amazonaws.cloudformation#DescribeStackResourceDriftsOutput" }, "traits": { - "smithy.api#documentation": "

Returns drift information for the resources that have been checked for drift in the specified stack. This\n includes actual and expected configuration values for resources where CloudFormation detects configuration drift.

\n

For a given stack, there will be one StackResourceDrift for each stack resource that has been\n checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that don't currently\n support drift detection aren't checked, and so not included. For a list of resources that support drift detection,\n see Resources that Support Drift Detection.

\n

Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all supported resources for a given stack.

", + "smithy.api#documentation": "

Returns drift information for the resources that have been checked for drift in the\n specified stack. This includes actual and expected configuration values for resources where\n CloudFormation detects configuration drift.

\n

For a given stack, there will be one StackResourceDrift for each stack\n resource that has been checked for drift. Resources that haven't yet been checked for drift\n aren't included. Resources that don't currently support drift detection aren't checked, and so\n not included. For a list of resources that support drift detection, see Resource\n type support for imports and drift detection.

\n

Use DetectStackResourceDrift to detect drift on individual resources, or\n DetectStackDrift to detect drift on all supported resources for a given\n stack.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -4666,7 +4666,7 @@ "StackResourceDriftStatusFilters": { "target": "com.amazonaws.cloudformation#StackResourceDriftStatusFilters", "traits": { - "smithy.api#documentation": "

The resource drift status values to use as filters for the resource drift results returned.

\n " + "smithy.api#documentation": "

The resource drift status values to use as filters for the resource drift results\n returned.

\n " } }, "NextToken": { @@ -4678,7 +4678,7 @@ "MaxResults": { "target": "com.amazonaws.cloudformation#BoxedMaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of available results exceeds this\n maximum, the response includes a NextToken value that you can assign to the NextToken\n request parameter to get the next set of results.

" + "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken value\n that you can assign to the NextToken request parameter to get the next set of\n results.

" } } }, @@ -4693,14 +4693,14 @@ "target": "com.amazonaws.cloudformation#StackResourceDrifts", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Drift information for the resources that have been checked for drift in the specified stack. This includes\n actual and expected configuration values for resources where CloudFormation detects drift.

\n

For a given stack, there will be one StackResourceDrift for each stack resource that has been\n checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently\n support drift detection aren't checked, and so not included. For a list of resources that support drift detection,\n see Resources that Support Drift Detection.

", + "smithy.api#documentation": "

Drift information for the resources that have been checked for drift in the specified\n stack. This includes actual and expected configuration values for resources where CloudFormation\n detects drift.

\n

For a given stack, there will be one StackResourceDrift for each stack\n resource that has been checked for drift. Resources that haven't yet been checked for drift\n aren't included. Resources that do not currently support drift detection aren't checked, and\n so not included. For a list of resources that support drift detection, see Resource\n type support for imports and drift detection.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve\n the next set of results, call DescribeStackResourceDrifts again and assign that token to the request\n object's NextToken parameter. If the request returns all results, NextToken is set to\n null.

" + "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to\n a token. To retrieve the next set of results, call DescribeStackResourceDrifts\n again and assign that token to the request object's NextToken parameter. If the\n request returns all results, NextToken is set to null.

" } } }, @@ -4715,7 +4715,7 @@ "target": "com.amazonaws.cloudformation#StackName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:

\n \n

Default: There is no default value.

", + "smithy.api#documentation": "

The name or the unique stack ID that's associated with the stack, which aren't always\n interchangeable:

\n \n

Default: There is no default value.

", "smithy.api#required": {} } }, @@ -4739,7 +4739,7 @@ "StackResourceDetail": { "target": "com.amazonaws.cloudformation#StackResourceDetail", "traits": { - "smithy.api#documentation": "

A StackResourceDetail structure containing the description of the specified resource in the\n specified stack.

" + "smithy.api#documentation": "

A StackResourceDetail structure containing the description of the specified\n resource in the specified stack.

" } } }, @@ -4757,7 +4757,7 @@ "target": "com.amazonaws.cloudformation#DescribeStackResourcesOutput" }, "traits": { - "smithy.api#documentation": "

Returns Amazon Web Services resource descriptions for running and deleted stacks. If StackName is\n specified, all the associated resources that are part of the stack are returned. If PhysicalResourceId\n is specified, the associated resources of the stack that the resource belongs to are returned.

\n \n

Only the first 100 resources will be returned. If your stack has more resources than this, you should use\n ListStackResources instead.

\n
\n

For deleted stacks, DescribeStackResources returns resource information for up to 90 days after the\n stack has been deleted.

\n

You must specify either StackName or PhysicalResourceId, but not both. In addition,\n you can specify LogicalResourceId to filter the returned result. For more information about resources,\n the LogicalResourceId and PhysicalResourceId, go to the CloudFormation User Guide.

\n \n

A ValidationError is returned if you specify both StackName and\n PhysicalResourceId in the same request.

\n
" + "smithy.api#documentation": "

Returns Amazon Web Services resource descriptions for running and deleted stacks. If\n StackName is specified, all the associated resources that are part of the stack\n are returned. If PhysicalResourceId is specified, the associated resources of the\n stack that the resource belongs to are returned.

\n \n

Only the first 100 resources will be returned. If your stack has more resources than\n this, you should use ListStackResources instead.

\n
\n

For deleted stacks, DescribeStackResources returns resource information for\n up to 90 days after the stack has been deleted.

\n

You must specify either StackName or PhysicalResourceId, but not\n both. In addition, you can specify LogicalResourceId to filter the returned\n result. For more information about resources, the LogicalResourceId and\n PhysicalResourceId, see the CloudFormation User Guide.

\n \n

A ValidationError is returned if you specify both StackName\n and PhysicalResourceId in the same request.

\n
" } }, "com.amazonaws.cloudformation#DescribeStackResourcesInput": { @@ -4766,7 +4766,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { - "smithy.api#documentation": "

The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:

\n \n

Default: There is no default value.

\n

Required: Conditional. If you don't specify StackName, you must specify\n PhysicalResourceId.

" + "smithy.api#documentation": "

The name or the unique stack ID that is associated with the stack, which aren't always\n interchangeable:

\n \n

Default: There is no default value.

\n

Required: Conditional. If you don't specify StackName, you must specify\n PhysicalResourceId.

" } }, "LogicalResourceId": { @@ -4778,7 +4778,7 @@ "PhysicalResourceId": { "target": "com.amazonaws.cloudformation#PhysicalResourceId", "traits": { - "smithy.api#documentation": "

The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.

\n

For example, for an Amazon Elastic Compute Cloud (EC2) instance, PhysicalResourceId corresponds to\n the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources to\n find which stack the instance belongs to and what other resources are part of the stack.

\n

Required: Conditional. If you don't specify PhysicalResourceId, you must specify\n StackName.

\n

Default: There is no default value.

" + "smithy.api#documentation": "

The name or unique identifier that corresponds to a physical instance ID of a resource\n supported by CloudFormation.

\n

For example, for an Amazon Elastic Compute Cloud (EC2) instance,\n PhysicalResourceId corresponds to the InstanceId. You can pass the\n EC2 InstanceId to DescribeStackResources to find which stack the\n instance belongs to and what other resources are part of the stack.

\n

Required: Conditional. If you don't specify PhysicalResourceId, you must\n specify StackName.

\n

Default: There is no default value.

" } } }, @@ -4833,7 +4833,7 @@ "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -4883,7 +4883,7 @@ "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -4928,7 +4928,7 @@ "target": "com.amazonaws.cloudformation#DescribeStacksOutput" }, "traits": { - "smithy.api#documentation": "

Returns the description for the specified stack; if no stack name was specified, then it returns the description\n for all the stacks created. For more information about a stack's event history, see CloudFormation stack creation\n events in the CloudFormation User Guide.

\n \n

If the stack doesn't exist, a ValidationError is returned.

\n
", + "smithy.api#documentation": "

Returns the description for the specified stack; if no stack name was specified, then it\n returns the description for all the stacks created. For more information about a stack's event\n history, see Understand CloudFormation stack creation events in the\n CloudFormation User Guide.

\n \n

If the stack doesn't exist, a ValidationError is returned.

\n
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -5384,7 +5384,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { - "smithy.api#documentation": "\n

If you don't pass a parameter to StackName, the API returns a response that describes all\n resources in the account, which can impact performance. This requires ListStacks and\n DescribeStacks permissions.

\n

Consider using the ListStacks API if you're not passing a parameter to\n StackName.

\n

The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and\n avoid returning a response when no parameter is sent in the request:

\n

{ \"Version\": \"2012-10-17\", \"Statement\": [{ \"Effect\": \"Deny\", \"Action\": \"cloudformation:DescribeStacks\",\n \"NotResource\": \"arn:aws:cloudformation:*:*:stack/*/*\" }] }

\n
\n

The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:

\n \n

Default: There is no default value.

" + "smithy.api#documentation": "\n

If you don't pass a parameter to StackName, the API returns a response\n that describes all resources in the account, which can impact performance. This requires\n ListStacks and DescribeStacks permissions.

\n

Consider using the ListStacks API if you're not passing a parameter to\n StackName.

\n

The IAM policy below can be added to IAM policies when you want to limit\n resource-level permissions and avoid returning a response when no parameter is sent in the\n request:

\n

{ \"Version\": \"2012-10-17\", \"Statement\": [{ \"Effect\": \"Deny\", \"Action\":\n \"cloudformation:DescribeStacks\", \"NotResource\": \"arn:aws:cloudformation:*:*:stack/*/*\" }]\n }

\n
\n

The name or the unique stack ID that's associated with the stack, which aren't always\n interchangeable:

\n \n

Default: There is no default value.

" } }, "NextToken": { @@ -5411,7 +5411,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page\n exists, this value is null.

" + "smithy.api#documentation": "

If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If\n no additional page exists, this value is null.

" } } }, @@ -5437,7 +5437,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns detailed information about an extension that has been registered.

\n

If you specify a VersionId, DescribeType returns information about that specific\n extension version. Otherwise, it returns information about the default extension version.

", + "smithy.api#documentation": "

Returns detailed information about an extension that has been registered.

\n

If you specify a VersionId, DescribeType returns information\n about that specific extension version. Otherwise, it returns information about the default\n extension version.

", "smithy.api#idempotent": {} } }, @@ -5447,25 +5447,25 @@ "Type": { "target": "com.amazonaws.cloudformation#RegistryType", "traits": { - "smithy.api#documentation": "

The kind of extension.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The kind of extension.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "Arn": { "target": "com.amazonaws.cloudformation#TypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "VersionId": { "target": "com.amazonaws.cloudformation#TypeVersionId", "traits": { - "smithy.api#documentation": "

The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource\n Name (ARN) assigned to the extension version when it is registered.

\n

If you specify a VersionId, DescribeType returns information about that specific\n extension version. Otherwise, it returns information about the default extension version.

" + "smithy.api#documentation": "

The ID of a specific version of the extension. The version ID is the value at the end of\n the Amazon Resource Name (ARN) assigned to the extension version when it is registered.

\n

If you specify a VersionId, DescribeType returns information\n about that specific extension version. Otherwise, it returns information about the default\n extension version.

" } }, "PublisherId": { @@ -5503,31 +5503,31 @@ "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The name of the extension.

\n

If the extension is a public third-party type you have activated with a type name alias, CloudFormation returns the\n type name alias. For more information, see ActivateType.

" + "smithy.api#documentation": "

The name of the extension.

\n

If the extension is a public third-party type you have activated with a type name alias,\n CloudFormation returns the type name alias. For more information, see ActivateType.

" } }, "DefaultVersionId": { "target": "com.amazonaws.cloudformation#TypeVersionId", "traits": { - "smithy.api#documentation": "

The ID of the default version of the extension. The default version is used when the extension version isn't\n specified.

\n

This applies only to private extensions you have registered in your account. For public extensions, both those\n provided by Amazon Web Services and published by third parties, CloudFormation returns null. For more\n information, see RegisterType.

\n

To set the default version of an extension, use SetTypeDefaultVersion.

" + "smithy.api#documentation": "

The ID of the default version of the extension. The default version is used when the\n extension version isn't specified.

\n

This applies only to private extensions you have registered in your account. For public\n extensions, both those provided by Amazon Web Services and published by third parties, CloudFormation returns\n null. For more information, see RegisterType.

\n

To set the default version of an extension, use SetTypeDefaultVersion.

" } }, "IsDefaultVersion": { "target": "com.amazonaws.cloudformation#IsDefaultVersion", "traits": { - "smithy.api#documentation": "

Whether the specified extension version is set as the default version.

\n

This applies only to private extensions you have registered in your account, and extensions published by Amazon Web Services. For public third-party extensions, whether they are activated in your account, CloudFormation returns\n null.

" + "smithy.api#documentation": "

Whether the specified extension version is set as the default version.

\n

This applies only to private extensions you have registered in your account, and\n extensions published by Amazon Web Services. For public third-party extensions, whether they are activated\n in your account, CloudFormation returns null.

" } }, "TypeTestsStatus": { "target": "com.amazonaws.cloudformation#TypeTestsStatus", "traits": { - "smithy.api#documentation": "

The contract test status of the registered extension version. To return the extension test status of a specific\n extension version, you must specify VersionId.

\n

This applies only to registered private extension versions. CloudFormation doesn't return this information for\n public extensions, whether they are activated in your account.

\n " + "smithy.api#documentation": "

The contract test status of the registered extension version. To return the extension test\n status of a specific extension version, you must specify VersionId.

\n

This applies only to registered private extension versions. CloudFormation doesn't return this\n information for public extensions, whether they are activated in your account.

\n " } }, "TypeTestsStatusDescription": { "target": "com.amazonaws.cloudformation#TypeTestsStatusDescription", "traits": { - "smithy.api#documentation": "

The description of the test status. To return the extension test status of a specific extension version, you\n must specify VersionId.

\n

This applies only to registered private extension versions. CloudFormation doesn't return this information for\n public extensions, whether they are activated in your account.

" + "smithy.api#documentation": "

The description of the test status. To return the extension test status of a specific\n extension version, you must specify VersionId.

\n

This applies only to registered private extension versions. CloudFormation doesn't return this\n information for public extensions, whether they are activated in your account.

" } }, "Description": { @@ -5539,43 +5539,43 @@ "Schema": { "target": "com.amazonaws.cloudformation#TypeSchema", "traits": { - "smithy.api#documentation": "

The schema that defines the extension.

\n

For more information about extension schemas, see Resource Provider Schema in the\n CloudFormation CLI User Guide.

" + "smithy.api#documentation": "

The schema that defines the extension.

\n

For more information about extension schemas, see Resource type\n schema in the CloudFormation Command Line Interface (CLI) User Guide.

" } }, "ProvisioningType": { "target": "com.amazonaws.cloudformation#ProvisioningType", "traits": { - "smithy.api#documentation": "

For resource type extensions, the provisioning behavior of the resource type. CloudFormation determines the provisioning\n type during registration, based on the types of handlers in the schema handler package submitted.

\n

Valid values include:

\n " + "smithy.api#documentation": "

For resource type extensions, the provisioning behavior of the resource type. CloudFormation\n determines the provisioning type during registration, based on the types of handlers in the\n schema handler package submitted.

\n

Valid values include:

\n " } }, "DeprecatedStatus": { "target": "com.amazonaws.cloudformation#DeprecatedStatus", "traits": { - "smithy.api#documentation": "

The deprecation status of the extension version.

\n

Valid values include:

\n \n

For public third-party extensions, CloudFormation returns null.

" + "smithy.api#documentation": "

The deprecation status of the extension version.

\n

Valid values include:

\n \n

For public third-party extensions, CloudFormation returns null.

" } }, "LoggingConfig": { "target": "com.amazonaws.cloudformation#LoggingConfig", "traits": { - "smithy.api#documentation": "

Contains logging configuration information for private extensions. This applies only to private extensions you\n have registered in your account. For public extensions, both those provided by Amazon Web Services and published by\n third parties, CloudFormation returns null. For more information, see RegisterType.

" + "smithy.api#documentation": "

Contains logging configuration information for private extensions. This applies only to\n private extensions you have registered in your account. For public extensions, both those\n provided by Amazon Web Services and published by third parties, CloudFormation returns null. For\n more information, see RegisterType.

" } }, "RequiredActivatedTypes": { "target": "com.amazonaws.cloudformation#RequiredActivatedTypes", "traits": { - "smithy.api#documentation": "

For extensions that are modules, the public third-party extensions that must be activated in your account in\n order for the module itself to be activated.

" + "smithy.api#documentation": "

For extensions that are modules, the public third-party extensions that must be activated\n in your account in order for the module itself to be activated.

" } }, "ExecutionRoleArn": { "target": "com.amazonaws.cloudformation#RoleARN2", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM execution role used to register the extension. This applies only to\n private extensions you have registered in your account. For more information, see RegisterType.

\n

If the registered extension calls any Amazon Web Services APIs, you must create an \n IAM execution role\n that includes\n the necessary permissions to call those Amazon Web Services APIs, and provision that execution role in your account.\n CloudFormation then assumes that execution role to provide your extension with the appropriate credentials.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM execution role used to register the extension.\n This applies only to private extensions you have registered in your account. For more\n information, see RegisterType.

\n

If the registered extension calls any Amazon Web Services APIs, you must create an \n IAM execution\n role\n that includes the necessary permissions to call those Amazon Web Services APIs,\n and provision that execution role in your account. CloudFormation then assumes that execution role\n to provide your extension with the appropriate credentials.

" } }, "Visibility": { "target": "com.amazonaws.cloudformation#Visibility", "traits": { - "smithy.api#documentation": "

The scope at which the extension is visible and usable in CloudFormation operations.

\n

Valid values include:

\n " + "smithy.api#documentation": "

The scope at which the extension is visible and usable in CloudFormation operations.

\n

Valid values include:

\n " } }, "SourceUrl": { @@ -5593,61 +5593,61 @@ "LastUpdated": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { - "smithy.api#documentation": "

When the specified extension version was registered. This applies only to:

\n " + "smithy.api#documentation": "

When the specified extension version was registered. This applies only to:

\n " } }, "TimeCreated": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { - "smithy.api#documentation": "

When the specified private extension version was registered or activated in your account.

" + "smithy.api#documentation": "

When the specified private extension version was registered or activated in your\n account.

" } }, "ConfigurationSchema": { "target": "com.amazonaws.cloudformation#ConfigurationSchema", "traits": { - "smithy.api#documentation": "

A JSON string that represent the current configuration data for the extension in this account and Region.

\n

To set the configuration data for an extension, use SetTypeConfiguration. For more\n information, see Configuring extensions at\n the account level in the CloudFormation User Guide.

" + "smithy.api#documentation": "

A JSON string that represent the current configuration data for the extension in this\n account and Region.

\n

To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Edit configuration\n data for extensions in your account in the\n CloudFormation User Guide.

" } }, "PublisherId": { "target": "com.amazonaws.cloudformation#PublisherId", "traits": { - "smithy.api#documentation": "

The publisher ID of the extension publisher.

\n

This applies only to public third-party extensions. For private registered extensions, and extensions provided\n by Amazon Web Services, CloudFormation returns null.

" + "smithy.api#documentation": "

The publisher ID of the extension publisher.

\n

This applies only to public third-party extensions. For private registered extensions, and\n extensions provided by Amazon Web Services, CloudFormation returns null.

" } }, "OriginalTypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

For public extensions that have been activated for this account and Region, the type name of the public\n extension.

\n

If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of\n the public extension. For more information, see Specifying aliases to\n refer to extensions in the CloudFormation User Guide.

" + "smithy.api#documentation": "

For public extensions that have been activated for this account and Region, the type name\n of the public extension.

\n

If you specified a TypeNameAlias when enabling the extension in this account\n and Region, CloudFormation treats that alias as the extension's type name within the account and\n Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the\n CloudFormation User Guide.

" } }, "OriginalTypeArn": { "target": "com.amazonaws.cloudformation#TypeArn", "traits": { - "smithy.api#documentation": "

For public extensions that have been activated for this account and Region, the Amazon Resource Name (ARN) of\n the public extension.

" + "smithy.api#documentation": "

For public extensions that have been activated for this account and Region, the Amazon\n Resource Name (ARN) of the public extension.

" } }, "PublicVersionNumber": { "target": "com.amazonaws.cloudformation#PublicVersionNumber", "traits": { - "smithy.api#documentation": "

The version number of a public third-party extension.

\n

This applies only if you specify a public extension you have activated in your account, or specify a public\n extension without specifying a version. For all other extensions, CloudFormation returns null.

" + "smithy.api#documentation": "

The version number of a public third-party extension.

\n

This applies only if you specify a public extension you have activated in your account, or\n specify a public extension without specifying a version. For all other extensions, CloudFormation\n returns null.

" } }, "LatestPublicVersion": { "target": "com.amazonaws.cloudformation#PublicVersionNumber", "traits": { - "smithy.api#documentation": "

The latest version of a public extension that is available for use.

\n

This only applies if you specify a public extension, and you don't specify a version. For all other requests,\n CloudFormation returns null.

" + "smithy.api#documentation": "

The latest version of a public extension that is available for\n use.

\n

This only applies if you specify a public extension, and you don't specify a version. For\n all other requests, CloudFormation returns null.

" } }, "IsActivated": { "target": "com.amazonaws.cloudformation#IsActivated", "traits": { - "smithy.api#documentation": "

Whether the extension is activated in the account and Region.

\n

This only applies to public third-party extensions. For all other extensions, CloudFormation returns\n null.

" + "smithy.api#documentation": "

Whether the extension is activated in the account and Region.

\n

This only applies to public third-party extensions. For all other extensions, CloudFormation\n returns null.

" } }, "AutoUpdate": { "target": "com.amazonaws.cloudformation#AutoUpdate", "traits": { - "smithy.api#documentation": "

Whether CloudFormation automatically updates the extension in this account and Region when a new\n minor version is published by the extension publisher. Major versions released by the publisher\n must be manually updated. For more information, see Activating public extensions for\n use in your account in the CloudFormation User Guide.

" + "smithy.api#documentation": "

Whether CloudFormation automatically updates the extension in this account and Region when a\n new minor version is published by the extension publisher. Major versions\n released by the publisher must be manually updated. For more information, see Automatically use new versions of extensions in the\n CloudFormation User Guide.

" } } }, @@ -5669,7 +5669,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns information about an extension's registration, including its current status and type and version\n identifiers.

\n

When you initiate a registration request using RegisterType, you can then use DescribeTypeRegistration to monitor the progress of that registration request.

\n

Once the registration request has completed, use DescribeType to return detailed information\n about an extension.

", + "smithy.api#documentation": "

Returns information about an extension's registration, including its current status and\n type and version identifiers.

\n

When you initiate a registration request using RegisterType, you can\n then use DescribeTypeRegistration to monitor the progress of that\n registration request.

\n

Once the registration request has completed, use DescribeType to return\n detailed information about an extension.

", "smithy.api#idempotent": {}, "smithy.waiters#waitable": { "TypeRegistrationComplete": { @@ -5708,7 +5708,7 @@ "target": "com.amazonaws.cloudformation#RegistrationToken", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The identifier for this registration request.

\n

This registration token is generated by CloudFormation when you initiate a registration request using RegisterType.

", + "smithy.api#documentation": "

The identifier for this registration request.

\n

This registration token is generated by CloudFormation when you initiate a registration\n request using RegisterType.

", "smithy.api#required": {} } } @@ -5735,13 +5735,13 @@ "TypeArn": { "target": "com.amazonaws.cloudformation#TypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension being registered.

\n

For registration requests with a ProgressStatus of other than COMPLETE, this will be\n null.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension being registered.

\n

For registration requests with a ProgressStatus of other than\n COMPLETE, this will be null.

" } }, "TypeVersionArn": { "target": "com.amazonaws.cloudformation#TypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of this specific version of the extension being registered.

\n

For registration requests with a ProgressStatus of other than COMPLETE, this will be\n null.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of this specific version of the extension being\n registered.

\n

For registration requests with a ProgressStatus of other than\n COMPLETE, this will be null.

" } } }, @@ -5784,7 +5784,7 @@ "target": "com.amazonaws.cloudformation#DetectStackDriftOutput" }, "traits": { - "smithy.api#documentation": "

Detects whether a stack's actual configuration differs, or has drifted, from its expected\n configuration, as defined in the stack template and any values specified as template parameters. For each resource in\n the stack that supports drift detection, CloudFormation compares the actual configuration of the resource with its expected\n template configuration. Only resource properties explicitly defined in the stack template are checked for drift. A\n stack is considered to have drifted if one or more of its resources differ from their expected template\n configurations. For more information, see Detecting Unregulated Configuration Changes to\n Stacks and Resources.

\n

Use DetectStackDrift to detect drift on all supported resources for a given stack, or DetectStackResourceDrift to detect drift on individual resources.

\n

For a list of stack resources that currently support drift detection, see Resources that Support Drift\n Detection.

\n

\n DetectStackDrift can take up to several minutes, depending on the number of resources contained\n within the stack. Use DescribeStackDriftDetectionStatus to monitor the progress of a detect stack\n drift operation. Once the drift detection operation has completed, use DescribeStackResourceDrifts\n to return drift information about the stack and its resources.

\n

When detecting drift on a stack, CloudFormation doesn't detect drift on any nested stacks belonging to that stack.\n Perform DetectStackDrift directly on the nested stack itself.

" + "smithy.api#documentation": "

Detects whether a stack's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack\n template and any values specified as template parameters. For each resource in the stack that\n supports drift detection, CloudFormation compares the actual configuration of the resource with\n its expected template configuration. Only resource properties explicitly defined in the stack\n template are checked for drift. A stack is considered to have drifted if one or more of its\n resources differ from their expected template configurations. For more information, see Detect unmanaged configuration changes to stacks and resources with drift\n detection.

\n

Use DetectStackDrift to detect drift on all supported resources for a given\n stack, or DetectStackResourceDrift to detect drift on individual\n resources.

\n

For a list of stack resources that currently support drift detection, see Resource\n type support for imports and drift detection.

\n

\n DetectStackDrift can take up to several minutes, depending on the number of\n resources contained within the stack. Use DescribeStackDriftDetectionStatus\n to monitor the progress of a detect stack drift operation. Once the drift detection operation\n has completed, use DescribeStackResourceDrifts to return drift information\n about the stack and its resources.

\n

When detecting drift on a stack, CloudFormation doesn't detect drift on any nested stacks\n belonging to that stack. Perform DetectStackDrift directly on the nested stack\n itself.

" } }, "com.amazonaws.cloudformation#DetectStackDriftInput": { @@ -5816,7 +5816,7 @@ "target": "com.amazonaws.cloudformation#StackDriftDetectionId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The ID of the drift detection results of this operation.

\n

CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number\n of drift results CloudFormation retains for any given stack, and for how long, may vary.

", + "smithy.api#documentation": "

The ID of the drift detection results of this operation.

\n

CloudFormation generates new results, with a new drift detection ID, each time this operation\n is run. However, the number of drift results CloudFormation retains for any given stack, and for\n how long, may vary.

", "smithy.api#required": {} } } @@ -5834,7 +5834,7 @@ "target": "com.amazonaws.cloudformation#DetectStackResourceDriftOutput" }, "traits": { - "smithy.api#documentation": "

Returns information about whether a resource's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack template and any values\n specified as template parameters. This information includes actual and expected property values for resources in\n which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift.\n For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to\n Stacks and Resources.

\n

Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection.

\n

Resources that don't currently support drift detection can't be checked. For a list of resources that support\n drift detection, see Resources that Support Drift\n Detection.

" + "smithy.api#documentation": "

Returns information about whether a resource's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack\n template and any values specified as template parameters. This information includes actual and\n expected property values for resources in which CloudFormation detects drift. Only resource\n properties explicitly defined in the stack template are checked for drift. For more\n information about stack and resource drift, see Detect unmanaged\n configuration changes to stacks and resources with drift detection.

\n

Use DetectStackResourceDrift to detect drift on individual resources, or\n DetectStackDrift to detect drift on all resources in a given stack that\n support drift detection.

\n

Resources that don't currently support drift detection can't be checked. For a list of\n resources that support drift detection, see Resource\n type support for imports and drift detection.

" } }, "com.amazonaws.cloudformation#DetectStackResourceDriftInput": { @@ -5868,7 +5868,7 @@ "target": "com.amazonaws.cloudformation#StackResourceDrift", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Information about whether the resource's actual configuration has drifted from its expected template\n configuration, including actual and expected property values and any differences detected.

", + "smithy.api#documentation": "

Information about whether the resource's actual configuration has drifted from its\n expected template configuration, including actual and expected property values and any\n differences detected.

", "smithy.api#required": {} } } @@ -5897,7 +5897,7 @@ } ], "traits": { - "smithy.api#documentation": "

Detect drift on a stack set. When CloudFormation performs drift detection on a stack set, it performs drift\n detection on the stack associated with each stack instance in the stack set. For more information, see How CloudFormation performs drift\n detection on a stack set.

\n

\n DetectStackSetDrift returns the OperationId of the stack set drift detection\n operation. Use this operation id with DescribeStackSetOperation to monitor the progress of the\n drift detection operation. The drift detection operation may take some time, depending on the number of stack\n instances included in the stack set, in addition to the number of resources included in each stack.

\n

Once the operation has completed, use the following actions to return drift information:

\n \n

For more information about performing a drift detection operation on a stack set, see Detecting unmanaged changes in\n stack sets.

\n

You can only run a single drift detection operation on a given stack set at one time.

\n

To stop a drift detection stack set operation, use StopStackSetOperation.

" + "smithy.api#documentation": "

Detect drift on a stack set. When CloudFormation performs drift detection on a stack set, it\n performs drift detection on the stack associated with each stack instance in the stack set.\n For more information, see How CloudFormation performs drift\n detection on a stack set.

\n

\n DetectStackSetDrift returns the OperationId of the stack set\n drift detection operation. Use this operation id with DescribeStackSetOperation to monitor the progress of the drift detection\n operation. The drift detection operation may take some time, depending on the number of stack\n instances included in the stack set, in addition to the number of resources included in each\n stack.

\n

Once the operation has completed, use the following actions to return drift\n information:

\n \n

For more information about performing a drift detection operation on a stack set, see\n Detecting unmanaged changes in stack sets.

\n

You can only run a single drift detection operation on a given stack set at one\n time.

\n

To stop a drift detection stack set operation, use StopStackSetOperation.

" } }, "com.amazonaws.cloudformation#DetectStackSetDriftInput": { @@ -5914,7 +5914,7 @@ "OperationPreferences": { "target": "com.amazonaws.cloudformation#StackSetOperationPreferences", "traits": { - "smithy.api#documentation": "

The user-specified preferences for how CloudFormation performs a stack set operation.

\n

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation\n options.

" + "smithy.api#documentation": "

The user-specified preferences for how CloudFormation performs a stack set operation.

\n

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

" } }, "OperationId": { @@ -5927,7 +5927,7 @@ "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -5941,7 +5941,7 @@ "OperationId": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

The ID of the drift detection stack set operation.

\n

You can use this operation ID with DescribeStackSetOperation to monitor the progress of the\n drift detection operation.

" + "smithy.api#documentation": "

The ID of the drift detection stack set operation.

\n

You can use this operation ID with DescribeStackSetOperation to monitor\n the progress of the drift detection operation.

" } } }, @@ -6013,7 +6013,7 @@ "target": "com.amazonaws.cloudformation#EstimateTemplateCostOutput" }, "traits": { - "smithy.api#documentation": "

Returns the estimated monthly cost of a template. The return value is an Amazon Web Services Simple Monthly\n Calculator URL with a query string that describes the resources required to run the template.

" + "smithy.api#documentation": "

Returns the estimated monthly cost of a template. The return value is an Amazon Web Services Simple\n Monthly Calculator URL with a query string that describes the resources required to run the\n template.

" } }, "com.amazonaws.cloudformation#EstimateTemplateCostInput": { @@ -6022,13 +6022,13 @@ "TemplateBody": { "target": "com.amazonaws.cloudformation#TemplateBody", "traits": { - "smithy.api#documentation": "

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.\n (For more information, go to Template Anatomy in the\n CloudFormation User Guide.)

\n

Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only\n TemplateBody is used.

" + "smithy.api#documentation": "

Structure containing the template body with a minimum length of 1 byte and a maximum\n length of 51,200 bytes.

\n

Conditional: You must pass TemplateBody or TemplateURL. If both\n are passed, only TemplateBody is used.

" } }, "TemplateURL": { "target": "com.amazonaws.cloudformation#TemplateURL", "traits": { - "smithy.api#documentation": "

Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the\n CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

\n

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only\n TemplateBody is used.

" + "smithy.api#documentation": "

Location of file containing the template body. The URL must point to a template that's\n located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must\n start with https://.

\n

Conditional: You must pass TemplateURL or TemplateBody. If both\n are passed, only TemplateBody is used.

" } }, "Parameters": { @@ -6049,7 +6049,7 @@ "Url": { "target": "com.amazonaws.cloudformation#Url", "traits": { - "smithy.api#documentation": "

An Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources required to\n run the template.

" + "smithy.api#documentation": "

An Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources\n required to run the template.

" } } }, @@ -6101,7 +6101,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates a stack using the input information that was provided when the specified change set was created. After\n the call successfully completes, CloudFormation starts updating the stack. Use the DescribeStacks action to\n view the status of the update.

\n

When you execute a change set, CloudFormation deletes all other change sets associated with the stack because they aren't\n valid for the updated stack.

\n

If a stack policy is associated with the stack, CloudFormation enforces the policy during the update. You can't specify a\n temporary stack policy that overrides the current policy.

\n

To create a change set for the entire stack hierarchy, IncludeNestedStacks must have been set to\n True.

" + "smithy.api#documentation": "

Updates a stack using the input information that was provided when the specified change\n set was created. After the call successfully completes, CloudFormation starts updating the stack.\n Use the DescribeStacks action to view the status of the update.

\n

When you execute a change set, CloudFormation deletes all other change sets associated with\n the stack because they aren't valid for the updated stack.

\n

If a stack policy is associated with the stack, CloudFormation enforces the policy during the\n update. You can't specify a temporary stack policy that overrides the current policy.

\n

To create a change set for the entire stack hierarchy, IncludeNestedStacks\n must have been set to True.

" } }, "com.amazonaws.cloudformation#ExecuteChangeSetInput": { @@ -6111,32 +6111,32 @@ "target": "com.amazonaws.cloudformation#ChangeSetNameOrId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack.

", + "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the change set that you want use to update the\n specified stack.

", "smithy.api#required": {} } }, "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { - "smithy.api#documentation": "

If you specified the name of a change set, specify the stack name or Amazon Resource Name (ARN) that's\n associated with the change set you want to execute.

" + "smithy.api#documentation": "

If you specified the name of a change set, specify the stack name or Amazon Resource Name\n (ARN) that's associated with the change set you want to execute.

" } }, "ClientRequestToken": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

A unique identifier for this ExecuteChangeSet request. Specify this token if you plan to retry\n requests so that CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name.\n You might retry ExecuteChangeSet requests to ensure that CloudFormation successfully received them.

" + "smithy.api#documentation": "

A unique identifier for this ExecuteChangeSet request. Specify this token if\n you plan to retry requests so that CloudFormation knows that you're not attempting to execute a\n change set to update a stack with the same name. You might retry ExecuteChangeSet\n requests to ensure that CloudFormation successfully received them.

" } }, "DisableRollback": { "target": "com.amazonaws.cloudformation#DisableRollback", "traits": { - "smithy.api#documentation": "

Preserves the state of previously provisioned resources when an operation fails. This parameter can't be\n specified when the OnStackFailure parameter to the CreateChangeSet API operation was\n specified.

\n \n

Default: True\n

" + "smithy.api#documentation": "

Preserves the state of previously provisioned resources when an operation fails. This\n parameter can't be specified when the OnStackFailure parameter to the CreateChangeSet API operation was specified.

\n \n

Default: True\n

" } }, "RetainExceptOnCreate": { "target": "com.amazonaws.cloudformation#RetainExceptOnCreate", "traits": { - "smithy.api#documentation": "

When set to true, newly created resources are deleted when the operation rolls back. This includes\n newly created resources marked with a deletion policy of Retain.

\n

Default: false\n

" + "smithy.api#documentation": "

When set to true, newly created resources are deleted when the operation\n rolls back. This includes newly created resources marked with a deletion policy of\n Retain.

\n

Default: false\n

" } } }, @@ -6216,13 +6216,13 @@ "Name": { "target": "com.amazonaws.cloudformation#ExportName", "traits": { - "smithy.api#documentation": "

The name of exported output value. Use this name and the Fn::ImportValue function to import the\n associated value into other stacks. The name is defined in the Export field in the associated stack's\n Outputs section.

" + "smithy.api#documentation": "

The name of exported output value. Use this name and the Fn::ImportValue\n function to import the associated value into other stacks. The name is defined in the\n Export field in the associated stack's Outputs section.

" } }, "Value": { "target": "com.amazonaws.cloudformation#ExportValue", "traits": { - "smithy.api#documentation": "

The value of the exported output, such as a resource physical ID. This value is defined in the\n Export field in the associated stack's Outputs section.

" + "smithy.api#documentation": "

The value of the exported output, such as a resource physical ID. This value is defined in\n the Export field in the associated stack's Outputs section.

" } } }, @@ -6432,7 +6432,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves a generated template. If the template is in an InProgress or Pending status\n then the template returned will be the template when the template was last in a Complete status. If the\n template has not yet been in a Complete status then an empty template will be returned.

", + "smithy.api#documentation": "

Retrieves a generated template. If the template is in an InProgress or\n Pending status then the template returned will be the template when the\n template was last in a Complete status. If the template has not yet been in a\n Complete status then an empty template will be returned.

", "smithy.api#examples": [ { "title": "To get a generated template in JSON format", @@ -6473,7 +6473,7 @@ "target": "com.amazonaws.cloudformation#GeneratedTemplateName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the generated template. The format is\n arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}. For example,\n arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc\n .

", + "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the generated template. The format is\n arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}.\n For example,\n arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc\n .

", "smithy.api#required": {} } } @@ -6494,7 +6494,7 @@ "TemplateBody": { "target": "com.amazonaws.cloudformation#TemplateBody", "traits": { - "smithy.api#documentation": "

The template body of the generated template, in the language specified by the Language\n parameter.

" + "smithy.api#documentation": "

The template body of the generated template, in the language specified by the\n Language parameter.

" } } }, @@ -6511,7 +6511,7 @@ "target": "com.amazonaws.cloudformation#GetStackPolicyOutput" }, "traits": { - "smithy.api#documentation": "

Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is\n returned.

" + "smithy.api#documentation": "

Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null\n value is returned.

" } }, "com.amazonaws.cloudformation#GetStackPolicyInput": { @@ -6521,7 +6521,7 @@ "target": "com.amazonaws.cloudformation#StackName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or unique stack ID that's associated with the stack whose policy you want to get.

", + "smithy.api#documentation": "

The name or unique stack ID that's associated with the stack whose policy you want to\n get.

", "smithy.api#required": {} } } @@ -6537,7 +6537,7 @@ "StackPolicyBody": { "target": "com.amazonaws.cloudformation#StackPolicyBody", "traits": { - "smithy.api#documentation": "

Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in\n the CloudFormation User Guide.)

" + "smithy.api#documentation": "

Structure containing the stack policy body. (For more information, see Prevent updates to stack resources in the\n CloudFormation User Guide.)

" } } }, @@ -6560,7 +6560,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the template body for a specified stack. You can get the template for running or deleted stacks.

\n

For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been\n deleted.

\n \n

If the template doesn't exist, a ValidationError is returned.

\n
" + "smithy.api#documentation": "

Returns the template body for a specified stack. You can get the template for running or\n deleted stacks.

\n

For deleted stacks, GetTemplate returns the template for up to 90 days after\n the stack has been deleted.

\n \n

If the template doesn't exist, a ValidationError is returned.

\n
" } }, "com.amazonaws.cloudformation#GetTemplateInput": { @@ -6569,19 +6569,19 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { - "smithy.api#documentation": "

The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:

\n \n

Default: There is no default value.

" + "smithy.api#documentation": "

The name or the unique stack ID that's associated with the stack, which aren't always\n interchangeable:

\n \n

Default: There is no default value.

" } }, "ChangeSetName": { "target": "com.amazonaws.cloudformation#ChangeSetNameOrId", "traits": { - "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of a change set for which CloudFormation returns the associated template. If\n you specify a name, you must also specify the StackName.

" + "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of a change set for which CloudFormation returns the\n associated template. If you specify a name, you must also specify the\n StackName.

" } }, "TemplateStage": { "target": "com.amazonaws.cloudformation#TemplateStage", "traits": { - "smithy.api#documentation": "

For templates that include transforms, the stage of the template that CloudFormation returns. To get the\n user-submitted template, specify Original. To get the template after CloudFormation has processed all\n transforms, specify Processed.

\n

If the template doesn't include transforms, Original and Processed return the same\n template. By default, CloudFormation specifies Processed.

" + "smithy.api#documentation": "

For templates that include transforms, the stage of the template that CloudFormation returns.\n To get the user-submitted template, specify Original. To get the template after\n CloudFormation has processed all transforms, specify Processed.

\n

If the template doesn't include transforms, Original and\n Processed return the same template. By default, CloudFormation specifies\n Processed.

" } } }, @@ -6596,13 +6596,13 @@ "TemplateBody": { "target": "com.amazonaws.cloudformation#TemplateBody", "traits": { - "smithy.api#documentation": "

Structure containing the template body. (For more information, go to Template Anatomy in the\n CloudFormation User Guide.)

\n

CloudFormation returns the same template that was used when the stack was created.

" + "smithy.api#documentation": "

Structure containing the template body.

\n

CloudFormation returns the same template that was used when the stack was created.

" } }, "StagesAvailable": { "target": "com.amazonaws.cloudformation#StageList", "traits": { - "smithy.api#documentation": "

The stage of the template that you can retrieve. For stacks, the Original and\n Processed templates are always available. For change sets, the Original template is always\n available. After CloudFormation finishes creating the change set, the Processed template becomes\n available.

" + "smithy.api#documentation": "

The stage of the template that you can retrieve. For stacks, the Original and\n Processed templates are always available. For change sets, the\n Original template is always available. After CloudFormation finishes creating the\n change set, the Processed template becomes available.

" } } }, @@ -6625,7 +6625,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns information about a new or existing template. The GetTemplateSummary action is useful for\n viewing parameter information, such as default parameter values and parameter types, before you create or update a\n stack or stack set.

\n

You can use the GetTemplateSummary action when you submit a template, or you can get template\n information for a stack set, or a running or deleted stack.

\n

For deleted stacks, GetTemplateSummary returns the template information for up to 90 days after the\n stack has been deleted. If the template doesn't exist, a ValidationError is returned.

" + "smithy.api#documentation": "

Returns information about a new or existing template. The GetTemplateSummary\n action is useful for viewing parameter information, such as default parameter values and\n parameter types, before you create or update a stack or stack set.

\n

You can use the GetTemplateSummary action when you submit a template, or you\n can get template information for a stack set, or a running or deleted stack.

\n

For deleted stacks, GetTemplateSummary returns the template information for\n up to 90 days after the stack has been deleted. If the template doesn't exist, a\n ValidationError is returned.

" } }, "com.amazonaws.cloudformation#GetTemplateSummaryInput": { @@ -6634,31 +6634,31 @@ "TemplateBody": { "target": "com.amazonaws.cloudformation#TemplateBody", "traits": { - "smithy.api#documentation": "

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For\n more information about templates, see Template anatomy in the\n CloudFormation User Guide.

\n

Conditional: You must specify only one of the following parameters: StackName,\n StackSetName, TemplateBody, or TemplateURL.

" + "smithy.api#documentation": "

Structure containing the template body with a minimum length of 1 byte and a maximum\n length of 51,200 bytes.

\n

Conditional: You must specify only one of the following parameters:\n StackName, StackSetName, TemplateBody, or\n TemplateURL.

" } }, "TemplateURL": { "target": "com.amazonaws.cloudformation#TemplateURL", "traits": { - "smithy.api#documentation": "

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's\n located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see\n Template anatomy\n in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with\n https://.

\n

Conditional: You must specify only one of the following parameters: StackName,\n StackSetName, TemplateBody, or TemplateURL.

" + "smithy.api#documentation": "

Location of file containing the template body. The URL must point to a template (max size:\n 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location\n for an Amazon S3 bucket must start with https://.

\n

Conditional: You must specify only one of the following parameters:\n StackName, StackSetName, TemplateBody, or\n TemplateURL.

" } }, "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { - "smithy.api#documentation": "

The name or the stack ID that's associated with the stack, which aren't always interchangeable. For running\n stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the\n unique stack ID.

\n

Conditional: You must specify only one of the following parameters: StackName,\n StackSetName, TemplateBody, or TemplateURL.

" + "smithy.api#documentation": "

The name or the stack ID that's associated with the stack, which aren't always\n interchangeable. For running stacks, you can specify either the stack's name or its unique\n stack ID. For deleted stack, you must specify the unique stack ID.

\n

Conditional: You must specify only one of the following parameters:\n StackName, StackSetName, TemplateBody, or\n TemplateURL.

" } }, "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetNameOrId", "traits": { - "smithy.api#documentation": "

The name or unique ID of the stack set from which the stack was created.

\n

Conditional: You must specify only one of the following parameters: StackName,\n StackSetName, TemplateBody, or TemplateURL.

" + "smithy.api#documentation": "

The name or unique ID of the stack set from which the stack was created.

\n

Conditional: You must specify only one of the following parameters:\n StackName, StackSetName, TemplateBody, or\n TemplateURL.

" } }, "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } }, "TemplateSummaryConfig": { @@ -6679,7 +6679,7 @@ "Parameters": { "target": "com.amazonaws.cloudformation#ParameterDeclarations", "traits": { - "smithy.api#documentation": "

A list of parameter declarations that describe various properties for each parameter.

" + "smithy.api#documentation": "

A list of parameter declarations that describe various properties for each\n parameter.

" } }, "Description": { @@ -6691,25 +6691,25 @@ "Capabilities": { "target": "com.amazonaws.cloudformation#Capabilities", "traits": { - "smithy.api#documentation": "

The capabilities found within the template. If your template contains IAM resources, you must specify the\n CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return\n an InsufficientCapabilities error.

\n

For more information, see Acknowledging IAM Resources in\n CloudFormation Templates.

" + "smithy.api#documentation": "

The capabilities found within the template. If your template contains IAM resources, you\n must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for\n this parameter when you use the CreateStack or UpdateStack\n actions with your template; otherwise, those actions return an\n InsufficientCapabilities error.

\n

For more information, see Acknowledging IAM resources in CloudFormation templates.

" } }, "CapabilitiesReason": { "target": "com.amazonaws.cloudformation#CapabilitiesReason", "traits": { - "smithy.api#documentation": "

The list of resources that generated the values in the Capabilities response element.

" + "smithy.api#documentation": "

The list of resources that generated the values in the Capabilities response\n element.

" } }, "ResourceTypes": { "target": "com.amazonaws.cloudformation#ResourceTypes", "traits": { - "smithy.api#documentation": "

A list of all the template resource types that are defined in the template, such as\n AWS::EC2::Instance, AWS::Dynamo::Table, and Custom::MyCustomInstance.

" + "smithy.api#documentation": "

A list of all the template resource types that are defined in the template, such as\n AWS::EC2::Instance, AWS::Dynamo::Table, and\n Custom::MyCustomInstance.

" } }, "Version": { "target": "com.amazonaws.cloudformation#Version", "traits": { - "smithy.api#documentation": "

The Amazon Web Services template format version, which identifies the capabilities of the template.

" + "smithy.api#documentation": "

The Amazon Web Services template format version, which identifies the capabilities of the\n template.

" } }, "Metadata": { @@ -6727,7 +6727,7 @@ "ResourceIdentifierSummaries": { "target": "com.amazonaws.cloudformation#ResourceIdentifierSummaries", "traits": { - "smithy.api#documentation": "

A list of resource identifier summaries that describe the target resources of an import operation and the\n properties you can provide during the import to identify the target resources. For example, BucketName\n is a possible identifier property for an AWS::S3::Bucket resource.

" + "smithy.api#documentation": "

A list of resource identifier summaries that describe the target resources of an import\n operation and the properties you can provide during the import to identify the target\n resources. For example, BucketName is a possible identifier property for an\n AWS::S3::Bucket resource.

" } }, "Warnings": { @@ -7053,7 +7053,7 @@ } ], "traits": { - "smithy.api#documentation": "

Import existing stacks into a new stack sets. Use the stack import operation to import up to 10 stacks into a\n new stack set in the same account as the source stack or in a different administrator account and Region, by\n specifying the stack ID of the stack you intend to import.

" + "smithy.api#documentation": "

Import existing stacks into a new stack sets. Use the stack import operation to import up\n to 10 stacks into a new stack set in the same account as the source stack or in a different\n administrator account and Region, by specifying the stack ID of the stack you intend to\n import.

" } }, "com.amazonaws.cloudformation#ImportStacksToStackSetInput": { @@ -7063,14 +7063,14 @@ "target": "com.amazonaws.cloudformation#StackSetNameOrId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name of the stack set. The name must be unique in the Region where you create your stack set.

", + "smithy.api#documentation": "

The name of the stack set. The name must be unique in the Region where you create your\n stack set.

", "smithy.api#required": {} } }, "StackIds": { "target": "com.amazonaws.cloudformation#StackIdList", "traits": { - "smithy.api#documentation": "

The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a\n time.

\n

Specify either StackIds or StackIdsUrl.

" + "smithy.api#documentation": "

The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per\n stack set at a time.

\n

Specify either StackIds or StackIdsUrl.

" } }, "StackIdsUrl": { @@ -7082,13 +7082,13 @@ "OrganizationalUnitIds": { "target": "com.amazonaws.cloudformation#OrganizationalUnitIdList", "traits": { - "smithy.api#documentation": "

The list of OU ID's to which the stacks being imported has to be mapped as deployment target.

" + "smithy.api#documentation": "

The list of OU ID's to which the stacks being imported has to be mapped as deployment\n target.

" } }, "OperationPreferences": { "target": "com.amazonaws.cloudformation#StackSetOperationPreferences", "traits": { - "smithy.api#documentation": "

The user-specified preferences for how CloudFormation performs a stack set operation.

\n

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation\n options.

" + "smithy.api#documentation": "

The user-specified preferences for how CloudFormation performs a stack set operation.

\n

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

" } }, "OperationId": { @@ -7101,7 +7101,7 @@ "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -7293,7 +7293,7 @@ "target": "com.amazonaws.cloudformation#ListChangeSetsOutput" }, "traits": { - "smithy.api#documentation": "

Returns the ID and status of each active change set for a stack. For example, CloudFormation lists change sets that are\n in the CREATE_IN_PROGRESS or CREATE_PENDING state.

", + "smithy.api#documentation": "

Returns the ID and status of each active change set for a stack. For example, CloudFormation\n lists change sets that are in the CREATE_IN_PROGRESS or\n CREATE_PENDING state.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -7308,14 +7308,14 @@ "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets.

", + "smithy.api#documentation": "

The name or the Amazon Resource Name (ARN) of the stack for which you want to list change\n sets.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

A string (provided by the ListChangeSets response output) that identifies the next page of\n change sets that you want to retrieve.

" + "smithy.api#documentation": "

A string (provided by the ListChangeSets response output) that\n identifies the next page of change sets that you want to retrieve.

" } } }, @@ -7330,13 +7330,13 @@ "Summaries": { "target": "com.amazonaws.cloudformation#ChangeSetSummaries", "traits": { - "smithy.api#documentation": "

A list of ChangeSetSummary structures that provides the ID and status of each change set for the\n specified stack.

" + "smithy.api#documentation": "

A list of ChangeSetSummary structures that provides the ID and status of each\n change set for the specified stack.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the output exceeds 1 MB, a string that identifies the next page of change sets. If there is no additional\n page, this value is null.

" + "smithy.api#documentation": "

If the output exceeds 1 MB, a string that identifies the next page of change sets. If\n there is no additional page, this value is null.

" } } }, @@ -7354,7 +7354,7 @@ "target": "com.amazonaws.cloudformation#ListExportsOutput" }, "traits": { - "smithy.api#documentation": "

Lists all exported output values in the account and Region in which you call this action. Use this action to see\n the exported output values that you can import into other stacks. To import values, use the \n Fn::ImportValue function.

\n

For more information, see CloudFormation export stack output\n values.

", + "smithy.api#documentation": "

Lists all exported output values in the account and Region in which you call this action.\n Use this action to see the exported output values that you can import into other stacks. To\n import values, use the \n Fn::ImportValue function.

\n

For more information, see Get exported outputs from a deployed CloudFormation stack.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -7368,7 +7368,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

A string (provided by the ListExports response output) that identifies the next page of\n exported output values that you asked to retrieve.

" + "smithy.api#documentation": "

A string (provided by the ListExports response output) that identifies\n the next page of exported output values that you asked to retrieve.

" } } }, @@ -7388,7 +7388,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the output exceeds 100 exported output values, a string that identifies the next page of exports. If there is\n no additional page, this value is null.

" + "smithy.api#documentation": "

If the output exceeds 100 exported output values, a string that identifies the next page\n of exports. If there is no additional page, this value is null.

" } } }, @@ -7426,7 +7426,7 @@ "MaxResults": { "target": "com.amazonaws.cloudformation#MaxResults", "traits": { - "smithy.api#documentation": "

If the number of available results exceeds this maximum, the response includes a NextToken value\n that you can use for the NextToken parameter to get the next set of results. By default the\n ListGeneratedTemplates API action will return at most 50 results in each response. The maximum value is\n 100.

" + "smithy.api#documentation": "

If the number of available results exceeds this maximum, the response includes a\n NextToken value that you can use for the NextToken parameter to\n get the next set of results. By default the ListGeneratedTemplates API action\n will return at most 50 results in each response. The maximum value is 100.

" } } }, @@ -7446,7 +7446,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve\n the next set of results, call ListGeneratedTemplates again and use that value for the\n NextToken parameter. If the request returns all results, NextToken is set to an empty\n string.

" + "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to\n a token. To retrieve the next set of results, call ListGeneratedTemplates again\n and use that value for the NextToken parameter. If the request returns all\n results, NextToken is set to an empty string.

" } } }, @@ -7463,7 +7463,7 @@ "target": "com.amazonaws.cloudformation#ListImportsOutput" }, "traits": { - "smithy.api#documentation": "

Lists all stacks that are importing an exported output value. To modify or remove an exported output value,\n first use this action to see which stacks are using it. To see the exported output values in your account, see ListExports.

\n

For more information about importing an exported output value, see the Fn::ImportValue\n function.

", + "smithy.api#documentation": "

Lists all stacks that are importing an exported output value. To modify or remove an\n exported output value, first use this action to see which stacks are using it. To see the\n exported output values in your account, see ListExports.

\n

For more information about importing an exported output value, see the Fn::ImportValue function.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -7478,14 +7478,14 @@ "target": "com.amazonaws.cloudformation#ExportName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name of the exported output value. CloudFormation returns the stack names that are importing this value.

", + "smithy.api#documentation": "

The name of the exported output value. CloudFormation returns the stack names that are\n importing this value.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

A string (provided by the ListImports response output) that identifies the next page of stacks\n that are importing the specified exported output value.

" + "smithy.api#documentation": "

A string (provided by the ListImports response output) that identifies\n the next page of stacks that are importing the specified exported output value.

" } } }, @@ -7505,7 +7505,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

A string that identifies the next page of exports. If there is no additional page, this value is null.

" + "smithy.api#documentation": "

A string that identifies the next page of exports. If there is no additional page, this\n value is null.

" } } }, @@ -7530,7 +7530,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the related resources for a list of resources from a resource scan. The response indicates whether each\n returned resource is already managed by CloudFormation.

", + "smithy.api#documentation": "

Lists the related resources for a list of resources from a resource scan. The response\n indicates whether each returned resource is already managed by CloudFormation.

", "smithy.api#examples": [ { "title": "To list resource scan related resources", @@ -7611,7 +7611,7 @@ "target": "com.amazonaws.cloudformation#ScannedResourceIdentifiers", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The list of resources for which you want to get the related resources. Up to 100 resources can be\n provided.

", + "smithy.api#documentation": "

The list of resources for which you want to get the related resources. Up to 100 resources\n can be provided.

", "smithy.api#required": {} } }, @@ -7624,7 +7624,7 @@ "MaxResults": { "target": "com.amazonaws.cloudformation#BoxedMaxResults", "traits": { - "smithy.api#documentation": "

If the number of available results exceeds this maximum, the response includes a NextToken value\n that you can use for the NextToken parameter to get the next set of results. By default the\n ListResourceScanRelatedResources API action will return up to 100 results in each response. The maximum\n value is 100.

" + "smithy.api#documentation": "

If the number of available results exceeds this maximum, the response includes a\n NextToken value that you can use for the NextToken parameter to\n get the next set of results. By default the ListResourceScanRelatedResources API\n action will return up to 100 results in each response. The maximum value is 100.

" } } }, @@ -7638,13 +7638,13 @@ "RelatedResources": { "target": "com.amazonaws.cloudformation#RelatedResources", "traits": { - "smithy.api#documentation": "

List of up to MaxResults resources in the specified resource scan related to the specified\n resources.

" + "smithy.api#documentation": "

List of up to MaxResults resources in the specified resource scan related to\n the specified resources.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve\n the next set of results, call ListResourceScanRelatedResources again and use that value for the\n NextToken parameter. If the request returns all results, NextToken is set to an empty\n string.

" + "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to\n a token. To retrieve the next set of results, call\n ListResourceScanRelatedResources again and use that value for the\n NextToken parameter. If the request returns all results, NextToken\n is set to an empty string.

" } } }, @@ -7669,7 +7669,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the resources from a resource scan. The results can be filtered by resource identifier, resource type\n prefix, tag key, and tag value. Only resources that match all specified filters are returned. The response indicates\n whether each returned resource is already managed by CloudFormation.

", + "smithy.api#documentation": "

Lists the resources from a resource scan. The results can be filtered by resource\n identifier, resource type prefix, tag key, and tag value. Only resources that match all\n specified filters are returned. The response indicates whether each returned resource is\n already managed by CloudFormation.

", "smithy.api#examples": [ { "title": "To list the resources in your resource scan", @@ -7748,13 +7748,13 @@ "ResourceIdentifier": { "target": "com.amazonaws.cloudformation#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

If specified, the returned resources will have the specified resource identifier (or one of them in the case\n where the resource has multiple identifiers).

" + "smithy.api#documentation": "

If specified, the returned resources will have the specified resource identifier (or one\n of them in the case where the resource has multiple identifiers).

" } }, "ResourceTypePrefix": { "target": "com.amazonaws.cloudformation#ResourceTypePrefix", "traits": { - "smithy.api#documentation": "

If specified, the returned resources will be of any of the resource types with the specified prefix.

" + "smithy.api#documentation": "

If specified, the returned resources will be of any of the resource types with the\n specified prefix.

" } }, "TagKey": { @@ -7778,7 +7778,7 @@ "MaxResults": { "target": "com.amazonaws.cloudformation#ResourceScannerMaxResults", "traits": { - "smithy.api#documentation": "

If the number of available results exceeds this maximum, the response includes a NextToken value\n that you can use for the NextToken parameter to get the next set of results. By default the\n ListResourceScanResources API action will return at most 100 results in each response. The maximum value\n is 100.

" + "smithy.api#documentation": "

If the number of available results exceeds this maximum, the response includes a\n NextToken value that you can use for the NextToken parameter to\n get the next set of results. By default the ListResourceScanResources API action\n will return at most 100 results in each response. The maximum value is 100.

" } } }, @@ -7792,13 +7792,13 @@ "Resources": { "target": "com.amazonaws.cloudformation#ScannedResources", "traits": { - "smithy.api#documentation": "

List of up to MaxResults resources in the specified resource scan that match all of the specified\n filters.

" + "smithy.api#documentation": "

List of up to MaxResults resources in the specified resource scan that match\n all of the specified filters.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve\n the next set of results, call ListResourceScanResources again and use that value for the\n NextToken parameter. If the request returns all results, NextToken is set to an empty\n string.

" + "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to\n a token. To retrieve the next set of results, call ListResourceScanResources\n again and use that value for the NextToken parameter. If the request returns all\n results, NextToken is set to an empty string.

" } } }, @@ -7815,7 +7815,7 @@ "target": "com.amazonaws.cloudformation#ListResourceScansOutput" }, "traits": { - "smithy.api#documentation": "

List the resource scans from newest to oldest. By default it will return up to 10 resource scans.

", + "smithy.api#documentation": "

List the resource scans from newest to oldest. By default it will return up to 10 resource\n scans.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -7836,7 +7836,7 @@ "MaxResults": { "target": "com.amazonaws.cloudformation#ResourceScannerMaxResults", "traits": { - "smithy.api#documentation": "

If the number of available results exceeds this maximum, the response includes a NextToken value\n that you can use for the NextToken parameter to get the next set of results. The default value is 10.\n The maximum value is 100.

" + "smithy.api#documentation": "

If the number of available results exceeds this maximum, the response includes a\n NextToken value that you can use for the NextToken parameter to\n get the next set of results. The default value is 10. The maximum value is 100.

" } } }, @@ -7856,7 +7856,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve\n the next set of results, call ListResourceScans again and use that value for the NextToken\n parameter. If the request returns all results, NextToken is set to an empty string.

" + "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to\n a token. To retrieve the next set of results, call ListResourceScans again and\n use that value for the NextToken parameter. If the request returns all results,\n NextToken is set to an empty string.

" } } }, @@ -7884,7 +7884,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns drift information for resources in a stack instance.

\n \n

\n ListStackInstanceResourceDrifts returns drift information for the most recent drift detection\n operation. If an operation is in progress, it may only return partial results.

\n
" + "smithy.api#documentation": "

Returns drift information for resources in a stack instance.

\n \n

\n ListStackInstanceResourceDrifts returns drift information for the most\n recent drift detection operation. If an operation is in progress, it may only return partial\n results.

\n
" } }, "com.amazonaws.cloudformation#ListStackInstanceResourceDriftsInput": { @@ -7901,19 +7901,19 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the previous paginated request didn't return all of the remaining results, the response object's\n NextToken parameter value is set to a token. To retrieve the next set of results, call this action\n again and assign that token to the request object's NextToken parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.

" + "smithy.api#documentation": "

If the previous paginated request didn't return all of the remaining results, the response\n object's NextToken parameter value is set to a token. To retrieve the next set of\n results, call this action again and assign that token to the request object's\n NextToken parameter. If there are no remaining results, the previous response\n object's NextToken parameter is set to null.

" } }, "MaxResults": { "target": "com.amazonaws.cloudformation#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of available results exceeds this\n maximum, the response includes a NextToken value that you can assign to the NextToken\n request parameter to get the next set of results.

" + "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken value\n that you can assign to the NextToken request parameter to get the next set of\n results.

" } }, "StackInstanceResourceDriftStatuses": { "target": "com.amazonaws.cloudformation#StackResourceDriftStatusFilters", "traits": { - "smithy.api#documentation": "

The resource drift status of the stack instance.

\n " + "smithy.api#documentation": "

The resource drift status of the stack instance.

\n " } }, "StackInstanceAccount": { @@ -7943,7 +7943,7 @@ "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -7957,13 +7957,13 @@ "Summaries": { "target": "com.amazonaws.cloudformation#StackInstanceResourceDriftsSummaries", "traits": { - "smithy.api#documentation": "

A list of StackInstanceResourceDriftsSummary structures that contain information about the\n specified stack instances.

" + "smithy.api#documentation": "

A list of StackInstanceResourceDriftsSummary structures that contain\n information about the specified stack instances.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the previous paginated request didn't return all of the remaining results, the response object's\n NextToken parameter value is set to a token. To retrieve the next set of results, call this action\n again and assign that token to the request object's NextToken parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.

" + "smithy.api#documentation": "

If the previous paginated request didn't return all of the remaining results, the response\n object's NextToken parameter value is set to a token. To retrieve the next set of\n results, call this action again and assign that token to the request object's\n NextToken parameter. If there are no remaining results, the previous response\n object's NextToken parameter is set to null.

" } } }, @@ -7985,7 +7985,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns summary information about stack instances that are associated with the specified stack set. You can\n filter for stack instances that are associated with a specific Amazon Web Services account name or Region, or that\n have a specific status.

", + "smithy.api#documentation": "

Returns summary information about stack instances that are associated with the specified\n stack set. You can filter for stack instances that are associated with a specific\n Amazon Web Services account name or Region, or that have a specific status.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -8008,13 +8008,13 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the previous request didn't return all the remaining results, the response's NextToken parameter\n value is set to a token. To retrieve the next set of results, call ListStackInstances again and assign\n that token to the request object's NextToken parameter. If there are no remaining results, the previous\n response object's NextToken parameter is set to null.

" + "smithy.api#documentation": "

If the previous request didn't return all the remaining results, the response's\n NextToken parameter value is set to a token. To retrieve the next set of\n results, call ListStackInstances again and assign that token to the request\n object's NextToken parameter. If there are no remaining results, the previous\n response object's NextToken parameter is set to null.

" } }, "MaxResults": { "target": "com.amazonaws.cloudformation#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of available results exceeds this\n maximum, the response includes a NextToken value that you can assign to the NextToken\n request parameter to get the next set of results.

" + "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken value\n that you can assign to the NextToken request parameter to get the next set of\n results.

" } }, "Filters": { @@ -8038,7 +8038,7 @@ "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -8052,13 +8052,13 @@ "Summaries": { "target": "com.amazonaws.cloudformation#StackInstanceSummaries", "traits": { - "smithy.api#documentation": "

A list of StackInstanceSummary structures that contain information about the specified stack\n instances.

" + "smithy.api#documentation": "

A list of StackInstanceSummary structures that contain information about the\n specified stack instances.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve\n the next set of results, call ListStackInstances again and assign that token to the request object's\n NextToken parameter. If the request returns all results, NextToken is set to\n null.

" + "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to\n a token. To retrieve the next set of results, call ListStackInstances again and\n assign that token to the request object's NextToken parameter. If the request\n returns all results, NextToken is set to null.

" } } }, @@ -8075,7 +8075,7 @@ "target": "com.amazonaws.cloudformation#ListStackResourcesOutput" }, "traits": { - "smithy.api#documentation": "

Returns descriptions of all resources of the specified stack.

\n

For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been\n deleted.

", + "smithy.api#documentation": "

Returns descriptions of all resources of the specified stack.

\n

For deleted stacks, ListStackResources returns resource information for up to 90 days\n after the stack has been deleted.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -8090,14 +8090,14 @@ "target": "com.amazonaws.cloudformation#StackName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:

\n \n

Default: There is no default value.

", + "smithy.api#documentation": "

The name or the unique stack ID that is associated with the stack, which aren't always\n interchangeable:

\n \n

Default: There is no default value.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

A string that identifies the next page of stack resources that you want to retrieve.

" + "smithy.api#documentation": "

A string that identifies the next page of stack resources that you want to\n retrieve.

" } } }, @@ -8118,7 +8118,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page\n exists, this value is null.

" + "smithy.api#documentation": "

If the output exceeds 1 MB, a string that identifies the next page of stack resources. If\n no additional page exists, this value is null.

" } } }, @@ -8151,26 +8151,26 @@ "target": "com.amazonaws.cloudformation#StackSetNameOrId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or unique ID of the stack set that you want to get automatic deployment targets for.

", + "smithy.api#documentation": "

The name or unique ID of the stack set that you want to get automatic deployment targets\n for.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

A string that identifies the next page of stack set deployment targets that you want to retrieve.

" + "smithy.api#documentation": "

A string that identifies the next page of stack set deployment targets that you want to\n retrieve.

" } }, "MaxResults": { "target": "com.amazonaws.cloudformation#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of available results exceeds this\n maximum, the response includes a NextToken value that you can assign to the NextToken\n request parameter to get the next set of results.

" + "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken value\n that you can assign to the NextToken request parameter to get the next set of\n results.

" } }, "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for StackSets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for StackSets with\n self-managed permissions.

\n " } } }, @@ -8190,7 +8190,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve\n the next set of results, call ListStackSetAutoDeploymentTargets again and use that value for the NextToken parameter. If the\n request returns all results, NextToken is set to an empty string.

" + "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to\n a token. To retrieve the next set of results, call ListStackSetAutoDeploymentTargets again and use that value for the\n NextToken parameter. If the request returns all results, NextToken\n is set to an empty string.

" } } }, @@ -8246,19 +8246,19 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the previous request didn't return all the remaining results, the response object's NextToken\n parameter value is set to a token. To retrieve the next set of results, call\n ListStackSetOperationResults again and assign that token to the request object's NextToken\n parameter. If there are no remaining results, the previous response object's NextToken parameter is set\n to null.

" + "smithy.api#documentation": "

If the previous request didn't return all the remaining results, the response object's\n NextToken parameter value is set to a token. To retrieve the next set of\n results, call ListStackSetOperationResults again and assign that token to the\n request object's NextToken parameter. If there are no remaining results, the\n previous response object's NextToken parameter is set to\n null.

" } }, "MaxResults": { "target": "com.amazonaws.cloudformation#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of available results exceeds this\n maximum, the response includes a NextToken value that you can assign to the NextToken\n request parameter to get the next set of results.

" + "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken value\n that you can assign to the NextToken request parameter to get the next set of\n results.

" } }, "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } }, "Filters": { @@ -8278,13 +8278,13 @@ "Summaries": { "target": "com.amazonaws.cloudformation#StackSetOperationResultSummaries", "traits": { - "smithy.api#documentation": "

A list of StackSetOperationResultSummary structures that contain information about the specified\n operation results, for accounts and Amazon Web Services Regions that are included in the operation.

" + "smithy.api#documentation": "

A list of StackSetOperationResultSummary structures that contain information\n about the specified operation results, for accounts and Amazon Web Services Regions that are included in the\n operation.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all results, NextToken is set to a token. To retrieve the next set of\n results, call ListOperationResults again and assign that token to the request object's\n NextToken parameter. If there are no remaining results, NextToken is set to\n null.

" + "smithy.api#documentation": "

If the request doesn't return all results, NextToken is set to a token. To\n retrieve the next set of results, call ListOperationResults again and assign that\n token to the request object's NextToken parameter. If there are no remaining\n results, NextToken is set to null.

" } } }, @@ -8322,26 +8322,26 @@ "target": "com.amazonaws.cloudformation#StackSetName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or unique ID of the stack set that you want to get operation summaries for.

", + "smithy.api#documentation": "

The name or unique ID of the stack set that you want to get operation summaries\n for.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the previous paginated request didn't return all of the remaining results, the response object's\n NextToken parameter value is set to a token. To retrieve the next set of results, call\n ListStackSetOperations again and assign that token to the request object's NextToken\n parameter. If there are no remaining results, the previous response object's NextToken parameter is set\n to null.

" + "smithy.api#documentation": "

If the previous paginated request didn't return all of the remaining results, the response\n object's NextToken parameter value is set to a token. To retrieve the next set of\n results, call ListStackSetOperations again and assign that token to the request\n object's NextToken parameter. If there are no remaining results, the previous\n response object's NextToken parameter is set to null.

" } }, "MaxResults": { "target": "com.amazonaws.cloudformation#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of available results exceeds this\n maximum, the response includes a NextToken value that you can assign to the NextToken\n request parameter to get the next set of results.

" + "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken value\n that you can assign to the NextToken request parameter to get the next set of\n results.

" } }, "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -8355,13 +8355,13 @@ "Summaries": { "target": "com.amazonaws.cloudformation#StackSetOperationSummaries", "traits": { - "smithy.api#documentation": "

A list of StackSetOperationSummary structures that contain summary information about operations for\n the specified stack set.

" + "smithy.api#documentation": "

A list of StackSetOperationSummary structures that contain summary\n information about operations for the specified stack set.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all results, NextToken is set to a token. To retrieve the next set of\n results, call ListOperationResults again and assign that token to the request object's\n NextToken parameter. If there are no remaining results, NextToken is set to\n null.

" + "smithy.api#documentation": "

If the request doesn't return all results, NextToken is set to a token. To\n retrieve the next set of results, call ListOperationResults again and assign that\n token to the request object's NextToken parameter. If there are no remaining\n results, NextToken is set to null.

" } } }, @@ -8378,7 +8378,7 @@ "target": "com.amazonaws.cloudformation#ListStackSetsOutput" }, "traits": { - "smithy.api#documentation": "

Returns summary information about stack sets that are associated with the user.

\n ", + "smithy.api#documentation": "

Returns summary information about stack sets that are associated with the user.

\n ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -8393,13 +8393,13 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the previous paginated request didn't return all the remaining results, the response object's\n NextToken parameter value is set to a token. To retrieve the next set of results, call\n ListStackSets again and assign that token to the request object's NextToken parameter. If\n there are no remaining results, the previous response object's NextToken parameter is set to\n null.

" + "smithy.api#documentation": "

If the previous paginated request didn't return all the remaining results, the response\n object's NextToken parameter value is set to a token. To retrieve the next set of\n results, call ListStackSets again and assign that token to the request object's\n NextToken parameter. If there are no remaining results, the previous response\n object's NextToken parameter is set to null.

" } }, "MaxResults": { "target": "com.amazonaws.cloudformation#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of available results exceeds this\n maximum, the response includes a NextToken value that you can assign to the NextToken\n request parameter to get the next set of results.

" + "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken value\n that you can assign to the NextToken request parameter to get the next set of\n results.

" } }, "Status": { @@ -8411,7 +8411,7 @@ "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the management account or as a delegated administrator in a member\n account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -8425,13 +8425,13 @@ "Summaries": { "target": "com.amazonaws.cloudformation#StackSetSummaries", "traits": { - "smithy.api#documentation": "

A list of StackSetSummary structures that contain information about the user's stack sets.

" + "smithy.api#documentation": "

A list of StackSetSummary structures that contain information about the\n user's stack sets.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all of the remaining results, NextToken is set to a token. To\n retrieve the next set of results, call ListStackInstances again and assign that token to the request\n object's NextToken parameter. If the request returns all results, NextToken is set to\n null.

" + "smithy.api#documentation": "

If the request doesn't return all of the remaining results, NextToken is set\n to a token. To retrieve the next set of results, call ListStackInstances again\n and assign that token to the request object's NextToken parameter. If the request\n returns all results, NextToken is set to null.

" } } }, @@ -8448,7 +8448,7 @@ "target": "com.amazonaws.cloudformation#ListStacksOutput" }, "traits": { - "smithy.api#documentation": "

Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary\n information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter\n is specified, summary information for all stacks is returned (including existing stacks and stacks that have been\n deleted).

", + "smithy.api#documentation": "

Returns the summary information for stacks whose status matches the specified\n StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days\n after the stack is deleted. If no StackStatusFilter is specified, summary information for all\n stacks is returned (including existing stacks and stacks that have been deleted).

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -8468,7 +8468,7 @@ "StackStatusFilter": { "target": "com.amazonaws.cloudformation#StackStatusFilter", "traits": { - "smithy.api#documentation": "

Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified\n status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.

" + "smithy.api#documentation": "

Stack status to use as a filter. Specify one or more stack status codes to list only\n stacks with the specified status codes. For a complete list of stack status codes, see the\n StackStatus parameter of the Stack data type.

" } } }, @@ -8483,13 +8483,13 @@ "StackSummaries": { "target": "com.amazonaws.cloudformation#StackSummaries", "traits": { - "smithy.api#documentation": "

A list of StackSummary structures containing information about the specified stacks.

" + "smithy.api#documentation": "

A list of StackSummary structures containing information about the specified\n stacks.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page\n exists, this value is null.

" + "smithy.api#documentation": "

If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If\n no additional page exists, this value is null.

" } } }, @@ -8527,19 +8527,19 @@ "Type": { "target": "com.amazonaws.cloudformation#RegistryType", "traits": { - "smithy.api#documentation": "

The kind of extension.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The kind of extension.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "TypeArn": { "target": "com.amazonaws.cloudformation#TypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "RegistrationStatusFilter": { @@ -8551,13 +8551,13 @@ "MaxResults": { "target": "com.amazonaws.cloudformation#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of available results exceeds this\n maximum, the response includes a NextToken value that you can assign to the NextToken\n request parameter to get the next set of results.

" + "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken value\n that you can assign to the NextToken request parameter to get the next set of\n results.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the previous paginated request didn't return all the remaining results, the response object's\n NextToken parameter value is set to a token. To retrieve the next set of results, call this action again\n and assign that token to the request object's NextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.

" + "smithy.api#documentation": "

If the previous paginated request didn't return all the remaining results, the response\n object's NextToken parameter value is set to a token. To retrieve the next set of\n results, call this action again and assign that token to the request object's\n NextToken parameter. If there are no remaining results, the previous response\n object's NextToken parameter is set to null.

" } } }, @@ -8571,13 +8571,13 @@ "RegistrationTokenList": { "target": "com.amazonaws.cloudformation#RegistrationTokenList", "traits": { - "smithy.api#documentation": "

A list of extension registration tokens.

\n

Use DescribeTypeRegistration to return detailed information about a type registration\n request.

" + "smithy.api#documentation": "

A list of extension registration tokens.

\n

Use DescribeTypeRegistration to return detailed information about a type\n registration request.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve\n the next set of results, call this action again and assign that token to the request object's NextToken\n parameter. If the request returns all results, NextToken is set to null.

" + "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to\n a token. To retrieve the next set of results, call this action again and assign that token to\n the request object's NextToken parameter. If the request returns all results,\n NextToken is set to null.

" } } }, @@ -8614,37 +8614,37 @@ "Type": { "target": "com.amazonaws.cloudformation#RegistryType", "traits": { - "smithy.api#documentation": "

The kind of the extension.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The kind of the extension.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The name of the extension for which you want version summary information.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The name of the extension for which you want version summary information.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "Arn": { "target": "com.amazonaws.cloudformation#TypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension for which you want version summary information.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension for which you want version summary\n information.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "MaxResults": { "target": "com.amazonaws.cloudformation#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of available results exceeds this\n maximum, the response includes a NextToken value that you can assign to the NextToken\n request parameter to get the next set of results.

" + "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken value\n that you can assign to the NextToken request parameter to get the next set of\n results.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the previous paginated request didn't return all of the remaining results, the response object's\n NextToken parameter value is set to a token. To retrieve the next set of results, call this action again\n and assign that token to the request object's NextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.

" + "smithy.api#documentation": "

If the previous paginated request didn't return all of the remaining results, the response\n object's NextToken parameter value is set to a token. To retrieve the next set of\n results, call this action again and assign that token to the request object's\n NextToken parameter. If there are no remaining results, the previous response\n object's NextToken parameter is set to null.

" } }, "DeprecatedStatus": { "target": "com.amazonaws.cloudformation#DeprecatedStatus", "traits": { - "smithy.api#documentation": "

The deprecation status of the extension versions that you want to get summary information about.

\n

Valid values include:

\n \n

The default is LIVE.

" + "smithy.api#documentation": "

The deprecation status of the extension versions that you want to get summary information\n about.

\n

Valid values include:

\n \n

The default is LIVE.

" } }, "PublisherId": { @@ -8664,13 +8664,13 @@ "TypeVersionSummaries": { "target": "com.amazonaws.cloudformation#TypeVersionSummaries", "traits": { - "smithy.api#documentation": "

A list of TypeVersionSummary structures that contain information about the specified extension's\n versions.

" + "smithy.api#documentation": "

A list of TypeVersionSummary structures that contain information about the\n specified extension's versions.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all of the remaining results, NextToken is set to a token. To\n retrieve the next set of results, call this action again and assign that token to the request object's\n NextToken parameter. If the request returns all results, NextToken is set to\n null.

" + "smithy.api#documentation": "

If the request doesn't return all of the remaining results, NextToken is set\n to a token. To retrieve the next set of results, call this action again and assign that token\n to the request object's NextToken parameter. If the request returns all results,\n NextToken is set to null.

" } } }, @@ -8692,7 +8692,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns summary information about extension that have been registered with CloudFormation.

", + "smithy.api#documentation": "

Returns summary information about extension that have been registered with\n CloudFormation.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", @@ -8708,19 +8708,19 @@ "Visibility": { "target": "com.amazonaws.cloudformation#Visibility", "traits": { - "smithy.api#documentation": "

The scope at which the extensions are visible and usable in CloudFormation operations.

\n

Valid values include:

\n \n

The default is PRIVATE.

" + "smithy.api#documentation": "

The scope at which the extensions are visible and usable in CloudFormation operations.

\n

Valid values include:

\n \n

The default is PRIVATE.

" } }, "ProvisioningType": { "target": "com.amazonaws.cloudformation#ProvisioningType", "traits": { - "smithy.api#documentation": "

For resource types, the provisioning behavior of the resource type. CloudFormation determines the provisioning type\n during registration, based on the types of handlers in the schema handler package submitted.

\n

Valid values include:

\n \n

The default is FULLY_MUTABLE.

" + "smithy.api#documentation": "

For resource types, the provisioning behavior of the resource type. CloudFormation determines\n the provisioning type during registration, based on the types of handlers in the schema\n handler package submitted.

\n

Valid values include:

\n \n

The default is FULLY_MUTABLE.

" } }, "DeprecatedStatus": { "target": "com.amazonaws.cloudformation#DeprecatedStatus", "traits": { - "smithy.api#documentation": "

The deprecation status of the extension that you want to get summary information about.

\n

Valid values include:

\n " + "smithy.api#documentation": "

The deprecation status of the extension that you want to get summary information\n about.

\n

Valid values include:

\n " } }, "Type": { @@ -8732,19 +8732,19 @@ "Filters": { "target": "com.amazonaws.cloudformation#TypeFilters", "traits": { - "smithy.api#documentation": "

Filter criteria to use in determining which extensions to return.

\n

Filters must be compatible with Visibility to return valid results. For example, specifying\n AWS_TYPES for Category and PRIVATE for Visibility returns an\n empty list of types, but specifying PUBLIC for Visibility returns the desired list.

" + "smithy.api#documentation": "

Filter criteria to use in determining which extensions to return.

\n

Filters must be compatible with Visibility to return valid results. For\n example, specifying AWS_TYPES for Category and PRIVATE\n for Visibility returns an empty list of types, but specifying PUBLIC\n for Visibility returns the desired list.

" } }, "MaxResults": { "target": "com.amazonaws.cloudformation#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of available results exceeds this\n maximum, the response includes a NextToken value that you can assign to the NextToken\n request parameter to get the next set of results.

" + "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken value\n that you can assign to the NextToken request parameter to get the next set of\n results.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the previous paginated request didn't return all the remaining results, the response object's\n NextToken parameter value is set to a token. To retrieve the next set of results, call this action again\n and assign that token to the request object's NextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.

" + "smithy.api#documentation": "

If the previous paginated request didn't return all the remaining results, the response\n object's NextToken parameter value is set to a token. To retrieve the next set of\n results, call this action again and assign that token to the request object's\n NextToken parameter. If there are no remaining results, the previous response\n object's NextToken parameter is set to null.

" } } }, @@ -8758,13 +8758,13 @@ "TypeSummaries": { "target": "com.amazonaws.cloudformation#TypeSummaries", "traits": { - "smithy.api#documentation": "

A list of TypeSummary structures that contain information about the specified extensions.

" + "smithy.api#documentation": "

A list of TypeSummary structures that contain information about the specified\n extensions.

" } }, "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve\n the next set of results, call this action again and assign that token to the request object's NextToken\n parameter. If the request returns all results, NextToken is set to null.

" + "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set to\n a token. To retrieve the next set of results, call this action again and assign that token to\n the request object's NextToken parameter. If the request returns all results,\n NextToken is set to null.

" } } }, @@ -8789,7 +8789,7 @@ "target": "com.amazonaws.cloudformation#RoleARN2", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log\n entries to CloudWatch Logs.

", "smithy.api#required": {} } }, @@ -8888,18 +8888,18 @@ "TypeHierarchy": { "target": "com.amazonaws.cloudformation#TypeHierarchy", "traits": { - "smithy.api#documentation": "

A concatenated list of the module type or types containing the resource. Module types are listed starting with\n the inner-most nested module, and separated by /.

\n

In the following example, the resource was created from a module of type\n AWS::First::Example::MODULE, that's nested inside a parent module of type\n AWS::Second::Example::MODULE.

\n

\n AWS::First::Example::MODULE/AWS::Second::Example::MODULE\n

" + "smithy.api#documentation": "

A concatenated list of the module type or types containing the resource. Module types are\n listed starting with the inner-most nested module, and separated by /.

\n

In the following example, the resource was created from a module of type\n AWS::First::Example::MODULE, that's nested inside a parent module of type\n AWS::Second::Example::MODULE.

\n

\n AWS::First::Example::MODULE/AWS::Second::Example::MODULE\n

" } }, "LogicalIdHierarchy": { "target": "com.amazonaws.cloudformation#LogicalIdHierarchy", "traits": { - "smithy.api#documentation": "

A concatenated list of the logical IDs of the module or modules containing the resource. Modules are listed\n starting with the inner-most nested module, and separated by /.

\n

In the following example, the resource was created from a module, moduleA, that's nested inside a\n parent module, moduleB.

\n

\n moduleA/moduleB\n

\n

For more information, see Referencing resources in a module\n in the CloudFormation User Guide.

" + "smithy.api#documentation": "

A concatenated list of the logical IDs of the module or modules containing the resource.\n Modules are listed starting with the inner-most nested module, and separated by\n /.

\n

In the following example, the resource was created from a module, moduleA,\n that's nested inside a parent module, moduleB.

\n

\n moduleA/moduleB\n

\n

For more information, see Reference module resources in\n CloudFormation templates in the CloudFormation User Guide.

" } } }, "traits": { - "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the resource was created from a\n module included in the stack template.

\n

For more information about modules, see Using modules to encapsulate and reuse resource\n configurations in the CloudFormation User Guide.

" + "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the resource\n was created from a module included in the stack template.

\n

For more information about modules, see Create reusable resource configurations\n that can be included across templates with CloudFormation modules in the\n CloudFormation User Guide.

" } }, "com.amazonaws.cloudformation#MonitoringTimeInMinutes": { @@ -9253,7 +9253,7 @@ "ParameterKey": { "target": "com.amazonaws.cloudformation#ParameterKey", "traits": { - "smithy.api#documentation": "

The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.

" + "smithy.api#documentation": "

The key associated with the parameter. If you don't specify a key and value for a particular\n parameter, CloudFormation uses the default value that's specified in your template.

" } }, "ParameterValue": { @@ -9265,13 +9265,13 @@ "UsePreviousValue": { "target": "com.amazonaws.cloudformation#UsePreviousValue", "traits": { - "smithy.api#documentation": "

During a stack update, use the existing parameter value that the stack is using for a given parameter key. If\n you specify true, do not specify a parameter value.

" + "smithy.api#documentation": "

During a stack update, use the existing parameter value that the stack is using for a given\n parameter key. If you specify true, do not specify a parameter value.

" } }, "ResolvedValue": { "target": "com.amazonaws.cloudformation#ParameterValue", "traits": { - "smithy.api#documentation": "

Read-only. The value that corresponds to a SSM parameter key. This field is returned only for\n SSM\n parameter types in the template.

" + "smithy.api#documentation": "

Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only\n for Systems Manager parameter types in the template. For more information, see Use\n CloudFormation-supplied parameter types in the CloudFormation User Guide.

" } } }, @@ -9290,7 +9290,7 @@ } }, "traits": { - "smithy.api#documentation": "

A set of criteria that CloudFormation uses to validate parameter values. Although other constraints might be defined in\n the stack template, CloudFormation returns only the AllowedValues property.

" + "smithy.api#documentation": "

A set of criteria that CloudFormation uses to validate parameter values. Although other\n constraints might be defined in the stack template, CloudFormation returns only the\n AllowedValues property.

" } }, "com.amazonaws.cloudformation#ParameterDeclaration": { @@ -9317,7 +9317,7 @@ "NoEcho": { "target": "com.amazonaws.cloudformation#NoEcho", "traits": { - "smithy.api#documentation": "

Flag that indicates whether the parameter value is shown as plain text in logs and in the Amazon Web Services Management Console.

" + "smithy.api#documentation": "

Flag that indicates whether the parameter value is shown as plain text in logs and in the\n Amazon Web Services Management Console.

" } }, "Description": { @@ -9414,7 +9414,7 @@ } }, "traits": { - "smithy.api#documentation": "

Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context key-value pairs in\n cases where a resource's logical and physical IDs aren't enough to uniquely identify that resource. Each context\n key-value pair specifies a resource that contains the targeted resource.

" + "smithy.api#documentation": "

Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses\n context key-value pairs in cases where a resource's logical and physical IDs aren't enough to\n uniquely identify that resource. Each context key-value pair specifies a resource that contains\n the targeted resource.

" } }, "com.amazonaws.cloudformation#PolicyAction": { @@ -9489,7 +9489,7 @@ "target": "com.amazonaws.cloudformation#PropertyValue", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The expected property value of the resource property, as defined in the stack template and any values specified\n as template parameters.

", + "smithy.api#documentation": "

The expected property value of the resource property, as defined in the stack template and\n any values specified as template parameters.

", "smithy.api#required": {} } }, @@ -9505,13 +9505,13 @@ "target": "com.amazonaws.cloudformation#DifferenceType", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The type of property difference.

\n ", + "smithy.api#documentation": "

The type of property difference.

\n ", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Information about a resource property whose actual value differs from its expected value, as defined in the\n stack template and any values specified as template parameters. These will be present only for resources whose\n StackResourceDriftStatus is MODIFIED. For more information, see Detecting Unregulated Configuration Changes to\n Stacks and Resources.

" + "smithy.api#documentation": "

Information about a resource property whose actual value differs from its expected value, as\n defined in the stack template and any values specified as template parameters. These will be\n present only for resources whose StackResourceDriftStatus is MODIFIED.\n For more information, see Detect unmanaged\n configuration changes to stacks and resources with drift detection.

" } }, "com.amazonaws.cloudformation#PropertyDifferences": { @@ -9578,7 +9578,7 @@ } ], "traits": { - "smithy.api#documentation": "

Publishes the specified extension to the CloudFormation registry as a public extension in this Region. Public\n extensions are available for use by all CloudFormation users. For more information about publishing extensions, see\n Publishing extensions to\n make them available for public use in the CloudFormation CLI User Guide.

\n

To publish an extension, you must be registered as a publisher with CloudFormation. For more information, see RegisterPublisher.

", + "smithy.api#documentation": "

Publishes the specified extension to the CloudFormation registry as a public extension in this\n Region. Public extensions are available for use by all CloudFormation users. For more information\n about publishing extensions, see Publishing extensions to\n make them available for public use in the\n CloudFormation Command Line Interface (CLI) User Guide.

\n

To publish an extension, you must be registered as a publisher with CloudFormation. For more\n information, see RegisterPublisher.

", "smithy.api#idempotent": {} } }, @@ -9588,25 +9588,25 @@ "Type": { "target": "com.amazonaws.cloudformation#ThirdPartyType", "traits": { - "smithy.api#documentation": "

The type of the extension.

\n

Conditional: You must specify Arn, or TypeName and Type.

" + "smithy.api#documentation": "

The type of the extension.

\n

Conditional: You must specify Arn, or TypeName and\n Type.

" } }, "Arn": { "target": "com.amazonaws.cloudformation#PrivateTypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension.

\n

Conditional: You must specify Arn, or TypeName and Type.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension.

\n

Conditional: You must specify Arn, or TypeName and\n Type.

" } }, "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify Arn, or TypeName and Type.

" + "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify Arn, or TypeName and\n Type.

" } }, "PublicVersionNumber": { "target": "com.amazonaws.cloudformation#PublicVersionNumber", "traits": { - "smithy.api#documentation": "

The version number to assign to this version of the extension.

\n

Use the following format, and adhere to semantic versioning when assigning a version number to your\n extension:

\n

\n MAJOR.MINOR.PATCH\n

\n

For more information, see Semantic Versioning 2.0.0.

\n

If you don't specify a version number, CloudFormation increments the version number by one minor version\n release.

\n

You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first\n version number to be 1.0.0.

" + "smithy.api#documentation": "

The version number to assign to this version of the extension.

\n

Use the following format, and adhere to semantic versioning when assigning a version\n number to your extension:

\n

\n MAJOR.MINOR.PATCH\n

\n

For more information, see Semantic Versioning\n 2.0.0.

\n

If you don't specify a version number, CloudFormation increments the version number by one\n minor version release.

\n

You cannot specify a version number the first time you publish a type. CloudFormation\n automatically sets the first version number to be 1.0.0.

" } } }, @@ -9695,7 +9695,7 @@ } ], "traits": { - "smithy.api#documentation": "

Reports progress of a resource handler to CloudFormation.

\n

Reserved for use by the CloudFormation CLI. Don't use this API\n in your code.

", + "smithy.api#documentation": "

Reports progress of a resource handler to CloudFormation.

\n

Reserved for use by the CloudFormation\n CLI. Don't use this API in your code.

", "smithy.api#idempotent": {} } }, @@ -9706,7 +9706,7 @@ "target": "com.amazonaws.cloudformation#ClientToken", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Reserved for use by the CloudFormation CLI.

", + "smithy.api#documentation": "

Reserved for use by the CloudFormation\n CLI.

", "smithy.api#required": {} } }, @@ -9714,38 +9714,38 @@ "target": "com.amazonaws.cloudformation#OperationStatus", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Reserved for use by the CloudFormation CLI.

", + "smithy.api#documentation": "

Reserved for use by the CloudFormation\n CLI.

", "smithy.api#required": {} } }, "CurrentOperationStatus": { "target": "com.amazonaws.cloudformation#OperationStatus", "traits": { - "smithy.api#documentation": "

Reserved for use by the CloudFormation CLI.

" + "smithy.api#documentation": "

Reserved for use by the CloudFormation\n CLI.

" } }, "StatusMessage": { "target": "com.amazonaws.cloudformation#StatusMessage", "traits": { - "smithy.api#documentation": "

Reserved for use by the CloudFormation CLI.

" + "smithy.api#documentation": "

Reserved for use by the CloudFormation\n CLI.

" } }, "ErrorCode": { "target": "com.amazonaws.cloudformation#HandlerErrorCode", "traits": { - "smithy.api#documentation": "

Reserved for use by the CloudFormation CLI.

" + "smithy.api#documentation": "

Reserved for use by the CloudFormation\n CLI.

" } }, "ResourceModel": { "target": "com.amazonaws.cloudformation#ResourceModel", "traits": { - "smithy.api#documentation": "

Reserved for use by the CloudFormation CLI.

" + "smithy.api#documentation": "

Reserved for use by the CloudFormation\n CLI.

" } }, "ClientRequestToken": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

Reserved for use by the CloudFormation CLI.

" + "smithy.api#documentation": "

Reserved for use by the CloudFormation\n CLI.

" } } }, @@ -9806,7 +9806,7 @@ } ], "traits": { - "smithy.api#documentation": "

Registers your account as a publisher of public extensions in the CloudFormation registry. Public extensions are\n available for use by all CloudFormation users. This publisher ID applies to your account in all Amazon Web Services Regions.

\n

For information about requirements for registering as a public extension publisher, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User\n Guide.

\n

", + "smithy.api#documentation": "

Registers your account as a publisher of public extensions in the CloudFormation registry.\n Public extensions are available for use by all CloudFormation users. This publisher ID applies to\n your account in all Amazon Web Services Regions.

\n

For information about requirements for registering as a public extension publisher, see\n Prerequisite: Registering your account to publish CloudFormation extensions in the\n CloudFormation Command Line Interface (CLI) User Guide.

\n

", "smithy.api#idempotent": {} } }, @@ -9816,13 +9816,13 @@ "AcceptTermsAndConditions": { "target": "com.amazonaws.cloudformation#AcceptTermsAndConditions", "traits": { - "smithy.api#documentation": "

Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must accept the terms and\n conditions in order to register to publish public extensions to the CloudFormation registry.

\n

The default is false.

" + "smithy.api#documentation": "

Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must\n accept the terms and conditions in order to register to publish public extensions to the\n CloudFormation registry.

\n

The default is false.

" } }, "ConnectionArn": { "target": "com.amazonaws.cloudformation#ConnectionArn", "traits": { - "smithy.api#documentation": "

If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for\n your connection to that account.

\n

For more information, see Registering your account\n to publish CloudFormation extensions in the CloudFormation CLI User Guide.

" + "smithy.api#documentation": "

If you are using a Bitbucket or GitHub account for identity verification, the Amazon\n Resource Name (ARN) for your connection to that account.

\n

For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the\n CloudFormation Command Line Interface (CLI) User Guide.

" } } }, @@ -9858,7 +9858,7 @@ } ], "traits": { - "smithy.api#documentation": "

Registers an extension with the CloudFormation service. Registering an extension makes it available for use in\n CloudFormation templates in your Amazon Web Services account, and includes:

\n \n

For more information about how to develop extensions and ready them for registration, see Creating Resource\n Providers in the CloudFormation CLI User Guide.

\n

You can have a maximum of 50 resource extension versions registered at a time. This maximum is per account and\n per Region. Use DeregisterType to deregister specific extension versions if necessary.

\n

Once you have initiated a registration request using RegisterType, you can use DescribeTypeRegistration to monitor the progress of the registration request.

\n

Once you have registered a private extension in your account and Region, use SetTypeConfiguration to specify\n configuration properties for the extension. For more information, see Configuring extensions at\n the account level in the CloudFormation User Guide.

", + "smithy.api#documentation": "

Registers an extension with the CloudFormation service. Registering an extension makes it\n available for use in CloudFormation templates in your Amazon Web Services account, and includes:

\n \n

For more information about how to develop extensions and ready them for registration, see\n Creating resource types using the CloudFormation CLI in the\n CloudFormation Command Line Interface (CLI) User Guide.

\n

You can have a maximum of 50 resource extension versions registered at a time. This\n maximum is per account and per Region. Use DeregisterType\n to deregister specific extension versions if necessary.

\n

Once you have initiated a registration request using RegisterType, you\n can use DescribeTypeRegistration to monitor the progress of the registration\n request.

\n

Once you have registered a private extension in your account and Region, use SetTypeConfiguration to specify configuration properties for the extension. For\n more information, see Edit configuration\n data for extensions in your account in the\n CloudFormation User Guide.

", "smithy.api#idempotent": {} } }, @@ -9875,7 +9875,7 @@ "target": "com.amazonaws.cloudformation#TypeName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name of the extension being registered.

\n

We suggest that extension names adhere to the following patterns:

\n \n \n

The following organization namespaces are reserved and can't be used in your extension names:

\n \n
", + "smithy.api#documentation": "

The name of the extension being registered.

\n

We suggest that extension names adhere to the following patterns:

\n \n \n

The following organization namespaces are reserved and can't be used in your extension\n names:

\n \n
", "smithy.api#required": {} } }, @@ -9883,7 +9883,7 @@ "target": "com.amazonaws.cloudformation#S3Url", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

A URL to the S3 bucket containing the extension project package that contains the necessary files for the\n extension you want to register.

\n

For information about generating a schema handler package for the extension you want to register, see submit in the\n CloudFormation CLI User Guide.

\n \n

The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs\n to have GetObject permissions for\n the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3\n in the Identity and Access Management User Guide.

\n
", + "smithy.api#documentation": "

A URL to the S3 bucket containing the extension project package that contains the\n necessary files for the extension you want to register.

\n

For information about generating a schema handler package for the extension you want to\n register, see submit in\n the CloudFormation Command Line Interface (CLI) User Guide.

\n \n

The user registering the extension must be able to access the package in the S3 bucket.\n That's, the user needs to have GetObject permissions for the schema\n handler package. For more information, see Actions, Resources, and Condition Keys for\n Amazon S3 in the Identity and Access Management User Guide.

\n
", "smithy.api#required": {} } }, @@ -9896,13 +9896,13 @@ "ExecutionRoleArn": { "target": "com.amazonaws.cloudformation#RoleARN2", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the extension.

\n

For CloudFormation to assume the specified execution role, the role must contain a trust relationship with the\n CloudFormation service principal (resources.cloudformation.amazonaws.com). For more information about adding\n trust relationships, see Modifying a\n role trust policy in the Identity and Access Management User Guide.

\n

If your extension calls Amazon Web Services APIs in any of its handlers, you must create an \n IAM execution role\n that includes\n the necessary permissions to call those Amazon Web Services APIs, and provision that execution role in your account.\n When CloudFormation needs to invoke the resource type handler, CloudFormation assumes this execution role to create a temporary\n session token, which it then passes to the resource type handler, thereby supplying your resource type with the\n appropriate credentials.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking\n the extension.

\n

For CloudFormation to assume the specified execution role, the role must contain a trust\n relationship with the CloudFormation service principal\n (resources.cloudformation.amazonaws.com). For more information about adding\n trust relationships, see Modifying a role trust policy in the Identity and Access Management User\n Guide.

\n

If your extension calls Amazon Web Services APIs in any of its handlers, you must create an\n \n IAM\n execution role\n that includes the necessary permissions to call those\n Amazon Web Services APIs, and provision that execution role in your account. When CloudFormation needs to invoke\n the resource type handler, CloudFormation assumes this execution role to create a temporary\n session token, which it then passes to the resource type handler, thereby supplying your\n resource type with the appropriate credentials.

" } }, "ClientRequestToken": { "target": "com.amazonaws.cloudformation#RequestToken", "traits": { - "smithy.api#documentation": "

A unique identifier that acts as an idempotency key for this registration request. Specifying a client request\n token prevents CloudFormation from generating more than one version of an extension from the same registration request,\n even if the request is submitted multiple times.

" + "smithy.api#documentation": "

A unique identifier that acts as an idempotency key for this registration request.\n Specifying a client request token prevents CloudFormation from generating more than one version of\n an extension from the same registration request, even if the request is submitted multiple\n times.

" } } }, @@ -9916,7 +9916,7 @@ "RegistrationToken": { "target": "com.amazonaws.cloudformation#RegistrationToken", "traits": { - "smithy.api#documentation": "

The identifier for this registration request.

\n

Use this registration token when calling DescribeTypeRegistration, which returns information\n about the status and IDs of the extension registration.

" + "smithy.api#documentation": "

The identifier for this registration request.

\n

Use this registration token when calling DescribeTypeRegistration, which\n returns information about the status and IDs of the extension registration.

" } } }, @@ -10031,13 +10031,13 @@ "TypeNameAlias": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

An alias assigned to the public extension, in this account and Region. If you specify an alias for the\n extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the\n alias to refer to the extension in your templates, API calls, and CloudFormation console.

" + "smithy.api#documentation": "

An alias assigned to the public extension, in this account and Region. If you specify an\n alias for the extension, CloudFormation treats the alias as the extension type name within this\n account and Region. You must use the alias to refer to the extension in your templates, API\n calls, and CloudFormation console.

" } }, "OriginalTypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The type name of the public extension.

\n

If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of\n the public extension. For more information, see Specifying aliases to\n refer to extensions in the CloudFormation User Guide.

" + "smithy.api#documentation": "

The type name of the public extension.

\n

If you specified a TypeNameAlias when enabling the extension in this account\n and Region, CloudFormation treats that alias as the extension's type name within the account and\n Region, not the type name of the public extension. For more information, see Use\n aliases to refer to extensions in the CloudFormation User Guide.

" } }, "PublisherId": { @@ -10054,7 +10054,7 @@ } }, "traits": { - "smithy.api#documentation": "

For extensions that are modules, a public third-party extension that must be activated in your account in order\n for the module itself to be activated.

\n

For more information, see Activating public modules for use in your\n account in the CloudFormation User Guide.

" + "smithy.api#documentation": "

For extensions that are modules, a public third-party extension that must be activated in\n your account in order for the module itself to be activated.

\n

For more information, see Requirements for activating third-party public modules in the\n CloudFormation User Guide.

" } }, "com.amazonaws.cloudformation#RequiredActivatedTypes": { @@ -10142,13 +10142,13 @@ "PolicyAction": { "target": "com.amazonaws.cloudformation#PolicyAction", "traits": { - "smithy.api#documentation": "

The action that will be taken on the physical resource when the change set is executed.

\n " + "smithy.api#documentation": "

The action that will be taken on the physical resource when the change set is\n executed.

\n " } }, "Action": { "target": "com.amazonaws.cloudformation#ChangeAction", "traits": { - "smithy.api#documentation": "

The action that CloudFormation takes on the resource, such as Add (adds a new resource), Modify\n (changes a resource), Remove (deletes a resource), Import (imports a resource), or\n Dynamic (exact action for the resource can't be determined).

" + "smithy.api#documentation": "

The action that CloudFormation takes on the resource, such as Add (adds a new\n resource), Modify (changes a resource), Remove (deletes a resource),\n Import (imports a resource), or Dynamic (exact action for the resource\n can't be determined).

" } }, "LogicalResourceId": { @@ -10160,7 +10160,7 @@ "PhysicalResourceId": { "target": "com.amazonaws.cloudformation#PhysicalResourceId", "traits": { - "smithy.api#documentation": "

The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they\n haven't been created.

" + "smithy.api#documentation": "

The resource's physical ID (resource name). Resources that you are adding don't have\n physical IDs because they haven't been created.

" } }, "ResourceType": { @@ -10172,19 +10172,19 @@ "Replacement": { "target": "com.amazonaws.cloudformation#Replacement", "traits": { - "smithy.api#documentation": "

For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and\n deleting the old one. This value depends on the value of the RequiresRecreation property in the\n ResourceTargetDefinition structure. For example, if the RequiresRecreation field is\n Always and the Evaluation field is Static, Replacement is\n True. If the RequiresRecreation field is Always and the\n Evaluation field is Dynamic, Replacement is Conditionally.

\n

If you have multiple changes with different RequiresRecreation values, the Replacement\n value depends on the change with the most impact. A RequiresRecreation value of Always has\n the most impact, followed by Conditionally, and then Never.

" + "smithy.api#documentation": "

For the Modify action, indicates whether CloudFormation will replace the resource\n by creating a new one and deleting the old one. This value depends on the value of the\n RequiresRecreation property in the ResourceTargetDefinition structure.\n For example, if the RequiresRecreation field is Always and the\n Evaluation field is Static, Replacement is\n True. If the RequiresRecreation field is Always and the\n Evaluation field is Dynamic, Replacement is\n Conditional.

\n

If you have multiple changes with different RequiresRecreation values, the\n Replacement value depends on the change with the most impact. A\n RequiresRecreation value of Always has the most impact, followed by\n Conditional, and then Never.

" } }, "Scope": { "target": "com.amazonaws.cloudformation#Scope", "traits": { - "smithy.api#documentation": "

For the Modify action, indicates which resource attribute is triggering this update, such as a\n change in the resource attribute's Metadata, Properties, or Tags.

" + "smithy.api#documentation": "

For the Modify action, indicates which resource attribute is triggering this\n update, such as a change in the resource attribute's Metadata,\n Properties, or Tags.

" } }, "Details": { "target": "com.amazonaws.cloudformation#ResourceChangeDetails", "traits": { - "smithy.api#documentation": "

For the Modify action, a list of ResourceChangeDetail structures that describes the\n changes that CloudFormation will make to the resource.

" + "smithy.api#documentation": "

For the Modify action, a list of ResourceChangeDetail structures\n that describes the changes that CloudFormation will make to the resource.

" } }, "ChangeSetId": { @@ -10196,24 +10196,24 @@ "ModuleInfo": { "target": "com.amazonaws.cloudformation#ModuleInfo", "traits": { - "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the resource was created from a\n module included in the stack template.

" + "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the resource\n was created from a module included in the stack template.

" } }, "BeforeContext": { "target": "com.amazonaws.cloudformation#BeforeContext", "traits": { - "smithy.api#documentation": "

An encoded JSON string containing the context of the resource before the change is executed.

" + "smithy.api#documentation": "

An encoded JSON string containing the context of the resource before the change is\n executed.

" } }, "AfterContext": { "target": "com.amazonaws.cloudformation#AfterContext", "traits": { - "smithy.api#documentation": "

An encoded JSON string containing the context of the resource after the change is executed.

" + "smithy.api#documentation": "

An encoded JSON string containing the context of the resource after the change is\n executed.

" } } }, "traits": { - "smithy.api#documentation": "

The ResourceChange structure describes the resource and the action that CloudFormation will perform on it if\n you execute this change set.

" + "smithy.api#documentation": "

The ResourceChange structure describes the resource and the action that\n CloudFormation will perform on it if you execute this change set.

" } }, "com.amazonaws.cloudformation#ResourceChangeDetail": { @@ -10222,30 +10222,30 @@ "Target": { "target": "com.amazonaws.cloudformation#ResourceTargetDefinition", "traits": { - "smithy.api#documentation": "

A ResourceTargetDefinition structure that describes the field that CloudFormation will change and whether\n the resource will be recreated.

" + "smithy.api#documentation": "

A ResourceTargetDefinition structure that describes the field that CloudFormation\n will change and whether the resource will be recreated.

" } }, "Evaluation": { "target": "com.amazonaws.cloudformation#EvaluationType", "traits": { - "smithy.api#documentation": "

Indicates whether CloudFormation can determine the target value, and whether the target value will change before you\n execute a change set.

\n

For Static evaluations, CloudFormation can determine that the target value will change, and its value. For\n example, if you directly modify the InstanceType property of an EC2 instance, CloudFormation knows\n that this property value will change, and its value, so this is a Static evaluation.

\n

For Dynamic evaluations, can't determine the target value because it depends on the result of an\n intrinsic function, such as a Ref or Fn::GetAtt intrinsic function, when the stack is\n updated. For example, if your template includes a reference to a resource that's conditionally recreated, the value\n of the reference (the physical ID of the resource) might change, depending on if the resource is recreated. If the\n resource is recreated, it will have a new physical ID, so all references to that resource will also be\n updated.

" + "smithy.api#documentation": "

Indicates whether CloudFormation can determine the target value, and whether the target value\n will change before you execute a change set.

\n

For Static evaluations, CloudFormation can determine that the target value will\n change, and its value. For example, if you directly modify the InstanceType property\n of an EC2 instance, CloudFormation knows that this property value will change, and its value, so this\n is a Static evaluation.

\n

For Dynamic evaluations, can't determine the target value because it depends on\n the result of an intrinsic function, such as a Ref or Fn::GetAtt\n intrinsic function, when the stack is updated. For example, if your template includes a reference\n to a resource that's conditionally recreated, the value of the reference (the physical ID of the\n resource) might change, depending on if the resource is recreated. If the resource is recreated,\n it will have a new physical ID, so all references to that resource will also be updated.

" } }, "ChangeSource": { "target": "com.amazonaws.cloudformation#ChangeSource", "traits": { - "smithy.api#documentation": "

The group to which the CausingEntity value belongs. There are five entity groups:

\n " + "smithy.api#documentation": "

The group to which the CausingEntity value belongs. There are five entity\n groups:

\n " } }, "CausingEntity": { "target": "com.amazonaws.cloudformation#CausingEntity", "traits": { - "smithy.api#documentation": "

The identity of the entity that triggered this change. This entity is a member of the group that's specified by\n the ChangeSource field. For example, if you modified the value of the KeyPairName\n parameter, the CausingEntity is the name of the parameter (KeyPairName).

\n

If the ChangeSource value is DirectModification, no value is given for\n CausingEntity.

" + "smithy.api#documentation": "

The identity of the entity that triggered this change. This entity is a member of the group\n that's specified by the ChangeSource field. For example, if you modified the value\n of the KeyPairName parameter, the CausingEntity is the name of the\n parameter (KeyPairName).

\n

If the ChangeSource value is DirectModification, no value is given\n for CausingEntity.

" } } }, "traits": { - "smithy.api#documentation": "

For a resource with Modify as the action, the ResourceChange structure describes the\n changes CloudFormation will make to that resource.

" + "smithy.api#documentation": "

For a resource with Modify as the action, the ResourceChange\n structure describes the changes CloudFormation will make to that resource.

" } }, "com.amazonaws.cloudformation#ResourceChangeDetails": { @@ -10261,7 +10261,7 @@ "target": "com.amazonaws.cloudformation#ResourceType", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see\n IaC\n generator supported resource types in the CloudFormation User Guide\n

", + "smithy.api#documentation": "

The type of the resource, such as AWS::DynamoDB::Table. For the list of\n supported resources, see Resource type\n support for imports and drift detection in the\n CloudFormation User Guide\n

", "smithy.api#required": {} } }, @@ -10275,13 +10275,13 @@ "target": "com.amazonaws.cloudformation#ResourceIdentifierProperties", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the\n primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list\n in the resource schema.) The value is the value of that primary identifier. For example, for a\n AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair\n could be \"TableName\": \"MyDDBTable\". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension\n development.

", + "smithy.api#documentation": "

A list of up to 256 key-value pairs that identifies the scanned resource. The key is the\n name of one of the primary identifiers for the resource. (Primary identifiers are specified in\n the primaryIdentifier list in the resource schema.) The value is the value of that\n primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary\n identifiers is TableName so the key-value pair could be \"TableName\":\n \"MyDDBTable\". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A resource included in a generated template. This data type is used with the\n CreateGeneratedTemplate and UpdateGeneratedTemplate API actions.

" + "smithy.api#documentation": "

A resource included in a generated template. This data type is used with the\n CreateGeneratedTemplate and UpdateGeneratedTemplate API\n actions.

" } }, "com.amazonaws.cloudformation#ResourceDefinitions": { @@ -10302,7 +10302,7 @@ "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { - "smithy.api#documentation": "

The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see\n IaC\n generator supported resource types In the CloudFormation User Guide\n

" + "smithy.api#documentation": "

The type of the resource, such as AWS::DynamoDB::Table. For the list of\n supported resources, see Resource type\n support for imports and drift detection In the\n CloudFormation User Guide\n

" } }, "LogicalResourceId": { @@ -10314,13 +10314,13 @@ "ResourceIdentifier": { "target": "com.amazonaws.cloudformation#ResourceIdentifierProperties", "traits": { - "smithy.api#documentation": "

A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name\n of one of the primary identifiers for the resource. (Primary identifiers are specified in the\n primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For\n example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the\n key-value pair could be \"TableName\": \"MyDDBTable\". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension\n development.

" + "smithy.api#documentation": "

A list of up to 256 key-value pairs that identifies the resource in the generated template.\n The key is the name of one of the primary identifiers for the resource. (Primary identifiers are\n specified in the primaryIdentifier list in the resource schema.) The value is the\n value of that primary identifier. For example, for a AWS::DynamoDB::Table resource,\n the primary identifiers is TableName so the key-value pair could be\n \"TableName\": \"MyDDBTable\". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

" } }, "ResourceStatus": { "target": "com.amazonaws.cloudformation#GeneratedTemplateResourceStatus", "traits": { - "smithy.api#documentation": "

Status of the processing of a resource in a generated template.

\n
\n
InProgress
\n
\n

The resource processing is still in progress.

\n
\n
Complete
\n
\n

The resource processing is complete.

\n
\n
Pending
\n
\n

The resource processing is pending.

\n
\n
Failed
\n
\n

The resource processing has failed.

\n
\n
" + "smithy.api#documentation": "

Status of the processing of a resource in a generated template.

\n
\n
\n \n InProgress\n \n
\n
\n

The resource processing is still in progress.

\n
\n
\n \n Complete\n \n
\n
\n

The resource processing is complete.

\n
\n
\n \n Pending\n \n
\n
\n

The resource processing is pending.

\n
\n
\n \n Failed\n \n
\n
\n

The resource processing has failed.

\n
\n
" } }, "ResourceStatusReason": { @@ -10400,24 +10400,24 @@ "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { - "smithy.api#documentation": "

The template resource type of the target resources, such as AWS::S3::Bucket.

" + "smithy.api#documentation": "

The template resource type of the target resources, such as\n AWS::S3::Bucket.

" } }, "LogicalResourceIds": { "target": "com.amazonaws.cloudformation#LogicalResourceIds", "traits": { - "smithy.api#documentation": "

The logical IDs of the target resources of the specified ResourceType, as defined in the import\n template.

" + "smithy.api#documentation": "

The logical IDs of the target resources of the specified ResourceType, as\n defined in the import template.

" } }, "ResourceIdentifiers": { "target": "com.amazonaws.cloudformation#ResourceIdentifiers", "traits": { - "smithy.api#documentation": "

The resource properties you can provide during the import to identify your target resources. For example,\n BucketName is a possible identifier property for AWS::S3::Bucket resources.

" + "smithy.api#documentation": "

The resource properties you can provide during the import to identify your target\n resources. For example, BucketName is a possible identifier property for\n AWS::S3::Bucket resources.

" } } }, "traits": { - "smithy.api#documentation": "

Describes the target resources of a specific type in your import template (for example, all\n AWS::S3::Bucket resources) and the properties you can provide during the import to identify resources of\n that type.

" + "smithy.api#documentation": "

Describes the target resources of a specific type in your import template (for example,\n all AWS::S3::Bucket resources) and the properties you can provide during the\n import to identify resources of that type.

" } }, "com.amazonaws.cloudformation#ResourceIdentifiers": { @@ -10545,13 +10545,13 @@ "Status": { "target": "com.amazonaws.cloudformation#ResourceScanStatus", "traits": { - "smithy.api#documentation": "

Status of the resource scan.

\n
\n
INPROGRESS
\n
\n

The resource scan is still in progress.

\n
\n
COMPLETE
\n
\n

The resource scan is complete.

\n
\n
EXPIRED
\n
\n

The resource scan has expired.

\n
\n
FAILED
\n
\n

The resource scan has failed.

\n
\n
" + "smithy.api#documentation": "

Status of the resource scan.

\n
\n
\n \n INPROGRESS\n \n
\n
\n

The resource scan is still in progress.

\n
\n
\n \n COMPLETE\n \n
\n
\n

The resource scan is complete.

\n
\n
\n \n EXPIRED\n \n
\n
\n

The resource scan has expired.

\n
\n
\n \n FAILED\n \n
\n
\n

The resource scan has failed.

\n
\n
" } }, "StatusReason": { "target": "com.amazonaws.cloudformation#ResourceScanStatusReason", "traits": { - "smithy.api#documentation": "

The reason for the resource scan status, providing more information if a failure happened.

" + "smithy.api#documentation": "

The reason for the resource scan status, providing more information if a failure\n happened.

" } }, "StartTime": { @@ -10574,7 +10574,7 @@ } }, "traits": { - "smithy.api#documentation": "

A summary of the resource scan. This is returned by the ListResourceScan API action.

" + "smithy.api#documentation": "

A summary of the resource scan. This is returned by the ListResourceScan API\n action.

" } }, "com.amazonaws.cloudformation#ResourceScannerMaxResults": { @@ -10752,19 +10752,19 @@ "Attribute": { "target": "com.amazonaws.cloudformation#ResourceAttribute", "traits": { - "smithy.api#documentation": "

Indicates which resource attribute is triggering this update, such as a change in the resource attribute's\n Metadata, Properties, or Tags.

" + "smithy.api#documentation": "

Indicates which resource attribute is triggering this update, such as a change in the\n resource attribute's Metadata, Properties, or Tags.

" } }, "Name": { "target": "com.amazonaws.cloudformation#PropertyName", "traits": { - "smithy.api#documentation": "

If the Attribute value is Properties, the name of the property. For all other\n attributes, the value is null.

" + "smithy.api#documentation": "

If the Attribute value is Properties, the name of the property.\n For all other attributes, the value is null.

" } }, "RequiresRecreation": { "target": "com.amazonaws.cloudformation#RequiresRecreation", "traits": { - "smithy.api#documentation": "

If the Attribute value is Properties, indicates whether a change to this property\n causes the resource to be recreated. The value can be Never, Always, or\n Conditionally. To determine the conditions for a Conditionally recreation, see the update\n behavior for that property in the\n CloudFormation User Guide.

" + "smithy.api#documentation": "

If the Attribute value is Properties, indicates whether a change\n to this property causes the resource to be recreated. The value can be Never,\n Always, or Conditionally. To determine the conditions for a\n Conditionally recreation, see the update behavior for that property in the Amazon Web Services resource and\n property types reference in the CloudFormation User Guide.

" } }, "Path": { @@ -10776,13 +10776,13 @@ "BeforeValue": { "target": "com.amazonaws.cloudformation#BeforeValue", "traits": { - "smithy.api#documentation": "

The value of the property before the change is executed. Large values can be truncated.

" + "smithy.api#documentation": "

The value of the property before the change is executed. Large values can be\n truncated.

" } }, "AfterValue": { "target": "com.amazonaws.cloudformation#AfterValue", "traits": { - "smithy.api#documentation": "

The value of the property after the change is executed. Large values can be truncated.

" + "smithy.api#documentation": "

The value of the property after the change is executed. Large values can be\n truncated.

" } }, "AttributeChangeType": { @@ -10793,7 +10793,7 @@ } }, "traits": { - "smithy.api#documentation": "

The field that CloudFormation will change, such as the name of a resource's property, and whether the resource will be\n recreated.

" + "smithy.api#documentation": "

The field that CloudFormation will change, such as the name of a resource's property, and\n whether the resource will be recreated.

" } }, "com.amazonaws.cloudformation#ResourceToImport": { @@ -10803,7 +10803,7 @@ "target": "com.amazonaws.cloudformation#ResourceType", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported\n resource types, see Resources that support import\n operations in the CloudFormation User Guide.

", + "smithy.api#documentation": "

The type of resource to import into your stack, such as AWS::S3::Bucket. For a\n list of supported resource types, see Resource type\n support for imports and drift detection in the\n CloudFormation User Guide.

", "smithy.api#required": {} } }, @@ -10819,7 +10819,7 @@ "target": "com.amazonaws.cloudformation#ResourceIdentifierProperties", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

A key-value pair that identifies the target resource. The key is an identifier property (for example,\n BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for\n example, MyS3Bucket).

", + "smithy.api#documentation": "

A key-value pair that identifies the target resource. The key is an identifier property (for\n example, BucketName for AWS::S3::Bucket resources) and the value is the\n actual property value (for example, MyS3Bucket).

", "smithy.api#required": {} } } @@ -10951,18 +10951,18 @@ "RollbackTriggers": { "target": "com.amazonaws.cloudformation#RollbackTriggers", "traits": { - "smithy.api#documentation": "

The triggers to monitor during stack creation or update actions.

\n

By default, CloudFormation saves the rollback triggers specified for a stack and applies them to any subsequent update\n operations for the stack, unless you specify otherwise. If you do specify rollback triggers for this parameter, those\n triggers replace any list of triggers previously specified for the stack. This means:

\n \n

If a specified trigger is missing, the entire stack operation fails and is rolled back.

" + "smithy.api#documentation": "

The triggers to monitor during stack creation or update actions.

\n

By default, CloudFormation saves the rollback triggers specified for a stack and applies them to\n any subsequent update operations for the stack, unless you specify otherwise. If you do specify\n rollback triggers for this parameter, those triggers replace any list of triggers previously\n specified for the stack. This means:

\n \n

If a specified trigger is missing, the entire stack operation fails and is rolled\n back.

" } }, "MonitoringTimeInMinutes": { "target": "com.amazonaws.cloudformation#MonitoringTimeInMinutes", "traits": { - "smithy.api#documentation": "

The amount of time, in minutes, during which CloudFormation should monitor all the rollback triggers after the stack\n creation or update operation deploys all necessary resources.

\n

The default is 0 minutes.

\n

If you specify a monitoring period but don't specify any rollback triggers, CloudFormation still waits the specified\n period of time before cleaning up old resources after update operations. You can use this monitoring period to\n perform any manual stack validation desired, and manually cancel the stack creation or update (using CancelUpdateStack, for example) as necessary.

\n

If you specify 0 for this parameter, CloudFormation still monitors the specified rollback triggers during stack\n creation and update operations. Then, for update operations, it begins disposing of old resources immediately once\n the operation completes.

" + "smithy.api#documentation": "

The amount of time, in minutes, during which CloudFormation should monitor all the rollback\n triggers after the stack creation or update operation deploys all necessary resources.

\n

The default is 0 minutes.

\n

If you specify a monitoring period but don't specify any rollback triggers, CloudFormation still\n waits the specified period of time before cleaning up old resources after update operations. You\n can use this monitoring period to perform any manual stack validation desired, and manually\n cancel the stack creation or update (using CancelUpdateStack, for example) as necessary.

\n

If you specify 0 for this parameter, CloudFormation still monitors the specified rollback\n triggers during stack creation and update operations. Then, for update operations, it begins\n disposing of old resources immediately once the operation completes.

" } } }, "traits": { - "smithy.api#documentation": "

Structure containing the rollback triggers for CloudFormation to monitor during stack creation and updating operations,\n and for the specified monitoring period afterwards.

\n

Rollback triggers enable you to have CloudFormation monitor the state of your application during stack creation and\n updating, and to roll back that operation if the application breaches the threshold of any of the alarms you've\n specified. For more information, see Monitor and Roll Back Stack\n Operations.

" + "smithy.api#documentation": "

Structure containing the rollback triggers for CloudFormation to monitor during stack creation\n and updating operations, and for the specified monitoring period afterwards.

\n

Rollback triggers enable you to have CloudFormation monitor the state of your application during\n stack creation and updating, and to roll back that operation if the application breaches the\n threshold of any of the alarms you've specified. For more information, see Roll back your CloudFormation stack on alarm breach with rollback triggers.

" } }, "com.amazonaws.cloudformation#RollbackStack": { @@ -10979,7 +10979,7 @@ } ], "traits": { - "smithy.api#documentation": "

When specifying RollbackStack, you preserve the state of previously provisioned resources when an\n operation fails. You can check the status of the stack through the DescribeStacks operation.

\n

Rolls back the specified stack to the last known stable state from CREATE_FAILED or\n UPDATE_FAILED stack statuses.

\n

This operation will delete a stack if it doesn't contain a last known stable state. A last known stable state\n includes any status in a *_COMPLETE. This includes the following stack statuses.

\n " + "smithy.api#documentation": "

When specifying RollbackStack, you preserve the state of previously\n provisioned resources when an operation fails. You can check the status of the stack through\n the DescribeStacks operation.

\n

Rolls back the specified stack to the last known stable state from\n CREATE_FAILED or UPDATE_FAILED stack statuses.

\n

This operation will delete a stack if it doesn't contain a last known stable state. A last\n known stable state includes any status in a *_COMPLETE. This includes the\n following stack statuses.

\n " } }, "com.amazonaws.cloudformation#RollbackStackInput": { @@ -10996,7 +10996,7 @@ "RoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the\n stack.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the\n stack.

" } }, "ClientRequestToken": { @@ -11008,7 +11008,7 @@ "RetainExceptOnCreate": { "target": "com.amazonaws.cloudformation#RetainExceptOnCreate", "traits": { - "smithy.api#documentation": "

When set to true, newly created resources are deleted when the operation rolls back. This includes\n newly created resources marked with a deletion policy of Retain.

\n

Default: false\n

" + "smithy.api#documentation": "

When set to true, newly created resources are deleted when the operation\n rolls back. This includes newly created resources marked with a deletion policy of\n Retain.

\n

Default: false\n

" } } }, @@ -11037,7 +11037,7 @@ "target": "com.amazonaws.cloudformation#Arn", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the rollback trigger.

\n

If a specified trigger is missing, the entire stack operation fails and is rolled back.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the rollback trigger.

\n

If a specified trigger is missing, the entire stack operation fails and is rolled\n back.

", "smithy.api#required": {} } }, @@ -11045,13 +11045,13 @@ "target": "com.amazonaws.cloudformation#Type", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

", + "smithy.api#documentation": "

The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A rollback trigger CloudFormation monitors during creation and updating of stacks. If any of the alarms you specify goes\n to ALARM state during the stack operation or within the specified monitoring period afterwards, CloudFormation rolls back the entire stack operation.

" + "smithy.api#documentation": "

A rollback trigger CloudFormation monitors during creation and updating of stacks. If any of the\n alarms you specify goes to ALARM state during the stack operation or within the specified\n monitoring period afterwards, CloudFormation rolls back the entire stack operation.

" } }, "com.amazonaws.cloudformation#RollbackTriggers": { @@ -11091,13 +11091,13 @@ "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { - "smithy.api#documentation": "

The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see\n Resource type support In the CloudFormation User Guide\n

" + "smithy.api#documentation": "

The type of the resource, such as AWS::DynamoDB::Table. For the list of\n supported resources, see Resource type\n support for imports and drift detection In the\n CloudFormation User Guide\n

" } }, "ResourceIdentifier": { "target": "com.amazonaws.cloudformation#JazzResourceIdentifierProperties", "traits": { - "smithy.api#documentation": "

A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the\n primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list\n in the resource schema.) The value is the value of that primary identifier. For example, for a\n AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair\n could be \"TableName\": \"MyDDBTable\". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension\n development.

" + "smithy.api#documentation": "

A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the\n name of one of the primary identifiers for the resource. (Primary identifiers are specified in\n the primaryIdentifier list in the resource schema.) The value is the value of that\n primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary\n identifiers is TableName so the key-value pair could be \"TableName\":\n \"MyDDBTable\". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

" } }, "ManagedByStack": { @@ -11108,7 +11108,7 @@ } }, "traits": { - "smithy.api#documentation": "

A scanned resource returned by ListResourceScanResources or\n ListResourceScanRelatedResources.

" + "smithy.api#documentation": "

A scanned resource returned by ListResourceScanResources or\n ListResourceScanRelatedResources.

" } }, "com.amazonaws.cloudformation#ScannedResourceIdentifier": { @@ -11118,7 +11118,7 @@ "target": "com.amazonaws.cloudformation#ResourceType", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see\n IaC\n generator supported resource types In the CloudFormation User Guide.

", + "smithy.api#documentation": "

The type of the resource, such as AWS::DynamoDB::Table. For the list of\n supported resources, see Resource type\n support for imports and drift detection In the\n CloudFormation User Guide.

", "smithy.api#required": {} } }, @@ -11126,13 +11126,13 @@ "target": "com.amazonaws.cloudformation#JazzResourceIdentifierProperties", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the\n primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list\n in the resource schema.) The value is the value of that primary identifier. For example, for a\n AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair\n could be \"TableName\": \"MyDDBTable\". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension\n development.

", + "smithy.api#documentation": "

A list of up to 256 key-value pairs that identifies the scanned resource. The key is the\n name of one of the primary identifiers for the resource. (Primary identifiers are specified in\n the primaryIdentifier list in the resource schema.) The value is the value of that\n primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary\n identifiers is TableName so the key-value pair could be \"TableName\":\n \"MyDDBTable\". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Identifies a scanned resource. This is used with the ListResourceScanRelatedResources API\n action.

" + "smithy.api#documentation": "

Identifies a scanned resource. This is used with the\n ListResourceScanRelatedResources API action.

" } }, "com.amazonaws.cloudformation#ScannedResourceIdentifiers": { @@ -11179,13 +11179,13 @@ "StackPolicyBody": { "target": "com.amazonaws.cloudformation#StackPolicyBody", "traits": { - "smithy.api#documentation": "

Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in\n the CloudFormation User Guide. You can specify either the StackPolicyBody or the\n StackPolicyURL parameter, but not both.

" + "smithy.api#documentation": "

Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide.\n You can specify either the StackPolicyBody or the StackPolicyURL\n parameter, but not both.

" } }, "StackPolicyURL": { "target": "com.amazonaws.cloudformation#StackPolicyURL", "traits": { - "smithy.api#documentation": "

Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in\n an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for an Amazon S3 bucket must\n start with https://. You can specify either the StackPolicyBody or the\n StackPolicyURL parameter, but not both.

" + "smithy.api#documentation": "

Location of a file containing the stack policy. The URL must point to a policy (maximum\n size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for\n an Amazon S3 bucket must start with https://. You can specify either the\n StackPolicyBody or the StackPolicyURL parameter, but not\n both.

" } } }, @@ -11211,7 +11211,7 @@ } ], "traits": { - "smithy.api#documentation": "

Specifies the configuration data for a registered CloudFormation extension, in the given account and Region.

\n

To view the current configuration data for an extension, refer to the ConfigurationSchema element\n of DescribeType. For more information, see Configuring extensions at\n the account level in the CloudFormation User Guide.

\n \n

It's strongly recommended that you use dynamic references to restrict sensitive configuration definitions, such\n as third-party credentials. For more details on dynamic references, see Using\n dynamic references to specify template values in the CloudFormation User Guide.

\n
" + "smithy.api#documentation": "

Specifies the configuration data for a registered CloudFormation extension, in the given\n account and Region.

\n

To view the current configuration data for an extension, refer to the\n ConfigurationSchema element of DescribeType. For\n more information, see Edit configuration\n data for extensions in your account in the\n CloudFormation User Guide.

\n \n

It's strongly recommended that you use dynamic references to restrict sensitive\n configuration definitions, such as third-party credentials. For more details on dynamic\n references, see Specify values stored in\n other services using dynamic references in the\n CloudFormation User Guide.

\n
" } }, "com.amazonaws.cloudformation#SetTypeConfigurationInput": { @@ -11220,33 +11220,33 @@ "TypeArn": { "target": "com.amazonaws.cloudformation#TypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the extension, in this account and Region.

\n

For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account\n and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account\n and Region.

\n

Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an\n extension, but not for a specific extension version.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the extension, in this account and Region.

\n

For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this\n will be the ARN assigned when you call the RegisterType API\n operation in this account and Region.

\n

Do not include the extension versions suffix at the end of the ARN. You can set the\n configuration for an extension, but not for a specific extension version.

" } }, "Configuration": { "target": "com.amazonaws.cloudformation#TypeConfiguration", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The configuration data for the extension, in this account and Region.

\n

The configuration data must be formatted as JSON, and validate against the schema returned in the\n ConfigurationSchema response element of DescribeType. For more information, see\n Defining\n account-level configuration data for an extension in the CloudFormation CLI User\n Guide.

", + "smithy.api#documentation": "

The configuration data for the extension, in this account and Region.

\n

The configuration data must be formatted as JSON, and validate against the schema returned\n in the ConfigurationSchema response element of DescribeType. For\n more information, see Defining the account-level configuration of an extension in the\n CloudFormation Command Line Interface (CLI) User Guide.

", "smithy.api#required": {} } }, "ConfigurationAlias": { "target": "com.amazonaws.cloudformation#TypeConfigurationAlias", "traits": { - "smithy.api#documentation": "

An alias by which to refer to this extension configuration data.

\n

Conditional: Specifying a configuration alias is required when setting a configuration for a resource type\n extension.

" + "smithy.api#documentation": "

An alias by which to refer to this extension configuration data.

\n

Conditional: Specifying a configuration alias is required when setting a configuration for\n a resource type extension.

" } }, "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify ConfigurationArn, or Type and\n TypeName.

" + "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify ConfigurationArn, or Type and\n TypeName.

" } }, "Type": { "target": "com.amazonaws.cloudformation#ThirdPartyType", "traits": { - "smithy.api#documentation": "

The type of extension.

\n

Conditional: You must specify ConfigurationArn, or Type and\n TypeName.

" + "smithy.api#documentation": "

The type of extension.

\n

Conditional: You must specify ConfigurationArn, or Type and\n TypeName.

" } } }, @@ -11260,7 +11260,7 @@ "ConfigurationArn": { "target": "com.amazonaws.cloudformation#TypeConfigurationArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the configuration data, in this account and Region.

\n

Conditional: You must specify ConfigurationArn, or Type and\n TypeName.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the configuration data, in this account and\n Region.

\n

Conditional: You must specify ConfigurationArn, or Type and\n TypeName.

" } } }, @@ -11285,7 +11285,7 @@ } ], "traits": { - "smithy.api#documentation": "

Specify the default version of an extension. The default version of an extension will be used in CloudFormation operations.

", + "smithy.api#documentation": "

Specify the default version of an extension. The default version of an extension will be\n used in CloudFormation operations.

", "smithy.api#idempotent": {} } }, @@ -11295,25 +11295,25 @@ "Arn": { "target": "com.amazonaws.cloudformation#PrivateTypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension for which you want version summary information.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension for which you want version summary\n information.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "Type": { "target": "com.amazonaws.cloudformation#RegistryType", "traits": { - "smithy.api#documentation": "

The kind of extension.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The kind of extension.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify either TypeName and Type, or Arn.

" + "smithy.api#documentation": "

The name of the extension.

\n

Conditional: You must specify either TypeName and Type, or\n Arn.

" } }, "VersionId": { "target": "com.amazonaws.cloudformation#TypeVersionId", "traits": { - "smithy.api#documentation": "

The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource\n Name (ARN) assigned to the extension version when it is registered.

" + "smithy.api#documentation": "

The ID of a specific version of the extension. The version ID is the value at the end of\n the Amazon Resource Name (ARN) assigned to the extension version when it is registered.

" } } }, @@ -11337,7 +11337,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "

Sends a signal to the specified resource with a success or failure status. You can use the\n SignalResource operation in conjunction with a creation policy or update policy. CloudFormation doesn't\n proceed with a stack creation or update until resources receive the required number of signals or the timeout period\n is exceeded. The SignalResource operation is useful in cases where you want to send signals from\n anywhere other than an Amazon EC2 instance.

" + "smithy.api#documentation": "

Sends a signal to the specified resource with a success or failure status. You can use the\n SignalResource operation in conjunction with a creation policy or update\n policy. CloudFormation doesn't proceed with a stack creation or update until resources receive the\n required number of signals or the timeout period is exceeded. The SignalResource\n operation is useful in cases where you want to send signals from anywhere other than an Amazon EC2\n instance.

" } }, "com.amazonaws.cloudformation#SignalResourceInput": { @@ -11347,7 +11347,7 @@ "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The stack name or unique stack ID that includes the resource that you want to signal.

", + "smithy.api#documentation": "

The stack name or unique stack ID that includes the resource that you want to\n signal.

", "smithy.api#required": {} } }, @@ -11355,7 +11355,7 @@ "target": "com.amazonaws.cloudformation#LogicalResourceId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The logical ID of the resource that you want to signal. The logical ID is the name of the resource that given in\n the template.

", + "smithy.api#documentation": "

The logical ID of the resource that you want to signal. The logical ID is the name of the\n resource that given in the template.

", "smithy.api#required": {} } }, @@ -11363,7 +11363,7 @@ "target": "com.amazonaws.cloudformation#ResourceSignalUniqueId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

A unique ID of the signal. When you signal Amazon EC2 instances or Auto Scaling groups, specify the\n instance ID that you are signaling as the unique ID. If you send multiple signals to a single resource (such as\n signaling a wait condition), each signal requires a different unique ID.

", + "smithy.api#documentation": "

A unique ID of the signal. When you signal Amazon EC2 instances or Auto Scaling groups, specify the\n instance ID that you are signaling as the unique ID. If you send multiple signals to a single\n resource (such as signaling a wait condition), each signal requires a different unique\n ID.

", "smithy.api#required": {} } }, @@ -11371,7 +11371,7 @@ "target": "com.amazonaws.cloudformation#ResourceSignalStatus", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The status of the signal, which is either success or failure. A failure signal causes CloudFormation to immediately\n fail the stack creation or update.

", + "smithy.api#documentation": "

The status of the signal, which is either success or failure. A failure signal causes\n CloudFormation to immediately fail the stack creation or update.

", "smithy.api#required": {} } } @@ -11433,13 +11433,13 @@ "LastUpdatedTime": { "target": "com.amazonaws.cloudformation#LastUpdatedTime", "traits": { - "smithy.api#documentation": "

The time the stack was last updated. This field will only be returned if the stack has been updated at least\n once.

" + "smithy.api#documentation": "

The time the stack was last updated. This field will only be returned if the stack has been\n updated at least once.

" } }, "RollbackConfiguration": { "target": "com.amazonaws.cloudformation#RollbackConfiguration", "traits": { - "smithy.api#documentation": "

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified\n monitoring period afterwards.

" + "smithy.api#documentation": "

The rollback triggers for CloudFormation to monitor during stack creation and updating\n operations, and for the specified monitoring period afterwards.

" } }, "StackStatus": { @@ -11489,7 +11489,7 @@ "RoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that's associated with the stack.\n During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that's associated with the stack. During a\n stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

" } }, "Tags": { @@ -11501,43 +11501,43 @@ "EnableTerminationProtection": { "target": "com.amazonaws.cloudformation#EnableTerminationProtection", "traits": { - "smithy.api#documentation": "

Whether termination protection is enabled for the stack.

\n

For nested\n stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.\n For more information, see Protecting a Stack From Being Deleted\n in the CloudFormation User Guide.

" + "smithy.api#documentation": "

Whether termination protection is enabled for the stack.

\n

For nested stacks,\n termination protection is set on the root stack and can't be changed directly on the nested\n stack. For more information, see Protect a CloudFormation\n stack from being deleted in the CloudFormation User Guide.

" } }, "ParentId": { "target": "com.amazonaws.cloudformation#StackId", "traits": { - "smithy.api#documentation": "

For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this\n stack. For the first level of nested stacks, the root stack is also the parent stack.

\n

For more information, see Working with Nested Stacks in the\n CloudFormation User Guide.

" + "smithy.api#documentation": "

For nested stacks--stacks created as resources for another stack--the stack ID of the direct\n parent of this stack. For the first level of nested stacks, the root stack is also the parent\n stack.

\n

For more information, see Embed stacks within other\n stacks using nested stacks in the CloudFormation User Guide.

" } }, "RootId": { "target": "com.amazonaws.cloudformation#StackId", "traits": { - "smithy.api#documentation": "

For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which\n the nested stack ultimately belongs.

\n

For more information, see Working with Nested Stacks in the\n CloudFormation User Guide.

" + "smithy.api#documentation": "

For nested stacks--stacks created as resources for another stack--the stack ID of the\n top-level stack to which the nested stack ultimately belongs.

\n

For more information, see Embed stacks within other\n stacks using nested stacks in the CloudFormation User Guide.

" } }, "DriftInformation": { "target": "com.amazonaws.cloudformation#StackDriftInformation", "traits": { - "smithy.api#documentation": "

Information about whether a stack's actual configuration differs, or has drifted, from its\n expected configuration, as defined in the stack template and any values specified as template parameters. For more\n information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

" + "smithy.api#documentation": "

Information about whether a stack's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack template\n and any values specified as template parameters. For more information, see Detect\n unmanaged configuration changes to stacks and resources with drift detection.

" } }, "RetainExceptOnCreate": { "target": "com.amazonaws.cloudformation#RetainExceptOnCreate", "traits": { - "smithy.api#documentation": "

When set to true, newly created resources are deleted when the operation rolls back. This includes\n newly created resources marked with a deletion policy of Retain.

\n

Default: false\n

" + "smithy.api#documentation": "

When set to true, newly created resources are deleted when the operation rolls\n back. This includes newly created resources marked with a deletion policy of\n Retain.

\n

Default: false\n

" } }, "DeletionMode": { "target": "com.amazonaws.cloudformation#DeletionMode", "traits": { - "smithy.api#documentation": "

Specifies the deletion mode for the stack. Possible values are:

\n " + "smithy.api#documentation": "

Specifies the deletion mode for the stack. Possible values are:

\n " } }, "DetailedStatus": { "target": "com.amazonaws.cloudformation#DetailedStatus", "traits": { - "smithy.api#documentation": "

The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or\n resource configuration phase has completed and the stabilization of the resources is in progress. The stack sets\n CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more\n information, see CloudFormation stack deployment in\n the CloudFormation User Guide.

" + "smithy.api#documentation": "

The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is\n present, the resource or resource configuration phase has completed and the stabilization of the\n resources is in progress. The stack sets CONFIGURATION_COMPLETE when all of the\n resources in the stack have reached that event. For more information, see Understand\n CloudFormation stack creation events in the CloudFormation User Guide.

" } } }, @@ -11587,19 +11587,19 @@ "target": "com.amazonaws.cloudformation#StackDriftStatus", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Status of the stack's actual configuration compared to its expected template configuration.

\n ", + "smithy.api#documentation": "

Status of the stack's actual configuration compared to its expected template\n configuration.

\n ", "smithy.api#required": {} } }, "LastCheckTimestamp": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { - "smithy.api#documentation": "

Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources\n that support drift detection.

" + "smithy.api#documentation": "

Most recent time when a drift detection operation was initiated on the stack, or any of its\n individual resources that support drift detection.

" } } }, "traits": { - "smithy.api#documentation": "

Contains information about whether the stack's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack template and any values\n specified as template parameters. A stack is considered to have drifted if one or more of its resources have\n drifted.

" + "smithy.api#documentation": "

Contains information about whether the stack's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack template\n and any values specified as template parameters. A stack is considered to have drifted if one or\n more of its resources have drifted.

" } }, "com.amazonaws.cloudformation#StackDriftInformationSummary": { @@ -11609,19 +11609,19 @@ "target": "com.amazonaws.cloudformation#StackDriftStatus", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Status of the stack's actual configuration compared to its expected template configuration.

\n ", + "smithy.api#documentation": "

Status of the stack's actual configuration compared to its expected template\n configuration.

\n ", "smithy.api#required": {} } }, "LastCheckTimestamp": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { - "smithy.api#documentation": "

Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources\n that support drift detection.

" + "smithy.api#documentation": "

Most recent time when a drift detection operation was initiated on the stack, or any of its\n individual resources that support drift detection.

" } } }, "traits": { - "smithy.api#documentation": "

Contains information about whether the stack's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack template and any values\n specified as template parameters. A stack is considered to have drifted if one or more of its resources have\n drifted.

" + "smithy.api#documentation": "

Contains information about whether the stack's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack template\n and any values specified as template parameters. A stack is considered to have drifted if one or\n more of its resources have drifted.

" } }, "com.amazonaws.cloudformation#StackDriftStatus": { @@ -11695,7 +11695,7 @@ "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { - "smithy.api#documentation": "

Type of resource. (For more information, go to Amazon Web Services Resource Types\n Reference in the CloudFormation User Guide.)

" + "smithy.api#documentation": "

Type of resource. For more information, see Amazon Web Services resource and\n property types reference in the CloudFormation User Guide.

" } }, "Timestamp": { @@ -11727,7 +11727,7 @@ "ClientRequestToken": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

The token passed to the operation that generated this event.

\n

All events triggered by a given stack operation are assigned the same client request token, which you can use to\n track operations. For example, if you execute a CreateStack operation with the token\n token1, then all the StackEvents generated by that operation will have\n ClientRequestToken set as token1.

\n

In the console, stack operations display the client request token on the Events tab. Stack operations that are\n initiated from the console use the token format Console-StackOperation-ID, which helps you\n easily identify the stack operation . For example, if you create a stack using the console, each stack event would be\n assigned the same token in the following format:\n Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

" + "smithy.api#documentation": "

The token passed to the operation that generated this event.

\n

All events triggered by a given stack operation are assigned the same client request token,\n which you can use to track operations. For example, if you execute a CreateStack\n operation with the token token1, then all the StackEvents generated by\n that operation will have ClientRequestToken set as token1.

\n

In the console, stack operations display the client request token on the Events tab. Stack\n operations that are initiated from the console use the token format\n Console-StackOperation-ID, which helps you easily identify the stack\n operation . For example, if you create a stack using the console, each stack event would be\n assigned the same token in the following format:\n Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

" } }, "HookType": { @@ -11763,7 +11763,7 @@ "DetailedStatus": { "target": "com.amazonaws.cloudformation#DetailedStatus", "traits": { - "smithy.api#documentation": "

An optional field containing information about the detailed status of the stack event.

\n \n " + "smithy.api#documentation": "

An optional field containing information about the detailed status of the stack\n event.

\n \n " } } }, @@ -11873,7 +11873,7 @@ } }, "traits": { - "smithy.api#documentation": "

An CloudFormation stack, in a specific account and Region, that's part of a stack set operation. A stack instance is a\n reference to an attempted or actual stack in a given account within a given Region. A stack instance can exist\n without a stack—for example, if the stack couldn't be created for some reason. A stack instance is associated with\n only one stack set. Each stack instance contains the ID of its associated stack set, in addition to the ID of the\n actual stack and the stack status.

" + "smithy.api#documentation": "

A CloudFormation stack, in a specific account and Region, that's part of a stack set operation. A stack instance is a\n reference to an attempted or actual stack in a given account within a given Region. A stack instance can exist\n without a stack—for example, if the stack couldn't be created for some reason. A stack instance is associated with\n only one stack set. Each stack instance contains the ID of its associated stack set, in addition to the ID of the\n actual stack and the stack status.

" } }, "com.amazonaws.cloudformation#StackInstanceComprehensiveStatus": { @@ -12066,7 +12066,7 @@ "target": "com.amazonaws.cloudformation#ResourceType", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Type of resource. For more information, go to Amazon Web Services Resource Types\n Reference in the CloudFormation User Guide.

", + "smithy.api#documentation": "

Type of resource. For more information, see Amazon Web Services resource and \n property types reference in the CloudFormation User Guide.

", "smithy.api#required": {} } }, @@ -12291,14 +12291,14 @@ "PhysicalResourceId": { "target": "com.amazonaws.cloudformation#PhysicalResourceId", "traits": { - "smithy.api#documentation": "

The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.

" + "smithy.api#documentation": "

The name or unique identifier that corresponds to a physical instance ID of a resource\n supported by CloudFormation.

" } }, "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Type of resource. For more information, go to Amazon Web Services Resource Types\n Reference in the CloudFormation User Guide.

", + "smithy.api#documentation": "

Type of resource. For more information, see Amazon Web Services resource and\n property types reference in the CloudFormation User Guide.

", "smithy.api#required": {} } }, @@ -12333,13 +12333,13 @@ "DriftInformation": { "target": "com.amazonaws.cloudformation#StackResourceDriftInformation", "traits": { - "smithy.api#documentation": "

Information about whether the resource's actual configuration differs, or has drifted, from\n its expected configuration, as defined in the stack template and any values specified as template parameters. For\n more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

" + "smithy.api#documentation": "

Information about whether the resource's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack template\n and any values specified as template parameters. For more information, see Detect\n unmanaged configuration changes to stacks and resources with drift detection.

" } }, "ModuleInfo": { "target": "com.amazonaws.cloudformation#ModuleInfo", "traits": { - "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the resource was created from a\n module included in the stack template.

" + "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the resource\n was created from a module included in the stack template.

" } } }, @@ -12373,14 +12373,14 @@ "PhysicalResourceId": { "target": "com.amazonaws.cloudformation#PhysicalResourceId", "traits": { - "smithy.api#documentation": "

The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.

" + "smithy.api#documentation": "

The name or unique identifier that corresponds to a physical instance ID of a resource\n supported by CloudFormation.

" } }, "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Type of resource. For more information, go to Amazon Web Services Resource Types\n Reference in the CloudFormation User Guide.

", + "smithy.api#documentation": "

Type of resource. For more information, see Amazon Web Services resource and\n property types reference in the CloudFormation User Guide.

", "smithy.api#required": {} } }, @@ -12415,19 +12415,19 @@ "Metadata": { "target": "com.amazonaws.cloudformation#Metadata", "traits": { - "smithy.api#documentation": "

The content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute\n in the CloudFormation User Guide.

" + "smithy.api#documentation": "

The content of the Metadata attribute declared for the resource. For more\n information, see Metadata attribute\n in the CloudFormation User Guide.

" } }, "DriftInformation": { "target": "com.amazonaws.cloudformation#StackResourceDriftInformation", "traits": { - "smithy.api#documentation": "

Information about whether the resource's actual configuration differs, or has drifted, from\n its expected configuration, as defined in the stack template and any values specified as template parameters. For\n more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

" + "smithy.api#documentation": "

Information about whether the resource's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack template\n and any values specified as template parameters. For more information, see Detect\n unmanaged configuration changes to stacks and resources with drift detection.

" } }, "ModuleInfo": { "target": "com.amazonaws.cloudformation#ModuleInfo", "traits": { - "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the resource was created from a\n module included in the stack template.

" + "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the resource\n was created from a module included in the stack template.

" } } }, @@ -12457,13 +12457,13 @@ "PhysicalResourceId": { "target": "com.amazonaws.cloudformation#PhysicalResourceId", "traits": { - "smithy.api#documentation": "

The name or unique identifier that corresponds to a physical instance ID of a resource supported by\n CloudFormation.

" + "smithy.api#documentation": "

The name or unique identifier that corresponds to a physical instance ID of a resource\n supported by CloudFormation.

" } }, "PhysicalResourceIdContext": { "target": "com.amazonaws.cloudformation#PhysicalResourceIdContext", "traits": { - "smithy.api#documentation": "

Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context key-value pairs in\n cases where a resource's logical and physical IDs aren't enough to uniquely identify that resource. Each context\n key-value pair specifies a unique resource that contains the targeted resource.

" + "smithy.api#documentation": "

Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses\n context key-value pairs in cases where a resource's logical and physical IDs aren't enough to\n uniquely identify that resource. Each context key-value pair specifies a unique resource that\n contains the targeted resource.

" } }, "ResourceType": { @@ -12477,26 +12477,26 @@ "ExpectedProperties": { "target": "com.amazonaws.cloudformation#Properties", "traits": { - "smithy.api#documentation": "

A JSON structure containing the expected property values of the stack resource, as defined in the stack template\n and any values specified as template parameters.

\n

For resources whose StackResourceDriftStatus is DELETED, this structure will not be\n present.

" + "smithy.api#documentation": "

A JSON structure containing the expected property values of the stack resource, as defined\n in the stack template and any values specified as template parameters.

\n

For resources whose StackResourceDriftStatus is DELETED, this\n structure will not be present.

" } }, "ActualProperties": { "target": "com.amazonaws.cloudformation#Properties", "traits": { - "smithy.api#documentation": "

A JSON structure containing the actual property values of the stack resource.

\n

For resources whose StackResourceDriftStatus is DELETED, this structure will not be\n present.

" + "smithy.api#documentation": "

A JSON structure containing the actual property values of the stack resource.

\n

For resources whose StackResourceDriftStatus is DELETED, this\n structure will not be present.

" } }, "PropertyDifferences": { "target": "com.amazonaws.cloudformation#PropertyDifferences", "traits": { - "smithy.api#documentation": "

A collection of the resource properties whose actual values differ from their expected values. These will be\n present only for resources whose StackResourceDriftStatus is\n MODIFIED.

" + "smithy.api#documentation": "

A collection of the resource properties whose actual values differ from their expected\n values. These will be present only for resources whose StackResourceDriftStatus is\n MODIFIED.

" } }, "StackResourceDriftStatus": { "target": "com.amazonaws.cloudformation#StackResourceDriftStatus", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Status of the resource's actual configuration compared to its expected configuration.

\n ", + "smithy.api#documentation": "

Status of the resource's actual configuration compared to its expected configuration.

\n ", "smithy.api#required": {} } }, @@ -12511,12 +12511,12 @@ "ModuleInfo": { "target": "com.amazonaws.cloudformation#ModuleInfo", "traits": { - "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the resource was created from a\n module included in the stack template.

" + "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the resource\n was created from a module included in the stack template.

" } } }, "traits": { - "smithy.api#documentation": "

Contains the drift information for a resource that has been checked for drift. This includes actual and expected\n property values for resources in which CloudFormation has detected drift. Only resource properties explicitly defined in the\n stack template are checked for drift. For more information, see Detecting Unregulated Configuration Changes to\n Stacks and Resources.

\n

Resources that don't currently support drift detection can't be checked. For a list of resources that support\n drift detection, see Resources that Support Drift\n Detection.

\n

Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection.

" + "smithy.api#documentation": "

Contains the drift information for a resource that has been checked for drift. This includes\n actual and expected property values for resources in which CloudFormation has detected drift. Only\n resource properties explicitly defined in the stack template are checked for drift. For more\n information, see Detect unmanaged\n configuration changes to stacks and resources with drift detection.

\n

Resources that don't currently support drift detection can't be checked. For a list of\n resources that support drift detection, see Resource type\n support for imports and drift detection.

\n

Use DetectStackResourceDrift to detect drift on individual resources, or\n DetectStackDrift to detect drift on all resources in a given stack that\n support drift detection.

" } }, "com.amazonaws.cloudformation#StackResourceDriftInformation": { @@ -12526,19 +12526,19 @@ "target": "com.amazonaws.cloudformation#StackResourceDriftStatus", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Status of the resource's actual configuration compared to its expected configuration

\n ", + "smithy.api#documentation": "

Status of the resource's actual configuration compared to its expected configuration

\n ", "smithy.api#required": {} } }, "LastCheckTimestamp": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { - "smithy.api#documentation": "

When CloudFormation last checked if the resource had drifted from its expected configuration.

" + "smithy.api#documentation": "

When CloudFormation last checked if the resource had drifted from its expected\n configuration.

" } } }, "traits": { - "smithy.api#documentation": "

Contains information about whether the resource's actual configuration differs, or has\n drifted, from its expected configuration.

" + "smithy.api#documentation": "

Contains information about whether the resource's actual configuration differs, or has\n drifted, from its expected configuration.

" } }, "com.amazonaws.cloudformation#StackResourceDriftInformationSummary": { @@ -12548,19 +12548,19 @@ "target": "com.amazonaws.cloudformation#StackResourceDriftStatus", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Status of the resource's actual configuration compared to its expected configuration.

\n ", + "smithy.api#documentation": "

Status of the resource's actual configuration compared to its expected configuration.

\n ", "smithy.api#required": {} } }, "LastCheckTimestamp": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { - "smithy.api#documentation": "

When CloudFormation last checked if the resource had drifted from its expected configuration.

" + "smithy.api#documentation": "

When CloudFormation last checked if the resource had drifted from its expected\n configuration.

" } } }, "traits": { - "smithy.api#documentation": "

Summarizes information about whether the resource's actual configuration differs, or has\n drifted, from its expected configuration.

" + "smithy.api#documentation": "

Summarizes information about whether the resource's actual configuration differs, or has\n drifted, from its expected configuration.

" } }, "com.amazonaws.cloudformation#StackResourceDriftStatus": { @@ -12630,14 +12630,14 @@ "PhysicalResourceId": { "target": "com.amazonaws.cloudformation#PhysicalResourceId", "traits": { - "smithy.api#documentation": "

The name or unique identifier that corresponds to a physical instance ID of the resource.

" + "smithy.api#documentation": "

The name or unique identifier that corresponds to a physical instance ID of the\n resource.

" } }, "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Type of resource. (For more information, go to Amazon Web Services Resource Types\n Reference in the CloudFormation User Guide.)

", + "smithy.api#documentation": "

Type of resource. (For more information, see Amazon Web Services resource and\n property types reference in the CloudFormation User Guide.)

", "smithy.api#required": {} } }, @@ -12666,13 +12666,13 @@ "DriftInformation": { "target": "com.amazonaws.cloudformation#StackResourceDriftInformationSummary", "traits": { - "smithy.api#documentation": "

Information about whether the resource's actual configuration differs, or has drifted, from\n its expected configuration, as defined in the stack template and any values specified as template parameters. For\n more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

" + "smithy.api#documentation": "

Information about whether the resource's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack template\n and any values specified as template parameters. For more information, see Detect\n unmanaged configuration changes to stacks and resources with drift detection.

" } }, "ModuleInfo": { "target": "com.amazonaws.cloudformation#ModuleInfo", "traits": { - "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the resource was created from a\n module included in the stack template.

" + "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the resource\n was created from a module included in the stack template.

" } } }, @@ -12728,7 +12728,7 @@ "Capabilities": { "target": "com.amazonaws.cloudformation#Capabilities", "traits": { - "smithy.api#documentation": "

The capabilities that are allowed in the stack set. Some stack set templates might include resources that can\n affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in CloudFormation\n Templates.\n

" + "smithy.api#documentation": "

The capabilities that are allowed in the stack set. Some stack set templates might include resources that can\n affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM resources in\n CloudFormation templates.

" } }, "Tags": { @@ -13009,7 +13009,7 @@ "Status": { "target": "com.amazonaws.cloudformation#StackSetOperationStatus", "traits": { - "smithy.api#documentation": "

The status of the operation.

\n " + "smithy.api#documentation": "

The status of the operation.

\n " } }, "OperationPreferences": { @@ -13057,7 +13057,7 @@ "StackSetDriftDetectionDetails": { "target": "com.amazonaws.cloudformation#StackSetDriftDetectionDetails", "traits": { - "smithy.api#documentation": "

Detailed information about the drift status of the stack set. This includes information about drift operations\n currently being performed on the stack set.

\n

This information will only be present for stack set operations whose Action type is\n DETECT_DRIFT.

\n

For more information, see Detecting Unmanaged Changes in Stack Sets in\n the CloudFormation User Guide.

" + "smithy.api#documentation": "

Detailed information about the drift status of the stack set. This includes information about drift operations\n currently being performed on the stack set.

\n

This information will only be present for stack set operations whose Action type is\n DETECT_DRIFT.

\n

For more information, see Detect stack set drift in\n the CloudFormation User Guide.

" } }, "StatusReason": { @@ -13153,7 +13153,7 @@ } }, "traits": { - "smithy.api#documentation": "

The user-specified preferences for how CloudFormation performs a stack set operation.

\n

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation\n options.

" + "smithy.api#documentation": "

The user-specified preferences for how CloudFormation performs a stack set operation.

\n

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation\n options.

" } }, "com.amazonaws.cloudformation#StackSetOperationResultStatus": { @@ -13323,7 +13323,7 @@ "Status": { "target": "com.amazonaws.cloudformation#StackSetOperationStatus", "traits": { - "smithy.api#documentation": "

The overall status of the operation.

\n " + "smithy.api#documentation": "

The overall status of the operation.

\n " } }, "CreationTimestamp": { @@ -13353,7 +13353,7 @@ "OperationPreferences": { "target": "com.amazonaws.cloudformation#StackSetOperationPreferences", "traits": { - "smithy.api#documentation": "

The user-specified preferences for how CloudFormation performs a stack set operation.

\n

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation\n options.

" + "smithy.api#documentation": "

The user-specified preferences for how CloudFormation performs a stack set operation.

\n

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation\n options.

" } } }, @@ -13638,7 +13638,7 @@ "LastUpdatedTime": { "target": "com.amazonaws.cloudformation#LastUpdatedTime", "traits": { - "smithy.api#documentation": "

The time the stack was last updated. This field will only be returned if the stack has been updated at least\n once.

" + "smithy.api#documentation": "

The time the stack was last updated. This field will only be returned if the stack has been\n updated at least once.

" } }, "DeletionTime": { @@ -13664,19 +13664,19 @@ "ParentId": { "target": "com.amazonaws.cloudformation#StackId", "traits": { - "smithy.api#documentation": "

For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this\n stack. For the first level of nested stacks, the root stack is also the parent stack.

\n

For more information, see Working with Nested Stacks in the\n CloudFormation User Guide.

" + "smithy.api#documentation": "

For nested stacks--stacks created as resources for another stack--the stack ID of the direct\n parent of this stack. For the first level of nested stacks, the root stack is also the parent\n stack.

\n

For more information, see Embed stacks within other\n stacks using nested stacks in the CloudFormation User Guide.

" } }, "RootId": { "target": "com.amazonaws.cloudformation#StackId", "traits": { - "smithy.api#documentation": "

For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which\n the nested stack ultimately belongs.

\n

For more information, see Working with Nested Stacks in the\n CloudFormation User Guide.

" + "smithy.api#documentation": "

For nested stacks--stacks created as resources for another stack--the stack ID of the\n top-level stack to which the nested stack ultimately belongs.

\n

For more information, see Embed stacks within other\n stacks using nested stacks in the CloudFormation User Guide.

" } }, "DriftInformation": { "target": "com.amazonaws.cloudformation#StackDriftInformationSummary", "traits": { - "smithy.api#documentation": "

Summarizes information about whether a stack's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack template and any values\n specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to\n Stacks and Resources.

" + "smithy.api#documentation": "

Summarizes information about whether a stack's actual configuration differs, or has\n drifted, from its expected configuration, as defined in the stack template\n and any values specified as template parameters. For more information, see Detect\n unmanaged configuration changes to stacks and resources with drift detection.

" } } }, @@ -13730,7 +13730,7 @@ } ], "traits": { - "smithy.api#documentation": "

Starts a scan of the resources in this account in this Region. You can the status of a scan using the\n ListResourceScans API action.

", + "smithy.api#documentation": "

Starts a scan of the resources in this account in this Region. You can the status of a\n scan using the ListResourceScans API action.

", "smithy.api#examples": [ { "title": "To start a resource scan", @@ -13748,7 +13748,7 @@ "ClientRequestToken": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

A unique identifier for this StartResourceScan request. Specify this token if you plan to retry\n requests so that CloudFormation knows that you're not attempting to start a new resource scan.

" + "smithy.api#documentation": "

A unique identifier for this StartResourceScan request. Specify this token if\n you plan to retry requests so that CloudFormation knows that you're not attempting to start a new\n resource scan.

" } } }, @@ -13762,7 +13762,7 @@ "ResourceScanId": { "target": "com.amazonaws.cloudformation#ResourceScanId", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource scan. The format is\n arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}. An example is\n arn:aws:cloudformation:us-east-1:123456789012:resourceScan/f5b490f7-7ed4-428a-aa06-31ff25db0772\n .

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource scan. The format is\n arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}. An\n example is\n arn:aws:cloudformation:us-east-1:123456789012:resourceScan/f5b490f7-7ed4-428a-aa06-31ff25db0772\n .

" } } }, @@ -13824,7 +13824,7 @@ "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " } } }, @@ -13861,7 +13861,7 @@ "target": "com.amazonaws.cloudformation#TagKey", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

\n Required. A string used to identify this tag. You can specify a maximum of 128 characters\n for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix:\n aws:.

", + "smithy.api#documentation": "

\n Required. A string used to identify this tag. You can specify a maximum of\n 128 characters for a tag key. Tags owned by Amazon Web Services have the reserved prefix:\n aws:.

", "smithy.api#required": {} } }, @@ -13869,13 +13869,13 @@ "target": "com.amazonaws.cloudformation#TagValue", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

\n Required. A string containing the value for this tag. You can specify a maximum of 256\n characters for a tag value.

", + "smithy.api#documentation": "

\n Required. A string containing the value for this tag. You can specify a\n maximum of 256 characters for a tag value.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

The Tag type enables you to specify a key-value pair that can be used to store information about an CloudFormation stack.

" + "smithy.api#documentation": "

The Tag type enables you to specify a key-value pair that can be used to store information\n about an CloudFormation stack.

" } }, "com.amazonaws.cloudformation#TagKey": { @@ -13922,13 +13922,13 @@ "DeletionPolicy": { "target": "com.amazonaws.cloudformation#GeneratedTemplateDeletionPolicy", "traits": { - "smithy.api#documentation": "

The DeletionPolicy assigned to resources in the generated template. Supported values are:

\n \n

For more information, see DeletionPolicy attribute in the\n CloudFormation User Guide.

" + "smithy.api#documentation": "

The DeletionPolicy assigned to resources in the generated template. Supported\n values are:

\n \n

For more information, see DeletionPolicy\n attribute in the CloudFormation User Guide.

" } }, "UpdateReplacePolicy": { "target": "com.amazonaws.cloudformation#GeneratedTemplateUpdateReplacePolicy", "traits": { - "smithy.api#documentation": "

The UpdateReplacePolicy assigned to resources in the generated template. Supported values\n are:

\n \n

For more information, see UpdateReplacePolicy\n attribute in the CloudFormation User Guide.

" + "smithy.api#documentation": "

The UpdateReplacePolicy assigned to resources in the generated template.\n Supported values are:

\n \n

For more information, see UpdateReplacePolicy attribute in the CloudFormation User Guide.

" } } }, @@ -13974,7 +13974,7 @@ "NoEcho": { "target": "com.amazonaws.cloudformation#NoEcho", "traits": { - "smithy.api#documentation": "

Flag indicating whether the parameter should be displayed as plain text in logs and UIs.

" + "smithy.api#documentation": "

Flag indicating whether the parameter should be displayed as plain text in logs and\n UIs.

" } }, "Description": { @@ -14064,7 +14064,7 @@ "GeneratedTemplateId": { "target": "com.amazonaws.cloudformation#GeneratedTemplateId", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the generated template. The format is\n arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}. For example,\n arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc\n .

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the generated template. The format is\n arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}. For\n example,\n arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc\n .

" } }, "GeneratedTemplateName": { @@ -14082,7 +14082,7 @@ "StatusReason": { "target": "com.amazonaws.cloudformation#TemplateStatusReason", "traits": { - "smithy.api#documentation": "

The reason for the current template generation status. This will provide more details if a failure\n happened.

" + "smithy.api#documentation": "

The reason for the current template generation status. This will provide more details if a\n failure happened.

" } }, "CreationTime": { @@ -14100,7 +14100,7 @@ "NumberOfResources": { "target": "com.amazonaws.cloudformation#NumberOfResources", "traits": { - "smithy.api#documentation": "

The number of resources in the generated template. This is a total of resources in pending, in-progress,\n completed, and failed states.

" + "smithy.api#documentation": "

The number of resources in the generated template. This is a total of resources in pending,\n in-progress, completed, and failed states.

" } } }, @@ -14114,7 +14114,7 @@ "TreatUnrecognizedResourceTypesAsWarnings": { "target": "com.amazonaws.cloudformation#TreatUnrecognizedResourceTypesAsWarnings", "traits": { - "smithy.api#documentation": "

If set to True, any unrecognized resource types generate warnings and not an error. Any\n unrecognized resource types are returned in the Warnings output parameter.

" + "smithy.api#documentation": "

If set to True, any unrecognized resource types generate warnings and not an\n error. Any unrecognized resource types are returned in the Warnings output\n parameter.

" } } }, @@ -14148,7 +14148,7 @@ } ], "traits": { - "smithy.api#documentation": "

Tests a registered extension to make sure it meets all necessary requirements for being published in the CloudFormation registry.

\n \n

For more information, see Testing your public\n extension prior to publishing in the CloudFormation CLI User Guide.

\n

If you don't specify a version, CloudFormation uses the default version of the extension in your account and Region\n for testing.

\n

To perform testing, CloudFormation assumes the execution role specified when the type was registered. For more\n information, see RegisterType.

\n

Once you've initiated testing on an extension using TestType, you can pass the returned\n TypeVersionArn into DescribeType to monitor the current test\n status and test status description for the extension.

\n

An extension must have a test status of PASSED before it can be published. For more information,\n see Publishing\n extensions to make them available for public use in the CloudFormation CLI User\n Guide.

", + "smithy.api#documentation": "

Tests a registered extension to make sure it meets all necessary requirements for being\n published in the CloudFormation registry.

\n \n

For more information, see Testing your public extension before publishing in the\n CloudFormation Command Line Interface (CLI) User Guide.

\n

If you don't specify a version, CloudFormation uses the default version of the extension in\n your account and Region for testing.

\n

To perform testing, CloudFormation assumes the execution role specified when the type was\n registered. For more information, see RegisterType.

\n

Once you've initiated testing on an extension using TestType, you can pass\n the returned TypeVersionArn into DescribeType to\n monitor the current test status and test status description for the extension.

\n

An extension must have a test status of PASSED before it can be published.\n For more information, see Publishing extensions\n to make them available for public use in the\n CloudFormation Command Line Interface (CLI) User Guide.

", "smithy.api#idempotent": {} } }, @@ -14158,31 +14158,31 @@ "Arn": { "target": "com.amazonaws.cloudformation#TypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension.

\n

Conditional: You must specify Arn, or TypeName and Type.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension.

\n

Conditional: You must specify Arn, or TypeName and\n Type.

" } }, "Type": { "target": "com.amazonaws.cloudformation#ThirdPartyType", "traits": { - "smithy.api#documentation": "

The type of the extension to test.

\n

Conditional: You must specify Arn, or TypeName and Type.

" + "smithy.api#documentation": "

The type of the extension to test.

\n

Conditional: You must specify Arn, or TypeName and\n Type.

" } }, "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The name of the extension to test.

\n

Conditional: You must specify Arn, or TypeName and Type.

" + "smithy.api#documentation": "

The name of the extension to test.

\n

Conditional: You must specify Arn, or TypeName and\n Type.

" } }, "VersionId": { "target": "com.amazonaws.cloudformation#TypeVersionId", "traits": { - "smithy.api#documentation": "

The version of the extension to test.

\n

You can specify the version id with either Arn, or with TypeName and\n Type.

\n

If you don't specify a version, CloudFormation uses the default version of the extension in this account and Region\n for testing.

" + "smithy.api#documentation": "

The version of the extension to test.

\n

You can specify the version id with either Arn, or with TypeName\n and Type.

\n

If you don't specify a version, CloudFormation uses the default version of the extension in\n this account and Region for testing.

" } }, "LogDeliveryBucket": { "target": "com.amazonaws.cloudformation#S3Bucket", "traits": { - "smithy.api#documentation": "

The S3 bucket to which CloudFormation delivers the contract test execution logs.

\n

CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a\n test type status of PASSED or FAILED.

\n

The user calling TestType must be able to access items in the specified S3 bucket. Specifically,\n the user needs the following permissions:

\n \n

For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.

" + "smithy.api#documentation": "

The S3 bucket to which CloudFormation delivers the contract test execution logs.

\n

CloudFormation delivers the logs by the time contract testing has completed and the extension\n has been assigned a test type status of PASSED or FAILED.

\n

The user calling TestType must be able to access items in the specified S3\n bucket. Specifically, the user needs the following permissions:

\n \n

For more information, see Actions, Resources, and\n Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

" } } }, @@ -14342,31 +14342,31 @@ "Arn": { "target": "com.amazonaws.cloudformation#TypeConfigurationArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the configuration data, in this account and Region.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the configuration data, in this account and\n Region.

" } }, "Alias": { "target": "com.amazonaws.cloudformation#TypeConfigurationAlias", "traits": { - "smithy.api#documentation": "

The alias specified for this configuration, if one was specified when the configuration was set.

" + "smithy.api#documentation": "

The alias specified for this configuration, if one was specified when the configuration was\n set.

" } }, "Configuration": { "target": "com.amazonaws.cloudformation#TypeConfiguration", "traits": { - "smithy.api#documentation": "

A JSON string specifying the configuration data for the extension, in this account and Region.

\n

If a configuration hasn't been set for a specified extension, CloudFormation returns {}.

" + "smithy.api#documentation": "

A JSON string specifying the configuration data for the extension, in this account and\n Region.

\n

If a configuration hasn't been set for a specified extension, CloudFormation returns\n {}.

" } }, "LastUpdated": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { - "smithy.api#documentation": "

When the configuration data was last updated for this extension.

\n

If a configuration hasn't been set for a specified extension, CloudFormation returns null.

" + "smithy.api#documentation": "

When the configuration data was last updated for this extension.

\n

If a configuration hasn't been set for a specified extension, CloudFormation returns\n null.

" } }, "TypeArn": { "target": "com.amazonaws.cloudformation#TypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the extension, in this account and Region.

\n

For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account\n and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account\n and Region.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the extension, in this account and Region.

\n

For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this\n will be the ARN assigned when you call the RegisterType API\n operation in this account and Region.

" } }, "TypeName": { @@ -14383,7 +14383,7 @@ } }, "traits": { - "smithy.api#documentation": "

Detailed information concerning the specification of a CloudFormation extension in a given account and\n Region.

\n

For more information, see Configuring extensions at\n the account level in the CloudFormation User Guide.

" + "smithy.api#documentation": "

Detailed information concerning the specification of a CloudFormation extension in a given\n account and Region.

\n

For more information, see Edit configuration data\n for extensions in your account in the CloudFormation User Guide.

" } }, "com.amazonaws.cloudformation#TypeConfigurationDetailsList": { @@ -14398,13 +14398,13 @@ "TypeArn": { "target": "com.amazonaws.cloudformation#TypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the extension, in this account and Region.

\n

For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account\n and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account\n and Region.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the extension, in this account and Region.

\n

For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this\n will be the ARN assigned when you call the RegisterType API\n operation in this account and Region.

" } }, "TypeConfigurationAlias": { "target": "com.amazonaws.cloudformation#TypeConfigurationAlias", "traits": { - "smithy.api#documentation": "

The alias specified for this configuration, if one was specified when the configuration was set.

" + "smithy.api#documentation": "

The alias specified for this configuration, if one was specified when the configuration was\n set.

" } }, "TypeConfigurationArn": { @@ -14447,7 +14447,7 @@ "Message": { "target": "com.amazonaws.cloudformation#ErrorMessage", "traits": { - "smithy.api#documentation": "

An message with details about the error that occurred.

" + "smithy.api#documentation": "

A message with details about the error that occurred.

" } } }, @@ -14467,13 +14467,13 @@ "Category": { "target": "com.amazonaws.cloudformation#Category", "traits": { - "smithy.api#documentation": "

The category of extensions to return.

\n " + "smithy.api#documentation": "

The category of extensions to return.

\n " } }, "PublisherId": { "target": "com.amazonaws.cloudformation#PublisherId", "traits": { - "smithy.api#documentation": "

The id of the publisher of the extension.

\n

Extensions published by Amazon aren't assigned a publisher ID. Use the AWS_TYPES category to\n specify a list of types published by Amazon.

" + "smithy.api#documentation": "

The id of the publisher of the extension.

\n

Extensions published by Amazon aren't assigned a publisher ID. Use the\n AWS_TYPES category to specify a list of types published by Amazon.

" } }, "TypeNamePrefix": { @@ -14516,7 +14516,7 @@ "Message": { "target": "com.amazonaws.cloudformation#ErrorMessage", "traits": { - "smithy.api#documentation": "

An message with details about the error that occurred.

" + "smithy.api#documentation": "

A message with details about the error that occurred.

" } } }, @@ -14557,13 +14557,13 @@ "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The name of the extension.

\n

If you specified a TypeNameAlias when you call the ActivateType API operation in your account\n and Region, CloudFormation considers that alias as the type name.

" + "smithy.api#documentation": "

The name of the extension.

\n

If you specified a TypeNameAlias when you call the ActivateType API\n operation in your account and Region, CloudFormation considers that alias as the type name.

" } }, "DefaultVersionId": { "target": "com.amazonaws.cloudformation#TypeVersionId", "traits": { - "smithy.api#documentation": "

The ID of the default version of the extension. The default version is used when the extension version isn't\n specified.

\n

This applies only to private extensions you have registered in your account. For public extensions, both those\n provided by Amazon and published by third parties, CloudFormation returns null. For more information, see\n RegisterType.

\n

To set the default version of an extension, use SetTypeDefaultVersion.

" + "smithy.api#documentation": "

The ID of the default version of the extension. The default version is used when the\n extension version isn't specified.

\n

This applies only to private extensions you have registered in your account. For public\n extensions, both those provided by Amazon and published by third parties, CloudFormation returns\n null. For more information, see RegisterType.

\n

To set the default version of an extension, use SetTypeDefaultVersion.

" } }, "TypeArn": { @@ -14575,7 +14575,7 @@ "LastUpdated": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { - "smithy.api#documentation": "

When the specified extension version was registered. This applies only to:

\n \n

For all other extension types, CloudFormation returns null.

" + "smithy.api#documentation": "

When the specified extension version was registered. This applies only to:

\n \n

For all other extension types, CloudFormation returns null.

" } }, "Description": { @@ -14587,43 +14587,43 @@ "PublisherId": { "target": "com.amazonaws.cloudformation#PublisherId", "traits": { - "smithy.api#documentation": "

The ID of the extension publisher, if the extension is published by a third party. Extensions published by\n Amazon don't return a publisher ID.

" + "smithy.api#documentation": "

The ID of the extension publisher, if the extension is published by a third party.\n Extensions published by Amazon don't return a publisher ID.

" } }, "OriginalTypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

For public extensions that have been activated for this account and Region, the type name of the public\n extension.

\n

If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of\n the public extension. For more information, see Specifying aliases to\n refer to extensions in the CloudFormation User Guide.

" + "smithy.api#documentation": "

For public extensions that have been activated for this account and Region, the type name of\n the public extension.

\n

If you specified a TypeNameAlias when enabling the extension in this account\n and Region, CloudFormation treats that alias as the extension's type name within the account and\n Region, not the type name of the public extension. For more information, see Use\n aliases to refer to extensions in the CloudFormation User Guide.

" } }, "PublicVersionNumber": { "target": "com.amazonaws.cloudformation#PublicVersionNumber", "traits": { - "smithy.api#documentation": "

For public extensions that have been activated for this account and Region, the version of the public extension\n to be used for CloudFormation operations in this account and Region.

\n

How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically\n updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the\n CloudFormation User Guide.

" + "smithy.api#documentation": "

For public extensions that have been activated for this account and Region, the version of\n the public extension to be used for CloudFormation operations in this account and Region.

\n

How you specified AutoUpdate when enabling the extension affects whether\n CloudFormation automatically updates the extension in this account and Region when a new version is\n released. For more information, see Automatically use new versions of extensions in the\n CloudFormation User Guide.

" } }, "LatestPublicVersion": { "target": "com.amazonaws.cloudformation#PublicVersionNumber", "traits": { - "smithy.api#documentation": "

For public extensions that have been activated for this account and Region, the latest version of the public\n extension that is available. For any extensions other than activated third-arty extensions,\n CloudFormation returns null.

\n

How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically\n updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the\n CloudFormation User Guide.

" + "smithy.api#documentation": "

For public extensions that have been activated for this account and Region, the latest\n version of the public extension that is available. For any extensions other\n than activated third-party extensions, CloudFormation returns null.

\n

How you specified AutoUpdate when enabling the extension affects whether\n CloudFormation automatically updates the extension in this account and Region when a new version is\n released. For more information, see Automatically use new versions of extensions in the\n CloudFormation User Guide.

" } }, "PublisherIdentity": { "target": "com.amazonaws.cloudformation#IdentityProvider", "traits": { - "smithy.api#documentation": "

The service used to verify the publisher identity.

\n

For more information, see Registering your account to publish CloudFormation extensions in the CFN-CLI User Guide for Extension Development.

" + "smithy.api#documentation": "

The service used to verify the publisher identity.

\n

For more information, see Publishing extensions to make\n them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

" } }, "PublisherName": { "target": "com.amazonaws.cloudformation#PublisherName", "traits": { - "smithy.api#documentation": "

The publisher name, as defined in the public profile for that publisher in the service used to verify the\n publisher identity.

" + "smithy.api#documentation": "

The publisher name, as defined in the public profile for that publisher in the service used\n to verify the publisher identity.

" } }, "IsActivated": { "target": "com.amazonaws.cloudformation#IsActivated", "traits": { - "smithy.api#documentation": "

Whether the extension is activated for this account and Region.

\n

This applies only to third-party public extensions. Extensions published by Amazon are activated by\n default.

" + "smithy.api#documentation": "

Whether the extension is activated for this account and Region.

\n

This applies only to third-party public extensions. Extensions published by Amazon are\n activated by default.

" } } }, @@ -14704,13 +14704,13 @@ "VersionId": { "target": "com.amazonaws.cloudformation#TypeVersionId", "traits": { - "smithy.api#documentation": "

The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource\n Name (ARN) assigned to the extension version when it's registered.

" + "smithy.api#documentation": "

The ID of a specific version of the extension. The version ID is the value at the end of the\n Amazon Resource Name (ARN) assigned to the extension version when it's registered.

" } }, "IsDefaultVersion": { "target": "com.amazonaws.cloudformation#IsDefaultVersion", "traits": { - "smithy.api#documentation": "

Whether the specified extension version is set as the default version.

\n

This applies only to private extensions you have registered in your account, and extensions published by Amazon.\n For public third-party extensions, CloudFormation returns null.

" + "smithy.api#documentation": "

Whether the specified extension version is set as the default version.

\n

This applies only to private extensions you have registered in your account, and extensions\n published by Amazon. For public third-party extensions, CloudFormation returns\n null.

" } }, "Arn": { @@ -14734,7 +14734,7 @@ "PublicVersionNumber": { "target": "com.amazonaws.cloudformation#PublicVersionNumber", "traits": { - "smithy.api#documentation": "

For public extensions that have been activated for this account and Region, the version of the public extension\n to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-arty\n extensions, CloudFormation returns null.

\n

How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically\n updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the\n CloudFormation User Guide.

" + "smithy.api#documentation": "

For public extensions that have been activated for this account and Region, the version of\n the public extension to be used for CloudFormation operations in this account and Region. For any\n extensions other than activated third-party extensions, CloudFormation returns\n null.

\n

How you specified AutoUpdate when enabling the extension affects whether\n CloudFormation automatically updates the extension in this account and Region when a new version is\n released. For more information, see Automatically use new versions of extensions in the\n CloudFormation User Guide.

" } } }, @@ -14768,51 +14768,51 @@ } ], "traits": { - "smithy.api#documentation": "

Updates a generated template. This can be used to change the name, add and remove resources, refresh resources,\n and change the DeletionPolicy and UpdateReplacePolicy settings. You can check the status of\n the update to the generated template using the DescribeGeneratedTemplate API action.

", + "smithy.api#documentation": "

Updates a generated template. This can be used to change the name, add and remove\n resources, refresh resources, and change the DeletionPolicy and\n UpdateReplacePolicy settings. You can check the status of the update to the\n generated template using the DescribeGeneratedTemplate API action.

", "smithy.api#examples": [ { - "title": "To update a generated template's name", - "documentation": "This example updates a generated template with a new name.", + "title": "To add resources to a generated template", + "documentation": "This example adds resources to a generated template", "input": { "GeneratedTemplateName": "JazzyTemplate", - "NewGeneratedTemplateName": "JazzierTemplate" + "AddResources": [ + { + "ResourceType": "AWS::S3::Bucket", + "ResourceIdentifier": { + "BucketName": "jazz-bucket" + } + }, + { + "ResourceType": "AWS::EC2::DHCPOptions", + "ResourceIdentifier": { + "DhcpOptionsId": "random-id123" + } + } + ] }, "output": { "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca" } }, { - "title": "To remove resources from a generated template", - "documentation": "This example removes resources from a generated template", + "title": "To update a generated template's name", + "documentation": "This example updates a generated template with a new name.", "input": { "GeneratedTemplateName": "JazzyTemplate", - "RemoveResources": [ - "LogicalResourceId1", - "LogicalResourceId2" - ] + "NewGeneratedTemplateName": "JazzierTemplate" }, "output": { "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca" } }, { - "title": "To add resources to a generated template", - "documentation": "This example adds resources to a generated template", + "title": "To remove resources from a generated template", + "documentation": "This example removes resources from a generated template", "input": { "GeneratedTemplateName": "JazzyTemplate", - "AddResources": [ - { - "ResourceType": "AWS::S3::Bucket", - "ResourceIdentifier": { - "BucketName": "jazz-bucket" - } - }, - { - "ResourceType": "AWS::EC2::DHCPOptions", - "ResourceIdentifier": { - "DhcpOptionsId": "random-id123" - } - } + "RemoveResources": [ + "LogicalResourceId1", + "LogicalResourceId2" ] }, "output": { @@ -14854,13 +14854,13 @@ "RefreshAllResources": { "target": "com.amazonaws.cloudformation#RefreshAllResources", "traits": { - "smithy.api#documentation": "

If true, update the resource properties in the generated template with their current live state.\n This feature is useful when the resource properties in your generated a template does not reflect the live state of\n the resource properties. This happens when a user update the resource properties after generating a template.

" + "smithy.api#documentation": "

If true, update the resource properties in the generated template with their\n current live state. This feature is useful when the resource properties in your generated a\n template does not reflect the live state of the resource properties. This happens when a user\n update the resource properties after generating a template.

" } }, "TemplateConfiguration": { "target": "com.amazonaws.cloudformation#TemplateConfiguration", "traits": { - "smithy.api#documentation": "

The configuration details of the generated template, including the DeletionPolicy and\n UpdateReplacePolicy.

" + "smithy.api#documentation": "

The configuration details of the generated template, including the\n DeletionPolicy and UpdateReplacePolicy.

" } } }, @@ -14874,7 +14874,7 @@ "GeneratedTemplateId": { "target": "com.amazonaws.cloudformation#GeneratedTemplateId", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the generated template. The format is\n arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}. For example,\n arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc\n .

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the generated template. The format is\n arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}.\n For example,\n arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc\n .

" } } }, @@ -14899,7 +14899,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates a stack as specified in the template. After the call completes successfully, the stack update starts.\n You can check the status of the stack through the DescribeStacks action.

\n

To get a copy of the template for an existing stack, you can use the GetTemplate\n action.

\n

For more information about creating an update template, updating a stack, and monitoring the progress of the\n update, see Updating a Stack.

" + "smithy.api#documentation": "

Updates a stack as specified in the template. After the call completes successfully, the\n stack update starts. You can check the status of the stack through the DescribeStacks action.

\n

To get a copy of the template for an existing stack, you can use the GetTemplate action.

\n

For more information about updating a stack and monitoring the progress of the update, see\n Managing\n Amazon Web Services resources as a single unit with CloudFormation stacks in the\n CloudFormation User Guide.

" } }, "com.amazonaws.cloudformation#UpdateStackInput": { @@ -14916,85 +14916,85 @@ "TemplateBody": { "target": "com.amazonaws.cloudformation#TemplateBody", "traits": { - "smithy.api#documentation": "

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.\n (For more information, go to Template Anatomy in the\n CloudFormation User Guide.)

\n

Conditional: You must specify only one of the following parameters: TemplateBody,\n TemplateURL, or set the UsePreviousTemplate to true.

" + "smithy.api#documentation": "

Structure containing the template body with a minimum length of 1 byte and a maximum\n length of 51,200 bytes.

\n

Conditional: You must specify only one of the following parameters:\n TemplateBody, TemplateURL, or set the\n UsePreviousTemplate to true.

" } }, "TemplateURL": { "target": "com.amazonaws.cloudformation#TemplateURL", "traits": { - "smithy.api#documentation": "

Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the\n CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

\n

Conditional: You must specify only one of the following parameters: TemplateBody,\n TemplateURL, or set the UsePreviousTemplate to true.

" + "smithy.api#documentation": "

Location of file containing the template body. The URL must point to a template that's\n located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must\n start with https://.

\n

Conditional: You must specify only one of the following parameters:\n TemplateBody, TemplateURL, or set the\n UsePreviousTemplate to true.

" } }, "UsePreviousTemplate": { "target": "com.amazonaws.cloudformation#UsePreviousTemplate", "traits": { - "smithy.api#documentation": "

Reuse the existing template that is associated with the stack that you are updating.

\n

Conditional: You must specify only one of the following parameters: TemplateBody,\n TemplateURL, or set the UsePreviousTemplate to true.

" + "smithy.api#documentation": "

Reuse the existing template that is associated with the stack that you are\n updating.

\n

Conditional: You must specify only one of the following parameters:\n TemplateBody, TemplateURL, or set the\n UsePreviousTemplate to true.

" } }, "StackPolicyDuringUpdateBody": { "target": "com.amazonaws.cloudformation#StackPolicyDuringUpdateBody", "traits": { - "smithy.api#documentation": "

Structure containing the temporary overriding stack policy body. You can specify either the\n StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not\n both.

\n

If you want to update protected resources, specify a temporary overriding stack policy during this update. If\n you don't specify a stack policy, the current policy that is associated with the stack will be used.

" + "smithy.api#documentation": "

Structure containing the temporary overriding stack policy body. You can specify either\n the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL\n parameter, but not both.

\n

If you want to update protected resources, specify a temporary overriding stack policy\n during this update. If you don't specify a stack policy, the current policy that is associated\n with the stack will be used.

" } }, "StackPolicyDuringUpdateURL": { "target": "com.amazonaws.cloudformation#StackPolicyDuringUpdateURL", "traits": { - "smithy.api#documentation": "

Location of a file containing the temporary overriding stack policy. The URL must point to a policy (max size:\n 16KB) located in an S3 bucket in the same Region as the stack. The location for an Amazon S3 bucket must start with\n https://. You can specify either the StackPolicyDuringUpdateBody or the\n StackPolicyDuringUpdateURL parameter, but not both.

\n

If you want to update protected resources, specify a temporary overriding stack policy during this update. If\n you don't specify a stack policy, the current policy that is associated with the stack will be used.

" + "smithy.api#documentation": "

Location of a file containing the temporary overriding stack policy. The URL must point to\n a policy (max size: 16KB) located in an S3 bucket in the same Region as the stack. The\n location for an Amazon S3 bucket must start with https://. You can specify either the\n StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL\n parameter, but not both.

\n

If you want to update protected resources, specify a temporary overriding stack policy\n during this update. If you don't specify a stack policy, the current policy that is associated\n with the stack will be used.

" } }, "Parameters": { "target": "com.amazonaws.cloudformation#Parameters", "traits": { - "smithy.api#documentation": "

A list of Parameter structures that specify input parameters for the stack. For more information,\n see the Parameter\n data type.

" + "smithy.api#documentation": "

A list of Parameter structures that specify input parameters for the stack.\n For more information, see the Parameter data\n type.

" } }, "Capabilities": { "target": "com.amazonaws.cloudformation#Capabilities", "traits": { - "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order\n for CloudFormation to update the stack.

\n \n \n

Only one of the Capabilities and ResourceType parameters can be specified.

\n
" + "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack template contains certain\n capabilities in order for CloudFormation to update the stack.

\n \n \n

Only one of the Capabilities and ResourceType parameters can\n be specified.

\n
" } }, "ResourceTypes": { "target": "com.amazonaws.cloudformation#ResourceTypes", "traits": { - "smithy.api#documentation": "

The template resource types that you have permissions to work with for this update stack action, such as\n AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

\n

If the list of resource types doesn't include a resource that you're updating, the stack update fails. By\n default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for\n CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

\n \n

Only one of the Capabilities and ResourceType parameters can be specified.

\n
" + "smithy.api#documentation": "

The template resource types that you have permissions to work with for this update stack\n action, such as AWS::EC2::Instance, AWS::EC2::*, or\n Custom::MyCustomInstance.

\n

If the list of resource types doesn't include a resource that you're updating, the stack\n update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this\n parameter for CloudFormation-specific condition keys in IAM policies. For more information, see\n Control access with Identity and Access Management.

\n \n

Only one of the Capabilities and ResourceType parameters can\n be specified.

\n
" } }, "RoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to\n update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role\n for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses\n this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

\n

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role\n is available, CloudFormation uses a temporary session that is generated from your user credentials.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to update the\n stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always\n uses this role for all future operations on the stack. Provided that users have permission to\n operate on the stack, CloudFormation uses this role even if the users don't have permission to\n pass it. Ensure that the role grants least privilege.

\n

If you don't specify a value, CloudFormation uses the role that was previously associated with\n the stack. If no role is available, CloudFormation uses a temporary session that is generated from\n your user credentials.

" } }, "RollbackConfiguration": { "target": "com.amazonaws.cloudformation#RollbackConfiguration", "traits": { - "smithy.api#documentation": "

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the\n specified monitoring period afterwards.

" + "smithy.api#documentation": "

The rollback triggers for CloudFormation to monitor during stack creation and updating\n operations, and for the specified monitoring period afterwards.

" } }, "StackPolicyBody": { "target": "com.amazonaws.cloudformation#StackPolicyBody", "traits": { - "smithy.api#documentation": "

Structure containing a new stack policy body. You can specify either the StackPolicyBody or the\n StackPolicyURL parameter, but not both.

\n

You might update the stack policy, for example, in order to protect a new resource that you created during a\n stack update. If you don't specify a stack policy, the current policy that is associated with the stack is\n unchanged.

" + "smithy.api#documentation": "

Structure containing a new stack policy body. You can specify either the\n StackPolicyBody or the StackPolicyURL parameter, but not\n both.

\n

You might update the stack policy, for example, in order to protect a new resource that\n you created during a stack update. If you don't specify a stack policy, the current policy\n that is associated with the stack is unchanged.

" } }, "StackPolicyURL": { "target": "com.amazonaws.cloudformation#StackPolicyURL", "traits": { - "smithy.api#documentation": "

Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) located\n in an S3 bucket in the same Region as the stack. The location for an Amazon S3 bucket must start with\n https://. You can specify either the StackPolicyBody or the StackPolicyURL\n parameter, but not both.

\n

You might update the stack policy, for example, in order to protect a new resource that you created during a\n stack update. If you don't specify a stack policy, the current policy that is associated with the stack is\n unchanged.

" + "smithy.api#documentation": "

Location of a file containing the updated stack policy. The URL must point to a policy\n (max size: 16KB) located in an S3 bucket in the same Region as the stack. The location for an\n Amazon S3 bucket must start with https://. You can specify either the\n StackPolicyBody or the StackPolicyURL parameter, but not\n both.

\n

You might update the stack policy, for example, in order to protect a new resource that\n you created during a stack update. If you don't specify a stack policy, the current policy\n that is associated with the stack is unchanged.

" } }, "NotificationARNs": { "target": "com.amazonaws.cloudformation#NotificationARNs", "traits": { - "smithy.api#documentation": "

Amazon Simple Notification Service topic Amazon Resource Names (ARNs) that CloudFormation associates with the stack.\n Specify an empty list to remove all notification topics.

" + "smithy.api#documentation": "

Amazon Simple Notification Service topic Amazon Resource Names (ARNs) that CloudFormation\n associates with the stack. Specify an empty list to remove all notification topics.

" } }, "Tags": { "target": "com.amazonaws.cloudformation#Tags", "traits": { - "smithy.api#documentation": "

Key-value pairs to associate with this stack. CloudFormation also propagates these tags to supported resources in the\n stack. You can specify a maximum number of 50 tags.

\n

If you don't specify this parameter, CloudFormation doesn't modify the stack's tags. If you specify an empty value,\n CloudFormation removes all associated tags.

" + "smithy.api#documentation": "

Key-value pairs to associate with this stack. CloudFormation also propagates these tags to\n supported resources in the stack. You can specify a maximum number of 50 tags.

\n

If you don't specify this parameter, CloudFormation doesn't modify the stack's tags. If you\n specify an empty value, CloudFormation removes all associated tags.

" } }, "DisableRollback": { @@ -15006,13 +15006,13 @@ "ClientRequestToken": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

A unique identifier for this UpdateStack request. Specify this token if you plan to retry requests\n so that CloudFormation knows that you're not attempting to update a stack with the same name. You might retry\n UpdateStack requests to ensure that CloudFormation successfully received them.

\n

All events triggered by a given stack operation are assigned the same client request token, which you can use to\n track operations. For example, if you execute a CreateStack operation with the token\n token1, then all the StackEvents generated by that operation will have\n ClientRequestToken set as token1.

\n

In the console, stack operations display the client request token on the Events tab. Stack operations that are\n initiated from the console use the token format Console-StackOperation-ID, which helps you\n easily identify the stack operation . For example, if you create a stack using the console, each stack event would be\n assigned the same token in the following format:\n Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

" + "smithy.api#documentation": "

A unique identifier for this UpdateStack request. Specify this token if you\n plan to retry requests so that CloudFormation knows that you're not attempting to update a stack\n with the same name. You might retry UpdateStack requests to ensure that\n CloudFormation successfully received them.

\n

All events triggered by a given stack operation are assigned the same client request\n token, which you can use to track operations. For example, if you execute a\n CreateStack operation with the token token1, then all the\n StackEvents generated by that operation will have\n ClientRequestToken set as token1.

\n

In the console, stack operations display the client request token on the Events tab. Stack\n operations that are initiated from the console use the token format\n Console-StackOperation-ID, which helps you easily identify the stack\n operation . For example, if you create a stack using the console, each stack event would be\n assigned the same token in the following format:\n Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

" } }, "RetainExceptOnCreate": { "target": "com.amazonaws.cloudformation#RetainExceptOnCreate", "traits": { - "smithy.api#documentation": "

When set to true, newly created resources are deleted when the operation rolls back. This includes\n newly created resources marked with a deletion policy of Retain.

\n

Default: false\n

" + "smithy.api#documentation": "

When set to true, newly created resources are deleted when the operation\n rolls back. This includes newly created resources marked with a deletion policy of\n Retain.

\n

Default: false\n

" } } }, @@ -15050,7 +15050,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the parameter values for stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack instance refers to a stack in a specific account and Region.

\n

You can only update stack instances in Amazon Web Services Regions and accounts where they already exist; to\n create additional stack instances, use CreateStackInstances.

\n

During stack set updates, any parameters overridden for a stack instance aren't updated, but retain their\n overridden value.

\n

You can only update the parameter values that are specified in the stack set; to add or\n delete a parameter itself, use UpdateStackSet to update the stack set\n template. If you add a parameter to a template, before you can override the parameter value specified in the stack\n set you must first use UpdateStackSet to update all stack\n instances with the updated template and parameter value specified in the stack set. Once a stack instance has been\n updated with the new parameter, you can then override the parameter value using\n UpdateStackInstances.

" + "smithy.api#documentation": "

Updates the parameter values for stack instances for the specified accounts, within the\n specified Amazon Web Services Regions. A stack instance refers to a stack in a specific account and\n Region.

\n

You can only update stack instances in Amazon Web Services Regions and accounts where they already\n exist; to create additional stack instances, use CreateStackInstances.

\n

During stack set updates, any parameters overridden for a stack instance aren't updated,\n but retain their overridden value.

\n

You can only update the parameter values that are specified in the\n stack set; to add or delete a parameter itself, use UpdateStackSet\n to update the stack set template. If you add a parameter to a template, before you can\n override the parameter value specified in the stack set you must first use UpdateStackSet to update all stack instances with the updated template and\n parameter value specified in the stack set. Once a stack instance has been updated with the\n new parameter, you can then override the parameter value using\n UpdateStackInstances.

" } }, "com.amazonaws.cloudformation#UpdateStackInstancesInput": { @@ -15067,27 +15067,27 @@ "Accounts": { "target": "com.amazonaws.cloudformation#AccountList", "traits": { - "smithy.api#documentation": "

[Self-managed permissions] The names of one or more Amazon Web Services accounts for which you want to update\n parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the\n specified accounts and Amazon Web Services Regions.

\n

You can specify Accounts or DeploymentTargets, but not both.

" + "smithy.api#documentation": "

[Self-managed permissions] The names of one or more Amazon Web Services accounts for which you want to\n update parameter values for stack instances. The overridden parameter values will be applied\n to all stack instances in the specified accounts and Amazon Web Services Regions.

\n

You can specify Accounts or DeploymentTargets, but not\n both.

" } }, "DeploymentTargets": { "target": "com.amazonaws.cloudformation#DeploymentTargets", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] The Organizations accounts for which you want to update parameter values\n for stack instances. If your update targets OUs, the overridden parameter values only apply to the accounts that are\n currently in the target OUs and their child OUs. Accounts added to the target OUs and their child OUs in the future\n won't use the overridden values.

\n

You can specify Accounts or DeploymentTargets, but not both.

" + "smithy.api#documentation": "

[Service-managed permissions] The Organizations accounts for which you want to\n update parameter values for stack instances. If your update targets OUs, the overridden\n parameter values only apply to the accounts that are currently in the target OUs and their\n child OUs. Accounts added to the target OUs and their child OUs in the future won't use the\n overridden values.

\n

You can specify Accounts or DeploymentTargets, but not\n both.

" } }, "Regions": { "target": "com.amazonaws.cloudformation#RegionList", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The names of one or more Amazon Web Services Regions in which you want to update parameter values for stack\n instances. The overridden parameter values will be applied to all stack instances in the specified accounts and\n Amazon Web Services Regions.

", + "smithy.api#documentation": "

The names of one or more Amazon Web Services Regions in which you want to update parameter values for\n stack instances. The overridden parameter values will be applied to all stack instances in the\n specified accounts and Amazon Web Services Regions.

", "smithy.api#required": {} } }, "ParameterOverrides": { "target": "com.amazonaws.cloudformation#Parameters", "traits": { - "smithy.api#documentation": "

A list of input parameters whose values you want to update for the specified stack instances.

\n

Any overridden parameter values will be applied to all stack instances in the specified accounts and Amazon Web Services Regions. When specifying parameters and their values, be aware of how CloudFormation sets parameter values\n during stack instance update operations:

\n \n

During stack set updates, any parameter values overridden for a stack instance aren't updated, but retain their\n overridden value.

\n

You can only override the parameter values that are specified in the stack set; to add or\n delete a parameter itself, use UpdateStackSet to update the stack set template. If you add a parameter\n to a template, before you can override the parameter value specified in the stack set you must first use UpdateStackSet to\n update all stack instances with the updated template and parameter value specified in the stack set. Once a stack\n instance has been updated with the new parameter, you can then override the parameter value using\n UpdateStackInstances.

" + "smithy.api#documentation": "

A list of input parameters whose values you want to update for the specified stack\n instances.

\n

Any overridden parameter values will be applied to all stack instances in the specified\n accounts and Amazon Web Services Regions. When specifying parameters and their values, be aware of how\n CloudFormation sets parameter values during stack instance update operations:

\n \n

During stack set updates, any parameter values overridden for a stack instance aren't\n updated, but retain their overridden value.

\n

You can only override the parameter values that are specified in the\n stack set; to add or delete a parameter itself, use UpdateStackSet to update the\n stack set template. If you add a parameter to a template, before you can override the\n parameter value specified in the stack set you must first use UpdateStackSet\n to update all stack instances with the updated template and parameter value specified in the\n stack set. Once a stack instance has been updated with the new parameter, you can then\n override the parameter value using UpdateStackInstances.

" } }, "OperationPreferences": { @@ -15099,14 +15099,14 @@ "OperationId": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

The unique identifier for this stack set operation.

\n

The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set\n operation only once, even if you retry the request multiple times. You might retry stack set operation requests to\n ensure that CloudFormation successfully received them.

\n

If you don't specify an operation ID, the SDK generates one automatically.

", + "smithy.api#documentation": "

The unique identifier for this stack set operation.

\n

The operation ID also functions as an idempotency token, to ensure that CloudFormation\n performs the stack set operation only once, even if you retry the request multiple times. You\n might retry stack set operation requests to ensure that CloudFormation successfully received\n them.

\n

If you don't specify an operation ID, the SDK generates one\n automatically.

", "smithy.api#idempotencyToken": {} } }, "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } }, @@ -15172,7 +15172,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the stack set, and associated stack instances in the specified accounts and Amazon Web Services Regions.

\n

Even if the stack set operation created by updating the stack set fails (completely or partially, below or above\n a specified failure tolerance), the stack set is updated with your changes. Subsequent CreateStackInstances calls on the specified stack set use the updated stack set.

" + "smithy.api#documentation": "

Updates the stack set, and associated stack instances in the specified accounts and\n Amazon Web Services Regions.

\n

Even if the stack set operation created by updating the stack set fails (completely or\n partially, below or above a specified failure tolerance), the stack set is updated with your\n changes. Subsequent CreateStackInstances calls on the specified stack set\n use the updated stack set.

" } }, "com.amazonaws.cloudformation#UpdateStackSetInput": { @@ -15195,19 +15195,19 @@ "TemplateBody": { "target": "com.amazonaws.cloudformation#TemplateBody", "traits": { - "smithy.api#documentation": "

The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200\n bytes. For more information, see Template Anatomy in the\n CloudFormation User Guide.

\n

Conditional: You must specify only one of the following parameters: TemplateBody or\n TemplateURL—or set UsePreviousTemplate to true.

" + "smithy.api#documentation": "

The structure that contains the template body, with a minimum length of 1 byte and a\n maximum length of 51,200 bytes.

\n

Conditional: You must specify only one of the following parameters:\n TemplateBody or TemplateURL—or set\n UsePreviousTemplate to true.

" } }, "TemplateURL": { "target": "com.amazonaws.cloudformation#TemplateURL", "traits": { - "smithy.api#documentation": "

The location of the file that contains the template body. The URL must point to a template (maximum size:\n 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information,\n see Template\n Anatomy in the CloudFormation User Guide.

\n

Conditional: You must specify only one of the following parameters: TemplateBody or\n TemplateURL—or set UsePreviousTemplate to true.

" + "smithy.api#documentation": "

The location of the file that contains the template body. The URL must point to a template\n (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager\n document.

\n

Conditional: You must specify only one of the following parameters:\n TemplateBody or TemplateURL—or set\n UsePreviousTemplate to true.

" } }, "UsePreviousTemplate": { "target": "com.amazonaws.cloudformation#UsePreviousTemplate", "traits": { - "smithy.api#documentation": "

Use the existing template that's associated with the stack set that you're updating.

\n

Conditional: You must specify only one of the following parameters: TemplateBody or\n TemplateURL—or set UsePreviousTemplate to true.

" + "smithy.api#documentation": "

Use the existing template that's associated with the stack set that you're\n updating.

\n

Conditional: You must specify only one of the following parameters:\n TemplateBody or TemplateURL—or set\n UsePreviousTemplate to true.

" } }, "Parameters": { @@ -15219,13 +15219,13 @@ "Capabilities": { "target": "com.amazonaws.cloudformation#Capabilities", "traits": { - "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order\n for CloudFormation to update the stack set and its associated stack instances.

\n " + "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack template contains certain\n capabilities in order for CloudFormation to update the stack set and its associated stack\n instances.

\n " } }, "Tags": { "target": "com.amazonaws.cloudformation#Tags", "traits": { - "smithy.api#documentation": "

The key-value pairs to associate with this stack set and the stacks created from it. CloudFormation also propagates these\n tags to supported resources that are created in the stacks. You can specify a maximum number of 50 tags.

\n

If you specify tags for this parameter, those tags replace any list of tags that are currently associated with\n this stack set. This means:

\n \n

If you specify new tags as part of an UpdateStackSet action, CloudFormation checks to see if you have the\n required IAM permission to tag resources. If you omit tags that are currently associated with the stack set from\n the list of tags you specify, CloudFormation assumes that you want to remove those tags from the stack set, and checks to see\n if you have permission to untag resources. If you don't have the necessary permission(s), the entire\n UpdateStackSet action fails with an access denied error, and the stack set is not\n updated.

" + "smithy.api#documentation": "

The key-value pairs to associate with this stack set and the stacks created from it.\n CloudFormation also propagates these tags to supported resources that are created in the stacks.\n You can specify a maximum number of 50 tags.

\n

If you specify tags for this parameter, those tags replace any list of tags that are\n currently associated with this stack set. This means:

\n \n

If you specify new tags as part of an UpdateStackSet action, CloudFormation\n checks to see if you have the required IAM permission to tag resources. If you omit tags\n that are currently associated with the stack set from the list of tags you specify, CloudFormation\n assumes that you want to remove those tags from the stack set, and checks to see if you have\n permission to untag resources. If you don't have the necessary permission(s), the entire\n UpdateStackSet action fails with an access denied error, and the\n stack set is not updated.

" } }, "OperationPreferences": { @@ -15237,62 +15237,62 @@ "AdministrationRoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to use to update this stack set.

\n

Specify an IAM role only if you are using customized administrator roles to control which users or groups can\n manage specific stack sets within the same administrator account. For more information, see Granting Permissions for Stack\n Set Operations in the CloudFormation User Guide.

\n

If you specified a customized administrator role when you created the stack set, you must specify a customized\n administrator role, even if it is the same customized administrator role used with this stack set previously.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to use to update this stack set.

\n

Specify an IAM role only if you are using customized administrator roles to control\n which users or groups can manage specific stack sets within the same administrator account.\n For more information, see Granting Permissions for\n Stack Set Operations in the CloudFormation User Guide.

\n

If you specified a customized administrator role when you created the stack set, you must\n specify a customized administrator role, even if it is the same customized administrator role\n used with this stack set previously.

" } }, "ExecutionRoleName": { "target": "com.amazonaws.cloudformation#ExecutionRoleName", "traits": { - "smithy.api#documentation": "

The name of the IAM execution role to use to update the stack set. If you do not specify an execution role,\n CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation.

\n

Specify an IAM role only if you are using customized execution roles to control which stack resources users\n and groups can include in their stack sets.

\n

If you specify a customized execution role, CloudFormation uses that role to update the stack. If you do not specify a\n customized execution role, CloudFormation performs the update using the role previously associated with the stack set, so long\n as you have permissions to perform operations on the stack set.

" + "smithy.api#documentation": "

The name of the IAM execution role to use to update the stack set. If you do not specify\n an execution role, CloudFormation uses the AWSCloudFormationStackSetExecutionRole\n role for the stack set operation.

\n

Specify an IAM role only if you are using customized execution roles to control which\n stack resources users and groups can include in their stack sets.

\n

If you specify a customized execution role, CloudFormation uses that role to update the stack.\n If you do not specify a customized execution role, CloudFormation performs the update using the\n role previously associated with the stack set, so long as you have permissions to perform\n operations on the stack set.

" } }, "DeploymentTargets": { "target": "com.amazonaws.cloudformation#DeploymentTargets", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] The Organizations accounts in which to update associated stack\n instances.

\n

To update all the stack instances associated with this stack set, do not specify DeploymentTargets\n or Regions.

\n

If the stack set update includes changes to the template (that is, if TemplateBody or\n TemplateURL is specified), or the Parameters, CloudFormation marks all stack instances with a\n status of OUTDATED prior to updating the stack instances in the specified accounts and Amazon Web Services Regions. If the stack set update doesn't include changes to the template or parameters, CloudFormation updates the\n stack instances in the specified accounts and Regions, while leaving all other stack instances with their existing\n stack instance status.

" + "smithy.api#documentation": "

[Service-managed permissions] The Organizations accounts in which to update\n associated stack instances.

\n

To update all the stack instances associated with this stack set, do not specify\n DeploymentTargets or Regions.

\n

If the stack set update includes changes to the template (that is, if\n TemplateBody or TemplateURL is specified), or the\n Parameters, CloudFormation marks all stack instances with a status of\n OUTDATED prior to updating the stack instances in the specified accounts and\n Amazon Web Services Regions. If the stack set update doesn't include changes to the template or parameters,\n CloudFormation updates the stack instances in the specified accounts and Regions, while leaving\n all other stack instances with their existing stack instance status.

" } }, "PermissionModel": { "target": "com.amazonaws.cloudformation#PermissionModels", "traits": { - "smithy.api#documentation": "

Describes how the IAM roles required for stack set operations are created. You cannot modify\n PermissionModel if there are stack instances associated with your stack set.

\n " + "smithy.api#documentation": "

Describes how the IAM roles required for stack set operations are created. You cannot\n modify PermissionModel if there are stack instances associated with your stack\n set.

\n " } }, "AutoDeployment": { "target": "com.amazonaws.cloudformation#AutoDeployment", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Describes whether StackSets automatically deploys to Organizations\n accounts that are added to a target organization or organizational unit (OU).

\n

If you specify AutoDeployment, don't specify DeploymentTargets or\n Regions.

" + "smithy.api#documentation": "

[Service-managed permissions] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit\n (OU).

\n

If you specify AutoDeployment, don't specify DeploymentTargets\n or Regions.

" } }, "OperationId": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { - "smithy.api#documentation": "

The unique ID for this stack set operation.

\n

The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set\n operation only once, even if you retry the request multiple times. You might retry stack set operation requests to\n ensure that CloudFormation successfully received them.

\n

If you don't specify an operation ID, CloudFormation generates one automatically.

\n

Repeating this stack set operation with a new operation ID retries all stack instances whose status is\n OUTDATED.

", + "smithy.api#documentation": "

The unique ID for this stack set operation.

\n

The operation ID also functions as an idempotency token, to ensure that CloudFormation\n performs the stack set operation only once, even if you retry the request multiple times. You\n might retry stack set operation requests to ensure that CloudFormation successfully received\n them.

\n

If you don't specify an operation ID, CloudFormation generates one\n automatically.

\n

Repeating this stack set operation with a new operation ID retries all stack instances\n whose status is OUTDATED.

", "smithy.api#idempotencyToken": {} } }, "Accounts": { "target": "com.amazonaws.cloudformation#AccountList", "traits": { - "smithy.api#documentation": "

[Self-managed permissions] The accounts in which to update associated stack instances. If you specify accounts,\n you must also specify the Amazon Web Services Regions in which to update stack set instances.

\n

To update all the stack instances associated with this stack set, don't specify the\n Accounts or Regions properties.

\n

If the stack set update includes changes to the template (that is, if the TemplateBody or\n TemplateURL properties are specified), or the Parameters property, CloudFormation marks all stack\n instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and\n Amazon Web Services Regions. If the stack set update does not include changes to the template or parameters, CloudFormation\n updates the stack instances in the specified accounts and Amazon Web Services Regions, while leaving all other stack\n instances with their existing stack instance status.

" + "smithy.api#documentation": "

[Self-managed permissions] The accounts in which to update associated stack instances. If\n you specify accounts, you must also specify the Amazon Web Services Regions in which to update stack set\n instances.

\n

To update all the stack instances associated with this stack set,\n don't specify the Accounts or Regions properties.

\n

If the stack set update includes changes to the template (that is, if the\n TemplateBody or TemplateURL properties are specified), or the\n Parameters property, CloudFormation marks all stack instances with a status of\n OUTDATED prior to updating the stack instances in the specified accounts and\n Amazon Web Services Regions. If the stack set update does not include changes to the template or parameters,\n CloudFormation updates the stack instances in the specified accounts and Amazon Web Services Regions, while\n leaving all other stack instances with their existing stack instance status.

" } }, "Regions": { "target": "com.amazonaws.cloudformation#RegionList", "traits": { - "smithy.api#documentation": "

The Amazon Web Services Regions in which to update associated stack instances. If you specify Regions, you must\n also specify accounts in which to update stack set instances.

\n

To update all the stack instances associated with this stack set, do not specify the\n Accounts or Regions properties.

\n

If the stack set update includes changes to the template (that is, if the TemplateBody or\n TemplateURL properties are specified), or the Parameters property, CloudFormation marks all stack\n instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and\n Regions. If the stack set update does not include changes to the template or parameters, CloudFormation updates the stack\n instances in the specified accounts and Regions, while leaving all other stack instances with their existing stack\n instance status.

" + "smithy.api#documentation": "

The Amazon Web Services Regions in which to update associated stack instances. If you specify Regions,\n you must also specify accounts in which to update stack set instances.

\n

To update all the stack instances associated with this stack set, do\n not specify the Accounts or Regions properties.

\n

If the stack set update includes changes to the template (that is, if the\n TemplateBody or TemplateURL properties are specified), or the\n Parameters property, CloudFormation marks all stack instances with a status of\n OUTDATED prior to updating the stack instances in the specified accounts and\n Regions. If the stack set update does not include changes to the template or parameters,\n CloudFormation updates the stack instances in the specified accounts and Regions, while leaving\n all other stack instances with their existing stack instance status.

" } }, "CallAs": { "target": "com.amazonaws.cloudformation#CallAs", "traits": { - "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's\n management account or as a delegated administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with self-managed\n permissions.

\n " + "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account administrator\n in the organization's management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } }, "ManagedExecution": { "target": "com.amazonaws.cloudformation#ManagedExecution", "traits": { - "smithy.api#documentation": "

Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting\n operations.

" + "smithy.api#documentation": "

Describes whether StackSets performs non-conflicting operations concurrently and queues\n conflicting operations.

" } } }, @@ -15323,7 +15323,7 @@ "target": "com.amazonaws.cloudformation#UpdateTerminationProtectionOutput" }, "traits": { - "smithy.api#documentation": "

Updates termination protection for the specified stack. If a user attempts to delete a stack with termination\n protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From\n Being Deleted in the CloudFormation User Guide.

\n

For nested\n stacks, termination protection is set on the root stack and can't be changed directly on the nested\n stack.

" + "smithy.api#documentation": "

Updates termination protection for the specified stack. If a user attempts to delete a\n stack with termination protection enabled, the operation fails and the stack remains\n unchanged. For more information, see Protect a CloudFormation\n stack from being deleted in the CloudFormation User Guide.

\n

For nested stacks,\n termination protection is set on the root stack and can't be changed directly on the nested\n stack.

" } }, "com.amazonaws.cloudformation#UpdateTerminationProtectionInput": { @@ -15341,7 +15341,7 @@ "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name or unique ID of the stack for which you want to set termination protection.

", + "smithy.api#documentation": "

The name or unique ID of the stack for which you want to set termination\n protection.

", "smithy.api#required": {} } } @@ -15382,7 +15382,7 @@ "target": "com.amazonaws.cloudformation#ValidateTemplateOutput" }, "traits": { - "smithy.api#documentation": "

Validates a specified template. CloudFormation first checks if the template is valid JSON. If it isn't, CloudFormation\n checks if the template is valid YAML. If both these checks fail, CloudFormation returns a template validation\n error.

" + "smithy.api#documentation": "

Validates a specified template. CloudFormation first checks if the template is valid JSON. If\n it isn't, CloudFormation checks if the template is valid YAML. If both these checks fail,\n CloudFormation returns a template validation error.

" } }, "com.amazonaws.cloudformation#ValidateTemplateInput": { @@ -15391,13 +15391,13 @@ "TemplateBody": { "target": "com.amazonaws.cloudformation#TemplateBody", "traits": { - "smithy.api#documentation": "

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For\n more information, go to Template Anatomy in the CloudFormation User Guide.

\n

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only\n TemplateBody is used.

" + "smithy.api#documentation": "

Structure containing the template body with a minimum length of 1 byte and a maximum\n length of 51,200 bytes.

\n

Conditional: You must pass TemplateURL or TemplateBody. If both\n are passed, only TemplateBody is used.

" } }, "TemplateURL": { "target": "com.amazonaws.cloudformation#TemplateURL", "traits": { - "smithy.api#documentation": "

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that\n is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the\n CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

\n

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only\n TemplateBody is used.

" + "smithy.api#documentation": "

Location of file containing the template body. The URL must point to a template (max size:\n 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. The location\n for an Amazon S3 bucket must start with https://.

\n

Conditional: You must pass TemplateURL or TemplateBody. If both\n are passed, only TemplateBody is used.

" } } }, @@ -15424,13 +15424,13 @@ "Capabilities": { "target": "com.amazonaws.cloudformation#Capabilities", "traits": { - "smithy.api#documentation": "

The capabilities found within the template. If your template contains IAM resources, you must specify the\n CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or\n UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities\n error.

\n

For more information, see Acknowledging IAM Resources in\n CloudFormation Templates.

" + "smithy.api#documentation": "

The capabilities found within the template. If your template contains IAM resources, you\n must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use\n the CreateStack or UpdateStack actions with your template;\n otherwise, those actions return an InsufficientCapabilities error.

\n

For more information, see Acknowledging IAM resources in CloudFormation templates.

" } }, "CapabilitiesReason": { "target": "com.amazonaws.cloudformation#CapabilitiesReason", "traits": { - "smithy.api#documentation": "

The list of resources that generated the values in the Capabilities response element.

" + "smithy.api#documentation": "

The list of resources that generated the values in the Capabilities response\n element.

" } }, "DeclaredTransforms": { @@ -15491,7 +15491,7 @@ "Type": { "target": "com.amazonaws.cloudformation#WarningType", "traits": { - "smithy.api#documentation": "

The type of this warning. For more information, see IaC generator and write-only\n properties in the CloudFormation User Guide.

\n \n \n

Currently the resource and property reference documentation does not indicate if a property uses a type of\n oneOf or anyOf. You need to look at the resource provider schema.

\n
" + "smithy.api#documentation": "

The type of this warning. For more information, see Resolve\n write-only properties in the CloudFormation User Guide.

\n \n \n

Currently the resource and property reference documentation does not indicate if a property\n uses a type of oneOf or anyOf. You need to look at the resource\n provider schema.

\n
" } }, "Properties": { @@ -15523,7 +15523,7 @@ "PropertyPath": { "target": "com.amazonaws.cloudformation#PropertyPath", "traits": { - "smithy.api#documentation": "

The path of the property. For example, if this is for the S3Bucket member of the Code\n property, the property path would be Code/S3Bucket.

" + "smithy.api#documentation": "

The path of the property. For example, if this is for the S3Bucket member of\n the Code property, the property path would be Code/S3Bucket.

" } }, "Required": { @@ -15572,7 +15572,7 @@ "UnrecognizedResourceTypes": { "target": "com.amazonaws.cloudformation#ResourceTypes", "traits": { - "smithy.api#documentation": "

A list of all of the unrecognized resource types. This is only returned if the\n TemplateSummaryConfig parameter has the TreatUnrecognizedResourceTypesAsWarning\n configuration set to True.

" + "smithy.api#documentation": "

A list of all of the unrecognized resource types. This is only returned if the\n TemplateSummaryConfig parameter has the\n TreatUnrecognizedResourceTypesAsWarning configuration set to\n True.

" } } }, diff --git a/aws-models/codebuild.json b/aws-models/codebuild.json index fd1a144d349a..9a44cf5d3b37 100644 --- a/aws-models/codebuild.json +++ b/aws-models/codebuild.json @@ -2902,6 +2902,12 @@ "vpcConfig": { "target": "com.amazonaws.codebuild#VpcConfig" }, + "proxyConfiguration": { + "target": "com.amazonaws.codebuild#ProxyConfiguration", + "traits": { + "smithy.api#documentation": "

The proxy configuration of the compute fleet.

" + } + }, "imageId": { "target": "com.amazonaws.codebuild#NonEmptyString", "traits": { @@ -4145,6 +4151,12 @@ "vpcConfig": { "target": "com.amazonaws.codebuild#VpcConfig" }, + "proxyConfiguration": { + "target": "com.amazonaws.codebuild#ProxyConfiguration", + "traits": { + "smithy.api#documentation": "

The proxy configuration of the compute fleet.

" + } + }, "imageId": { "target": "com.amazonaws.codebuild#NonEmptyString", "traits": { @@ -4262,6 +4274,110 @@ } } }, + "com.amazonaws.codebuild#FleetProxyRule": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.codebuild#FleetProxyRuleType", + "traits": { + "smithy.api#documentation": "

The type of proxy rule.

", + "smithy.api#required": {} + } + }, + "effect": { + "target": "com.amazonaws.codebuild#FleetProxyRuleEffectType", + "traits": { + "smithy.api#documentation": "

The behavior of the proxy rule.

", + "smithy.api#required": {} + } + }, + "entities": { + "target": "com.amazonaws.codebuild#FleetProxyRuleEntities", + "traits": { + "smithy.api#documentation": "

The destination of the proxy rule.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the proxy rule for your reserved capacity instances.

" + } + }, + "com.amazonaws.codebuild#FleetProxyRuleBehavior": { + "type": "enum", + "members": { + "ALLOW_ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOW_ALL" + } + }, + "DENY_ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DENY_ALL" + } + } + } + }, + "com.amazonaws.codebuild#FleetProxyRuleEffectType": { + "type": "enum", + "members": { + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOW" + } + }, + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DENY" + } + } + } + }, + "com.amazonaws.codebuild#FleetProxyRuleEntities": { + "type": "list", + "member": { + "target": "com.amazonaws.codebuild#String" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.codebuild#FleetProxyRuleType": { + "type": "enum", + "members": { + "DOMAIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOMAIN" + } + }, + "IP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IP" + } + } + } + }, + "com.amazonaws.codebuild#FleetProxyRules": { + "type": "list", + "member": { + "target": "com.amazonaws.codebuild#FleetProxyRule" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, "com.amazonaws.codebuild#FleetScalingMetricType": { "type": "enum", "members": { @@ -6565,6 +6681,26 @@ "target": "com.amazonaws.codebuild#Project" } }, + "com.amazonaws.codebuild#ProxyConfiguration": { + "type": "structure", + "members": { + "defaultBehavior": { + "target": "com.amazonaws.codebuild#FleetProxyRuleBehavior", + "traits": { + "smithy.api#documentation": "

The default behavior of outgoing traffic.

" + } + }, + "orderedProxyRules": { + "target": "com.amazonaws.codebuild#FleetProxyRules", + "traits": { + "smithy.api#documentation": "

An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the proxy configurations that apply network access control to your reserved capacity instances.

" + } + }, "com.amazonaws.codebuild#PutResourcePolicy": { "type": "operation", "input": { @@ -8579,6 +8715,12 @@ "vpcConfig": { "target": "com.amazonaws.codebuild#VpcConfig" }, + "proxyConfiguration": { + "target": "com.amazonaws.codebuild#ProxyConfiguration", + "traits": { + "smithy.api#documentation": "

The proxy configuration of the compute fleet.

" + } + }, "imageId": { "target": "com.amazonaws.codebuild#NonEmptyString", "traits": { @@ -9189,6 +9331,12 @@ "traits": { "smithy.api#enumValue": "RELEASE_NAME" } + }, + "REPOSITORY_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REPOSITORY_NAME" + } } } }, diff --git a/aws-models/ivs.json b/aws-models/ivs.json index 950439110e0a..bd40fc7c47f3 100644 --- a/aws-models/ivs.json +++ b/aws-models/ivs.json @@ -4037,6 +4037,12 @@ "traits": { "smithy.api#documentation": "

Time when the event occurred. This is an ISO 8601 timestamp; note that this is\n returned as a string.

" } + }, + "code": { + "target": "com.amazonaws.ivs#String", + "traits": { + "smithy.api#documentation": "

Provides additional details about the stream event. There are several values; note that \n\t\t\tthe long descriptions are provided in the IVS console but not delivered through \n\t \t the IVS API or EventBridge:

\n " + } } }, "traits": { diff --git a/aws-models/qbusiness.json b/aws-models/qbusiness.json index 8565234f256f..03165562266a 100644 --- a/aws-models/qbusiness.json +++ b/aws-models/qbusiness.json @@ -1312,7 +1312,7 @@ "userGroups": { "target": "com.amazonaws.qbusiness#UserGroups", "traits": { - "smithy.api#documentation": "

The groups that a user associated with the chat input belongs to.

", + "smithy.api#documentation": "

The group names that a user associated with the chat input belongs to.

", "smithy.api#httpQuery": "userGroups" } }, @@ -1546,7 +1546,7 @@ "userGroups": { "target": "com.amazonaws.qbusiness#UserGroups", "traits": { - "smithy.api#documentation": "

The groups that a user associated with the chat input belongs to.

", + "smithy.api#documentation": "

The group names that a user associated with the chat input belongs to.

", "smithy.api#httpQuery": "userGroups" } }, @@ -1958,7 +1958,7 @@ "roleArn": { "target": "com.amazonaws.qbusiness#RoleArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon\n CloudWatch logs and metrics.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon\n CloudWatch logs and metrics. If this property is not specified, Amazon Q Business will create a service linked role (SLR) and use it as the\n application's role.

" } }, "identityType": { @@ -2748,6 +2748,12 @@ "smithy.api#documentation": "

Determines whether sample prompts are enabled in the web experience for an end\n user.

" } }, + "origins": { + "target": "com.amazonaws.qbusiness#WebExperienceOrigins", + "traits": { + "smithy.api#documentation": "

Sets the website domain origins that \n are allowed to embed the Amazon Q Business web experience.\n \n The domain origin refers to the \n base URL for accessing a website including the protocol \n (http/https), the domain name, and the port number (if specified).\n

\n \n

You must only submit a base URL and \n not a full path. For example, https://docs.aws.amazon.com.

\n
" + } + }, "roleArn": { "target": "com.amazonaws.qbusiness#RoleArn", "traits": { @@ -6376,6 +6382,12 @@ "smithy.api#documentation": "

Determines whether sample prompts are enabled in the web experience for an end\n user.

" } }, + "origins": { + "target": "com.amazonaws.qbusiness#WebExperienceOrigins", + "traits": { + "smithy.api#documentation": "

Gets the website domain origins that \n are allowed to embed the Amazon Q Business web experience.\n \n The domain origin refers to the \n base URL for accessing a website including the protocol \n (http/https), the domain name, and the port number (if specified).\n

" + } + }, "roleArn": { "target": "com.amazonaws.qbusiness#RoleArn", "traits": { @@ -8713,6 +8725,16 @@ "smithy.api#documentation": "

Information about the OIDC-compliant identity provider (IdP) used to authenticate end\n users of an Amazon Q Business web experience.

" } }, + "com.amazonaws.qbusiness#Origin": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^(http://|https://)[a-zA-Z0-9-_.]+(?::[0-9]{1,5})?$" + } + }, "com.amazonaws.qbusiness#Payload": { "type": "string", "traits": { @@ -9290,13 +9312,13 @@ "qAppsControlMode": { "target": "com.amazonaws.qbusiness#QAppsControlMode", "traits": { - "smithy.api#documentation": "

Status information about whether end users can create and use Amazon Q Apps in the web experience.

", + "smithy.api#documentation": "

Status information about whether end users can create and use Amazon Q Apps in the web\n experience.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Configuration information about Amazon Q Apps. (preview feature)

" + "smithy.api#documentation": "

Configuration information about Amazon Q Apps.

" } }, "com.amazonaws.qbusiness#QAppsControlMode": { @@ -11439,6 +11461,12 @@ "traits": { "smithy.api#documentation": "

Information about the identity provider (IdP) used to authenticate end users of an\n Amazon Q Business web experience.

" } + }, + "origins": { + "target": "com.amazonaws.qbusiness#WebExperienceOrigins", + "traits": { + "smithy.api#documentation": "

Updates the website domain origins that \n are allowed to embed the Amazon Q Business web experience.\n \n The domain origin refers to the \n base URL for accessing a website including the protocol \n (http/https), the domain name, and the port number (if specified).

\n \n \n " + } } }, "traits": { @@ -11538,12 +11566,12 @@ "userGroups": { "target": "com.amazonaws.qbusiness#UserGroups", "traits": { - "smithy.api#documentation": "

The user groups associated with a topic control rule.

" + "smithy.api#documentation": "

The user group names associated with a topic control rule.

" } } }, "traits": { - "smithy.api#documentation": "

Provides information about users and groups associated with a topic control\n rule.

" + "smithy.api#documentation": "

Provides information about users and group names associated with a topic control\n rule.

" } }, "com.amazonaws.qbusiness#ValidationException": { @@ -11696,6 +11724,18 @@ "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]*$" } }, + "com.amazonaws.qbusiness#WebExperienceOrigins": { + "type": "list", + "member": { + "target": "com.amazonaws.qbusiness#Origin" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, "com.amazonaws.qbusiness#WebExperienceResource": { "type": "resource", "identifiers": { diff --git a/aws-models/redshift.json b/aws-models/redshift.json index 7779fb3ef891..673acc0057a8 100644 --- a/aws-models/redshift.json +++ b/aws-models/redshift.json @@ -2814,7 +2814,7 @@ "target": "com.amazonaws.redshift#String", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The node type to be provisioned for the cluster. For information about node types,\n go to Working with\n Clusters in the Amazon Redshift Cluster Management Guide.

\n

Valid Values: \n dc2.large | dc2.8xlarge | \n ra3.xlplus | ra3.4xlarge | ra3.16xlarge\n

", + "smithy.api#documentation": "

The node type to be provisioned for the cluster. For information about node types,\n go to Working with\n Clusters in the Amazon Redshift Cluster Management Guide.

\n

Valid Values: \n dc2.large | dc2.8xlarge | \n ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge\n

", "smithy.api#required": {} } }, @@ -3814,6 +3814,103 @@ "smithy.api#output": {} } }, + "com.amazonaws.redshift#CreateIntegration": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshift#CreateIntegrationMessage" + }, + "output": { + "target": "com.amazonaws.redshift#Integration" + }, + "errors": [ + { + "target": "com.amazonaws.redshift#IntegrationAlreadyExistsFault" + }, + { + "target": "com.amazonaws.redshift#IntegrationConflictOperationFault" + }, + { + "target": "com.amazonaws.redshift#IntegrationQuotaExceededFault" + }, + { + "target": "com.amazonaws.redshift#IntegrationSourceNotFoundFault" + }, + { + "target": "com.amazonaws.redshift#IntegrationTargetNotFoundFault" + }, + { + "target": "com.amazonaws.redshift#InvalidClusterStateFault" + }, + { + "target": "com.amazonaws.redshift#InvalidTagFault" + }, + { + "target": "com.amazonaws.redshift#TagLimitExceededFault" + }, + { + "target": "com.amazonaws.redshift#UnsupportedOperationFault" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a zero-ETL integration with Amazon Redshift.

" + } + }, + "com.amazonaws.redshift#CreateIntegrationMessage": { + "type": "structure", + "members": { + "SourceArn": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the database to use as the source for replication.

", + "smithy.api#required": {} + } + }, + "TargetArn": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

", + "smithy.api#required": {} + } + }, + "IntegrationName": { + "target": "com.amazonaws.redshift#IntegrationName", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The name of the integration.

", + "smithy.api#required": {} + } + }, + "KMSKeyId": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#documentation": "

An Key Management Service (KMS) key identifier for the key to use to\n encrypt the integration. If you don't specify an encryption key, the default\n Amazon Web Services owned key is used.

" + } + }, + "TagList": { + "target": "com.amazonaws.redshift#TagList", + "traits": { + "smithy.api#documentation": "

A list of tags.

" + } + }, + "AdditionalEncryptionContext": { + "target": "com.amazonaws.redshift#EncryptionContextMap", + "traits": { + "smithy.api#documentation": "

An optional set of non-secret key–value pairs that contains additional contextual\n information about the data. For more information, see Encryption\n context in the Amazon Web Services Key Management Service Developer\n Guide.

\n

You can only include this parameter if you specify the KMSKeyId parameter.

" + } + }, + "Description": { + "target": "com.amazonaws.redshift#IntegrationDescription", + "traits": { + "smithy.api#documentation": "

A description of the integration.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, "com.amazonaws.redshift#CreateRedshiftIdcApplication": { "type": "operation", "input": { @@ -5252,6 +5349,48 @@ "smithy.api#input": {} } }, + "com.amazonaws.redshift#DeleteIntegration": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshift#DeleteIntegrationMessage" + }, + "output": { + "target": "com.amazonaws.redshift#Integration" + }, + "errors": [ + { + "target": "com.amazonaws.redshift#IntegrationConflictOperationFault" + }, + { + "target": "com.amazonaws.redshift#IntegrationConflictStateFault" + }, + { + "target": "com.amazonaws.redshift#IntegrationNotFoundFault" + }, + { + "target": "com.amazonaws.redshift#UnsupportedOperationFault" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a zero-ETL integration with Amazon Redshift.

" + } + }, + "com.amazonaws.redshift#DeleteIntegrationMessage": { + "type": "structure", + "members": { + "IntegrationArn": { + "target": "com.amazonaws.redshift#IntegrationArn", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The unique identifier of the integration to delete.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, "com.amazonaws.redshift#DeletePartner": { "type": "operation", "input": { @@ -7216,6 +7355,135 @@ "smithy.api#input": {} } }, + "com.amazonaws.redshift#DescribeIntegrations": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshift#DescribeIntegrationsMessage" + }, + "output": { + "target": "com.amazonaws.redshift#IntegrationsMessage" + }, + "errors": [ + { + "target": "com.amazonaws.redshift#IntegrationNotFoundFault" + }, + { + "target": "com.amazonaws.redshift#UnsupportedOperationFault" + } + ], + "traits": { + "smithy.api#documentation": "

Describes one or more zero-ETL integrations with Amazon Redshift.

", + "smithy.api#paginated": { + "inputToken": "Marker", + "outputToken": "Marker", + "items": "Integrations", + "pageSize": "MaxRecords" + } + } + }, + "com.amazonaws.redshift#DescribeIntegrationsFilter": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.redshift#DescribeIntegrationsFilterName", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

Specifies the type of integration filter.

", + "smithy.api#required": {} + } + }, + "Values": { + "target": "com.amazonaws.redshift#DescribeIntegrationsFilterValueList", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

Specifies the values to filter on.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A set of elements to filter the returned integrations.

" + } + }, + "com.amazonaws.redshift#DescribeIntegrationsFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.redshift#DescribeIntegrationsFilter", + "traits": { + "smithy.api#xmlName": "DescribeIntegrationsFilter" + } + } + }, + "com.amazonaws.redshift#DescribeIntegrationsFilterName": { + "type": "enum", + "members": { + "INTEGRATION_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "integration-arn" + } + }, + "SOURCE_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "source-arn" + } + }, + "SOURCE_TYPES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "source-types" + } + }, + "STATUS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "status" + } + } + } + }, + "com.amazonaws.redshift#DescribeIntegrationsFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#xmlName": "Value" + } + } + }, + "com.amazonaws.redshift#DescribeIntegrationsMessage": { + "type": "structure", + "members": { + "IntegrationArn": { + "target": "com.amazonaws.redshift#IntegrationArn", + "traits": { + "smithy.api#documentation": "

The unique identifier of the integration.

" + } + }, + "MaxRecords": { + "target": "com.amazonaws.redshift#IntegerOptional", + "traits": { + "smithy.api#documentation": "

The maximum number of response records to return in each call. If the number of\n remaining response records exceeds the specified MaxRecords value, a value\n is returned in a marker field of the response. You can retrieve the next\n set of records by retrying the command with the returned marker value.

\n

Default: 100\n

\n

Constraints: minimum 20, maximum 100.

" + } + }, + "Marker": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#documentation": "

An optional pagination token provided by a previous DescribeIntegrations\n request. If this parameter is specified, the response includes only records beyond the\n marker, up to the value specified by MaxRecords.

" + } + }, + "Filters": { + "target": "com.amazonaws.redshift#DescribeIntegrationsFilterList", + "traits": { + "smithy.api#documentation": "

A filter that specifies one or more resources to return.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, "com.amazonaws.redshift#DescribeLoggingStatus": { "type": "operation", "input": { @@ -8117,7 +8385,7 @@ "ResourceType": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The type of resource with which you want to view tags. Valid resource types are:

\n \n

For more information about Amazon Redshift resource types and constructing ARNs, go to\n Specifying Policy Elements: Actions, Effects, Resources, and Principals in\n the Amazon Redshift Cluster Management Guide.

" + "smithy.api#documentation": "

The type of resource with which you want to view tags. Valid resource types are:

\n \n

For more information about Amazon Redshift resource types and constructing ARNs, go to\n Specifying Policy Elements: Actions, Effects, Resources, and Principals in\n the Amazon Redshift Cluster Management Guide.

" } }, "MaxRecords": { @@ -8226,6 +8494,16 @@ "smithy.api#input": {} } }, + "com.amazonaws.redshift#Description": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1000 + }, + "smithy.api#pattern": "^.*$" + } + }, "com.amazonaws.redshift#DisableLogging": { "type": "operation", "input": { @@ -8630,6 +8908,15 @@ "smithy.api#output": {} } }, + "com.amazonaws.redshift#EncryptionContextMap": { + "type": "map", + "key": { + "target": "com.amazonaws.redshift#String" + }, + "value": { + "target": "com.amazonaws.redshift#String" + } + }, "com.amazonaws.redshift#Endpoint": { "type": "structure", "members": { @@ -10172,6 +10459,148 @@ "com.amazonaws.redshift#IntegerOptional": { "type": "integer" }, + "com.amazonaws.redshift#Integration": { + "type": "structure", + "members": { + "IntegrationArn": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the integration.

" + } + }, + "IntegrationName": { + "target": "com.amazonaws.redshift#IntegrationName", + "traits": { + "smithy.api#documentation": "

The name of the integration.

" + } + }, + "SourceArn": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the database used as the source for\n replication.

" + } + }, + "TargetArn": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

" + } + }, + "Status": { + "target": "com.amazonaws.redshift#ZeroETLIntegrationStatus", + "traits": { + "smithy.api#documentation": "

The current status of the integration.

" + } + }, + "Errors": { + "target": "com.amazonaws.redshift#IntegrationErrorList", + "traits": { + "smithy.api#documentation": "

Any errors associated with the integration.

" + } + }, + "CreateTime": { + "target": "com.amazonaws.redshift#TStamp", + "traits": { + "smithy.api#documentation": "

The time (UTC) when the integration was created.

" + } + }, + "Description": { + "target": "com.amazonaws.redshift#Description", + "traits": { + "smithy.api#documentation": "

The description of the integration.

" + } + }, + "KMSKeyId": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#documentation": "

The Key Management Service (KMS) key identifier for the key used to\n encrypt the integration.

" + } + }, + "AdditionalEncryptionContext": { + "target": "com.amazonaws.redshift#EncryptionContextMap", + "traits": { + "smithy.api#documentation": "

The encryption context for the integration. For more information, \n see Encryption context in the Amazon Web Services Key Management Service Developer\n Guide.

" + } + }, + "Tags": { + "target": "com.amazonaws.redshift#TagList", + "traits": { + "smithy.api#documentation": "

The list of tags associated with the integration.

" + } + } + } + }, + "com.amazonaws.redshift#IntegrationAlreadyExistsFault": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.redshift#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "IntegrationAlreadyExistsFault", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

The integration you are trying to create already exists.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.redshift#IntegrationArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^arn:aws[a-z\\-]*:redshift:[a-z0-9\\-]*:[0-9]*:integration:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" + } + }, + "com.amazonaws.redshift#IntegrationConflictOperationFault": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.redshift#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "IntegrationConflictOperationFault", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

A conflicting conditional operation is currently in progress against this resource.\n This typically occurs when there are multiple requests being made to the same resource at the same time,\n and these requests conflict with each other.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.redshift#IntegrationConflictStateFault": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.redshift#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "IntegrationConflictStateFault", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

The integration is in an invalid state and can't perform the requested operation.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.redshift#IntegrationDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1000 + }, + "smithy.api#pattern": "^.*$" + } + }, "com.amazonaws.redshift#IntegrationError": { "type": "structure", "members": { @@ -10203,6 +10632,25 @@ } } }, + "com.amazonaws.redshift#IntegrationList": { + "type": "list", + "member": { + "target": "com.amazonaws.redshift#Integration", + "traits": { + "smithy.api#xmlName": "Integration" + } + } + }, + "com.amazonaws.redshift#IntegrationName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 63 + }, + "smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9]+)*$" + } + }, "com.amazonaws.redshift#IntegrationNotFoundFault": { "type": "structure", "members": { @@ -10220,6 +10668,77 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.redshift#IntegrationQuotaExceededFault": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.redshift#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "IntegrationQuotaExceededFault", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

You can't create any more zero-ETL integrations because the quota has been reached.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.redshift#IntegrationSourceNotFoundFault": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.redshift#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "IntegrationSourceNotFoundFault", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

The specified integration source can't be found.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.redshift#IntegrationTargetNotFoundFault": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.redshift#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "IntegrationTargetNotFoundFault", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

The specified integration target can't be found.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.redshift#IntegrationsMessage": { + "type": "structure", + "members": { + "Marker": { + "target": "com.amazonaws.redshift#String", + "traits": { + "smithy.api#documentation": "

A value that indicates the starting point for the next set of response records in a subsequent request. \n If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. \n If the Marker field is empty, all response records have been retrieved for the request.

" + } + }, + "Integrations": { + "target": "com.amazonaws.redshift#IntegrationList", + "traits": { + "smithy.api#documentation": "

List of integrations that are described.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.redshift#InvalidAuthenticationProfileRequestFault": { "type": "structure", "members": { @@ -11453,7 +11972,7 @@ "NodeType": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The new node type of the cluster. If you specify a new node type, you must also\n specify the number of nodes parameter.

\n

\nFor more information about resizing clusters, go to \nResizing Clusters in Amazon Redshift \nin the Amazon Redshift Cluster Management Guide.

\n

Valid Values: \n dc2.large | dc2.8xlarge | \n ra3.xlplus | ra3.4xlarge | ra3.16xlarge\n

" + "smithy.api#documentation": "

The new node type of the cluster. If you specify a new node type, you must also\n specify the number of nodes parameter.

\n

\nFor more information about resizing clusters, go to \nResizing Clusters in Amazon Redshift \nin the Amazon Redshift Cluster Management Guide.

\n

Valid Values: \n dc2.large | dc2.8xlarge | \n ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge\n

" } }, "NumberOfNodes": { @@ -12110,6 +12629,63 @@ "smithy.api#output": {} } }, + "com.amazonaws.redshift#ModifyIntegration": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshift#ModifyIntegrationMessage" + }, + "output": { + "target": "com.amazonaws.redshift#Integration" + }, + "errors": [ + { + "target": "com.amazonaws.redshift#IntegrationAlreadyExistsFault" + }, + { + "target": "com.amazonaws.redshift#IntegrationConflictOperationFault" + }, + { + "target": "com.amazonaws.redshift#IntegrationConflictStateFault" + }, + { + "target": "com.amazonaws.redshift#IntegrationNotFoundFault" + }, + { + "target": "com.amazonaws.redshift#UnsupportedOperationFault" + } + ], + "traits": { + "smithy.api#documentation": "

Modifies a zero-ETL integration with Amazon Redshift.

" + } + }, + "com.amazonaws.redshift#ModifyIntegrationMessage": { + "type": "structure", + "members": { + "IntegrationArn": { + "target": "com.amazonaws.redshift#IntegrationArn", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The unique identifier of the integration to modify.

", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.redshift#IntegrationDescription", + "traits": { + "smithy.api#documentation": "

A new description for the integration.

" + } + }, + "IntegrationName": { + "target": "com.amazonaws.redshift#IntegrationName", + "traits": { + "smithy.api#documentation": "

A new name for the integration.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, "com.amazonaws.redshift#ModifyRedshiftIdcApplication": { "type": "operation", "input": { @@ -13754,6 +14330,9 @@ { "target": "com.amazonaws.redshift#CreateHsmConfiguration" }, + { + "target": "com.amazonaws.redshift#CreateIntegration" + }, { "target": "com.amazonaws.redshift#CreateRedshiftIdcApplication" }, @@ -13808,6 +14387,9 @@ { "target": "com.amazonaws.redshift#DeleteHsmConfiguration" }, + { + "target": "com.amazonaws.redshift#DeleteIntegration" + }, { "target": "com.amazonaws.redshift#DeletePartner" }, @@ -13904,6 +14486,9 @@ { "target": "com.amazonaws.redshift#DescribeInboundIntegrations" }, + { + "target": "com.amazonaws.redshift#DescribeIntegrations" + }, { "target": "com.amazonaws.redshift#DescribeLoggingStatus" }, @@ -14027,6 +14612,9 @@ { "target": "com.amazonaws.redshift#ModifyEventSubscription" }, + { + "target": "com.amazonaws.redshift#ModifyIntegration" + }, { "target": "com.amazonaws.redshift#ModifyRedshiftIdcApplication" }, @@ -15789,7 +16377,7 @@ } ], "traits": { - "smithy.api#documentation": "

Changes the size of the cluster. You can change the cluster's type, or change the\n number or type of nodes. The default behavior is to use the elastic resize method. With\n an elastic resize, your cluster is available for read and write operations more quickly\n than with the classic resize method.

\n

Elastic resize operations have the following restrictions:

\n " + "smithy.api#documentation": "

Changes the size of the cluster. You can change the cluster's type, or change the\n number or type of nodes. The default behavior is to use the elastic resize method. With\n an elastic resize, your cluster is available for read and write operations more quickly\n than with the classic resize method.

\n

Elastic resize operations have the following restrictions:

\n " } }, "com.amazonaws.redshift#ResizeClusterMessage": { diff --git a/aws-models/resiliencehub.json b/aws-models/resiliencehub.json index fd69f005faed..e15e88b48c56 100644 --- a/aws-models/resiliencehub.json +++ b/aws-models/resiliencehub.json @@ -319,30 +319,38 @@ } }, "com.amazonaws.resiliencehub#AlarmType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Metric", - "name": "METRIC" - }, - { - "value": "Composite", - "name": "COMPOSITE" - }, - { - "value": "Canary", - "name": "CANARY" - }, - { - "value": "Logs", - "name": "LOGS" - }, - { - "value": "Event", - "name": "EVENT" + "type": "enum", + "members": { + "METRIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Metric" + } + }, + "COMPOSITE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Composite" + } + }, + "CANARY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Canary" + } + }, + "LOGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Logs" + } + }, + "EVENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Event" } - ] + } } }, "com.amazonaws.resiliencehub#App": { @@ -459,6 +467,12 @@ "traits": { "smithy.api#documentation": "

Recovery Point Objective (RPO) in seconds.

" } + }, + "awsApplicationArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

" + } } }, "traits": { @@ -582,7 +596,7 @@ "summary": { "target": "com.amazonaws.resiliencehub#AssessmentSummary", "traits": { - "smithy.api#documentation": "

Indicates a concise summary that provides an overview of the Resilience Hub assessment.

" + "smithy.api#documentation": "

Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.

\n \n

This property is available only in the US East (N. Virginia) Region.

\n
" } } }, @@ -591,18 +605,20 @@ } }, "com.amazonaws.resiliencehub#AppAssessmentScheduleType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Disabled", - "name": "DISABLED" - }, - { - "value": "Daily", - "name": "DAILY" + "type": "enum", + "members": { + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Disabled" + } + }, + "DAILY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Daily" } - ] + } } }, "com.amazonaws.resiliencehub#AppAssessmentSummary": { @@ -707,34 +723,44 @@ } }, "com.amazonaws.resiliencehub#AppComplianceStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PolicyBreached", - "name": "POLICY_BREACHED" - }, - { - "value": "PolicyMet", - "name": "POLICY_MET" - }, - { - "value": "NotAssessed", - "name": "NOT_ASSESSED" - }, - { - "value": "ChangesDetected", - "name": "CHANGES_DETECTED" - }, - { - "value": "NotApplicable", - "name": "NOT_APPLICABLE" - }, - { - "value": "MissingPolicy", - "name": "MISSING_POLICY" + "type": "enum", + "members": { + "POLICY_BREACHED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PolicyBreached" + } + }, + "POLICY_MET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PolicyMet" + } + }, + "NOT_ASSESSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotAssessed" + } + }, + "CHANGES_DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ChangesDetected" + } + }, + "NOT_APPLICABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotApplicable" + } + }, + "MISSING_POLICY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissingPolicy" } - ] + } } }, "com.amazonaws.resiliencehub#AppComponent": { @@ -828,22 +854,26 @@ } }, "com.amazonaws.resiliencehub#AppDriftStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NotChecked", - "name": "NOT_CHECKED" - }, - { - "value": "NotDetected", - "name": "NOT_DETECTED" - }, - { - "value": "Detected", - "name": "DETECTED" + "type": "enum", + "members": { + "NOT_CHECKED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotChecked" + } + }, + "NOT_DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotDetected" } - ] + }, + "DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Detected" + } + } } }, "com.amazonaws.resiliencehub#AppInputSource": { @@ -899,18 +929,20 @@ } }, "com.amazonaws.resiliencehub#AppStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Active", - "name": "ACTIVE" - }, - { - "value": "Deleting", - "name": "DELETING" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Active" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Deleting" } - ] + } } }, "com.amazonaws.resiliencehub#AppSummary": { @@ -991,6 +1023,12 @@ "traits": { "smithy.api#documentation": "

Recovery Point Objective (RPO) in seconds.

" } + }, + "awsApplicationArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

" + } } }, "traits": { @@ -1074,18 +1112,20 @@ } }, "com.amazonaws.resiliencehub#AssessmentInvoker": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "User", - "name": "USER" - }, - { - "value": "System", - "name": "SYSTEM" + "type": "enum", + "members": { + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "User" + } + }, + "SYSTEM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "System" } - ] + } } }, "com.amazonaws.resiliencehub#AssessmentRiskRecommendation": { @@ -1121,26 +1161,32 @@ } }, "com.amazonaws.resiliencehub#AssessmentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InProgress", - "name": "INPROGRESS" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Success", - "name": "SUCCESS" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "INPROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" } - ] + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Success" + } + } } }, "com.amazonaws.resiliencehub#AssessmentStatusList": { @@ -2400,8 +2446,7 @@ "item": { "target": "com.amazonaws.resiliencehub#UpdateRecommendationStatusItem", "traits": { - "smithy.api#documentation": "

The operational recommendation item.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The operational recommendation item.

" } }, "excluded": { @@ -2510,26 +2555,32 @@ } }, "com.amazonaws.resiliencehub#ComplianceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PolicyBreached", - "name": "POLICY_BREACHED" - }, - { - "value": "PolicyMet", - "name": "POLICY_MET" - }, - { - "value": "NotApplicable", - "name": "NOT_APPLICABLE" - }, - { - "value": "MissingPolicy", - "name": "MISSING_POLICY" + "type": "enum", + "members": { + "POLICY_BREACHED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PolicyBreached" + } + }, + "POLICY_MET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PolicyMet" + } + }, + "NOT_APPLICABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotApplicable" + } + }, + "MISSING_POLICY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissingPolicy" } - ] + } } }, "com.amazonaws.resiliencehub#ComponentCompliancesList": { @@ -2651,34 +2702,44 @@ } }, "com.amazonaws.resiliencehub#ConfigRecommendationOptimizationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LeastCost", - "name": "LEAST_COST" - }, - { - "value": "LeastChange", - "name": "LEAST_CHANGE" - }, - { - "value": "BestAZRecovery", - "name": "BEST_AZ_RECOVERY" - }, - { - "value": "LeastErrors", - "name": "LEAST_ERRORS" - }, - { - "value": "BestAttainable", - "name": "BEST_ATTAINABLE" - }, - { - "value": "BestRegionRecovery", - "name": "BEST_REGION_RECOVERY" + "type": "enum", + "members": { + "LEAST_COST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LeastCost" + } + }, + "LEAST_CHANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LeastChange" + } + }, + "BEST_AZ_RECOVERY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BestAZRecovery" } - ] + }, + "LEAST_ERRORS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LeastErrors" + } + }, + "BEST_ATTAINABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BestAttainable" + } + }, + "BEST_REGION_RECOVERY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BestRegionRecovery" + } + } } }, "com.amazonaws.resiliencehub#ConflictException": { @@ -2737,26 +2798,32 @@ } }, "com.amazonaws.resiliencehub#CostFrequency": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Hourly", - "name": "HOURLY" - }, - { - "value": "Daily", - "name": "DAILY" - }, - { - "value": "Monthly", - "name": "MONTHLY" - }, - { - "value": "Yearly", - "name": "YEARLY" + "type": "enum", + "members": { + "HOURLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hourly" + } + }, + "DAILY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Daily" + } + }, + "MONTHLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Monthly" + } + }, + "YEARLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Yearly" } - ] + } } }, "com.amazonaws.resiliencehub#CreateApp": { @@ -2851,6 +2918,12 @@ "traits": { "smithy.api#documentation": "

The list of events you would like to subscribe and get notification for. Currently,\n Resilience Hub supports only Drift detected and\n Scheduled assessment failure events notification.

" } + }, + "awsApplicationArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

" + } } } }, @@ -3335,22 +3408,26 @@ } }, "com.amazonaws.resiliencehub#DataLocationConstraint": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AnyLocation", - "name": "ANY_LOCATION" - }, - { - "value": "SameContinent", - "name": "SAME_CONTINENT" - }, - { - "value": "SameCountry", - "name": "SAME_COUNTRY" + "type": "enum", + "members": { + "ANY_LOCATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AnyLocation" + } + }, + "SAME_CONTINENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SameContinent" } - ] + }, + "SAME_COUNTRY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SameCountry" + } + } } }, "com.amazonaws.resiliencehub#DeleteApp": { @@ -4579,7 +4656,13 @@ "errorMessage": { "target": "com.amazonaws.resiliencehub#String500", "traits": { - "smithy.api#documentation": "

The returned error message for the request.

" + "smithy.api#documentation": "

The error message returned for the resource request.

" + } + }, + "errorDetails": { + "target": "com.amazonaws.resiliencehub#ErrorDetailList", + "traits": { + "smithy.api#documentation": "

List of errors that were encountered while importing resources.

" } } } @@ -4726,22 +4809,26 @@ } }, "com.amazonaws.resiliencehub#DifferenceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NotEqual", - "name": "NOT_EQUAL" - }, - { - "value": "Added", - "name": "ADDED" - }, - { - "value": "Removed", - "name": "REMOVED" + "type": "enum", + "members": { + "NOT_EQUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotEqual" + } + }, + "ADDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Added" + } + }, + "REMOVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Removed" } - ] + } } }, "com.amazonaws.resiliencehub#DisruptionCompliance": { @@ -4836,26 +4923,32 @@ } }, "com.amazonaws.resiliencehub#DisruptionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Software", - "name": "SOFTWARE" - }, - { - "value": "Hardware", - "name": "HARDWARE" - }, - { - "value": "AZ", - "name": "AZ" - }, - { - "value": "Region", - "name": "REGION" + "type": "enum", + "members": { + "SOFTWARE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Software" + } + }, + "HARDWARE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hardware" + } + }, + "AZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AZ" + } + }, + "REGION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Region" } - ] + } } }, "com.amazonaws.resiliencehub#DocumentName": { @@ -4874,37 +4967,43 @@ } }, "com.amazonaws.resiliencehub#DriftStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NotChecked", - "name": "NOT_CHECKED" - }, - { - "value": "NotDetected", - "name": "NOT_DETECTED" - }, - { - "value": "Detected", - "name": "DETECTED" + "type": "enum", + "members": { + "NOT_CHECKED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotChecked" + } + }, + "NOT_DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotDetected" + } + }, + "DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Detected" } - ] + } } }, "com.amazonaws.resiliencehub#DriftType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ApplicationCompliance", - "name": "APPLICATION_COMPLIANCE" - }, - { - "value": "AppComponentResiliencyComplianceStatus", - "name": "APP_COMPONENT_RESILIENCY_COMPLIANCE_STATUS" + "type": "enum", + "members": { + "APPLICATION_COMPLIANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ApplicationCompliance" } - ] + }, + "APP_COMPONENT_RESILIENCY_COMPLIANCE_STATUS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AppComponentResiliencyComplianceStatus" + } + } } }, "com.amazonaws.resiliencehub#EksNamespace": { @@ -5012,36 +5111,62 @@ "smithy.api#pattern": "^\\S{1,50}$" } }, - "com.amazonaws.resiliencehub#ErrorMessage": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 500 + "com.amazonaws.resiliencehub#ErrorDetail": { + "type": "structure", + "members": { + "errorMessage": { + "target": "com.amazonaws.resiliencehub#ErrorMessage", + "traits": { + "smithy.api#documentation": "

Provides additional information about the error.

" + } } + }, + "traits": { + "smithy.api#documentation": "

Indicates the error that was encountered while importing a resource.

" } }, - "com.amazonaws.resiliencehub#EstimatedCostTier": { + "com.amazonaws.resiliencehub#ErrorDetailList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#ErrorDetail" + } + }, + "com.amazonaws.resiliencehub#ErrorMessage": { "type": "string", "traits": { - "smithy.api#enum": [ - { - "value": "L1", - "name": "L1" - }, - { - "value": "L2", - "name": "L2" - }, - { - "value": "L3", - "name": "L3" - }, - { - "value": "L4", - "name": "L4" + "smithy.api#length": { + "min": 0, + "max": 500 + } + } + }, + "com.amazonaws.resiliencehub#EstimatedCostTier": { + "type": "enum", + "members": { + "L1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "L1" + } + }, + "L2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "L2" + } + }, + "L3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "L3" + } + }, + "L4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "L4" } - ] + } } }, "com.amazonaws.resiliencehub#EventSubscription": { @@ -5085,37 +5210,43 @@ } }, "com.amazonaws.resiliencehub#EventType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ScheduledAssessmentFailure", - "name": "SCHEDULED_ASSESSMENT_FAILURE" - }, - { - "value": "DriftDetected", - "name": "DRIFT_DETECTED" + "type": "enum", + "members": { + "SCHEDULED_ASSESSMENT_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScheduledAssessmentFailure" + } + }, + "DRIFT_DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DriftDetected" } - ] + } } }, "com.amazonaws.resiliencehub#ExcludeRecommendationReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AlreadyImplemented", - "name": "ALREADY_IMPLEMENTED" - }, - { - "value": "NotRelevant", - "name": "NOT_RELEVANT" - }, - { - "value": "ComplexityOfImplementation", - "name": "COMPLEXITY_OF_IMPLEMENTATION" + "type": "enum", + "members": { + "ALREADY_IMPLEMENTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AlreadyImplemented" + } + }, + "NOT_RELEVANT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotRelevant" } - ] + }, + "COMPLEXITY_OF_IMPLEMENTATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ComplexityOfImplementation" + } + } } }, "com.amazonaws.resiliencehub#FailedGroupingRecommendationEntries": { @@ -5271,18 +5402,20 @@ } }, "com.amazonaws.resiliencehub#GroupingRecommendationConfidenceLevel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "HIGH", - "value": "High" - }, - { - "name": "MEDIUM", - "value": "Medium" + "type": "enum", + "members": { + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "High" + } + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Medium" } - ] + } } }, "com.amazonaws.resiliencehub#GroupingRecommendationList": { @@ -5292,45 +5425,55 @@ } }, "com.amazonaws.resiliencehub#GroupingRecommendationRejectionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "DISTINCT_BUSINESS_PURPOSE", - "value": "DistinctBusinessPurpose" - }, - { - "name": "SEPARATE_DATA_CONCERN", - "value": "SeparateDataConcern" - }, - { - "name": "DISTINCT_USER_GROUP_HANDLING", - "value": "DistinctUserGroupHandling" - }, - { - "name": "OTHER", - "value": "Other" + "type": "enum", + "members": { + "DISTINCT_BUSINESS_PURPOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DistinctBusinessPurpose" + } + }, + "SEPARATE_DATA_CONCERN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SeparateDataConcern" } - ] + }, + "DISTINCT_USER_GROUP_HANDLING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DistinctUserGroupHandling" + } + }, + "OTHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Other" + } + } } }, "com.amazonaws.resiliencehub#GroupingRecommendationStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "ACCEPTED", - "value": "Accepted" - }, - { - "name": "REJECTED", - "value": "Rejected" - }, - { - "name": "PENDING_DECISION", - "value": "PendingDecision" + "type": "enum", + "members": { + "ACCEPTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Accepted" } - ] + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Rejected" + } + }, + "PENDING_DECISION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PendingDecision" + } + } } }, "com.amazonaws.resiliencehub#GroupingResource": { @@ -5383,30 +5526,38 @@ } }, "com.amazonaws.resiliencehub#HaArchitecture": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MultiSite", - "name": "MULTI_SITE" - }, - { - "value": "WarmStandby", - "name": "WARM_STANDBY" - }, - { - "value": "PilotLight", - "name": "PILOT_LIGHT" - }, - { - "value": "BackupAndRestore", - "name": "BACKUP_AND_RESTORE" - }, - { - "value": "NoRecoveryPlan", - "name": "NO_RECOVERY_PLAN" + "type": "enum", + "members": { + "MULTI_SITE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MultiSite" + } + }, + "WARM_STANDBY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WarmStandby" + } + }, + "PILOT_LIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PilotLight" + } + }, + "BACKUP_AND_RESTORE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BackupAndRestore" + } + }, + "NO_RECOVERY_PLAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NoRecoveryPlan" } - ] + } } }, "com.amazonaws.resiliencehub#IamRoleArn": { @@ -5679,7 +5830,7 @@ } ], "traits": { - "smithy.api#documentation": "

List of compliance drifts that were detected while running an assessment.

", + "smithy.api#documentation": "

Indicates the list of compliance drifts that were detected while running an\n assessment.

", "smithy.api#http": { "method": "POST", "uri": "/list-app-assessment-compliance-drifts", @@ -6668,6 +6819,13 @@ "smithy.api#documentation": "

The application list is sorted based on the values of\n lastAppComplianceEvaluationTime field. By default, application list is sorted\n in ascending order. To sort the application list in descending order, set this field to\n True.

", "smithy.api#httpQuery": "reverseOrder" } + }, + "awsApplicationArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

", + "smithy.api#httpQuery": "awsApplicationArn" + } } } }, @@ -7471,33 +7629,37 @@ } }, "com.amazonaws.resiliencehub#PermissionModelType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LegacyIAMUser", - "name": "LEGACY_IAM_USER" - }, - { - "value": "RoleBased", - "name": "ROLE_BASED" + "type": "enum", + "members": { + "LEGACY_IAM_USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LegacyIAMUser" + } + }, + "ROLE_BASED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RoleBased" } - ] + } } }, "com.amazonaws.resiliencehub#PhysicalIdentifierType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Arn", - "name": "ARN" - }, - { - "value": "Native", - "name": "NATIVE" + "type": "enum", + "members": { + "ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Arn" + } + }, + "NATIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Native" } - ] + } } }, "com.amazonaws.resiliencehub#PhysicalResource": { @@ -7773,26 +7935,32 @@ } }, "com.amazonaws.resiliencehub#RecommendationComplianceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BreachedUnattainable", - "name": "BREACHED_UNATTAINABLE" - }, - { - "value": "BreachedCanMeet", - "name": "BREACHED_CAN_MEET" - }, - { - "value": "MetCanImprove", - "name": "MET_CAN_IMPROVE" - }, - { - "value": "MissingPolicy", - "name": "MISSING_POLICY" + "type": "enum", + "members": { + "BREACHED_UNATTAINABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BreachedUnattainable" } - ] + }, + "BREACHED_CAN_MEET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BreachedCanMeet" + } + }, + "MET_CAN_IMPROVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MetCanImprove" + } + }, + "MISSING_POLICY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissingPolicy" + } + } } }, "com.amazonaws.resiliencehub#RecommendationDisruptionCompliance": { @@ -7899,26 +8067,32 @@ } }, "com.amazonaws.resiliencehub#RecommendationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Implemented", - "name": "IMPLEMENTED" - }, - { - "value": "Inactive", - "name": "INACTIVE" - }, - { - "value": "NotImplemented", - "name": "NOT_IMPLEMENTED" - }, - { - "value": "Excluded", - "name": "EXCLUDED" + "type": "enum", + "members": { + "IMPLEMENTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Implemented" + } + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Inactive" + } + }, + "NOT_IMPLEMENTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotImplemented" + } + }, + "EXCLUDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Excluded" } - ] + } } }, "com.amazonaws.resiliencehub#RecommendationTemplate": { @@ -8026,26 +8200,32 @@ } }, "com.amazonaws.resiliencehub#RecommendationTemplateStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Success", - "name": "SUCCESS" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" } - ] + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Success" + } + } } }, "com.amazonaws.resiliencehub#RecommendationTemplateStatusList": { @@ -8274,22 +8454,26 @@ } }, "com.amazonaws.resiliencehub#RenderRecommendationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Alarm", - "name": "ALARM" - }, - { - "value": "Sop", - "name": "SOP" - }, - { - "value": "Test", - "name": "TEST" + "type": "enum", + "members": { + "ALARM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Alarm" + } + }, + "SOP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Sop" + } + }, + "TEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Test" } - ] + } } }, "com.amazonaws.resiliencehub#RenderRecommendationTypeList": { @@ -8373,34 +8557,44 @@ } }, "com.amazonaws.resiliencehub#ResiliencyPolicyTier": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MissionCritical", - "name": "MISSION_CRITICAL" - }, - { - "value": "Critical", - "name": "CRITICAL" - }, - { - "value": "Important", - "name": "IMPORTANT" - }, - { - "value": "CoreServices", - "name": "CORE_SERVICES" - }, - { - "value": "NonCritical", - "name": "NON_CRITICAL" - }, - { - "value": "NotApplicable", - "name": "NOT_APPLICABLE" + "type": "enum", + "members": { + "MISSION_CRITICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissionCritical" + } + }, + "CRITICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Critical" + } + }, + "IMPORTANT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Important" + } + }, + "CORE_SERVICES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CoreServices" + } + }, + "NON_CRITICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NonCritical" + } + }, + "NOT_APPLICABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotApplicable" } - ] + } } }, "com.amazonaws.resiliencehub#ResiliencyScore": { @@ -8433,26 +8627,32 @@ } }, "com.amazonaws.resiliencehub#ResiliencyScoreType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Compliance", - "name": "COMPLIANCE" - }, - { - "value": "Test", - "name": "TEST" - }, - { - "value": "Alarm", - "name": "ALARM" - }, - { - "value": "Sop", - "name": "SOP" + "type": "enum", + "members": { + "COMPLIANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Compliance" + } + }, + "TEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Test" + } + }, + "ALARM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Alarm" } - ] + }, + "SOP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Sop" + } + } } }, "com.amazonaws.resiliencehub#ResolveAppVersionResources": { @@ -8667,41 +8867,49 @@ } }, "com.amazonaws.resiliencehub#ResourceImportStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "PENDING", - "value": "Pending" - }, - { - "name": "IN_PROGRESS", - "value": "InProgress" - }, - { - "name": "FAILED", - "value": "Failed" - }, - { - "name": "SUCCESS", - "value": "Success" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" } - ] + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Success" + } + } } }, "com.amazonaws.resiliencehub#ResourceImportStrategyType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AddOnly", - "name": "ADD_ONLY" - }, - { - "value": "ReplaceAll", - "name": "REPLACE_ALL" + "type": "enum", + "members": { + "ADD_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AddOnly" } - ] + }, + "REPLACE_ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ReplaceAll" + } + } } }, "com.amazonaws.resiliencehub#ResourceMapping": { @@ -8769,34 +8977,44 @@ } }, "com.amazonaws.resiliencehub#ResourceMappingType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CfnStack", - "name": "CFN_STACK" - }, - { - "value": "Resource", - "name": "RESOURCE" - }, - { - "value": "AppRegistryApp", - "name": "APP_REGISTRY_APP" - }, - { - "value": "ResourceGroup", - "name": "RESOURCE_GROUP" - }, - { - "value": "Terraform", - "name": "TERRAFORM" - }, - { - "value": "EKS", - "name": "EKS" + "type": "enum", + "members": { + "CFN_STACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CfnStack" + } + }, + "RESOURCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Resource" } - ] + }, + "APP_REGISTRY_APP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AppRegistryApp" + } + }, + "RESOURCE_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceGroup" + } + }, + "TERRAFORM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Terraform" + } + }, + "EKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EKS" + } + } } }, "com.amazonaws.resiliencehub#ResourceNotFoundException": { @@ -8825,41 +9043,49 @@ } }, "com.amazonaws.resiliencehub#ResourceResolutionStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Success", - "name": "SUCCESS" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Success" } - ] + } } }, "com.amazonaws.resiliencehub#ResourceSourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AppTemplate", - "name": "APP_TEMPLATE" - }, - { - "value": "Discovered", - "name": "DISCOVERED" + "type": "enum", + "members": { + "APP_TEMPLATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AppTemplate" + } + }, + "DISCOVERED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Discovered" } - ] + } } }, "com.amazonaws.resiliencehub#ResourceType": { @@ -8869,26 +9095,32 @@ } }, "com.amazonaws.resiliencehub#ResourcesGroupingRecGenStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "PENDING", - "value": "Pending" - }, - { - "name": "IN_PROGRESS", - "value": "InProgress" - }, - { - "name": "FAILED", - "value": "Failed" - }, - { - "name": "SUCCESS", - "value": "Success" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Success" } - ] + } } }, "com.amazonaws.resiliencehub#RetryAfterSeconds": { @@ -9062,14 +9294,14 @@ } }, "com.amazonaws.resiliencehub#SopServiceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SSM", - "name": "SSM" + "type": "enum", + "members": { + "SSM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SSM" } - ] + } } }, "com.amazonaws.resiliencehub#SpecReferenceId": { @@ -9421,18 +9653,20 @@ } }, "com.amazonaws.resiliencehub#TemplateFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CfnYaml", - "name": "CFN_YAML" - }, - { - "value": "CfnJson", - "name": "CFN_JSON" + "type": "enum", + "members": { + "CFN_YAML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CfnYaml" } - ] + }, + "CFN_JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CfnJson" + } + } } }, "com.amazonaws.resiliencehub#TerraformSource": { @@ -9544,45 +9778,55 @@ } }, "com.amazonaws.resiliencehub#TestRisk": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Small", - "name": "SMALL" - }, - { - "value": "Medium", - "name": "MEDIUM" - }, - { - "value": "High", - "name": "HIGH" + "type": "enum", + "members": { + "SMALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Small" } - ] + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Medium" + } + }, + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "High" + } + } } }, "com.amazonaws.resiliencehub#TestType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Software", - "name": "SOFTWARE" - }, - { - "value": "Hardware", - "name": "HARDWARE" - }, - { - "value": "AZ", - "name": "AZ" - }, - { - "value": "Region", - "name": "REGION" + "type": "enum", + "members": { + "SOFTWARE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Software" } - ] + }, + "HARDWARE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hardware" + } + }, + "AZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AZ" + } + }, + "REGION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Region" + } + } } }, "com.amazonaws.resiliencehub#ThrottlingException": { @@ -9781,7 +10025,7 @@ "permissionModel": { "target": "com.amazonaws.resiliencehub#PermissionModel", "traits": { - "smithy.api#documentation": "

Defines the roles and credentials that Resilience Hub would use while creating\n an\n application, importing its resources, and running an assessment.

" + "smithy.api#documentation": "

Defines the roles and credentials that Resilience Hub would use while creating an\n application, importing its resources, and running an assessment.

" } }, "eventSubscriptions": { @@ -10172,8 +10416,7 @@ "item": { "target": "com.amazonaws.resiliencehub#UpdateRecommendationStatusItem", "traits": { - "smithy.api#documentation": "

The operational recommendation item.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The operational recommendation item.

" } }, "excluded": { diff --git a/aws-models/sdk-endpoints.json b/aws-models/sdk-endpoints.json index d05ebee7cd42..5eaa98810861 100644 --- a/aws-models/sdk-endpoints.json +++ b/aws-models/sdk-endpoints.json @@ -19844,6 +19844,86 @@ } } }, + "ssm-quicksetup" : { + "endpoints" : { + "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-south-1" : { }, + "ap-southeast-1" : { }, + "ap-southeast-2" : { }, + "ca-central-1" : { + "variants" : [ { + "hostname" : "ssm-quicksetup-fips.ca-central-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "eu-central-1" : { }, + "eu-north-1" : { }, + "eu-west-1" : { }, + "eu-west-2" : { }, + "eu-west-3" : { }, + "fips-ca-central-1" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "deprecated" : true, + "hostname" : "ssm-quicksetup-fips.ca-central-1.amazonaws.com" + }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "ssm-quicksetup-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "deprecated" : true, + "hostname" : "ssm-quicksetup-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "deprecated" : true, + "hostname" : "ssm-quicksetup-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "ssm-quicksetup-fips.us-west-2.amazonaws.com" + }, + "sa-east-1" : { }, + "us-east-1" : { + "variants" : [ { + "hostname" : "ssm-quicksetup-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-east-2" : { + "variants" : [ { + "hostname" : "ssm-quicksetup-fips.us-east-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-1" : { + "variants" : [ { + "hostname" : "ssm-quicksetup-fips.us-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "hostname" : "ssm-quicksetup-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + } + } + }, "ssm-sap" : { "endpoints" : { "af-south-1" : { }, diff --git a/aws-models/sesv2.json b/aws-models/sesv2.json index 6d5b05b42760..dcffa149ffb6 100644 --- a/aws-models/sesv2.json +++ b/aws-models/sesv2.json @@ -2820,6 +2820,12 @@ "traits": { "smithy.api#documentation": "

The name of the dedicated IP pool to associate with the configuration set.

" } + }, + "MaxDeliverySeconds": { + "target": "com.amazonaws.sesv2#MaxDeliverySeconds", + "traits": { + "smithy.api#documentation": "

The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email.\n If specified, the value must greater than or equal to 300 seconds (5 minutes)\n and less than or equal to 50400 seconds (840 minutes).\n

" + } } }, "traits": { @@ -7498,6 +7504,15 @@ "smithy.api#default": 0 } }, + "com.amazonaws.sesv2#MaxDeliverySeconds": { + "type": "long", + "traits": { + "smithy.api#range": { + "min": 300, + "max": 50400 + } + } + }, "com.amazonaws.sesv2#MaxItems": { "type": "integer" }, @@ -8481,6 +8496,12 @@ "traits": { "smithy.api#documentation": "

The name of the dedicated IP pool to associate with the configuration set.

" } + }, + "MaxDeliverySeconds": { + "target": "com.amazonaws.sesv2#MaxDeliverySeconds", + "traits": { + "smithy.api#documentation": "

The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email.\n If specified, the value must greater than or equal to 300 seconds (5 minutes)\n and less than or equal to 50400 seconds (840 minutes).\n

" + } } }, "traits": { diff --git a/aws-models/transcribe-streaming.json b/aws-models/transcribe-streaming.json index aba0f389cca2..aaba2505c660 100644 --- a/aws-models/transcribe-streaming.json +++ b/aws-models/transcribe-streaming.json @@ -108,7 +108,7 @@ } }, "traits": { - "smithy.api#documentation": "

One or more arguments to the StartStreamTranscription, \n StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription \n operation was not valid. For example, MediaEncoding or LanguageCode \n used not valid values. Check the specified parameters and try your request again.

", + "smithy.api#documentation": "

One or more arguments to the StartStreamTranscription, \n StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription \n operation was not valid. For example, MediaEncoding or LanguageCode \n used unsupported values. Check the specified parameters and try your request again.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -317,7 +317,7 @@ } }, "traits": { - "smithy.api#documentation": "

Contains detailed information about your Call Analytics streaming session. These details are \n provided in the UtteranceEvent and CategoryEvent objects.

", + "smithy.api#documentation": "

Contains detailed information about your real-time Call Analytics session. These details are \n provided in the UtteranceEvent and CategoryEvent objects.

", "smithy.api#streaming": {} } }, @@ -421,7 +421,7 @@ "PostCallAnalyticsSettings": { "target": "com.amazonaws.transcribestreaming#PostCallAnalyticsSettings", "traits": { - "smithy.api#documentation": "

Provides additional optional settings for your Call Analytics post-call request, including \n encryption and output locations for your redacted and unredacted transcript.

" + "smithy.api#documentation": "

Provides additional optional settings for your Call Analytics post-call request, including \n encryption and output locations for your redacted transcript.

\n

\n PostCallAnalyticsSettings provides you with the same insights as a \n Call Analytics post-call transcription. Refer to Post-call analytics for more information \n on this feature.

" } } }, @@ -732,16 +732,256 @@ "smithy.api#enumValue": "zh-CN" } }, + "TH_TH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "th-TH" + } + }, + "ES_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-ES" + } + }, + "AR_SA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ar-SA" + } + }, + "PT_PT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pt-PT" + } + }, + "CA_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ca-ES" + } + }, + "AR_AE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ar-AE" + } + }, "HI_IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "hi-IN" } }, - "TH_TH": { + "ZH_HK": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "th-TH" + "smithy.api#enumValue": "zh-HK" + } + }, + "NL_NL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nl-NL" + } + }, + "NO_NO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "no-NO" + } + }, + "SV_SE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sv-SE" + } + }, + "PL_PL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pl-PL" + } + }, + "FI_FI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fi-FI" + } + }, + "ZH_TW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "zh-TW" + } + }, + "EN_IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-IN" + } + }, + "EN_IE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-IE" + } + }, + "EN_NZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-NZ" + } + }, + "EN_AB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-AB" + } + }, + "EN_ZA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-ZA" + } + }, + "EN_WL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-WL" + } + }, + "DE_CH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de-CH" + } + }, + "AF_ZA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "af-ZA" + } + }, + "EU_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "eu-ES" + } + }, + "HR_HR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hr-HR" + } + }, + "CS_CZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cs-CZ" + } + }, + "DA_DK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "da-DK" + } + }, + "FA_IR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fa-IR" + } + }, + "GL_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "gl-ES" + } + }, + "EL_GR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "el-GR" + } + }, + "HE_IL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "he-IL" + } + }, + "ID_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "id-ID" + } + }, + "LV_LV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "lv-LV" + } + }, + "MS_MY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ms-MY" + } + }, + "RO_RO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ro-RO" + } + }, + "RU_RU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ru-RU" + } + }, + "SR_RS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sr-RS" + } + }, + "SK_SK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sk-SK" + } + }, + "SO_SO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "so-SO" + } + }, + "TL_PH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tl-PH" + } + }, + "UK_UA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "uk-UA" + } + }, + "VI_VN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "vi-VN" + } + }, + "ZU_ZA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "zu-ZA" } } } @@ -1200,12 +1440,12 @@ "OutputEncryptionKMSKeyId": { "target": "com.amazonaws.transcribestreaming#String", "traits": { - "smithy.api#documentation": "

The KMS key you want to use to encrypt your Call Analytics post-call\n output.

\n

If using a key located in the current\n Amazon Web Services account, you can specify your KMS key in one of four\n ways:

\n
    \n
  1. \n

    Use the KMS key ID itself. For example,\n 1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  2. \n
  3. \n

    Use an alias for the KMS key ID. For example,\n alias/ExampleAlias.

    \n
  4. \n
  5. \n

    Use the Amazon Resource Name (ARN) for the KMS key ID. For\n example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  6. \n
  7. \n

    Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias.

    \n
  8. \n
\n

If using a key located in a different\n Amazon Web Services account than the current Amazon Web Services account, you can specify\n your KMS key in one of two ways:

\n
    \n
  1. \n

    Use the ARN for the KMS key ID. For example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  2. \n
  3. \n

    Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias.

    \n
  4. \n
\n

Note that the user making the request must\n have permission to use the specified KMS key.

" + "smithy.api#documentation": "

The KMS key you want to use to encrypt your Call Analytics post-call\n output.

\n

If using a key located in the current\n Amazon Web Services account, you can specify your KMS key in one of four\n ways:

\n
    \n
  1. \n

    Use the KMS key ID itself. For example,\n 1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  2. \n
  3. \n

    Use an alias for the KMS key ID. For example,\n alias/ExampleAlias.

    \n
  4. \n
  5. \n

    Use the Amazon Resource Name (ARN) for the KMS key ID. For\n example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  6. \n
  7. \n

    Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias.

    \n
  8. \n
\n

If using a key located in a different\n Amazon Web Services account than the current Amazon Web Services account, you can specify\n your KMS key in one of two ways:

\n
    \n
  1. \n

    Use the ARN for the KMS key ID. For example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  2. \n
  3. \n

    Use the ARN for the KMS key alias. For example,\n arn:aws:kms:region:account-ID:alias/ExampleAlias.

    \n
  4. \n
\n

Note that the role making the \n request must have permission to use the specified KMS key.

" } } }, "traits": { - "smithy.api#documentation": "

Allows you to specify additional settings for your streaming Call Analytics \n post-call request, including output locations for your redacted and unredacted \n transcript, which IAM role to use, and, optionally, which encryption key to \n use.

\n

\n ContentRedactionOutput, DataAccessRoleArn, and\n OutputLocation are required fields.

" + "smithy.api#documentation": "

Allows you to specify additional settings for your Call Analytics post-call request, \n including output locations for your redacted transcript, which IAM role to use, \n and which encryption key to use.

\n

\n DataAccessRoleArn and OutputLocation are required \n fields.

\n

\n PostCallAnalyticsSettings provides you with the same insights as a \n Call Analytics post-call transcription. Refer to Post-call analytics for more information \n on this feature.

" } }, "com.amazonaws.transcribestreaming#RequestId": { @@ -1412,7 +1652,7 @@ "LanguageCode": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsLanguageCode", "traits": { - "smithy.api#documentation": "

Specify the language code that represents the language spoken in your audio.

\n

If you're unsure of the language spoken in your audio, consider using \n IdentifyLanguage to enable automatic language identification.

\n

For a list of languages supported with streaming Call Analytics, refer to the \n Supported \n languages table.

", + "smithy.api#documentation": "

Specify the language code that represents the language spoken in your audio.

\n

For a list of languages supported with real-time Call Analytics, refer to the \n Supported \n languages table.

", "smithy.api#httpHeader": "x-amzn-transcribe-language-code", "smithy.api#required": {} } @@ -1443,13 +1683,14 @@ "SessionId": { "target": "com.amazonaws.transcribestreaming#SessionId", "traits": { - "smithy.api#documentation": "

Specify a name for your Call Analytics transcription session. If you don't include this parameter\n in your request, Amazon Transcribe generates an ID and returns it in the response.

\n

You can use a session ID to retry a streaming session.

", + "smithy.api#documentation": "

Specify a name for your Call Analytics transcription session. If you don't include this parameter\n in your request, Amazon Transcribe generates an ID and returns it in the response.

", "smithy.api#httpHeader": "x-amzn-transcribe-session-id" } }, "AudioStream": { "target": "com.amazonaws.transcribestreaming#AudioStream", "traits": { + "smithy.api#documentation": "

An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket \n data frames.

\n

For more information, see Transcribing streaming audio.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -1493,21 +1734,21 @@ "ContentIdentificationType": { "target": "com.amazonaws.transcribestreaming#ContentIdentificationType", "traits": { - "smithy.api#documentation": "

Labels all personally identifiable information (PII) identified in your transcript.

\n

Content identification is performed at the segment level; PII specified in \n PiiEntityTypes is flagged upon complete transcription of an audio segment.

\n

You can’t set ContentIdentificationType and ContentRedactionType\n in the same request. If you set both, your request returns a\n BadRequestException.

\n

For more information, see Redacting or identifying personally identifiable\n information.

", + "smithy.api#documentation": "

Labels all personally identifiable information (PII) identified in your transcript.

\n

Content identification is performed at the segment level; PII specified in \n PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't\n include PiiEntityTypes in your request, all PII is identified.

\n

You can’t set ContentIdentificationType and ContentRedactionType\n in the same request. If you set both, your request returns a\n BadRequestException.

\n

For more information, see Redacting or identifying personally identifiable\n information.

", "smithy.api#httpHeader": "x-amzn-transcribe-content-identification-type" } }, "ContentRedactionType": { "target": "com.amazonaws.transcribestreaming#ContentRedactionType", "traits": { - "smithy.api#documentation": "

Redacts all personally identifiable information (PII) identified in your transcript.

\n

Content redaction is performed at the segment level; PII specified in \n PiiEntityTypes is redacted upon complete transcription of an audio segment.

\n

You can’t set ContentRedactionType and ContentIdentificationType\n in the same request. If you set both, your request returns a\n BadRequestException.

\n

For more information, see Redacting or identifying personally identifiable\n information.

", + "smithy.api#documentation": "

Redacts all personally identifiable information (PII) identified in your transcript.

\n

Content redaction is performed at the segment level; PII specified in \n PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't\n include PiiEntityTypes in your request, all PII is redacted.

\n

You can’t set ContentRedactionType and ContentIdentificationType\n in the same request. If you set both, your request returns a BadRequestException.

\n

For more information, see Redacting or identifying personally identifiable\n information.

", "smithy.api#httpHeader": "x-amzn-transcribe-content-redaction-type" } }, "PiiEntityTypes": { "target": "com.amazonaws.transcribestreaming#PiiEntityTypes", "traits": { - "smithy.api#documentation": "

Specify which types of personally identifiable information (PII) you want to redact in your \n transcript. You can include as many types as you'd like, or you can select \n ALL.

\n

To include PiiEntityTypes in your Call Analytics request, you must also include \n either ContentIdentificationType or ContentRedactionType.

\n

Values must be comma-separated and can include:\n BANK_ACCOUNT_NUMBER, BANK_ROUTING,\n CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, \n CREDIT_DEBIT_EXPIRY, PIN, EMAIL, \n ADDRESS, NAME, PHONE, \n SSN, or ALL.

", + "smithy.api#documentation": "

Specify which types of personally identifiable information (PII) you want to redact in your \n transcript. You can include as many types as you'd like, or you can select \n ALL.

\n

Values must be comma-separated and can include: ADDRESS, \n BANK_ACCOUNT_NUMBER, BANK_ROUTING,\n CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,\n CREDIT_DEBIT_NUMBER, EMAIL, \n NAME, PHONE, PIN, \n SSN, or ALL.

\n

Note that if you include PiiEntityTypes in your request, you must also include \n ContentIdentificationType or ContentRedactionType.

\n

If you include ContentRedactionType or \n ContentIdentificationType in your request, but do not include \n PiiEntityTypes, all PII is redacted or identified.

", "smithy.api#httpHeader": "x-amzn-transcribe-pii-entity-types" } } @@ -1522,7 +1763,7 @@ "RequestId": { "target": "com.amazonaws.transcribestreaming#RequestId", "traits": { - "smithy.api#documentation": "

Provides the identifier for your Call Analytics streaming request.

", + "smithy.api#documentation": "

Provides the identifier for your real-time Call Analytics request.

", "smithy.api#httpHeader": "x-amzn-request-id" } }, @@ -1564,7 +1805,7 @@ "CallAnalyticsTranscriptResultStream": { "target": "com.amazonaws.transcribestreaming#CallAnalyticsTranscriptResultStream", "traits": { - "smithy.api#documentation": "

Provides detailed information about your Call Analytics streaming session.

", + "smithy.api#documentation": "

Provides detailed information about your real-time Call Analytics session.

", "smithy.api#httpPayload": {} } }, @@ -1725,7 +1966,7 @@ "SessionId": { "target": "com.amazonaws.transcribestreaming#SessionId", "traits": { - "smithy.api#documentation": "

Specify a name for your transcription session. If you don't include this parameter in \n your request, Amazon Transcribe Medical generates an ID and returns it in the\n response.

\n

You can use a session ID to retry a streaming session.

", + "smithy.api#documentation": "

Specify a name for your transcription session. If you don't include this parameter in \n your request, Amazon Transcribe Medical generates an ID and returns it in the\n response.

", "smithy.api#httpHeader": "x-amzn-transcribe-session-id" } }, @@ -1740,14 +1981,14 @@ "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

Enables channel identification in multi-channel audio.

\n

Channel identification transcribes the audio on each channel independently, then appends\n the output for each channel into one transcript.

\n

If you have multi-channel audio and do not enable channel identification, your audio is \n transcribed in a continuous manner and your transcript is not separated by channel.

\n

For more information, see Transcribing multi-channel audio.

", + "smithy.api#documentation": "

Enables channel identification in multi-channel audio.

\n

Channel identification transcribes the audio on each channel independently, then appends\n the output for each channel into one transcript.

\n

If you have multi-channel audio and do not enable channel identification, your audio is \n transcribed in a continuous manner and your transcript is not separated by channel.

\n

If you include EnableChannelIdentification in your request, you must also \n include NumberOfChannels.

\n

For more information, see Transcribing multi-channel audio.

", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } }, "NumberOfChannels": { "target": "com.amazonaws.transcribestreaming#NumberOfChannels", "traits": { - "smithy.api#documentation": "

Specify the number of channels in your audio stream. Up to two channels are\n supported.

", + "smithy.api#documentation": "

Specify the number of channels in your audio stream. This value must be \n 2, as only two channels are supported. If your audio doesn't contain \n multiple channels, do not include this parameter in your request.

\n

If you include NumberOfChannels in your request, you must also \n include EnableChannelIdentification.

", "smithy.api#httpHeader": "x-amzn-transcribe-number-of-channels" } }, @@ -1934,7 +2175,7 @@ "SessionId": { "target": "com.amazonaws.transcribestreaming#SessionId", "traits": { - "smithy.api#documentation": "

Specify a name for your transcription session. If you don't include this parameter in your request, \n Amazon Transcribe generates an ID and returns it in the response.

\n

You can use a session ID to retry a streaming session.

", + "smithy.api#documentation": "

Specify a name for your transcription session. If you don't include this parameter in your request, \n Amazon Transcribe generates an ID and returns it in the response.

", "smithy.api#httpHeader": "x-amzn-transcribe-session-id" } }, @@ -1972,14 +2213,14 @@ "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

Enables channel identification in multi-channel audio.

\n

Channel identification transcribes the audio on each channel independently, then appends the \n output for each channel into one transcript.

\n

If you have multi-channel audio and do not enable channel identification, your audio is \n transcribed in a continuous manner and your transcript is not separated by channel.

\n

For more information, see Transcribing multi-channel audio.

", + "smithy.api#documentation": "

Enables channel identification in multi-channel audio.

\n

Channel identification transcribes the audio on each channel independently, then appends the \n output for each channel into one transcript.

\n

If you have multi-channel audio and do not enable channel identification, your audio is \n transcribed in a continuous manner and your transcript is not separated by channel.

\n

If you include EnableChannelIdentification in your request, you must also \n include NumberOfChannels.

\n

For more information, see Transcribing multi-channel audio.

", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } }, "NumberOfChannels": { "target": "com.amazonaws.transcribestreaming#NumberOfChannels", "traits": { - "smithy.api#documentation": "

Specify the number of channels in your audio stream. Up to two channels are\n supported.

", + "smithy.api#documentation": "

Specify the number of channels in your audio stream. This value must be \n 2, as only two channels are supported. If your audio doesn't contain \n multiple channels, do not include this parameter in your request.

\n

If you include NumberOfChannels in your request, you must also \n include EnableChannelIdentification.

", "smithy.api#httpHeader": "x-amzn-transcribe-number-of-channels" } }, @@ -2001,21 +2242,21 @@ "ContentIdentificationType": { "target": "com.amazonaws.transcribestreaming#ContentIdentificationType", "traits": { - "smithy.api#documentation": "

Labels all personally identifiable information (PII) identified in your transcript.

\n

Content identification is performed at the segment level; PII specified in \n PiiEntityTypes is flagged upon complete transcription of an audio segment.

\n

You can’t set ContentIdentificationType and ContentRedactionType\n in the same request. If you set both, your request returns a\n BadRequestException.

\n

For more information, see Redacting or identifying personally identifiable\n information.

", + "smithy.api#documentation": "

Labels all personally identifiable information (PII) identified in your transcript.

\n

Content identification is performed at the segment level; PII specified in \n PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't\n include PiiEntityTypes in your request, all PII is identified.

\n

You can’t set ContentIdentificationType and ContentRedactionType\n in the same request. If you set both, your request returns a\n BadRequestException.

\n

For more information, see Redacting or identifying personally identifiable\n information.

", "smithy.api#httpHeader": "x-amzn-transcribe-content-identification-type" } }, "ContentRedactionType": { "target": "com.amazonaws.transcribestreaming#ContentRedactionType", "traits": { - "smithy.api#documentation": "

Redacts all personally identifiable information (PII) identified in your transcript.

\n

Content redaction is performed at the segment level; PII specified in \n PiiEntityTypes is redacted upon complete transcription of an audio segment.

\n

You can’t set ContentRedactionType and ContentIdentificationType\n in the same request. If you set both, your request returns a\n BadRequestException.

\n

For more information, see Redacting or identifying personally identifiable\n information.

", + "smithy.api#documentation": "

Redacts all personally identifiable information (PII) identified in your transcript.

\n

Content redaction is performed at the segment level; PII specified in \n PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't\n include PiiEntityTypes in your request, all PII is redacted.

\n

You can’t set ContentRedactionType and ContentIdentificationType\n in the same request. If you set both, your request returns a BadRequestException.

\n

For more information, see Redacting or identifying personally identifiable\n information.

", "smithy.api#httpHeader": "x-amzn-transcribe-content-redaction-type" } }, "PiiEntityTypes": { "target": "com.amazonaws.transcribestreaming#PiiEntityTypes", "traits": { - "smithy.api#documentation": "

Specify which types of personally identifiable information (PII) you want to redact in your \n transcript. You can include as many types as you'd like, or you can select \n ALL.

\n

To include PiiEntityTypes in your request, you must also include either \n ContentIdentificationType or ContentRedactionType.

\n

Values must be comma-separated and can include:\n BANK_ACCOUNT_NUMBER, BANK_ROUTING,\n CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, \n CREDIT_DEBIT_EXPIRY, PIN, EMAIL, \n ADDRESS, NAME, PHONE, \n SSN, or ALL.

", + "smithy.api#documentation": "

Specify which types of personally identifiable information (PII) you want to redact in your \n transcript. You can include as many types as you'd like, or you can select \n ALL.

\n

Values must be comma-separated and can include: ADDRESS, \n BANK_ACCOUNT_NUMBER, BANK_ROUTING,\n CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,\n CREDIT_DEBIT_NUMBER, EMAIL, \n NAME, PHONE, PIN, \n SSN, or ALL.

\n

Note that if you include PiiEntityTypes in your request, you must also include \n ContentIdentificationType or ContentRedactionType.

\n

If you include ContentRedactionType or \n ContentIdentificationType in your request, but do not include \n PiiEntityTypes, all PII is redacted or identified.

", "smithy.api#httpHeader": "x-amzn-transcribe-pii-entity-types" } }, @@ -2030,14 +2271,14 @@ "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

Enables automatic language identification for your transcription.

\n

If you include IdentifyLanguage, you can optionally include a list of \n language codes, using LanguageOptions, that you think may be present in \n your audio stream. Including language options can improve transcription accuracy.

\n

You can also include a preferred language using PreferredLanguage. Adding a \n preferred language can help Amazon Transcribe identify the language faster than if you omit this \n parameter.

\n

If you have multi-channel audio that contains different languages on each channel, and you've \n enabled channel identification, automatic language identification identifies the dominant language on \n each audio channel.

\n

Note that you must include either LanguageCode or \n IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job\n fails.

\n

Streaming language identification can't be combined with custom language models or \n redaction.

", + "smithy.api#documentation": "

Enables automatic language identification for your transcription.

\n

If you include IdentifyLanguage, you must include a list of\n language codes, using LanguageOptions, that you think may be present in \n your audio stream.

\n

You can also include a preferred language using PreferredLanguage. Adding a \n preferred language can help Amazon Transcribe identify the language faster than if you omit this \n parameter.

\n

If you have multi-channel audio that contains different languages on each channel, and you've \n enabled channel identification, automatic language identification identifies the dominant language on \n each audio channel.

\n

Note that you must include either LanguageCode or \n IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job\n fails.

\n

Streaming language identification can't be combined with custom language models or \n redaction.

", "smithy.api#httpHeader": "x-amzn-transcribe-identify-language" } }, "LanguageOptions": { "target": "com.amazonaws.transcribestreaming#LanguageOptions", "traits": { - "smithy.api#documentation": "

Specify two or more language codes that represent the languages you think may be present \n in your media; including more than five is not recommended. If you're unsure what languages are present, do\n not include this parameter.

\n

Including language options can improve the accuracy of language identification.

\n

If you include LanguageOptions in your request, you must also include \n IdentifyLanguage.

\n

For a list of languages supported with Amazon Transcribe streaming, refer to the \n Supported \n languages table.

\n \n

You can only include one language dialect per language per stream. For example, you\n cannot include en-US and en-AU in the same request.

\n
", + "smithy.api#documentation": "

Specify two or more language codes that represent the languages you think may be present \n in your media; including more than five is not recommended.

\n

Including language options can improve the accuracy of language identification.

\n

If you include LanguageOptions in your request, you must also include \n IdentifyLanguage or IdentifyMultipleLanguages.

\n

For a list of languages supported with Amazon Transcribe streaming, refer to the \n Supported \n languages table.

\n \n

You can only include one language dialect per language per stream. For example, you\n cannot include en-US and en-AU in the same request.

\n
", "smithy.api#httpHeader": "x-amzn-transcribe-language-options" } }, @@ -2052,7 +2293,7 @@ "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.

\n

If you include IdentifyMultipleLanguages, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your stream. Including LanguageOptions restricts IdentifyMultipleLanguages to only the language options that you specify, which can improve transcription accuracy.

\n

If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.

\n

Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

", + "smithy.api#documentation": "

Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.

\n

If you include IdentifyMultipleLanguages, you must include a list of language codes, using LanguageOptions, that you think may be present in your stream.

\n

If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.

\n

Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

", "smithy.api#httpHeader": "x-amzn-transcribe-identify-multiple-languages" } }, @@ -2153,7 +2394,7 @@ "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

Shows whether channel identification was enabled for your transcription.

", + "smithy.api#documentation": "

Shows whether channel identification was enabled for your transcription.

", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } }, diff --git a/examples/examples/cloudformation/Cargo.toml b/examples/examples/cloudformation/Cargo.toml index 820bd049388f..f83da6cf60df 100644 --- a/examples/examples/cloudformation/Cargo.toml +++ b/examples/examples/cloudformation/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } -aws-sdk-cloudformation= { version = "1.51.0", path = "../../../sdk/cloudformation" } +aws-sdk-cloudformation= { version = "1.51.1", path = "../../../sdk/cloudformation" } [dependencies.tokio] version = "1.20.1" diff --git a/examples/examples/ses/Cargo.toml b/examples/examples/ses/Cargo.toml index e20645d4c3f5..e8a0b177fc8a 100644 --- a/examples/examples/ses/Cargo.toml +++ b/examples/examples/ses/Cargo.toml @@ -14,7 +14,7 @@ open = "5.1.2" aws-smithy-http= { version = "0.60.11", path = "../../../sdk/aws-smithy-http" } aws-smithy-mocks-experimental= { version = "0.2.1", path = "../../../sdk/aws-smithy-mocks-experimental" } aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } -aws-sdk-sesv2= { version = "1.50.0", path = "../../../sdk/sesv2", features = ["test-util"] } +aws-sdk-sesv2= { version = "1.51.0", path = "../../../sdk/sesv2", features = ["test-util"] } [dependencies.tokio] version = "1.20.1" diff --git a/examples/examples/transcribestreaming/Cargo.toml b/examples/examples/transcribestreaming/Cargo.toml index 72a0bf1ceeba..de34fddef52b 100644 --- a/examples/examples/transcribestreaming/Cargo.toml +++ b/examples/examples/transcribestreaming/Cargo.toml @@ -11,7 +11,7 @@ async-stream = "0.3" bytes = "1" hound = "3.4" aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } -aws-sdk-transcribestreaming= { version = "1.46.0", path = "../../../sdk/transcribestreaming" } +aws-sdk-transcribestreaming= { version = "1.47.0", path = "../../../sdk/transcribestreaming" } [dependencies.clap] version = "~4.4" diff --git a/sdk/amplify/Cargo.toml b/sdk/amplify/Cargo.toml index 60b993f34ad7..de834512d4eb 100644 --- a/sdk/amplify/Cargo.toml +++ b/sdk/amplify/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-amplify" -version = "1.49.0" +version = "1.50.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for AWS Amplify" edition = "2021" diff --git a/sdk/amplify/README.md b/sdk/amplify/README.md index 4efa6b8f3f69..2f9015f29267 100644 --- a/sdk/amplify/README.md +++ b/sdk/amplify/README.md @@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file: ```toml [dependencies] aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -aws-sdk-amplify = "1.49.0" +aws-sdk-amplify = "1.50.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/amplify/src/client/start_deployment.rs b/sdk/amplify/src/client/start_deployment.rs index 1304f52e9a34..fb769bec344b 100644 --- a/sdk/amplify/src/client/start_deployment.rs +++ b/sdk/amplify/src/client/start_deployment.rs @@ -4,9 +4,10 @@ impl super::Client { /// /// - The fluent builder is configurable: /// - [`app_id(impl Into)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::app_id) / [`set_app_id(Option)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::set_app_id):
required: **true**

The unique ID for an Amplify app.


- /// - [`branch_name(impl Into)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::branch_name) / [`set_branch_name(Option)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::set_branch_name):
required: **true**

The name of the branch to use for the job.


- /// - [`job_id(impl Into)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::job_id) / [`set_job_id(Option)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::set_job_id):
required: **false**

The job ID for this deployment, generated by the create deployment request.


- /// - [`source_url(impl Into)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::source_url) / [`set_source_url(Option)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::set_source_url):
required: **false**

The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.


+ /// - [`branch_name(impl Into)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::branch_name) / [`set_branch_name(Option)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::set_branch_name):
required: **true**

The name of the branch to use for the deployment job.


+ /// - [`job_id(impl Into)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::job_id) / [`set_job_id(Option)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::set_job_id):
required: **false**

The job ID for this deployment that is generated by the CreateDeployment request.


+ /// - [`source_url(impl Into)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::source_url) / [`set_source_url(Option)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::set_source_url):
required: **false**

The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.


+ /// - [`source_url_type(SourceUrlType)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::source_url_type) / [`set_source_url_type(Option)`](crate::operation::start_deployment::builders::StartDeploymentFluentBuilder::set_source_url_type):
required: **false**

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.


/// - On success, responds with [`StartDeploymentOutput`](crate::operation::start_deployment::StartDeploymentOutput) with field(s): /// - [`job_summary(Option)`](crate::operation::start_deployment::StartDeploymentOutput::job_summary):

The summary for the job.

/// - On failure, responds with [`SdkError`](crate::operation::start_deployment::StartDeploymentError) diff --git a/sdk/amplify/src/lib.rs b/sdk/amplify/src/lib.rs index abcf72fa8cf3..9543e2a7939c 100644 --- a/sdk/amplify/src/lib.rs +++ b/sdk/amplify/src/lib.rs @@ -31,7 +31,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-amplify = "1.49.0" +//! aws-sdk-amplify = "1.50.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/amplify/src/operation/create_deployment/builders.rs b/sdk/amplify/src/operation/create_deployment/builders.rs index faa97599f693..e88944024b8d 100644 --- a/sdk/amplify/src/operation/create_deployment/builders.rs +++ b/sdk/amplify/src/operation/create_deployment/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::create_deployment::builders::CreateDeploymentInputBuilder } /// Fluent builder constructing a request to `CreateDeployment`. /// -///

Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a repository.

+///

Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a Git repository.

///

The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.

#[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct CreateDeploymentFluentBuilder { diff --git a/sdk/amplify/src/operation/start_deployment/_start_deployment_input.rs b/sdk/amplify/src/operation/start_deployment/_start_deployment_input.rs index e21ad4f2059a..4e422713cfd5 100644 --- a/sdk/amplify/src/operation/start_deployment/_start_deployment_input.rs +++ b/sdk/amplify/src/operation/start_deployment/_start_deployment_input.rs @@ -6,30 +6,36 @@ pub struct StartDeploymentInput { ///

The unique ID for an Amplify app.

pub app_id: ::std::option::Option<::std::string::String>, - ///

The name of the branch to use for the job.

+ ///

The name of the branch to use for the deployment job.

pub branch_name: ::std::option::Option<::std::string::String>, - ///

The job ID for this deployment, generated by the create deployment request.

+ ///

The job ID for this deployment that is generated by the CreateDeployment request.

pub job_id: ::std::option::Option<::std::string::String>, - ///

The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.

+ ///

The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

pub source_url: ::std::option::Option<::std::string::String>, + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub source_url_type: ::std::option::Option, } impl StartDeploymentInput { ///

The unique ID for an Amplify app.

pub fn app_id(&self) -> ::std::option::Option<&str> { self.app_id.as_deref() } - ///

The name of the branch to use for the job.

+ ///

The name of the branch to use for the deployment job.

pub fn branch_name(&self) -> ::std::option::Option<&str> { self.branch_name.as_deref() } - ///

The job ID for this deployment, generated by the create deployment request.

+ ///

The job ID for this deployment that is generated by the CreateDeployment request.

pub fn job_id(&self) -> ::std::option::Option<&str> { self.job_id.as_deref() } - ///

The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.

+ ///

The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

pub fn source_url(&self) -> ::std::option::Option<&str> { self.source_url.as_deref() } + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub fn source_url_type(&self) -> ::std::option::Option<&crate::types::SourceUrlType> { + self.source_url_type.as_ref() + } } impl StartDeploymentInput { /// Creates a new builder-style object to manufacture [`StartDeploymentInput`](crate::operation::start_deployment::StartDeploymentInput). @@ -46,6 +52,7 @@ pub struct StartDeploymentInputBuilder { pub(crate) branch_name: ::std::option::Option<::std::string::String>, pub(crate) job_id: ::std::option::Option<::std::string::String>, pub(crate) source_url: ::std::option::Option<::std::string::String>, + pub(crate) source_url_type: ::std::option::Option, } impl StartDeploymentInputBuilder { ///

The unique ID for an Amplify app.

@@ -63,49 +70,63 @@ impl StartDeploymentInputBuilder { pub fn get_app_id(&self) -> &::std::option::Option<::std::string::String> { &self.app_id } - ///

The name of the branch to use for the job.

+ ///

The name of the branch to use for the deployment job.

/// This field is required. pub fn branch_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.branch_name = ::std::option::Option::Some(input.into()); self } - ///

The name of the branch to use for the job.

+ ///

The name of the branch to use for the deployment job.

pub fn set_branch_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.branch_name = input; self } - ///

The name of the branch to use for the job.

+ ///

The name of the branch to use for the deployment job.

pub fn get_branch_name(&self) -> &::std::option::Option<::std::string::String> { &self.branch_name } - ///

The job ID for this deployment, generated by the create deployment request.

+ ///

The job ID for this deployment that is generated by the CreateDeployment request.

pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.job_id = ::std::option::Option::Some(input.into()); self } - ///

The job ID for this deployment, generated by the create deployment request.

+ ///

The job ID for this deployment that is generated by the CreateDeployment request.

pub fn set_job_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.job_id = input; self } - ///

The job ID for this deployment, generated by the create deployment request.

+ ///

The job ID for this deployment that is generated by the CreateDeployment request.

pub fn get_job_id(&self) -> &::std::option::Option<::std::string::String> { &self.job_id } - ///

The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.

+ ///

The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

pub fn source_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.source_url = ::std::option::Option::Some(input.into()); self } - ///

The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.

+ ///

The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

pub fn set_source_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.source_url = input; self } - ///

The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.

+ ///

The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

pub fn get_source_url(&self) -> &::std::option::Option<::std::string::String> { &self.source_url } + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub fn source_url_type(mut self, input: crate::types::SourceUrlType) -> Self { + self.source_url_type = ::std::option::Option::Some(input); + self + } + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub fn set_source_url_type(mut self, input: ::std::option::Option) -> Self { + self.source_url_type = input; + self + } + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub fn get_source_url_type(&self) -> &::std::option::Option { + &self.source_url_type + } /// Consumes the builder and constructs a [`StartDeploymentInput`](crate::operation::start_deployment::StartDeploymentInput). pub fn build( self, @@ -115,6 +136,7 @@ impl StartDeploymentInputBuilder { branch_name: self.branch_name, job_id: self.job_id, source_url: self.source_url, + source_url_type: self.source_url_type, }) } } diff --git a/sdk/amplify/src/operation/start_deployment/builders.rs b/sdk/amplify/src/operation/start_deployment/builders.rs index 447c41822e63..1cbb443a294e 100644 --- a/sdk/amplify/src/operation/start_deployment/builders.rs +++ b/sdk/amplify/src/operation/start_deployment/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::start_deployment::builders::StartDeploymentInputBuilder { } /// Fluent builder constructing a request to `StartDeployment`. /// -///

Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a repository.

+///

Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a Git repository.

///

The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.

#[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct StartDeploymentFluentBuilder { @@ -123,46 +123,60 @@ impl StartDeploymentFluentBuilder { pub fn get_app_id(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_app_id() } - ///

The name of the branch to use for the job.

+ ///

The name of the branch to use for the deployment job.

pub fn branch_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.branch_name(input.into()); self } - ///

The name of the branch to use for the job.

+ ///

The name of the branch to use for the deployment job.

pub fn set_branch_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_branch_name(input); self } - ///

The name of the branch to use for the job.

+ ///

The name of the branch to use for the deployment job.

pub fn get_branch_name(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_branch_name() } - ///

The job ID for this deployment, generated by the create deployment request.

+ ///

The job ID for this deployment that is generated by the CreateDeployment request.

pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); self } - ///

The job ID for this deployment, generated by the create deployment request.

+ ///

The job ID for this deployment that is generated by the CreateDeployment request.

pub fn set_job_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_job_id(input); self } - ///

The job ID for this deployment, generated by the create deployment request.

+ ///

The job ID for this deployment that is generated by the CreateDeployment request.

pub fn get_job_id(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_job_id() } - ///

The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.

+ ///

The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

pub fn source_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.source_url(input.into()); self } - ///

The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.

+ ///

The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

pub fn set_source_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_source_url(input); self } - ///

The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.

+ ///

The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

pub fn get_source_url(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_source_url() } + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub fn source_url_type(mut self, input: crate::types::SourceUrlType) -> Self { + self.inner = self.inner.source_url_type(input); + self + } + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub fn set_source_url_type(mut self, input: ::std::option::Option) -> Self { + self.inner = self.inner.set_source_url_type(input); + self + } + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub fn get_source_url_type(&self) -> &::std::option::Option { + self.inner.get_source_url_type() + } } diff --git a/sdk/amplify/src/protocol_serde/shape_job_summary.rs b/sdk/amplify/src/protocol_serde/shape_job_summary.rs index 50f648f4a7d1..3a96605bddb6 100644 --- a/sdk/amplify/src/protocol_serde/shape_job_summary.rs +++ b/sdk/amplify/src/protocol_serde/shape_job_summary.rs @@ -74,6 +74,20 @@ where .transpose()?, ); } + "sourceUrl" => { + builder = builder.set_source_url( + ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| u.into_owned())) + .transpose()?, + ); + } + "sourceUrlType" => { + builder = builder.set_source_url_type( + ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| crate::types::SourceUrlType::from(u.as_ref()))) + .transpose()?, + ); + } _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?, }, other => { diff --git a/sdk/amplify/src/protocol_serde/shape_start_deployment_input.rs b/sdk/amplify/src/protocol_serde/shape_start_deployment_input.rs index b8785075a08a..2f4dc86bfbf3 100644 --- a/sdk/amplify/src/protocol_serde/shape_start_deployment_input.rs +++ b/sdk/amplify/src/protocol_serde/shape_start_deployment_input.rs @@ -9,5 +9,8 @@ pub fn ser_start_deployment_input_input( if let Some(var_2) = &input.source_url { object.key("sourceUrl").string(var_2.as_str()); } + if let Some(var_3) = &input.source_url_type { + object.key("sourceUrlType").string(var_3.as_str()); + } Ok(()) } diff --git a/sdk/amplify/src/types.rs b/sdk/amplify/src/types.rs index ac4f80209256..bdbef60b31be 100644 --- a/sdk/amplify/src/types.rs +++ b/sdk/amplify/src/types.rs @@ -41,6 +41,8 @@ pub use crate::types::_platform::Platform; pub use crate::types::_job_summary::JobSummary; +pub use crate::types::_source_url_type::SourceUrlType; + pub use crate::types::_job_type::JobType; pub use crate::types::_job_status::JobStatus; @@ -95,6 +97,8 @@ mod _production_branch; mod _repository_clone_method; +mod _source_url_type; + mod _stage; mod _step; diff --git a/sdk/amplify/src/types/_job_summary.rs b/sdk/amplify/src/types/_job_summary.rs index a5829c115ca3..67bb34e8f5ae 100644 --- a/sdk/amplify/src/types/_job_summary.rs +++ b/sdk/amplify/src/types/_job_summary.rs @@ -20,8 +20,13 @@ pub struct JobSummary { pub status: crate::types::JobStatus, ///

The end date and time for the job.

pub end_time: ::std::option::Option<::aws_smithy_types::DateTime>, - ///

The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks.

+ ///

The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. This value is available only for apps that are connected to a repository.

+ ///

If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks. If the value is MANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.

pub job_type: crate::types::JobType, + ///

The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

+ pub source_url: ::std::option::Option<::std::string::String>, + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub source_url_type: ::std::option::Option, } impl JobSummary { ///

The Amazon Resource Name (ARN) for the job.

@@ -60,10 +65,19 @@ impl JobSummary { pub fn end_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> { self.end_time.as_ref() } - ///

The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks.

+ ///

The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. This value is available only for apps that are connected to a repository.

+ ///

If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks. If the value is MANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.

pub fn job_type(&self) -> &crate::types::JobType { &self.job_type } + ///

The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

+ pub fn source_url(&self) -> ::std::option::Option<&str> { + self.source_url.as_deref() + } + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub fn source_url_type(&self) -> ::std::option::Option<&crate::types::SourceUrlType> { + self.source_url_type.as_ref() + } } impl JobSummary { /// Creates a new builder-style object to manufacture [`JobSummary`](crate::types::JobSummary). @@ -85,6 +99,8 @@ pub struct JobSummaryBuilder { pub(crate) status: ::std::option::Option, pub(crate) end_time: ::std::option::Option<::aws_smithy_types::DateTime>, pub(crate) job_type: ::std::option::Option, + pub(crate) source_url: ::std::option::Option<::std::string::String>, + pub(crate) source_url_type: ::std::option::Option, } impl JobSummaryBuilder { ///

The Amazon Resource Name (ARN) for the job.

@@ -206,21 +222,52 @@ impl JobSummaryBuilder { pub fn get_end_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> { &self.end_time } - ///

The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks.

+ ///

The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. This value is available only for apps that are connected to a repository.

+ ///

If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks. If the value is MANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.

/// This field is required. pub fn job_type(mut self, input: crate::types::JobType) -> Self { self.job_type = ::std::option::Option::Some(input); self } - ///

The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks.

+ ///

The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. This value is available only for apps that are connected to a repository.

+ ///

If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks. If the value is MANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.

pub fn set_job_type(mut self, input: ::std::option::Option) -> Self { self.job_type = input; self } - ///

The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks.

+ ///

The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. This value is available only for apps that are connected to a repository.

+ ///

If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks. If the value is MANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.

pub fn get_job_type(&self) -> &::std::option::Option { &self.job_type } + ///

The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

+ pub fn source_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.source_url = ::std::option::Option::Some(input.into()); + self + } + ///

The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

+ pub fn set_source_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.source_url = input; + self + } + ///

The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

+ pub fn get_source_url(&self) -> &::std::option::Option<::std::string::String> { + &self.source_url + } + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub fn source_url_type(mut self, input: crate::types::SourceUrlType) -> Self { + self.source_url_type = ::std::option::Option::Some(input); + self + } + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub fn set_source_url_type(mut self, input: ::std::option::Option) -> Self { + self.source_url_type = input; + self + } + ///

The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

+ pub fn get_source_url_type(&self) -> &::std::option::Option { + &self.source_url_type + } /// Consumes the builder and constructs a [`JobSummary`](crate::types::JobSummary). /// This method will fail if any of the following fields are not set: /// - [`job_arn`](crate::types::builders::JobSummaryBuilder::job_arn) @@ -282,6 +329,8 @@ impl JobSummaryBuilder { "job_type was not specified but it is required when building JobSummary", ) })?, + source_url: self.source_url, + source_url_type: self.source_url_type, }) } } diff --git a/sdk/amplify/src/types/_source_url_type.rs b/sdk/amplify/src/types/_source_url_type.rs new file mode 100644 index 000000000000..ebd172a11ac5 --- /dev/null +++ b/sdk/amplify/src/types/_source_url_type.rs @@ -0,0 +1,107 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +/// When writing a match expression against `SourceUrlType`, it is important to ensure +/// your code is forward-compatible. That is, if a match arm handles a case for a +/// feature that is supported by the service but has not been represented as an enum +/// variant in a current version of SDK, your code should continue to work when you +/// upgrade SDK to a future version in which the enum does include a variant for that +/// feature. +/// +/// Here is an example of how you can make a match expression forward-compatible: +/// +/// ```text +/// # let sourceurltype = unimplemented!(); +/// match sourceurltype { +/// SourceUrlType::BucketPrefix => { /* ... */ }, +/// SourceUrlType::Zip => { /* ... */ }, +/// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ }, +/// _ => { /* ... */ }, +/// } +/// ``` +/// The above code demonstrates that when `sourceurltype` represents +/// `NewFeature`, the execution path will lead to the second last match arm, +/// even though the enum does not contain a variant `SourceUrlType::NewFeature` +/// in the current version of SDK. The reason is that the variable `other`, +/// created by the `@` operator, is bound to +/// `SourceUrlType::Unknown(UnknownVariantValue("NewFeature".to_owned()))` +/// and calling `as_str` on it yields `"NewFeature"`. +/// This match expression is forward-compatible when executed with a newer +/// version of SDK where the variant `SourceUrlType::NewFeature` is defined. +/// Specifically, when `sourceurltype` represents `NewFeature`, +/// the execution path will hit the second last match arm as before by virtue of +/// calling `as_str` on `SourceUrlType::NewFeature` also yielding `"NewFeature"`. +/// +/// Explicitly matching on the `Unknown` variant should +/// be avoided for two reasons: +/// - The inner data `UnknownVariantValue` is opaque, and no further information can be extracted. +/// - It might inadvertently shadow other intended match arms. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive( + ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::Ord, ::std::cmp::PartialEq, ::std::cmp::PartialOrd, ::std::fmt::Debug, ::std::hash::Hash, +)] +pub enum SourceUrlType { + #[allow(missing_docs)] // documentation missing in model + BucketPrefix, + #[allow(missing_docs)] // documentation missing in model + Zip, + /// `Unknown` contains new variants that have been added since this code was generated. + #[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")] + Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue), +} +impl ::std::convert::From<&str> for SourceUrlType { + fn from(s: &str) -> Self { + match s { + "BUCKET_PREFIX" => SourceUrlType::BucketPrefix, + "ZIP" => SourceUrlType::Zip, + other => SourceUrlType::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())), + } + } +} +impl ::std::str::FromStr for SourceUrlType { + type Err = ::std::convert::Infallible; + + fn from_str(s: &str) -> ::std::result::Result::Err> { + ::std::result::Result::Ok(SourceUrlType::from(s)) + } +} +impl SourceUrlType { + /// Returns the `&str` value of the enum member. + pub fn as_str(&self) -> &str { + match self { + SourceUrlType::BucketPrefix => "BUCKET_PREFIX", + SourceUrlType::Zip => "ZIP", + SourceUrlType::Unknown(value) => value.as_str(), + } + } + /// Returns all the `&str` representations of the enum members. + pub const fn values() -> &'static [&'static str] { + &["BUCKET_PREFIX", "ZIP"] + } +} +impl ::std::convert::AsRef for SourceUrlType { + fn as_ref(&self) -> &str { + self.as_str() + } +} +impl SourceUrlType { + /// Parses the enum value while disallowing unknown variants. + /// + /// Unknown variants will result in an error. + pub fn try_parse(value: &str) -> ::std::result::Result { + match Self::from(value) { + #[allow(deprecated)] + Self::Unknown(_) => ::std::result::Result::Err(crate::error::UnknownVariantError::new(value)), + known => Ok(known), + } + } +} +impl ::std::fmt::Display for SourceUrlType { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + match self { + SourceUrlType::BucketPrefix => write!(f, "BUCKET_PREFIX"), + SourceUrlType::Zip => write!(f, "ZIP"), + SourceUrlType::Unknown(value) => write!(f, "{}", value), + } + } +} diff --git a/sdk/cloudformation/Cargo.toml b/sdk/cloudformation/Cargo.toml index b67816900738..e3ae9de5ae88 100644 --- a/sdk/cloudformation/Cargo.toml +++ b/sdk/cloudformation/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-cloudformation" -version = "1.51.0" +version = "1.51.1" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for AWS CloudFormation" edition = "2021" diff --git a/sdk/cloudformation/README.md b/sdk/cloudformation/README.md index e9d82e92d6fa..a122f73cb18f 100644 --- a/sdk/cloudformation/README.md +++ b/sdk/cloudformation/README.md @@ -1,6 +1,6 @@ # aws-sdk-cloudformation -CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments predictably and repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly reliable, highly scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services infrastructure. +CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments predictably and repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing, and Amazon EC2 Auto Scaling to build highly reliable, highly scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services infrastructure. With CloudFormation, you declare all your resources and dependencies in a template file. The template defines a collection of resources as a single unit called a stack. CloudFormation creates and deletes all member resources of the stack together and manages all dependencies between the resources for you. @@ -20,7 +20,7 @@ your project, add the following to your **Cargo.toml** file: ```toml [dependencies] aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -aws-sdk-cloudformation = "1.51.0" +aws-sdk-cloudformation = "1.51.1" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/cloudformation/src/client/continue_update_rollback.rs b/sdk/cloudformation/src/client/continue_update_rollback.rs index 912bf5aeef37..0f696564e736 100644 --- a/sdk/cloudformation/src/client/continue_update_rollback.rs +++ b/sdk/cloudformation/src/client/continue_update_rollback.rs @@ -4,8 +4,8 @@ impl super::Client { /// /// - The fluent builder is configurable: /// - [`stack_name(impl Into)`](crate::operation::continue_update_rollback::builders::ContinueUpdateRollbackFluentBuilder::stack_name) / [`set_stack_name(Option)`](crate::operation::continue_update_rollback::builders::ContinueUpdateRollbackFluentBuilder::set_stack_name):
required: **true**

The name or the unique ID of the stack that you want to continue rolling back.

Don't specify the name of a nested stack (a stack that was created by using the AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the stack that contains the AWS::CloudFormation::Stack resource).


- /// - [`role_arn(impl Into)`](crate::operation::continue_update_rollback::builders::ContinueUpdateRollbackFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::continue_update_rollback::builders::ContinueUpdateRollbackFluentBuilder::set_role_arn):
required: **false**

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.


- /// - [`resources_to_skip(impl Into)`](crate::operation::continue_update_rollback::builders::ContinueUpdateRollbackFluentBuilder::resources_to_skip) / [`set_resources_to_skip(Option>)`](crate::operation::continue_update_rollback::builders::ContinueUpdateRollbackFluentBuilder::set_resources_to_skip):
required: **false**

A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for example, because an update was canceled. To check why a resource update failed, use the DescribeStackResources action, and view the resource status reason.

Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of the skipped resources will be inconsistent with the state of the resources in the stack template. Before performing another stack update, you must update the stack or resources to be consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become unrecoverable.

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy.


+ /// - [`role_arn(impl Into)`](crate::operation::continue_update_rollback::builders::ContinueUpdateRollbackFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::continue_update_rollback::builders::ContinueUpdateRollbackFluentBuilder::set_role_arn):
required: **false**

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.


+ /// - [`resources_to_skip(impl Into)`](crate::operation::continue_update_rollback::builders::ContinueUpdateRollbackFluentBuilder::resources_to_skip) / [`set_resources_to_skip(Option>)`](crate::operation::continue_update_rollback::builders::ContinueUpdateRollbackFluentBuilder::set_resources_to_skip):
required: **false**

A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for example, because an update was canceled. To check why a resource update failed, use the DescribeStackResources action, and view the resource status reason.

Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of the skipped resources will be inconsistent with the state of the resources in the stack template. Before performing another stack update, you must update the stack or resources to be consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become unrecoverable.

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Continue rolling back from failed nested stack updates.


/// - [`client_request_token(impl Into)`](crate::operation::continue_update_rollback::builders::ContinueUpdateRollbackFluentBuilder::client_request_token) / [`set_client_request_token(Option)`](crate::operation::continue_update_rollback::builders::ContinueUpdateRollbackFluentBuilder::set_client_request_token):
required: **false**

A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to continue the rollback to a stack with the same name. You might retry ContinueUpdateRollback requests to ensure that CloudFormation successfully received them.


/// - On success, responds with [`ContinueUpdateRollbackOutput`](crate::operation::continue_update_rollback::ContinueUpdateRollbackOutput) /// - On failure, responds with [`SdkError`](crate::operation::continue_update_rollback::ContinueUpdateRollbackError) diff --git a/sdk/cloudformation/src/client/create_change_set.rs b/sdk/cloudformation/src/client/create_change_set.rs index 5b23bdf5a6ff..4fb08cd8e629 100644 --- a/sdk/cloudformation/src/client/create_change_set.rs +++ b/sdk/cloudformation/src/client/create_change_set.rs @@ -8,20 +8,20 @@ impl super::Client { /// - [`template_url(impl Into)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_template_url):
required: **false**

The location of the file that contains the revised template. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. CloudFormation generates the change set by comparing this template with the stack that you specified. The location for an Amazon S3 bucket must start with https://.

Conditional: You must specify only TemplateBody or TemplateURL.


/// - [`use_previous_template(bool)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::use_previous_template) / [`set_use_previous_template(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_use_previous_template):
required: **false**

Whether to reuse the template that's associated with the stack to create the change set.


/// - [`parameters(Parameter)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::parameters) / [`set_parameters(Option>)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_parameters):
required: **false**

A list of Parameter structures that specify input parameters for the change set. For more information, see the Parameter data type.


- /// - [`capabilities(Capability)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::capabilities) / [`set_capabilities(Option>)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_capabilities):
required: **false**

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.

    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we suggest that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM resources in CloudFormation templates.

  • CAPABILITY_AUTO_EXPAND

    Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.

    This capacity doesn't apply to creating change sets, and specifying it when creating change sets has no effect.

    If you want to create a stack from a stack template that contains macros and nested stacks, you must create or update the stack directly from the template using the CreateStack or UpdateStack action, and specifying this capability.

    For more information about macros, see Using CloudFormation macros to perform custom processing on templates.

Only one of the Capabilities and ResourceType parameters can be specified.


- /// - [`resource_types(impl Into)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::resource_types) / [`set_resource_types(Option>)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_resource_types):
required: **false**

The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Controlling access with Identity and Access Management in the CloudFormation User Guide.

Only one of the Capabilities and ResourceType parameters can be specified.


- /// - [`role_arn(impl Into)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_role_arn):
required: **false**

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.


+ /// - [`capabilities(Capability)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::capabilities) / [`set_capabilities(Option>)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_capabilities):
required: **false**

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.

    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we suggest that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM resources in CloudFormation templates.

  • CAPABILITY_AUTO_EXPAND

    Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.

    This capacity doesn't apply to creating change sets, and specifying it when creating change sets has no effect.

    If you want to create a stack from a stack template that contains macros and nested stacks, you must create or update the stack directly from the template using the CreateStack or UpdateStack action, and specifying this capability.

    For more information about macros, see Perform custom processing on CloudFormation templates with template macros.

Only one of the Capabilities and ResourceType parameters can be specified.


+ /// - [`resource_types(impl Into)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::resource_types) / [`set_resource_types(Option>)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_resource_types):
required: **false**

The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Control access with Identity and Access Management in the CloudFormation User Guide.

Only one of the Capabilities and ResourceType parameters can be specified.


+ /// - [`role_arn(impl Into)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_role_arn):
required: **false**

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.


/// - [`rollback_configuration(RollbackConfiguration)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::rollback_configuration) / [`set_rollback_configuration(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_rollback_configuration):
required: **false**

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.


- /// - [`notification_arns(impl Into)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::notification_arns) / [`set_notification_arns(Option>)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_notification_arns):
required: **false**

The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.


+ /// - [`notification_arns(impl Into)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::notification_arns) / [`set_notification_arns(Option>)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_notification_arns):
required: **false**

The Amazon Resource Names (ARNs) of Amazon SNS topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.


/// - [`tags(Tag)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::tags) / [`set_tags(Option>)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_tags):
required: **false**

Key-value pairs to associate with this stack. CloudFormation also propagates these tags to resources in the stack. You can specify a maximum of 50 tags.


/// - [`change_set_name(impl Into)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::change_set_name) / [`set_change_set_name(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_change_set_name):
required: **true**

The name of the change set. The name must be unique among all change sets that are associated with the specified stack.

A change set name can contain only alphanumeric, case sensitive characters, and hyphens. It must start with an alphabetical character and can't exceed 128 characters.


/// - [`client_token(impl Into)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::client_token) / [`set_client_token(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_client_token):
required: **false**

A unique identifier for this CreateChangeSet request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to create another change set with the same name. You might retry CreateChangeSet requests to ensure that CloudFormation successfully received them.


/// - [`description(impl Into)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::description) / [`set_description(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_description):
required: **false**

A description to help you identify this change set.


- /// - [`change_set_type(ChangeSetType)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::change_set_type) / [`set_change_set_type(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_change_set_type):
required: **false**

The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. To create a change set for an import operation, specify IMPORT.

If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.


+ /// - [`change_set_type(ChangeSetType)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::change_set_type) / [`set_change_set_type(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_change_set_type):
required: **false**

The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. To create a change set for an import operation, specify IMPORT.

If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.


/// - [`resources_to_import(ResourceToImport)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::resources_to_import) / [`set_resources_to_import(Option>)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_resources_to_import):
required: **false**

The resources to import into your stack.


/// - [`include_nested_stacks(bool)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::include_nested_stacks) / [`set_include_nested_stacks(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_include_nested_stacks):
required: **false**

Creates a change set for the all nested stacks specified in the template. The default behavior of this action is set to False. To include nested sets in a change set, specify True.


/// - [`on_stack_failure(OnStackFailure)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::on_stack_failure) / [`set_on_stack_failure(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_on_stack_failure):
required: **false**

Determines what action will be taken if stack creation fails. If this parameter is specified, the DisableRollback parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these values:

  • DELETE - Deletes the change set if the stack creation fails. This is only valid when the ChangeSetType parameter is set to CREATE. If the deletion of the stack fails, the status of the stack is DELETE_FAILED.

  • DO_NOTHING - if the stack creation fails, do nothing. This is equivalent to specifying true for the DisableRollback parameter to the ExecuteChangeSet API operation.

  • ROLLBACK - if the stack creation fails, roll back the stack. This is equivalent to specifying false for the DisableRollback parameter to the ExecuteChangeSet API operation.

For nested stacks, when the OnStackFailure parameter is set to DELETE for the change set for the parent stack, any failure in a child stack will cause the parent stack creation to fail and all stacks to be deleted.


- /// - [`import_existing_resources(bool)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::import_existing_resources) / [`set_import_existing_resources(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_import_existing_resources):
required: **false**

Indicates if the change set imports resources that already exist.

This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Bringing existing resources into CloudFormation management in the CloudFormation User Guide.


+ /// - [`import_existing_resources(bool)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::import_existing_resources) / [`set_import_existing_resources(Option)`](crate::operation::create_change_set::builders::CreateChangeSetFluentBuilder::set_import_existing_resources):
required: **false**

Indicates if the change set imports resources that already exist.

This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Import Amazon Web Services resources into a CloudFormation stack with a resource import in the CloudFormation User Guide.


/// - On success, responds with [`CreateChangeSetOutput`](crate::operation::create_change_set::CreateChangeSetOutput) with field(s): /// - [`id(Option)`](crate::operation::create_change_set::CreateChangeSetOutput::id):

The Amazon Resource Name (ARN) of the change set.

/// - [`stack_id(Option)`](crate::operation::create_change_set::CreateChangeSetOutput::stack_id):

The unique ID of the stack.

diff --git a/sdk/cloudformation/src/client/create_stack.rs b/sdk/cloudformation/src/client/create_stack.rs index 030197d8cdd4..729b5777c82a 100644 --- a/sdk/cloudformation/src/client/create_stack.rs +++ b/sdk/cloudformation/src/client/create_stack.rs @@ -4,22 +4,22 @@ impl super::Client { /// /// - The fluent builder is configurable: /// - [`stack_name(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::stack_name) / [`set_stack_name(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_stack_name):
required: **true**

The name that's associated with the stack. The name must be unique in the Region in which you are creating the stack.

A stack name can contain only alphanumeric characters (case sensitive) and hyphens. It must start with an alphabetical character and can't be longer than 128 characters.


- /// - [`template_body(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_template_body):
required: **false**

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template anatomy in the CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.


- /// - [`template_url(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_template_url):
required: **false**

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.


+ /// - [`template_body(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_template_body):
required: **false**

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.


+ /// - [`template_url(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_template_url):
required: **false**

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.


/// - [`parameters(Parameter)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::parameters) / [`set_parameters(Option>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_parameters):
required: **false**

A list of Parameter structures that specify input parameters for the stack. For more information, see the Parameter data type.


/// - [`disable_rollback(bool)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::disable_rollback) / [`set_disable_rollback(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_disable_rollback):
required: **false**

Set to true to disable rollback of the stack if stack creation failed. You can specify either DisableRollback or OnFailure, but not both.

Default: false


/// - [`rollback_configuration(RollbackConfiguration)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::rollback_configuration) / [`set_rollback_configuration(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_rollback_configuration):
required: **false**

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.


/// - [`timeout_in_minutes(i32)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::timeout_in_minutes) / [`set_timeout_in_minutes(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_timeout_in_minutes):
required: **false**

The amount of time that can pass before the stack status becomes CREATE_FAILED; if DisableRollback is not set or is set to false, the stack will be rolled back.


- /// - [`notification_arns(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::notification_arns) / [`set_notification_arns(Option>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_notification_arns):
required: **false**

The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).


- /// - [`capabilities(Capability)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::capabilities) / [`set_capabilities(Option>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_capabilities):
required: **false**

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.

    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM Resources in CloudFormation Templates.

  • CAPABILITY_AUTO_EXPAND

    Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.

    If you want to create a stack from a stack template that contains macros and nested stacks, you must create the stack directly from the template using this capability.

    You should only create stacks directly from a stack template that contains macros if you know what processing the macro performs.

    Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified.

    For more information, see Using CloudFormation macros to perform custom processing on templates.

Only one of the Capabilities and ResourceType parameters can be specified.


- /// - [`resource_types(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::resource_types) / [`set_resource_types(Option>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_resource_types):
required: **false**

The template resource types that you have permissions to work with for this create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the following syntax to describe template resource types: AWS::* (for all Amazon Web Services resources), Custom::* (for all custom resources), Custom::logical_ID (for a specific custom resource), AWS::service_name::* (for all resources of a particular Amazon Web Services service), and AWS::service_name::resource_logical_ID (for a specific Amazon Web Services resource).

If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

Only one of the Capabilities and ResourceType parameters can be specified.


- /// - [`role_arn(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_role_arn):
required: **false**

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.


+ /// - [`notification_arns(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::notification_arns) / [`set_notification_arns(Option>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_notification_arns):
required: **false**

The Amazon SNS topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).


+ /// - [`capabilities(Capability)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::capabilities) / [`set_capabilities(Option>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_capabilities):
required: **false**

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.

    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM resources in CloudFormation templates.

  • CAPABILITY_AUTO_EXPAND

    Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.

    If you want to create a stack from a stack template that contains macros and nested stacks, you must create the stack directly from the template using this capability.

    You should only create stacks directly from a stack template that contains macros if you know what processing the macro performs.

    Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified.

    For more information, see Perform custom processing on CloudFormation templates with template macros.

Only one of the Capabilities and ResourceType parameters can be specified.


+ /// - [`resource_types(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::resource_types) / [`set_resource_types(Option>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_resource_types):
required: **false**

The template resource types that you have permissions to work with for this create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the following syntax to describe template resource types: AWS::* (for all Amazon Web Services resources), Custom::* (for all custom resources), Custom::logical_ID (for a specific custom resource), AWS::service_name::* (for all resources of a particular Amazon Web Services service), and AWS::service_name::resource_logical_ID (for a specific Amazon Web Services resource).

If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

Only one of the Capabilities and ResourceType parameters can be specified.


+ /// - [`role_arn(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_role_arn):
required: **false**

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.


/// - [`on_failure(OnFailure)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::on_failure) / [`set_on_failure(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_on_failure):
required: **false**

Determines what action will be taken if stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or DELETE. You can specify either OnFailure or DisableRollback, but not both.

Default: ROLLBACK


- /// - [`stack_policy_body(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::stack_policy_body) / [`set_stack_policy_body(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_stack_policy_body):
required: **false**

Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.


+ /// - [`stack_policy_body(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::stack_policy_body) / [`set_stack_policy_body(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_stack_policy_body):
required: **false**

Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.


/// - [`stack_policy_url(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::stack_policy_url) / [`set_stack_policy_url(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_stack_policy_url):
required: **false**

Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an S3 bucket in the same Region as the stack. The location for an Amazon S3 bucket must start with https://. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.


/// - [`tags(Tag)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::tags) / [`set_tags(Option>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_tags):
required: **false**

Key-value pairs to associate with this stack. CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 50 tags can be specified.


/// - [`client_request_token(impl Into)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::client_request_token) / [`set_client_request_token(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_client_request_token):
required: **false**

A unique identifier for this CreateStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to create a stack with the same name. You might retry CreateStack requests to ensure that CloudFormation successfully received them.

All events initiated by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.


- /// - [`enable_termination_protection(bool)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::enable_termination_protection) / [`set_enable_termination_protection(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_enable_termination_protection):
required: **false**

Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.


+ /// - [`enable_termination_protection(bool)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::enable_termination_protection) / [`set_enable_termination_protection(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_enable_termination_protection):
required: **false**

Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect CloudFormation stacks from being deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.


/// - [`retain_except_on_create(bool)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::retain_except_on_create) / [`set_retain_except_on_create(Option)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_retain_except_on_create):
required: **false**

When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain.

Default: false


/// - On success, responds with [`CreateStackOutput`](crate::operation::create_stack::CreateStackOutput) with field(s): /// - [`stack_id(Option)`](crate::operation::create_stack::CreateStackOutput::stack_id):

Unique identifier of the stack.

diff --git a/sdk/cloudformation/src/client/create_stack_set.rs b/sdk/cloudformation/src/client/create_stack_set.rs index 7d031014e69c..c75a5992159c 100644 --- a/sdk/cloudformation/src/client/create_stack_set.rs +++ b/sdk/cloudformation/src/client/create_stack_set.rs @@ -5,11 +5,11 @@ impl super::Client { /// - The fluent builder is configurable: /// - [`stack_set_name(impl Into)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::stack_set_name) / [`set_stack_set_name(Option)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_stack_set_name):
required: **true**

The name to associate with the stack set. The name must be unique in the Region where you create your stack set.

A stack name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and can't be longer than 128 characters.


/// - [`description(impl Into)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::description) / [`set_description(Option)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_description):
required: **false**

A description of the stack set. You can use the description to identify the stack set's purpose or other important information.


- /// - [`template_body(impl Into)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_template_body):
required: **false**

The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.


- /// - [`template_url(impl Into)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_template_url):
required: **false**

The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.


+ /// - [`template_body(impl Into)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_template_body):
required: **false**

The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.


+ /// - [`template_url(impl Into)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_template_url):
required: **false**

The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.


/// - [`stack_id(impl Into)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::stack_id) / [`set_stack_id(Option)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_stack_id):
required: **false**

The stack ID you are importing into a new stack set. Specify the Amazon Resource Name (ARN) of the stack.


/// - [`parameters(Parameter)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::parameters) / [`set_parameters(Option>)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_parameters):
required: **false**

The input parameters for the stack set template.


- /// - [`capabilities(Capability)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::capabilities) / [`set_capabilities(Option>)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_capabilities):
required: **false**

In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for CloudFormation to create the stack set and related stack instances.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.

    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM Resources in CloudFormation Templates.

  • CAPABILITY_AUTO_EXPAND

    Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

    Stack sets with service-managed permissions don't currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a stack set with service-managed permissions, if you reference a macro in your template the stack set operation will fail.


+ /// - [`capabilities(Capability)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::capabilities) / [`set_capabilities(Option>)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_capabilities):
required: **false**

In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for CloudFormation to create the stack set and related stack instances.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.

    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM resources in CloudFormation templates.

  • CAPABILITY_AUTO_EXPAND

    Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

    Stack sets with service-managed permissions don't currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a stack set with service-managed permissions, if you reference a macro in your template the stack set operation will fail.


/// - [`tags(Tag)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::tags) / [`set_tags(Option>)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_tags):
required: **false**

The key-value pairs to associate with this stack set and the stacks created from it. CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified.

If you specify tags as part of a CreateStackSet action, CloudFormation checks to see if you have the required IAM permission to tag resources. If you don't, the entire CreateStackSet action fails with an access denied error, and the stack set is not created.


/// - [`administration_role_arn(impl Into)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::administration_role_arn) / [`set_administration_role_arn(Option)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_administration_role_arn):
required: **false**

The Amazon Resource Name (ARN) of the IAM role to use to create this stack set.

Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack Set Operations in the CloudFormation User Guide.


/// - [`execution_role_name(impl Into)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::execution_role_name) / [`set_execution_role_name(Option)`](crate::operation::create_stack_set::builders::CreateStackSetFluentBuilder::set_execution_role_name):
required: **false**

The name of the IAM execution role to use to create the stack set. If you do not specify an execution role, CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation.

Specify an IAM role only if you are using customized execution roles to control which stack resources users and groups can include in their stack sets.


diff --git a/sdk/cloudformation/src/client/delete_stack.rs b/sdk/cloudformation/src/client/delete_stack.rs index e005c465c748..a73a80b76524 100644 --- a/sdk/cloudformation/src/client/delete_stack.rs +++ b/sdk/cloudformation/src/client/delete_stack.rs @@ -5,7 +5,7 @@ impl super::Client { /// - The fluent builder is configurable: /// - [`stack_name(impl Into)`](crate::operation::delete_stack::builders::DeleteStackFluentBuilder::stack_name) / [`set_stack_name(Option)`](crate::operation::delete_stack::builders::DeleteStackFluentBuilder::set_stack_name):
required: **true**

The name or the unique stack ID that's associated with the stack.


/// - [`retain_resources(impl Into)`](crate::operation::delete_stack::builders::DeleteStackFluentBuilder::retain_resources) / [`set_retain_resources(Option>)`](crate::operation::delete_stack::builders::DeleteStackFluentBuilder::set_retain_resources):
required: **false**

For stacks in the DELETE_FAILED state, a list of resource logical IDs that are associated with the resources you want to retain. During deletion, CloudFormation deletes the stack but doesn't delete the retained resources.

Retaining resources is useful when you can't delete a resource, such as a non-empty S3 bucket, but you want to delete the stack.


- /// - [`role_arn(impl Into)`](crate::operation::delete_stack::builders::DeleteStackFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::delete_stack::builders::DeleteStackFluentBuilder::set_role_arn):
required: **false**

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.


+ /// - [`role_arn(impl Into)`](crate::operation::delete_stack::builders::DeleteStackFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::delete_stack::builders::DeleteStackFluentBuilder::set_role_arn):
required: **false**

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.


/// - [`client_request_token(impl Into)`](crate::operation::delete_stack::builders::DeleteStackFluentBuilder::client_request_token) / [`set_client_request_token(Option)`](crate::operation::delete_stack::builders::DeleteStackFluentBuilder::set_client_request_token):
required: **false**

A unique identifier for this DeleteStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to delete a stack with the same name. You might retry DeleteStack requests to ensure that CloudFormation successfully received them.

All events initiated by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.


/// - [`deletion_mode(DeletionMode)`](crate::operation::delete_stack::builders::DeleteStackFluentBuilder::deletion_mode) / [`set_deletion_mode(Option)`](crate::operation::delete_stack::builders::DeleteStackFluentBuilder::set_deletion_mode):
required: **false**

Specifies the deletion mode for the stack. Possible values are:

  • STANDARD - Use the standard behavior. Specifying this value is the same as not specifying this parameter.

  • FORCE_DELETE_STACK - Delete the stack if it's stuck in a DELETE_FAILED state due to resource deletion failure.


/// - On success, responds with [`DeleteStackOutput`](crate::operation::delete_stack::DeleteStackOutput) diff --git a/sdk/cloudformation/src/client/delete_stack_instances.rs b/sdk/cloudformation/src/client/delete_stack_instances.rs index 25f9cbaa9906..988ce06439f0 100644 --- a/sdk/cloudformation/src/client/delete_stack_instances.rs +++ b/sdk/cloudformation/src/client/delete_stack_instances.rs @@ -8,7 +8,7 @@ impl super::Client { /// - [`deployment_targets(DeploymentTargets)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::deployment_targets) / [`set_deployment_targets(Option)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::set_deployment_targets):
required: **false**

\[Service-managed permissions\] The Organizations accounts from which to delete stack instances.

You can specify Accounts or DeploymentTargets, but not both.


/// - [`regions(impl Into)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::regions) / [`set_regions(Option>)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::set_regions):
required: **true**

The Amazon Web Services Regions where you want to delete stack set instances.


/// - [`operation_preferences(StackSetOperationPreferences)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::operation_preferences) / [`set_operation_preferences(Option)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::set_operation_preferences):
required: **false**

Preferences for how CloudFormation performs this stack set operation.


- /// - [`retain_stacks(bool)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::retain_stacks) / [`set_retain_stacks(Option)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::set_retain_stacks):
required: **true**

Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

For more information, see Stack set operation options.


+ /// - [`retain_stacks(bool)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::retain_stacks) / [`set_retain_stacks(Option)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::set_retain_stacks):
required: **true**

Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

For more information, see Stack set operation options.


/// - [`operation_id(impl Into)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::operation_id) / [`set_operation_id(Option)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::set_operation_id):
required: **false**

The unique identifier for this stack set operation.

If you don't specify an operation ID, the SDK generates one automatically.

The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You can retry stack set operation requests to ensure that CloudFormation successfully received them.

Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED.


/// - [`call_as(CallAs)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::call_as) / [`set_call_as(Option)`](crate::operation::delete_stack_instances::builders::DeleteStackInstancesFluentBuilder::set_call_as):
required: **false**

\[Service-managed permissions\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.

  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.


/// - On success, responds with [`DeleteStackInstancesOutput`](crate::operation::delete_stack_instances::DeleteStackInstancesOutput) with field(s): diff --git a/sdk/cloudformation/src/client/describe_change_set.rs b/sdk/cloudformation/src/client/describe_change_set.rs index 12674cc81826..d9861b6218fe 100644 --- a/sdk/cloudformation/src/client/describe_change_set.rs +++ b/sdk/cloudformation/src/client/describe_change_set.rs @@ -18,7 +18,7 @@ impl super::Client { /// - [`execution_status(Option)`](crate::operation::describe_change_set::DescribeChangeSetOutput::execution_status):

If the change set execution status is AVAILABLE, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.

/// - [`status(Option)`](crate::operation::describe_change_set::DescribeChangeSetOutput::status):

The current status of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.

/// - [`status_reason(Option)`](crate::operation::describe_change_set::DescribeChangeSetOutput::status_reason):

A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.

- /// - [`notification_arns(Option>)`](crate::operation::describe_change_set::DescribeChangeSetOutput::notification_arns):

The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.

+ /// - [`notification_arns(Option>)`](crate::operation::describe_change_set::DescribeChangeSetOutput::notification_arns):

The ARNs of the Amazon SNS topics that will be associated with the stack if you execute the change set.

/// - [`rollback_configuration(Option)`](crate::operation::describe_change_set::DescribeChangeSetOutput::rollback_configuration):

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.

/// - [`capabilities(Option>)`](crate::operation::describe_change_set::DescribeChangeSetOutput::capabilities):

If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.

/// - [`tags(Option>)`](crate::operation::describe_change_set::DescribeChangeSetOutput::tags):

If you execute the change set, the tags that will be associated with the stack.

diff --git a/sdk/cloudformation/src/client/describe_stack_resource_drifts.rs b/sdk/cloudformation/src/client/describe_stack_resource_drifts.rs index 7c673d7b8d79..35826fce0d48 100644 --- a/sdk/cloudformation/src/client/describe_stack_resource_drifts.rs +++ b/sdk/cloudformation/src/client/describe_stack_resource_drifts.rs @@ -9,7 +9,7 @@ impl super::Client { /// - [`next_token(impl Into)`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::next_token) / [`set_next_token(Option)`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::set_next_token):
required: **false**

A string that identifies the next page of stack resource drift results.


/// - [`max_results(i32)`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::max_results) / [`set_max_results(Option)`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::set_max_results):
required: **false**

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.


/// - On success, responds with [`DescribeStackResourceDriftsOutput`](crate::operation::describe_stack_resource_drifts::DescribeStackResourceDriftsOutput) with field(s): - /// - [`stack_resource_drifts(Option>)`](crate::operation::describe_stack_resource_drifts::DescribeStackResourceDriftsOutput::stack_resource_drifts):

Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.

For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection.

+ /// - [`stack_resource_drifts(Option>)`](crate::operation::describe_stack_resource_drifts::DescribeStackResourceDriftsOutput::stack_resource_drifts):

Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.

For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection.

/// - [`next_token(Option)`](crate::operation::describe_stack_resource_drifts::DescribeStackResourceDriftsOutput::next_token):

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call DescribeStackResourceDrifts again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

/// - On failure, responds with [`SdkError`](crate::operation::describe_stack_resource_drifts::DescribeStackResourceDriftsError) pub fn describe_stack_resource_drifts( diff --git a/sdk/cloudformation/src/client/describe_type.rs b/sdk/cloudformation/src/client/describe_type.rs index b8c88edf6c77..7845e78aaa2d 100644 --- a/sdk/cloudformation/src/client/describe_type.rs +++ b/sdk/cloudformation/src/client/describe_type.rs @@ -15,10 +15,10 @@ impl super::Client { /// - [`type_name(Option)`](crate::operation::describe_type::DescribeTypeOutput::type_name):

The name of the extension.

If the extension is a public third-party type you have activated with a type name alias, CloudFormation returns the type name alias. For more information, see ActivateType.

/// - [`default_version_id(Option)`](crate::operation::describe_type::DescribeTypeOutput::default_version_id):

The ID of the default version of the extension. The default version is used when the extension version isn't specified.

This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon Web Services and published by third parties, CloudFormation returns null. For more information, see RegisterType.

To set the default version of an extension, use SetTypeDefaultVersion.

/// - [`is_default_version(Option)`](crate::operation::describe_type::DescribeTypeOutput::is_default_version):

Whether the specified extension version is set as the default version.

This applies only to private extensions you have registered in your account, and extensions published by Amazon Web Services. For public third-party extensions, whether they are activated in your account, CloudFormation returns null.

- /// - [`type_tests_status(Option)`](crate::operation::describe_type::DescribeTypeOutput::type_tests_status):

The contract test status of the registered extension version. To return the extension test status of a specific extension version, you must specify VersionId.

This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether they are activated in your account.

  • PASSED: The extension has passed all its contract tests.

    An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface User Guide.

  • FAILED: The extension has failed one or more contract tests.

  • IN_PROGRESS: Contract tests are currently being performed on the extension.

  • NOT_TESTED: Contract tests haven't been performed on the extension.

+ /// - [`type_tests_status(Option)`](crate::operation::describe_type::DescribeTypeOutput::type_tests_status):

The contract test status of the registered extension version. To return the extension test status of a specific extension version, you must specify VersionId.

This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether they are activated in your account.

  • PASSED: The extension has passed all its contract tests.

    An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

  • FAILED: The extension has failed one or more contract tests.

  • IN_PROGRESS: Contract tests are currently being performed on the extension.

  • NOT_TESTED: Contract tests haven't been performed on the extension.

/// - [`type_tests_status_description(Option)`](crate::operation::describe_type::DescribeTypeOutput::type_tests_status_description):

The description of the test status. To return the extension test status of a specific extension version, you must specify VersionId.

This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether they are activated in your account.

/// - [`description(Option)`](crate::operation::describe_type::DescribeTypeOutput::description):

The description of the extension.

- /// - [`schema(Option)`](crate::operation::describe_type::DescribeTypeOutput::schema):

The schema that defines the extension.

For more information about extension schemas, see Resource Provider Schema in the CloudFormation CLI User Guide.

+ /// - [`schema(Option)`](crate::operation::describe_type::DescribeTypeOutput::schema):

The schema that defines the extension.

For more information about extension schemas, see Resource type schema in the CloudFormation Command Line Interface (CLI) User Guide.

/// - [`provisioning_type(Option)`](crate::operation::describe_type::DescribeTypeOutput::provisioning_type):

For resource type extensions, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.

Valid values include:

  • FULLY_MUTABLE: The resource type includes an update handler to process updates to the type during stack update operations.

  • IMMUTABLE: The resource type doesn't include an update handler, so the type can't be updated and must instead be replaced during stack update operations.

  • NON_PROVISIONABLE: The resource type doesn't include all the following handlers, and therefore can't actually be provisioned.

    • create

    • read

    • delete

/// - [`deprecated_status(Option)`](crate::operation::describe_type::DescribeTypeOutput::deprecated_status):

The deprecation status of the extension version.

Valid values include:

  • LIVE: The extension is activated or registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope.

  • DEPRECATED: The extension has been deactivated or deregistered and can no longer be used in CloudFormation operations.

For public third-party extensions, CloudFormation returns null.

/// - [`logging_config(Option)`](crate::operation::describe_type::DescribeTypeOutput::logging_config):

Contains logging configuration information for private extensions. This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon Web Services and published by third parties, CloudFormation returns null. For more information, see RegisterType.

@@ -29,14 +29,14 @@ impl super::Client { /// - [`documentation_url(Option)`](crate::operation::describe_type::DescribeTypeOutput::documentation_url):

The URL of a page providing detailed documentation for this extension.

/// - [`last_updated(Option)`](crate::operation::describe_type::DescribeTypeOutput::last_updated):

When the specified extension version was registered. This applies only to:

  • Private extensions you have registered in your account. For more information, see RegisterType.

  • Public extensions you have activated in your account with auto-update specified. For more information, see ActivateType.

/// - [`time_created(Option)`](crate::operation::describe_type::DescribeTypeOutput::time_created):

When the specified private extension version was registered or activated in your account.

- /// - [`configuration_schema(Option)`](crate::operation::describe_type::DescribeTypeOutput::configuration_schema):

A JSON string that represent the current configuration data for the extension in this account and Region.

To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.

+ /// - [`configuration_schema(Option)`](crate::operation::describe_type::DescribeTypeOutput::configuration_schema):

A JSON string that represent the current configuration data for the extension in this account and Region.

To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide.

/// - [`publisher_id(Option)`](crate::operation::describe_type::DescribeTypeOutput::publisher_id):

The publisher ID of the extension publisher.

This applies only to public third-party extensions. For private registered extensions, and extensions provided by Amazon Web Services, CloudFormation returns null.

- /// - [`original_type_name(Option)`](crate::operation::describe_type::DescribeTypeOutput::original_type_name):

For public extensions that have been activated for this account and Region, the type name of the public extension.

If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

+ /// - [`original_type_name(Option)`](crate::operation::describe_type::DescribeTypeOutput::original_type_name):

For public extensions that have been activated for this account and Region, the type name of the public extension.

If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

/// - [`original_type_arn(Option)`](crate::operation::describe_type::DescribeTypeOutput::original_type_arn):

For public extensions that have been activated for this account and Region, the Amazon Resource Name (ARN) of the public extension.

/// - [`public_version_number(Option)`](crate::operation::describe_type::DescribeTypeOutput::public_version_number):

The version number of a public third-party extension.

This applies only if you specify a public extension you have activated in your account, or specify a public extension without specifying a version. For all other extensions, CloudFormation returns null.

/// - [`latest_public_version(Option)`](crate::operation::describe_type::DescribeTypeOutput::latest_public_version):

The latest version of a public extension that is available for use.

This only applies if you specify a public extension, and you don't specify a version. For all other requests, CloudFormation returns null.

/// - [`is_activated(Option)`](crate::operation::describe_type::DescribeTypeOutput::is_activated):

Whether the extension is activated in the account and Region.

This only applies to public third-party extensions. For all other extensions, CloudFormation returns null.

- /// - [`auto_update(Option)`](crate::operation::describe_type::DescribeTypeOutput::auto_update):

Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Activating public extensions for use in your account in the CloudFormation User Guide.

+ /// - [`auto_update(Option)`](crate::operation::describe_type::DescribeTypeOutput::auto_update):

Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

/// - On failure, responds with [`SdkError`](crate::operation::describe_type::DescribeTypeError) pub fn describe_type(&self) -> crate::operation::describe_type::builders::DescribeTypeFluentBuilder { crate::operation::describe_type::builders::DescribeTypeFluentBuilder::new(self.handle.clone()) diff --git a/sdk/cloudformation/src/client/detect_stack_set_drift.rs b/sdk/cloudformation/src/client/detect_stack_set_drift.rs index 830e7894d975..5cf4f69fdd4a 100644 --- a/sdk/cloudformation/src/client/detect_stack_set_drift.rs +++ b/sdk/cloudformation/src/client/detect_stack_set_drift.rs @@ -4,7 +4,7 @@ impl super::Client { /// /// - The fluent builder is configurable: /// - [`stack_set_name(impl Into)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::stack_set_name) / [`set_stack_set_name(Option)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::set_stack_set_name):
required: **true**

The name of the stack set on which to perform the drift detection operation.


- /// - [`operation_preferences(StackSetOperationPreferences)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::operation_preferences) / [`set_operation_preferences(Option)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::set_operation_preferences):
required: **false**

The user-specified preferences for how CloudFormation performs a stack set operation.

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.


+ /// - [`operation_preferences(StackSetOperationPreferences)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::operation_preferences) / [`set_operation_preferences(Option)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::set_operation_preferences):
required: **false**

The user-specified preferences for how CloudFormation performs a stack set operation.

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.


/// - [`operation_id(impl Into)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::operation_id) / [`set_operation_id(Option)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::set_operation_id):
required: **false**

The ID of the stack set operation.


/// - [`call_as(CallAs)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::call_as) / [`set_call_as(Option)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::set_call_as):
required: **false**

\[Service-managed permissions\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.

  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.


/// - On success, responds with [`DetectStackSetDriftOutput`](crate::operation::detect_stack_set_drift::DetectStackSetDriftOutput) with field(s): diff --git a/sdk/cloudformation/src/client/estimate_template_cost.rs b/sdk/cloudformation/src/client/estimate_template_cost.rs index 74a6ef134eb2..2c26eaddbdad 100644 --- a/sdk/cloudformation/src/client/estimate_template_cost.rs +++ b/sdk/cloudformation/src/client/estimate_template_cost.rs @@ -3,8 +3,8 @@ impl super::Client { /// Constructs a fluent builder for the [`EstimateTemplateCost`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder) operation. /// /// - The fluent builder is configurable: - /// - [`template_body(impl Into)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::set_template_body):
required: **false**

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.


- /// - [`template_url(impl Into)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::set_template_url):
required: **false**

Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.


+ /// - [`template_body(impl Into)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::set_template_body):
required: **false**

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.


+ /// - [`template_url(impl Into)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::set_template_url):
required: **false**

Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.


/// - [`parameters(Parameter)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::parameters) / [`set_parameters(Option>)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::set_parameters):
required: **false**

A list of Parameter structures that specify input parameters.


/// - On success, responds with [`EstimateTemplateCostOutput`](crate::operation::estimate_template_cost::EstimateTemplateCostOutput) with field(s): /// - [`url(Option)`](crate::operation::estimate_template_cost::EstimateTemplateCostOutput::url):

An Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources required to run the template.

diff --git a/sdk/cloudformation/src/client/get_stack_policy.rs b/sdk/cloudformation/src/client/get_stack_policy.rs index e5c13ec7a09e..e19768a8766e 100644 --- a/sdk/cloudformation/src/client/get_stack_policy.rs +++ b/sdk/cloudformation/src/client/get_stack_policy.rs @@ -5,7 +5,7 @@ impl super::Client { /// - The fluent builder is configurable: /// - [`stack_name(impl Into)`](crate::operation::get_stack_policy::builders::GetStackPolicyFluentBuilder::stack_name) / [`set_stack_name(Option)`](crate::operation::get_stack_policy::builders::GetStackPolicyFluentBuilder::set_stack_name):
required: **true**

The name or unique stack ID that's associated with the stack whose policy you want to get.


/// - On success, responds with [`GetStackPolicyOutput`](crate::operation::get_stack_policy::GetStackPolicyOutput) with field(s): - /// - [`stack_policy_body(Option)`](crate::operation::get_stack_policy::GetStackPolicyOutput::stack_policy_body):

Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide.)

+ /// - [`stack_policy_body(Option)`](crate::operation::get_stack_policy::GetStackPolicyOutput::stack_policy_body):

Structure containing the stack policy body. (For more information, see Prevent updates to stack resources in the CloudFormation User Guide.)

/// - On failure, responds with [`SdkError`](crate::operation::get_stack_policy::GetStackPolicyError) pub fn get_stack_policy(&self) -> crate::operation::get_stack_policy::builders::GetStackPolicyFluentBuilder { crate::operation::get_stack_policy::builders::GetStackPolicyFluentBuilder::new(self.handle.clone()) diff --git a/sdk/cloudformation/src/client/get_template.rs b/sdk/cloudformation/src/client/get_template.rs index d9b9d5af8129..9097f41a3d20 100644 --- a/sdk/cloudformation/src/client/get_template.rs +++ b/sdk/cloudformation/src/client/get_template.rs @@ -7,7 +7,7 @@ impl super::Client { /// - [`change_set_name(impl Into)`](crate::operation::get_template::builders::GetTemplateFluentBuilder::change_set_name) / [`set_change_set_name(Option)`](crate::operation::get_template::builders::GetTemplateFluentBuilder::set_change_set_name):
required: **false**

The name or Amazon Resource Name (ARN) of a change set for which CloudFormation returns the associated template. If you specify a name, you must also specify the StackName.


/// - [`template_stage(TemplateStage)`](crate::operation::get_template::builders::GetTemplateFluentBuilder::template_stage) / [`set_template_stage(Option)`](crate::operation::get_template::builders::GetTemplateFluentBuilder::set_template_stage):
required: **false**

For templates that include transforms, the stage of the template that CloudFormation returns. To get the user-submitted template, specify Original. To get the template after CloudFormation has processed all transforms, specify Processed.

If the template doesn't include transforms, Original and Processed return the same template. By default, CloudFormation specifies Processed.


/// - On success, responds with [`GetTemplateOutput`](crate::operation::get_template::GetTemplateOutput) with field(s): - /// - [`template_body(Option)`](crate::operation::get_template::GetTemplateOutput::template_body):

Structure containing the template body. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

CloudFormation returns the same template that was used when the stack was created.

+ /// - [`template_body(Option)`](crate::operation::get_template::GetTemplateOutput::template_body):

Structure containing the template body.

CloudFormation returns the same template that was used when the stack was created.

/// - [`stages_available(Option>)`](crate::operation::get_template::GetTemplateOutput::stages_available):

The stage of the template that you can retrieve. For stacks, the Original and Processed templates are always available. For change sets, the Original template is always available. After CloudFormation finishes creating the change set, the Processed template becomes available.

/// - On failure, responds with [`SdkError`](crate::operation::get_template::GetTemplateError) pub fn get_template(&self) -> crate::operation::get_template::builders::GetTemplateFluentBuilder { diff --git a/sdk/cloudformation/src/client/get_template_summary.rs b/sdk/cloudformation/src/client/get_template_summary.rs index 8981fba5202d..bbcfaab5a571 100644 --- a/sdk/cloudformation/src/client/get_template_summary.rs +++ b/sdk/cloudformation/src/client/get_template_summary.rs @@ -3,8 +3,8 @@ impl super::Client { /// Constructs a fluent builder for the [`GetTemplateSummary`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder) operation. /// /// - The fluent builder is configurable: - /// - [`template_body(impl Into)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::set_template_body):
required: **false**

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template anatomy in the CloudFormation User Guide.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.


- /// - [`template_url(impl Into)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::set_template_url):
required: **false**

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.


+ /// - [`template_body(impl Into)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::set_template_body):
required: **false**

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.


+ /// - [`template_url(impl Into)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::set_template_url):
required: **false**

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.


/// - [`stack_name(impl Into)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::stack_name) / [`set_stack_name(Option)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::set_stack_name):
required: **false**

The name or the stack ID that's associated with the stack, which aren't always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.


/// - [`stack_set_name(impl Into)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::stack_set_name) / [`set_stack_set_name(Option)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::set_stack_set_name):
required: **false**

The name or unique ID of the stack set from which the stack was created.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.


/// - [`call_as(CallAs)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::call_as) / [`set_call_as(Option)`](crate::operation::get_template_summary::builders::GetTemplateSummaryFluentBuilder::set_call_as):
required: **false**

\[Service-managed permissions\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.

  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.


@@ -12,7 +12,7 @@ impl super::Client { /// - On success, responds with [`GetTemplateSummaryOutput`](crate::operation::get_template_summary::GetTemplateSummaryOutput) with field(s): /// - [`parameters(Option>)`](crate::operation::get_template_summary::GetTemplateSummaryOutput::parameters):

A list of parameter declarations that describe various properties for each parameter.

/// - [`description(Option)`](crate::operation::get_template_summary::GetTemplateSummaryOutput::description):

The value that's defined in the Description property of the template.

- /// - [`capabilities(Option>)`](crate::operation::get_template_summary::GetTemplateSummaryOutput::capabilities):

The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

For more information, see Acknowledging IAM Resources in CloudFormation Templates.

+ /// - [`capabilities(Option>)`](crate::operation::get_template_summary::GetTemplateSummaryOutput::capabilities):

The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

For more information, see Acknowledging IAM resources in CloudFormation templates.

/// - [`capabilities_reason(Option)`](crate::operation::get_template_summary::GetTemplateSummaryOutput::capabilities_reason):

The list of resources that generated the values in the Capabilities response element.

/// - [`resource_types(Option>)`](crate::operation::get_template_summary::GetTemplateSummaryOutput::resource_types):

A list of all the template resource types that are defined in the template, such as AWS::EC2::Instance, AWS::Dynamo::Table, and Custom::MyCustomInstance.

/// - [`version(Option)`](crate::operation::get_template_summary::GetTemplateSummaryOutput::version):

The Amazon Web Services template format version, which identifies the capabilities of the template.

diff --git a/sdk/cloudformation/src/client/import_stacks_to_stack_set.rs b/sdk/cloudformation/src/client/import_stacks_to_stack_set.rs index a386246f45e5..e2fadf93c398 100644 --- a/sdk/cloudformation/src/client/import_stacks_to_stack_set.rs +++ b/sdk/cloudformation/src/client/import_stacks_to_stack_set.rs @@ -7,7 +7,7 @@ impl super::Client { /// - [`stack_ids(impl Into)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::stack_ids) / [`set_stack_ids(Option>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_stack_ids):
required: **false**

The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a time.

Specify either StackIds or StackIdsUrl.


/// - [`stack_ids_url(impl Into)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::stack_ids_url) / [`set_stack_ids_url(Option)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_stack_ids_url):
required: **false**

The Amazon S3 URL which contains list of stack ids to be inputted.

Specify either StackIds or StackIdsUrl.


/// - [`organizational_unit_ids(impl Into)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::organizational_unit_ids) / [`set_organizational_unit_ids(Option>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_organizational_unit_ids):
required: **false**

The list of OU ID's to which the stacks being imported has to be mapped as deployment target.


- /// - [`operation_preferences(StackSetOperationPreferences)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::operation_preferences) / [`set_operation_preferences(Option)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_operation_preferences):
required: **false**

The user-specified preferences for how CloudFormation performs a stack set operation.

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.


+ /// - [`operation_preferences(StackSetOperationPreferences)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::operation_preferences) / [`set_operation_preferences(Option)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_operation_preferences):
required: **false**

The user-specified preferences for how CloudFormation performs a stack set operation.

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.


/// - [`operation_id(impl Into)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::operation_id) / [`set_operation_id(Option)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_operation_id):
required: **false**

A unique, user defined, identifier for the stack set operation.


/// - [`call_as(CallAs)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::call_as) / [`set_call_as(Option)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_call_as):
required: **false**

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.

  • For service managed stack sets, specify DELEGATED_ADMIN.


/// - On success, responds with [`ImportStacksToStackSetOutput`](crate::operation::import_stacks_to_stack_set::ImportStacksToStackSetOutput) with field(s): diff --git a/sdk/cloudformation/src/client/register_publisher.rs b/sdk/cloudformation/src/client/register_publisher.rs index 95f5769aa8f3..412086c75f36 100644 --- a/sdk/cloudformation/src/client/register_publisher.rs +++ b/sdk/cloudformation/src/client/register_publisher.rs @@ -4,7 +4,7 @@ impl super::Client { /// /// - The fluent builder is configurable: /// - [`accept_terms_and_conditions(bool)`](crate::operation::register_publisher::builders::RegisterPublisherFluentBuilder::accept_terms_and_conditions) / [`set_accept_terms_and_conditions(Option)`](crate::operation::register_publisher::builders::RegisterPublisherFluentBuilder::set_accept_terms_and_conditions):
required: **false**

Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry.

The default is false.


- /// - [`connection_arn(impl Into)`](crate::operation::register_publisher::builders::RegisterPublisherFluentBuilder::connection_arn) / [`set_connection_arn(Option)`](crate::operation::register_publisher::builders::RegisterPublisherFluentBuilder::set_connection_arn):
required: **false**

If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.

For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.


+ /// - [`connection_arn(impl Into)`](crate::operation::register_publisher::builders::RegisterPublisherFluentBuilder::connection_arn) / [`set_connection_arn(Option)`](crate::operation::register_publisher::builders::RegisterPublisherFluentBuilder::set_connection_arn):
required: **false**

If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.

For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide.


/// - On success, responds with [`RegisterPublisherOutput`](crate::operation::register_publisher::RegisterPublisherOutput) with field(s): /// - [`publisher_id(Option)`](crate::operation::register_publisher::RegisterPublisherOutput::publisher_id):

The ID assigned this account by CloudFormation for publishing extensions.

/// - On failure, responds with [`SdkError`](crate::operation::register_publisher::RegisterPublisherError) diff --git a/sdk/cloudformation/src/client/register_type.rs b/sdk/cloudformation/src/client/register_type.rs index e34342eef40d..f3028d63d21b 100644 --- a/sdk/cloudformation/src/client/register_type.rs +++ b/sdk/cloudformation/src/client/register_type.rs @@ -4,8 +4,8 @@ impl super::Client { /// /// - The fluent builder is configurable: /// - [`r#type(RegistryType)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::type) / [`set_type(Option)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::set_type):
required: **false**

The kind of extension.


- /// - [`type_name(impl Into)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::type_name) / [`set_type_name(Option)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::set_type_name):
required: **true**

The name of the extension being registered.

We suggest that extension names adhere to the following patterns:

  • For resource types, company_or_organization::service::type.

  • For modules, company_or_organization::service::type::MODULE.

  • For hooks, MyCompany::Testing::MyTestHook.

The following organization namespaces are reserved and can't be used in your extension names:

  • Alexa

  • AMZN

  • Amazon

  • AWS

  • Custom

  • Dev


- /// - [`schema_handler_package(impl Into)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::schema_handler_package) / [`set_schema_handler_package(Option)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::set_schema_handler_package):
required: **true**

A URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register.

For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide.

The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.


+ /// - [`type_name(impl Into)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::type_name) / [`set_type_name(Option)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::set_type_name):
required: **true**

The name of the extension being registered.

We suggest that extension names adhere to the following patterns:

  • For resource types, company_or_organization::service::type.

  • For modules, company_or_organization::service::type::MODULE.

  • For hooks, MyCompany::Testing::MyTestHook.

The following organization namespaces are reserved and can't be used in your extension names:

  • Alexa

  • AMZN

  • Amazon

  • AWS

  • Custom

  • Dev


+ /// - [`schema_handler_package(impl Into)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::schema_handler_package) / [`set_schema_handler_package(Option)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::set_schema_handler_package):
required: **true**

A URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register.

For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation Command Line Interface (CLI) User Guide.

The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.


/// - [`logging_config(LoggingConfig)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::logging_config) / [`set_logging_config(Option)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::set_logging_config):
required: **false**

Specifies logging configuration information for an extension.


/// - [`execution_role_arn(impl Into)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::execution_role_arn) / [`set_execution_role_arn(Option)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::set_execution_role_arn):
required: **false**

The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the extension.

For CloudFormation to assume the specified execution role, the role must contain a trust relationship with the CloudFormation service principal (resources.cloudformation.amazonaws.com). For more information about adding trust relationships, see Modifying a role trust policy in the Identity and Access Management User Guide.

If your extension calls Amazon Web Services APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those Amazon Web Services APIs, and provision that execution role in your account. When CloudFormation needs to invoke the resource type handler, CloudFormation assumes this execution role to create a temporary session token, which it then passes to the resource type handler, thereby supplying your resource type with the appropriate credentials.


/// - [`client_request_token(impl Into)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::client_request_token) / [`set_client_request_token(Option)`](crate::operation::register_type::builders::RegisterTypeFluentBuilder::set_client_request_token):
required: **false**

A unique identifier that acts as an idempotency key for this registration request. Specifying a client request token prevents CloudFormation from generating more than one version of an extension from the same registration request, even if the request is submitted multiple times.


diff --git a/sdk/cloudformation/src/client/rollback_stack.rs b/sdk/cloudformation/src/client/rollback_stack.rs index 9580201aae2f..0c5291e8605c 100644 --- a/sdk/cloudformation/src/client/rollback_stack.rs +++ b/sdk/cloudformation/src/client/rollback_stack.rs @@ -4,7 +4,7 @@ impl super::Client { /// /// - The fluent builder is configurable: /// - [`stack_name(impl Into)`](crate::operation::rollback_stack::builders::RollbackStackFluentBuilder::stack_name) / [`set_stack_name(Option)`](crate::operation::rollback_stack::builders::RollbackStackFluentBuilder::set_stack_name):
required: **true**

The name that's associated with the stack.


- /// - [`role_arn(impl Into)`](crate::operation::rollback_stack::builders::RollbackStackFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::rollback_stack::builders::RollbackStackFluentBuilder::set_role_arn):
required: **false**

The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.


+ /// - [`role_arn(impl Into)`](crate::operation::rollback_stack::builders::RollbackStackFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::rollback_stack::builders::RollbackStackFluentBuilder::set_role_arn):
required: **false**

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the stack.


/// - [`client_request_token(impl Into)`](crate::operation::rollback_stack::builders::RollbackStackFluentBuilder::client_request_token) / [`set_client_request_token(Option)`](crate::operation::rollback_stack::builders::RollbackStackFluentBuilder::set_client_request_token):
required: **false**

A unique identifier for this RollbackStack request.


/// - [`retain_except_on_create(bool)`](crate::operation::rollback_stack::builders::RollbackStackFluentBuilder::retain_except_on_create) / [`set_retain_except_on_create(Option)`](crate::operation::rollback_stack::builders::RollbackStackFluentBuilder::set_retain_except_on_create):
required: **false**

When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain.

Default: false


/// - On success, responds with [`RollbackStackOutput`](crate::operation::rollback_stack::RollbackStackOutput) with field(s): diff --git a/sdk/cloudformation/src/client/set_stack_policy.rs b/sdk/cloudformation/src/client/set_stack_policy.rs index d7be9400014f..9d749983b3c7 100644 --- a/sdk/cloudformation/src/client/set_stack_policy.rs +++ b/sdk/cloudformation/src/client/set_stack_policy.rs @@ -4,7 +4,7 @@ impl super::Client { /// /// - The fluent builder is configurable: /// - [`stack_name(impl Into)`](crate::operation::set_stack_policy::builders::SetStackPolicyFluentBuilder::stack_name) / [`set_stack_name(Option)`](crate::operation::set_stack_policy::builders::SetStackPolicyFluentBuilder::set_stack_name):
required: **true**

The name or unique stack ID that you want to associate a policy with.


- /// - [`stack_policy_body(impl Into)`](crate::operation::set_stack_policy::builders::SetStackPolicyFluentBuilder::stack_policy_body) / [`set_stack_policy_body(Option)`](crate::operation::set_stack_policy::builders::SetStackPolicyFluentBuilder::set_stack_policy_body):
required: **false**

Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.


+ /// - [`stack_policy_body(impl Into)`](crate::operation::set_stack_policy::builders::SetStackPolicyFluentBuilder::stack_policy_body) / [`set_stack_policy_body(Option)`](crate::operation::set_stack_policy::builders::SetStackPolicyFluentBuilder::set_stack_policy_body):
required: **false**

Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.


/// - [`stack_policy_url(impl Into)`](crate::operation::set_stack_policy::builders::SetStackPolicyFluentBuilder::stack_policy_url) / [`set_stack_policy_url(Option)`](crate::operation::set_stack_policy::builders::SetStackPolicyFluentBuilder::set_stack_policy_url):
required: **false**

Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for an Amazon S3 bucket must start with https://. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.


/// - On success, responds with [`SetStackPolicyOutput`](crate::operation::set_stack_policy::SetStackPolicyOutput) /// - On failure, responds with [`SdkError`](crate::operation::set_stack_policy::SetStackPolicyError) diff --git a/sdk/cloudformation/src/client/set_type_configuration.rs b/sdk/cloudformation/src/client/set_type_configuration.rs index 8bba437f4b30..002a34eb3bdb 100644 --- a/sdk/cloudformation/src/client/set_type_configuration.rs +++ b/sdk/cloudformation/src/client/set_type_configuration.rs @@ -4,7 +4,7 @@ impl super::Client { /// /// - The fluent builder is configurable: /// - [`type_arn(impl Into)`](crate::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder::type_arn) / [`set_type_arn(Option)`](crate::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder::set_type_arn):
required: **false**

The Amazon Resource Name (ARN) for the extension, in this account and Region.

For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region.

Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version.


- /// - [`configuration(impl Into)`](crate::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder::configuration) / [`set_configuration(Option)`](crate::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder::set_configuration):
required: **true**

The configuration data for the extension, in this account and Region.

The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.


+ /// - [`configuration(impl Into)`](crate::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder::configuration) / [`set_configuration(Option)`](crate::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder::set_configuration):
required: **true**

The configuration data for the extension, in this account and Region.

The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining the account-level configuration of an extension in the CloudFormation Command Line Interface (CLI) User Guide.


/// - [`configuration_alias(impl Into)`](crate::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder::configuration_alias) / [`set_configuration_alias(Option)`](crate::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder::set_configuration_alias):
required: **false**

An alias by which to refer to this extension configuration data.

Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension.


/// - [`type_name(impl Into)`](crate::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder::type_name) / [`set_type_name(Option)`](crate::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder::set_type_name):
required: **false**

The name of the extension.

Conditional: You must specify ConfigurationArn, or Type and TypeName.


/// - [`r#type(ThirdPartyType)`](crate::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder::type) / [`set_type(Option)`](crate::operation::set_type_configuration::builders::SetTypeConfigurationFluentBuilder::set_type):
required: **false**

The type of extension.

Conditional: You must specify ConfigurationArn, or Type and TypeName.


diff --git a/sdk/cloudformation/src/client/test_type.rs b/sdk/cloudformation/src/client/test_type.rs index 8a7385a859d6..1f732619d0f6 100644 --- a/sdk/cloudformation/src/client/test_type.rs +++ b/sdk/cloudformation/src/client/test_type.rs @@ -7,7 +7,7 @@ impl super::Client { /// - [`r#type(ThirdPartyType)`](crate::operation::test_type::builders::TestTypeFluentBuilder::type) / [`set_type(Option)`](crate::operation::test_type::builders::TestTypeFluentBuilder::set_type):
required: **false**

The type of the extension to test.

Conditional: You must specify Arn, or TypeName and Type.


/// - [`type_name(impl Into)`](crate::operation::test_type::builders::TestTypeFluentBuilder::type_name) / [`set_type_name(Option)`](crate::operation::test_type::builders::TestTypeFluentBuilder::set_type_name):
required: **false**

The name of the extension to test.

Conditional: You must specify Arn, or TypeName and Type.


/// - [`version_id(impl Into)`](crate::operation::test_type::builders::TestTypeFluentBuilder::version_id) / [`set_version_id(Option)`](crate::operation::test_type::builders::TestTypeFluentBuilder::set_version_id):
required: **false**

The version of the extension to test.

You can specify the version id with either Arn, or with TypeName and Type.

If you don't specify a version, CloudFormation uses the default version of the extension in this account and Region for testing.


- /// - [`log_delivery_bucket(impl Into)`](crate::operation::test_type::builders::TestTypeFluentBuilder::log_delivery_bucket) / [`set_log_delivery_bucket(Option)`](crate::operation::test_type::builders::TestTypeFluentBuilder::set_log_delivery_bucket):
required: **false**

The S3 bucket to which CloudFormation delivers the contract test execution logs.

CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of PASSED or FAILED.

The user calling TestType must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions:

  • GetObject

  • PutObject

For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.


+ /// - [`log_delivery_bucket(impl Into)`](crate::operation::test_type::builders::TestTypeFluentBuilder::log_delivery_bucket) / [`set_log_delivery_bucket(Option)`](crate::operation::test_type::builders::TestTypeFluentBuilder::set_log_delivery_bucket):
required: **false**

The S3 bucket to which CloudFormation delivers the contract test execution logs.

CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of PASSED or FAILED.

The user calling TestType must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions:

  • GetObject

  • PutObject

For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.


/// - On success, responds with [`TestTypeOutput`](crate::operation::test_type::TestTypeOutput) with field(s): /// - [`type_version_arn(Option)`](crate::operation::test_type::TestTypeOutput::type_version_arn):

The Amazon Resource Name (ARN) of the extension.

/// - On failure, responds with [`SdkError`](crate::operation::test_type::TestTypeError) diff --git a/sdk/cloudformation/src/client/update_stack.rs b/sdk/cloudformation/src/client/update_stack.rs index 7ca4626bc5f1..1c8c00b6115a 100644 --- a/sdk/cloudformation/src/client/update_stack.rs +++ b/sdk/cloudformation/src/client/update_stack.rs @@ -4,15 +4,15 @@ impl super::Client { /// /// - The fluent builder is configurable: /// - [`stack_name(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::stack_name) / [`set_stack_name(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_stack_name):
required: **true**

The name or unique stack ID of the stack to update.


- /// - [`template_body(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_template_body):
required: **false**

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.


- /// - [`template_url(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_template_url):
required: **false**

Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.


+ /// - [`template_body(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_template_body):
required: **false**

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.


+ /// - [`template_url(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_template_url):
required: **false**

Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.


/// - [`use_previous_template(bool)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::use_previous_template) / [`set_use_previous_template(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_use_previous_template):
required: **false**

Reuse the existing template that is associated with the stack that you are updating.

Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.


/// - [`stack_policy_during_update_body(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::stack_policy_during_update_body) / [`set_stack_policy_during_update_body(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_stack_policy_during_update_body):
required: **false**

Structure containing the temporary overriding stack policy body. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you don't specify a stack policy, the current policy that is associated with the stack will be used.


/// - [`stack_policy_during_update_url(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::stack_policy_during_update_url) / [`set_stack_policy_during_update_url(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_stack_policy_during_update_url):
required: **false**

Location of a file containing the temporary overriding stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same Region as the stack. The location for an Amazon S3 bucket must start with https://. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you don't specify a stack policy, the current policy that is associated with the stack will be used.


/// - [`parameters(Parameter)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::parameters) / [`set_parameters(Option>)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_parameters):
required: **false**

A list of Parameter structures that specify input parameters for the stack. For more information, see the Parameter data type.


- /// - [`capabilities(Capability)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::capabilities) / [`set_capabilities(Option>)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_capabilities):
required: **false**

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.

    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we suggest that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM Resources in CloudFormation Templates.

  • CAPABILITY_AUTO_EXPAND

    Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually updating the stack. If your stack template contains one or more macros, and you choose to update a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.

    If you want to update a stack from a stack template that contains macros and nested stacks, you must update the stack directly from the template using this capability.

    You should only update stacks directly from a stack template that contains macros if you know what processing the macro performs.

    Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified.

    For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

Only one of the Capabilities and ResourceType parameters can be specified.


- /// - [`resource_types(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::resource_types) / [`set_resource_types(Option>)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_resource_types):
required: **false**

The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

Only one of the Capabilities and ResourceType parameters can be specified.


- /// - [`role_arn(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_role_arn):
required: **false**

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.


+ /// - [`capabilities(Capability)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::capabilities) / [`set_capabilities(Option>)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_capabilities):
required: **false**

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.

    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we suggest that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM resources in CloudFormation templates.

  • CAPABILITY_AUTO_EXPAND

    Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually updating the stack. If your stack template contains one or more macros, and you choose to update a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.

    If you want to update a stack from a stack template that contains macros and nested stacks, you must update the stack directly from the template using this capability.

    You should only update stacks directly from a stack template that contains macros if you know what processing the macro performs.

    Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified.

    For more information, see Perform custom processing on CloudFormation templates with template macros.

Only one of the Capabilities and ResourceType parameters can be specified.


+ /// - [`resource_types(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::resource_types) / [`set_resource_types(Option>)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_resource_types):
required: **false**

The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

Only one of the Capabilities and ResourceType parameters can be specified.


+ /// - [`role_arn(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_role_arn):
required: **false**

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.


/// - [`rollback_configuration(RollbackConfiguration)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::rollback_configuration) / [`set_rollback_configuration(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_rollback_configuration):
required: **false**

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.


/// - [`stack_policy_body(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::stack_policy_body) / [`set_stack_policy_body(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_stack_policy_body):
required: **false**

Structure containing a new stack policy body. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you don't specify a stack policy, the current policy that is associated with the stack is unchanged.


/// - [`stack_policy_url(impl Into)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::stack_policy_url) / [`set_stack_policy_url(Option)`](crate::operation::update_stack::builders::UpdateStackFluentBuilder::set_stack_policy_url):
required: **false**

Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same Region as the stack. The location for an Amazon S3 bucket must start with https://. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you don't specify a stack policy, the current policy that is associated with the stack is unchanged.


diff --git a/sdk/cloudformation/src/client/update_stack_set.rs b/sdk/cloudformation/src/client/update_stack_set.rs index a68164800da6..bc036bea6323 100644 --- a/sdk/cloudformation/src/client/update_stack_set.rs +++ b/sdk/cloudformation/src/client/update_stack_set.rs @@ -5,11 +5,11 @@ impl super::Client { /// - The fluent builder is configurable: /// - [`stack_set_name(impl Into)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::stack_set_name) / [`set_stack_set_name(Option)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_stack_set_name):
required: **true**

The name or unique ID of the stack set that you want to update.


/// - [`description(impl Into)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::description) / [`set_description(Option)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_description):
required: **false**

A brief description of updates that you are making.


- /// - [`template_body(impl Into)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_template_body):
required: **false**

The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.


- /// - [`template_url(impl Into)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_template_url):
required: **false**

The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.


+ /// - [`template_body(impl Into)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_template_body):
required: **false**

The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.


+ /// - [`template_url(impl Into)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_template_url):
required: **false**

The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document.

Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.


/// - [`use_previous_template(bool)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::use_previous_template) / [`set_use_previous_template(Option)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_use_previous_template):
required: **false**

Use the existing template that's associated with the stack set that you're updating.

Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.


/// - [`parameters(Parameter)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::parameters) / [`set_parameters(Option>)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_parameters):
required: **false**

A list of input parameters for the stack set template.


- /// - [`capabilities(Capability)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::capabilities) / [`set_capabilities(Option>)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_capabilities):
required: **false**

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack set and its associated stack instances.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.

    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM Resources in CloudFormation Templates.

  • CAPABILITY_AUTO_EXPAND

    Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

    Stack sets with service-managed permissions do not currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a stack set with service-managed permissions, if you reference a macro in your template the stack set operation will fail.


+ /// - [`capabilities(Capability)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::capabilities) / [`set_capabilities(Option>)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_capabilities):
required: **false**

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack set and its associated stack instances.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.

    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM resources in CloudFormation templates.

  • CAPABILITY_AUTO_EXPAND

    Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

    Stack sets with service-managed permissions do not currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a stack set with service-managed permissions, if you reference a macro in your template the stack set operation will fail.


/// - [`tags(Tag)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::tags) / [`set_tags(Option>)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_tags):
required: **false**

The key-value pairs to associate with this stack set and the stacks created from it. CloudFormation also propagates these tags to supported resources that are created in the stacks. You can specify a maximum number of 50 tags.

If you specify tags for this parameter, those tags replace any list of tags that are currently associated with this stack set. This means:

  • If you don't specify this parameter, CloudFormation doesn't modify the stack's tags.

  • If you specify any tags using this parameter, you must specify all the tags that you want associated with this stack set, even tags you've specified before (for example, when creating the stack set or during a previous update of the stack set.). Any tags that you don't include in the updated list of tags are removed from the stack set, and therefore from the stacks and resources as well.

  • If you specify an empty value, CloudFormation removes all currently associated tags.

If you specify new tags as part of an UpdateStackSet action, CloudFormation checks to see if you have the required IAM permission to tag resources. If you omit tags that are currently associated with the stack set from the list of tags you specify, CloudFormation assumes that you want to remove those tags from the stack set, and checks to see if you have permission to untag resources. If you don't have the necessary permission(s), the entire UpdateStackSet action fails with an access denied error, and the stack set is not updated.


/// - [`operation_preferences(StackSetOperationPreferences)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::operation_preferences) / [`set_operation_preferences(Option)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_operation_preferences):
required: **false**

Preferences for how CloudFormation performs this stack set operation.


/// - [`administration_role_arn(impl Into)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::administration_role_arn) / [`set_administration_role_arn(Option)`](crate::operation::update_stack_set::builders::UpdateStackSetFluentBuilder::set_administration_role_arn):
required: **false**

The Amazon Resource Name (ARN) of the IAM role to use to update this stack set.

Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Granting Permissions for Stack Set Operations in the CloudFormation User Guide.

If you specified a customized administrator role when you created the stack set, you must specify a customized administrator role, even if it is the same customized administrator role used with this stack set previously.


diff --git a/sdk/cloudformation/src/client/validate_template.rs b/sdk/cloudformation/src/client/validate_template.rs index 42fea26b4e3e..19b876a419f3 100644 --- a/sdk/cloudformation/src/client/validate_template.rs +++ b/sdk/cloudformation/src/client/validate_template.rs @@ -3,12 +3,12 @@ impl super::Client { /// Constructs a fluent builder for the [`ValidateTemplate`](crate::operation::validate_template::builders::ValidateTemplateFluentBuilder) operation. /// /// - The fluent builder is configurable: - /// - [`template_body(impl Into)`](crate::operation::validate_template::builders::ValidateTemplateFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::validate_template::builders::ValidateTemplateFluentBuilder::set_template_body):
required: **false**

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.


- /// - [`template_url(impl Into)`](crate::operation::validate_template::builders::ValidateTemplateFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::validate_template::builders::ValidateTemplateFluentBuilder::set_template_url):
required: **false**

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.


+ /// - [`template_body(impl Into)`](crate::operation::validate_template::builders::ValidateTemplateFluentBuilder::template_body) / [`set_template_body(Option)`](crate::operation::validate_template::builders::ValidateTemplateFluentBuilder::set_template_body):
required: **false**

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.


+ /// - [`template_url(impl Into)`](crate::operation::validate_template::builders::ValidateTemplateFluentBuilder::template_url) / [`set_template_url(Option)`](crate::operation::validate_template::builders::ValidateTemplateFluentBuilder::set_template_url):
required: **false**

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.


/// - On success, responds with [`ValidateTemplateOutput`](crate::operation::validate_template::ValidateTemplateOutput) with field(s): /// - [`parameters(Option>)`](crate::operation::validate_template::ValidateTemplateOutput::parameters):

A list of TemplateParameter structures.

/// - [`description(Option)`](crate::operation::validate_template::ValidateTemplateOutput::description):

The description found within the template.

- /// - [`capabilities(Option>)`](crate::operation::validate_template::ValidateTemplateOutput::capabilities):

The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

For more information, see Acknowledging IAM Resources in CloudFormation Templates.

+ /// - [`capabilities(Option>)`](crate::operation::validate_template::ValidateTemplateOutput::capabilities):

The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

For more information, see Acknowledging IAM resources in CloudFormation templates.

/// - [`capabilities_reason(Option)`](crate::operation::validate_template::ValidateTemplateOutput::capabilities_reason):

The list of resources that generated the values in the Capabilities response element.

/// - [`declared_transforms(Option>)`](crate::operation::validate_template::ValidateTemplateOutput::declared_transforms):

A list of the transforms that are declared in the template.

/// - On failure, responds with [`SdkError`](crate::operation::validate_template::ValidateTemplateError) diff --git a/sdk/cloudformation/src/lib.rs b/sdk/cloudformation/src/lib.rs index e6d96530d5b4..d57f79553aa2 100644 --- a/sdk/cloudformation/src/lib.rs +++ b/sdk/cloudformation/src/lib.rs @@ -17,7 +17,7 @@ #![forbid(unsafe_code)] #![warn(missing_docs)] #![cfg_attr(docsrs, feature(doc_auto_cfg))] -//! CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments predictably and repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly reliable, highly scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services infrastructure. +//! CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments predictably and repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing, and Amazon EC2 Auto Scaling to build highly reliable, highly scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services infrastructure. //! //! With CloudFormation, you declare all your resources and dependencies in a template file. The template defines a collection of resources as a single unit called a stack. CloudFormation creates and deletes all member resources of the stack together and manages all dependencies between the resources for you. //! @@ -37,7 +37,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-cloudformation = "1.51.0" +//! aws-sdk-cloudformation = "1.51.1" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/cloudformation/src/operation/activate_type/builders.rs b/sdk/cloudformation/src/operation/activate_type/builders.rs index 5eb0252b6d7e..cd746a8c1d33 100644 --- a/sdk/cloudformation/src/operation/activate_type/builders.rs +++ b/sdk/cloudformation/src/operation/activate_type/builders.rs @@ -22,8 +22,7 @@ impl crate::operation::activate_type::builders::ActivateTypeInputBuilder { } /// Fluent builder constructing a request to `ActivateType`. /// -///

Activates a public third-party extension, making it available for use in stack templates. For more information, see Using public extensions in the CloudFormation User Guide.

-///

Once you have activated a public third-party extension in your account and Region, use SetTypeConfiguration to specify configuration properties for the extension. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.

+///

Activates a public third-party extension, making it available for use in stack templates. Once you have activated a public third-party extension in your account and Region, use SetTypeConfiguration to specify configuration properties for the extension. For more information, see Using public extensions in the CloudFormation User Guide.

#[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct ActivateTypeFluentBuilder { handle: ::std::sync::Arc, diff --git a/sdk/cloudformation/src/operation/batch_describe_type_configurations/builders.rs b/sdk/cloudformation/src/operation/batch_describe_type_configurations/builders.rs index e4dde4079002..4286b9a34b7a 100644 --- a/sdk/cloudformation/src/operation/batch_describe_type_configurations/builders.rs +++ b/sdk/cloudformation/src/operation/batch_describe_type_configurations/builders.rs @@ -23,7 +23,7 @@ impl crate::operation::batch_describe_type_configurations::builders::BatchDescri /// Fluent builder constructing a request to `BatchDescribeTypeConfigurations`. /// ///

Returns configuration data for the specified CloudFormation extensions, from the CloudFormation registry for the account and Region.

-///

For more information, see Configuring extensions at the account level in the CloudFormation User Guide.

+///

For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide.

#[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct BatchDescribeTypeConfigurationsFluentBuilder { handle: ::std::sync::Arc, diff --git a/sdk/cloudformation/src/operation/continue_update_rollback/_continue_update_rollback_input.rs b/sdk/cloudformation/src/operation/continue_update_rollback/_continue_update_rollback_input.rs index da52502fbd63..4f8798e2a7d7 100644 --- a/sdk/cloudformation/src/operation/continue_update_rollback/_continue_update_rollback_input.rs +++ b/sdk/cloudformation/src/operation/continue_update_rollback/_continue_update_rollback_input.rs @@ -8,7 +8,7 @@ pub struct ContinueUpdateRollbackInput { ///

Don't specify the name of a nested stack (a stack that was created by using the AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the stack that contains the AWS::CloudFormation::Stack resource).

/// pub stack_name: ::std::option::Option<::std::string::String>, - ///

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

+ ///

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

///

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

pub role_arn: ::std::option::Option<::std::string::String>, ///

A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for example, because an update was canceled. To check why a resource update failed, use the DescribeStackResources action, and view the resource status reason.

@@ -16,7 +16,7 @@ pub struct ContinueUpdateRollbackInput { /// ///

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

///

To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

- ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy.

+ ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Continue rolling back from failed nested stack updates.

///
pub resources_to_skip: ::std::option::Option<::std::vec::Vec<::std::string::String>>, ///

A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to continue the rollback to a stack with the same name. You might retry ContinueUpdateRollback requests to ensure that CloudFormation successfully received them.

@@ -29,7 +29,7 @@ impl ContinueUpdateRollbackInput { pub fn stack_name(&self) -> ::std::option::Option<&str> { self.stack_name.as_deref() } - ///

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

+ ///

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

///

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

pub fn role_arn(&self) -> ::std::option::Option<&str> { self.role_arn.as_deref() @@ -39,7 +39,7 @@ impl ContinueUpdateRollbackInput { /// ///

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

///

To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

- ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy.

+ ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Continue rolling back from failed nested stack updates.

///
/// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.resources_to_skip.is_none()`. @@ -89,19 +89,19 @@ impl ContinueUpdateRollbackInputBuilder { pub fn get_stack_name(&self) -> &::std::option::Option<::std::string::String> { &self.stack_name } - ///

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

+ ///

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

///

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.role_arn = ::std::option::Option::Some(input.into()); self } - ///

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

+ ///

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

///

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.role_arn = input; self } - ///

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

+ ///

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

///

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { &self.role_arn @@ -115,7 +115,7 @@ impl ContinueUpdateRollbackInputBuilder { /// ///

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

///

To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

- ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy.

+ ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Continue rolling back from failed nested stack updates.

///
pub fn resources_to_skip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { let mut v = self.resources_to_skip.unwrap_or_default(); @@ -128,7 +128,7 @@ impl ContinueUpdateRollbackInputBuilder { /// ///

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

///

To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

- ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy.

+ ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Continue rolling back from failed nested stack updates.

///
pub fn set_resources_to_skip(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.resources_to_skip = input; @@ -139,7 +139,7 @@ impl ContinueUpdateRollbackInputBuilder { /// ///

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

///

To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

- ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy.

+ ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Continue rolling back from failed nested stack updates.

///
pub fn get_resources_to_skip(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.resources_to_skip diff --git a/sdk/cloudformation/src/operation/continue_update_rollback/builders.rs b/sdk/cloudformation/src/operation/continue_update_rollback/builders.rs index 51566edc73e3..b11733428976 100644 --- a/sdk/cloudformation/src/operation/continue_update_rollback/builders.rs +++ b/sdk/cloudformation/src/operation/continue_update_rollback/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::continue_update_rollback::builders::ContinueUpdateRollbac } /// Fluent builder constructing a request to `ContinueUpdateRollback`. /// -///

For a specified stack that's in the UPDATE_ROLLBACK_FAILED state, continues rolling it back to the UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the failure, you can manually fix the error and continue the rollback. By continuing the rollback, you can return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE state), and then try to update the stack again.

+///

For a specified stack that's in the UPDATE_ROLLBACK_FAILED state, continues rolling it back to the UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the failure, you can manually fix the error and continue the rollback. By continuing the rollback, you can return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE state), and then try to update the stack again.

///

A stack goes into the UPDATE_ROLLBACK_FAILED state when CloudFormation can't roll back all changes after a failed stack update. For example, you might have a stack that's rolling back to an old database instance that was deleted outside of CloudFormation. Because CloudFormation doesn't know the database was deleted, it assumes that the database instance still exists and attempts to roll back to it, causing the update rollback to fail.

#[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct ContinueUpdateRollbackFluentBuilder { @@ -129,19 +129,19 @@ impl ContinueUpdateRollbackFluentBuilder { pub fn get_stack_name(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_stack_name() } - ///

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

+ ///

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

///

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); self } - ///

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

+ ///

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

///

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_role_arn(input); self } - ///

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

+ ///

The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

///

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_role_arn() @@ -156,7 +156,7 @@ impl ContinueUpdateRollbackFluentBuilder { /// ///

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

///

To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

- ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy.

+ ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Continue rolling back from failed nested stack updates.

///
pub fn resources_to_skip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resources_to_skip(input.into()); @@ -167,7 +167,7 @@ impl ContinueUpdateRollbackFluentBuilder { /// ///

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

///

To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

- ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy.

+ ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Continue rolling back from failed nested stack updates.

///
pub fn set_resources_to_skip(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.inner = self.inner.set_resources_to_skip(input); @@ -178,7 +178,7 @@ impl ContinueUpdateRollbackFluentBuilder { /// ///

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

///

To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

- ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy.

+ ///

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Continue rolling back from failed nested stack updates.

///
pub fn get_resources_to_skip(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { self.inner.get_resources_to_skip() diff --git a/sdk/cloudformation/src/operation/create_change_set/_create_change_set_input.rs b/sdk/cloudformation/src/operation/create_change_set/_create_change_set_input.rs index 7aad0dcb3f2d..1c393811c6d8 100644 --- a/sdk/cloudformation/src/operation/create_change_set/_create_change_set_input.rs +++ b/sdk/cloudformation/src/operation/create_change_set/_create_change_set_input.rs @@ -20,7 +20,7 @@ pub struct CreateChangeSetInput { ///
    ///
  • ///

    CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    - ///

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

    + ///

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

    ///

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    /// ///

    Only one of the Capabilities and ResourceType parameters can be specified.

    ///
    pub capabilities: ::std::option::Option<::std::vec::Vec>, ///

    The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

    - ///

    If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Controlling access with Identity and Access Management in the CloudFormation User Guide.

    + ///

    If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Control access with Identity and Access Management in the CloudFormation User Guide.

    ///

    Only one of the Capabilities and ResourceType parameters can be specified.

    ///
    pub resource_types: ::std::option::Option<::std::vec::Vec<::std::string::String>>, - ///

    The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

    + ///

    The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

    ///

    If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

    pub role_arn: ::std::option::Option<::std::string::String>, ///

    The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.

    pub rollback_configuration: ::std::option::Option, - ///

    The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

    + ///

    The Amazon Resource Names (ARNs) of Amazon SNS topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

    pub notification_arns: ::std::option::Option<::std::vec::Vec<::std::string::String>>, ///

    Key-value pairs to associate with this stack. CloudFormation also propagates these tags to resources in the stack. You can specify a maximum of 50 tags.

    pub tags: ::std::option::Option<::std::vec::Vec>, @@ -81,7 +81,7 @@ pub struct CreateChangeSetInput { ///

    A description to help you identify this change set.

    pub description: ::std::option::Option<::std::string::String>, ///

    The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. To create a change set for an import operation, specify IMPORT.

    - ///

    If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

    + ///

    If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

    ///

    By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

    pub change_set_type: ::std::option::Option, ///

    The resources to import into your stack.

    @@ -100,7 +100,7 @@ pub struct CreateChangeSetInput { ///

    For nested stacks, when the OnStackFailure parameter is set to DELETE for the change set for the parent stack, any failure in a child stack will cause the parent stack creation to fail and all stacks to be deleted.

    pub on_stack_failure: ::std::option::Option, ///

    Indicates if the change set imports resources that already exist.

    - ///

    This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Bringing existing resources into CloudFormation management in the CloudFormation User Guide.

    + ///

    This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Import Amazon Web Services resources into a CloudFormation stack with a resource import in the CloudFormation User Guide.

    ///
    pub import_existing_resources: ::std::option::Option, } @@ -133,7 +133,7 @@ impl CreateChangeSetInput { ///
      ///
    • ///

      CAPABILITY_IAM and CAPABILITY_NAMED_IAM

      - ///

      Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

      + ///

      Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

      ///

      The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

      /// ///

      Only one of the Capabilities and ResourceType parameters can be specified.

      ///
      @@ -177,7 +177,7 @@ impl CreateChangeSetInput { self.capabilities.as_deref().unwrap_or_default() } ///

      The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

      - ///

      If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Controlling access with Identity and Access Management in the CloudFormation User Guide.

      + ///

      If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Control access with Identity and Access Management in the CloudFormation User Guide.

      ///

      Only one of the Capabilities and ResourceType parameters can be specified.

      ///
      /// @@ -185,7 +185,7 @@ impl CreateChangeSetInput { pub fn resource_types(&self) -> &[::std::string::String] { self.resource_types.as_deref().unwrap_or_default() } - ///

      The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

      + ///

      The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

      ///

      If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

      pub fn role_arn(&self) -> ::std::option::Option<&str> { self.role_arn.as_deref() @@ -194,7 +194,7 @@ impl CreateChangeSetInput { pub fn rollback_configuration(&self) -> ::std::option::Option<&crate::types::RollbackConfiguration> { self.rollback_configuration.as_ref() } - ///

      The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

      + ///

      The Amazon Resource Names (ARNs) of Amazon SNS topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

      /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.notification_arns.is_none()`. pub fn notification_arns(&self) -> &[::std::string::String] { @@ -220,7 +220,7 @@ impl CreateChangeSetInput { self.description.as_deref() } ///

      The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. To create a change set for an import operation, specify IMPORT.

      - ///

      If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

      + ///

      If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

      ///

      By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

      pub fn change_set_type(&self) -> ::std::option::Option<&crate::types::ChangeSetType> { self.change_set_type.as_ref() @@ -249,7 +249,7 @@ impl CreateChangeSetInput { self.on_stack_failure.as_ref() } ///

      Indicates if the change set imports resources that already exist.

      - ///

      This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Bringing existing resources into CloudFormation management in the CloudFormation User Guide.

      + ///

      This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Import Amazon Web Services resources into a CloudFormation stack with a resource import in the CloudFormation User Guide.

      ///
      pub fn import_existing_resources(&self) -> ::std::option::Option { self.import_existing_resources @@ -378,7 +378,7 @@ impl CreateChangeSetInputBuilder { ///
        ///
      • ///

        CAPABILITY_IAM and CAPABILITY_NAMED_IAM

        - ///

        Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

        + ///

        Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

        ///

        The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

        /// ///

        Only one of the Capabilities and ResourceType parameters can be specified.

        ///
        @@ -426,7 +426,7 @@ impl CreateChangeSetInputBuilder { ///
          ///
        • ///

          CAPABILITY_IAM and CAPABILITY_NAMED_IAM

          - ///

          Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

          + ///

          Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

          ///

          The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

          /// ///

          Only one of the Capabilities and ResourceType parameters can be specified.

          ///
          @@ -472,7 +472,7 @@ impl CreateChangeSetInputBuilder { ///
            ///
          • ///

            CAPABILITY_IAM and CAPABILITY_NAMED_IAM

            - ///

            Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

            + ///

            Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

            ///

            The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

            /// ///

            Only one of the Capabilities and ResourceType parameters can be specified.

            ///
            @@ -518,7 +518,7 @@ impl CreateChangeSetInputBuilder { /// To override the contents of this collection use [`set_resource_types`](Self::set_resource_types). /// ///

            The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

            - ///

            If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Controlling access with Identity and Access Management in the CloudFormation User Guide.

            + ///

            If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Control access with Identity and Access Management in the CloudFormation User Guide.

            ///

            Only one of the Capabilities and ResourceType parameters can be specified.

            ///
            pub fn resource_types(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { @@ -528,7 +528,7 @@ impl CreateChangeSetInputBuilder { self } ///

            The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

            - ///

            If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Controlling access with Identity and Access Management in the CloudFormation User Guide.

            + ///

            If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Control access with Identity and Access Management in the CloudFormation User Guide.

            ///

            Only one of the Capabilities and ResourceType parameters can be specified.

            ///
            pub fn set_resource_types(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { @@ -536,25 +536,25 @@ impl CreateChangeSetInputBuilder { self } ///

            The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

            - ///

            If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Controlling access with Identity and Access Management in the CloudFormation User Guide.

            + ///

            If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Control access with Identity and Access Management in the CloudFormation User Guide.

            ///

            Only one of the Capabilities and ResourceType parameters can be specified.

            ///
            pub fn get_resource_types(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.resource_types } - ///

            The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

            + ///

            The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

            ///

            If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

            pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.role_arn = ::std::option::Option::Some(input.into()); self } - ///

            The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

            + ///

            The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

            ///

            If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

            pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.role_arn = input; self } - ///

            The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

            + ///

            The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

            ///

            If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

            pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { &self.role_arn @@ -577,19 +577,19 @@ impl CreateChangeSetInputBuilder { /// /// To override the contents of this collection use [`set_notification_arns`](Self::set_notification_arns). /// - ///

            The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

            + ///

            The Amazon Resource Names (ARNs) of Amazon SNS topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

            pub fn notification_arns(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { let mut v = self.notification_arns.unwrap_or_default(); v.push(input.into()); self.notification_arns = ::std::option::Option::Some(v); self } - ///

            The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

            + ///

            The Amazon Resource Names (ARNs) of Amazon SNS topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

            pub fn set_notification_arns(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.notification_arns = input; self } - ///

            The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

            + ///

            The Amazon Resource Names (ARNs) of Amazon SNS topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

            pub fn get_notification_arns(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.notification_arns } @@ -660,21 +660,21 @@ impl CreateChangeSetInputBuilder { &self.description } ///

            The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. To create a change set for an import operation, specify IMPORT.

            - ///

            If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

            + ///

            If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

            ///

            By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

            pub fn change_set_type(mut self, input: crate::types::ChangeSetType) -> Self { self.change_set_type = ::std::option::Option::Some(input); self } ///

            The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. To create a change set for an import operation, specify IMPORT.

            - ///

            If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

            + ///

            If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

            ///

            By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

            pub fn set_change_set_type(mut self, input: ::std::option::Option) -> Self { self.change_set_type = input; self } ///

            The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. To create a change set for an import operation, specify IMPORT.

            - ///

            If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

            + ///

            If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

            ///

            By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

            pub fn get_change_set_type(&self) -> &::std::option::Option { &self.change_set_type @@ -755,21 +755,21 @@ impl CreateChangeSetInputBuilder { &self.on_stack_failure } ///

            Indicates if the change set imports resources that already exist.

            - ///

            This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Bringing existing resources into CloudFormation management in the CloudFormation User Guide.

            + ///

            This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Import Amazon Web Services resources into a CloudFormation stack with a resource import in the CloudFormation User Guide.

            ///
            pub fn import_existing_resources(mut self, input: bool) -> Self { self.import_existing_resources = ::std::option::Option::Some(input); self } ///

            Indicates if the change set imports resources that already exist.

            - ///

            This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Bringing existing resources into CloudFormation management in the CloudFormation User Guide.

            + ///

            This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Import Amazon Web Services resources into a CloudFormation stack with a resource import in the CloudFormation User Guide.

            ///
            pub fn set_import_existing_resources(mut self, input: ::std::option::Option) -> Self { self.import_existing_resources = input; self } ///

            Indicates if the change set imports resources that already exist.

            - ///

            This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Bringing existing resources into CloudFormation management in the CloudFormation User Guide.

            + ///

            This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Import Amazon Web Services resources into a CloudFormation stack with a resource import in the CloudFormation User Guide.

            ///
            pub fn get_import_existing_resources(&self) -> &::std::option::Option { &self.import_existing_resources diff --git a/sdk/cloudformation/src/operation/create_change_set/builders.rs b/sdk/cloudformation/src/operation/create_change_set/builders.rs index 227786ea7563..a00a14aefa58 100644 --- a/sdk/cloudformation/src/operation/create_change_set/builders.rs +++ b/sdk/cloudformation/src/operation/create_change_set/builders.rs @@ -201,7 +201,7 @@ impl CreateChangeSetFluentBuilder { ///
              ///
            • ///

              CAPABILITY_IAM and CAPABILITY_NAMED_IAM

              - ///

              Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

              + ///

              Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

              ///

              The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

              /// ///

              Only one of the Capabilities and ResourceType parameters can be specified.

              ///
              @@ -247,7 +247,7 @@ impl CreateChangeSetFluentBuilder { ///
                ///
              • ///

                CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                - ///

                Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                + ///

                Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                ///

                The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                /// ///

                Only one of the Capabilities and ResourceType parameters can be specified.

                ///
                @@ -293,7 +293,7 @@ impl CreateChangeSetFluentBuilder { ///
                  ///
                • ///

                  CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                  - ///

                  Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                  + ///

                  Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                  ///

                  The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                  /// ///

                  Only one of the Capabilities and ResourceType parameters can be specified.

                  ///
                  @@ -340,7 +340,7 @@ impl CreateChangeSetFluentBuilder { /// To override the contents of this collection use [`set_resource_types`](Self::set_resource_types). /// ///

                  The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

                  - ///

                  If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Controlling access with Identity and Access Management in the CloudFormation User Guide.

                  + ///

                  If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Control access with Identity and Access Management in the CloudFormation User Guide.

                  ///

                  Only one of the Capabilities and ResourceType parameters can be specified.

                  ///
                  pub fn resource_types(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { @@ -348,7 +348,7 @@ impl CreateChangeSetFluentBuilder { self } ///

                  The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

                  - ///

                  If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Controlling access with Identity and Access Management in the CloudFormation User Guide.

                  + ///

                  If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Control access with Identity and Access Management in the CloudFormation User Guide.

                  ///

                  Only one of the Capabilities and ResourceType parameters can be specified.

                  ///
                  pub fn set_resource_types(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { @@ -356,25 +356,25 @@ impl CreateChangeSetFluentBuilder { self } ///

                  The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

                  - ///

                  If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Controlling access with Identity and Access Management in the CloudFormation User Guide.

                  + ///

                  If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Control access with Identity and Access Management in the CloudFormation User Guide.

                  ///

                  Only one of the Capabilities and ResourceType parameters can be specified.

                  ///
                  pub fn get_resource_types(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { self.inner.get_resource_types() } - ///

                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

                  + ///

                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

                  ///

                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

                  pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); self } - ///

                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

                  + ///

                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

                  ///

                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

                  pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_role_arn(input); self } - ///

                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

                  + ///

                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission.

                  ///

                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

                  pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_role_arn() @@ -398,17 +398,17 @@ impl CreateChangeSetFluentBuilder { /// /// To override the contents of this collection use [`set_notification_arns`](Self::set_notification_arns). /// - ///

                  The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

                  + ///

                  The Amazon Resource Names (ARNs) of Amazon SNS topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

                  pub fn notification_arns(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.notification_arns(input.into()); self } - ///

                  The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

                  + ///

                  The Amazon Resource Names (ARNs) of Amazon SNS topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

                  pub fn set_notification_arns(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.inner = self.inner.set_notification_arns(input); self } - ///

                  The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

                  + ///

                  The Amazon Resource Names (ARNs) of Amazon SNS topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

                  pub fn get_notification_arns(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { self.inner.get_notification_arns() } @@ -477,21 +477,21 @@ impl CreateChangeSetFluentBuilder { self.inner.get_description() } ///

                  The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. To create a change set for an import operation, specify IMPORT.

                  - ///

                  If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

                  + ///

                  If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

                  ///

                  By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

                  pub fn change_set_type(mut self, input: crate::types::ChangeSetType) -> Self { self.inner = self.inner.change_set_type(input); self } ///

                  The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. To create a change set for an import operation, specify IMPORT.

                  - ///

                  If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

                  + ///

                  If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

                  ///

                  By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

                  pub fn set_change_set_type(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_change_set_type(input); self } ///

                  The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. To create a change set for an import operation, specify IMPORT.

                  - ///

                  If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

                  + ///

                  If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

                  ///

                  By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

                  pub fn get_change_set_type(&self) -> &::std::option::Option { self.inner.get_change_set_type() @@ -571,21 +571,21 @@ impl CreateChangeSetFluentBuilder { self.inner.get_on_stack_failure() } ///

                  Indicates if the change set imports resources that already exist.

                  - ///

                  This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Bringing existing resources into CloudFormation management in the CloudFormation User Guide.

                  + ///

                  This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Import Amazon Web Services resources into a CloudFormation stack with a resource import in the CloudFormation User Guide.

                  ///
                  pub fn import_existing_resources(mut self, input: bool) -> Self { self.inner = self.inner.import_existing_resources(input); self } ///

                  Indicates if the change set imports resources that already exist.

                  - ///

                  This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Bringing existing resources into CloudFormation management in the CloudFormation User Guide.

                  + ///

                  This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Import Amazon Web Services resources into a CloudFormation stack with a resource import in the CloudFormation User Guide.

                  ///
                  pub fn set_import_existing_resources(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_import_existing_resources(input); self } ///

                  Indicates if the change set imports resources that already exist.

                  - ///

                  This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Bringing existing resources into CloudFormation management in the CloudFormation User Guide.

                  + ///

                  This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead. For more information, see Import Amazon Web Services resources into a CloudFormation stack with a resource import in the CloudFormation User Guide.

                  ///
                  pub fn get_import_existing_resources(&self) -> &::std::option::Option { self.inner.get_import_existing_resources() diff --git a/sdk/cloudformation/src/operation/create_stack/_create_stack_input.rs b/sdk/cloudformation/src/operation/create_stack/_create_stack_input.rs index 5f606922622a..27fe0c5f10cf 100644 --- a/sdk/cloudformation/src/operation/create_stack/_create_stack_input.rs +++ b/sdk/cloudformation/src/operation/create_stack/_create_stack_input.rs @@ -8,10 +8,10 @@ pub struct CreateStackInput { ///

                  A stack name can contain only alphanumeric characters (case sensitive) and hyphens. It must start with an alphabetical character and can't be longer than 128 characters.

                  ///
                  pub stack_name: ::std::option::Option<::std::string::String>, - ///

                  Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template anatomy in the CloudFormation User Guide.

                  + ///

                  Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                  ///

                  Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                  pub template_body: ::std::option::Option<::std::string::String>, - ///

                  Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                  + ///

                  Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                  ///

                  Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                  pub template_url: ::std::option::Option<::std::string::String>, ///

                  A list of Parameter structures that specify input parameters for the stack. For more information, see the Parameter data type.

                  @@ -23,13 +23,13 @@ pub struct CreateStackInput { pub rollback_configuration: ::std::option::Option, ///

                  The amount of time that can pass before the stack status becomes CREATE_FAILED; if DisableRollback is not set or is set to false, the stack will be rolled back.

                  pub timeout_in_minutes: ::std::option::Option, - ///

                  The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                  + ///

                  The Amazon SNS topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                  pub notification_arns: ::std::option::Option<::std::vec::Vec<::std::string::String>>, ///

                  In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack.

                  ///
                    ///
                  • ///

                    CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                    - ///

                    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                    + ///

                    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                    ///

                    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                    /// ///

                    Only one of the Capabilities and ResourceType parameters can be specified.

                    ///
                    pub capabilities: ::std::option::Option<::std::vec::Vec>, ///

                    The template resource types that you have permissions to work with for this create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the following syntax to describe template resource types: AWS::* (for all Amazon Web Services resources), Custom::* (for all custom resources), Custom::logical_ID (for a specific custom resource), AWS::service_name::* (for all resources of a particular Amazon Web Services service), and AWS::service_name::resource_logical_ID (for a specific Amazon Web Services resource).

                    - ///

                    If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                    + ///

                    If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                    ///

                    Only one of the Capabilities and ResourceType parameters can be specified.

                    ///
                    pub resource_types: ::std::option::Option<::std::vec::Vec<::std::string::String>>, - ///

                    The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                    + ///

                    The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                    ///

                    If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                    pub role_arn: ::std::option::Option<::std::string::String>, ///

                    Determines what action will be taken if stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or DELETE. You can specify either OnFailure or DisableRollback, but not both.

                    ///

                    Default: ROLLBACK

                    pub on_failure: ::std::option::Option, - ///

                    Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                    + ///

                    Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                    pub stack_policy_body: ::std::option::Option<::std::string::String>, ///

                    Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an S3 bucket in the same Region as the stack. The location for an Amazon S3 bucket must start with https://. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                    pub stack_policy_url: ::std::option::Option<::std::string::String>, @@ -90,7 +90,7 @@ pub struct CreateStackInput { ///

                    All events initiated by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

                    ///

                    In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

                    pub client_request_token: ::std::option::Option<::std::string::String>, - ///

                    Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                    + ///

                    Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect CloudFormation stacks from being deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                    ///

                    For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.

                    pub enable_termination_protection: ::std::option::Option, ///

                    When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain.

                    @@ -104,12 +104,12 @@ impl CreateStackInput { pub fn stack_name(&self) -> ::std::option::Option<&str> { self.stack_name.as_deref() } - ///

                    Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template anatomy in the CloudFormation User Guide.

                    + ///

                    Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                    ///

                    Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                    pub fn template_body(&self) -> ::std::option::Option<&str> { self.template_body.as_deref() } - ///

                    Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                    + ///

                    Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                    ///

                    Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                    pub fn template_url(&self) -> ::std::option::Option<&str> { self.template_url.as_deref() @@ -133,7 +133,7 @@ impl CreateStackInput { pub fn timeout_in_minutes(&self) -> ::std::option::Option { self.timeout_in_minutes } - ///

                    The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                    + ///

                    The Amazon SNS topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                    /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.notification_arns.is_none()`. pub fn notification_arns(&self) -> &[::std::string::String] { @@ -143,7 +143,7 @@ impl CreateStackInput { ///
                      ///
                    • ///

                      CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                      - ///

                      Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                      + ///

                      Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                      ///

                      The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                      /// ///

                      Only one of the Capabilities and ResourceType parameters can be specified.

                      ///
                      @@ -188,7 +188,7 @@ impl CreateStackInput { self.capabilities.as_deref().unwrap_or_default() } ///

                      The template resource types that you have permissions to work with for this create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the following syntax to describe template resource types: AWS::* (for all Amazon Web Services resources), Custom::* (for all custom resources), Custom::logical_ID (for a specific custom resource), AWS::service_name::* (for all resources of a particular Amazon Web Services service), and AWS::service_name::resource_logical_ID (for a specific Amazon Web Services resource).

                      - ///

                      If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                      + ///

                      If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                      ///

                      Only one of the Capabilities and ResourceType parameters can be specified.

                      ///
                      /// @@ -196,7 +196,7 @@ impl CreateStackInput { pub fn resource_types(&self) -> &[::std::string::String] { self.resource_types.as_deref().unwrap_or_default() } - ///

                      The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                      + ///

                      The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                      ///

                      If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                      pub fn role_arn(&self) -> ::std::option::Option<&str> { self.role_arn.as_deref() @@ -206,7 +206,7 @@ impl CreateStackInput { pub fn on_failure(&self) -> ::std::option::Option<&crate::types::OnFailure> { self.on_failure.as_ref() } - ///

                      Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                      + ///

                      Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                      pub fn stack_policy_body(&self) -> ::std::option::Option<&str> { self.stack_policy_body.as_deref() } @@ -226,7 +226,7 @@ impl CreateStackInput { pub fn client_request_token(&self) -> ::std::option::Option<&str> { self.client_request_token.as_deref() } - ///

                      Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                      + ///

                      Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect CloudFormation stacks from being deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                      ///

                      For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.

                      pub fn enable_termination_protection(&self) -> ::std::option::Option { self.enable_termination_protection @@ -289,36 +289,36 @@ impl CreateStackInputBuilder { pub fn get_stack_name(&self) -> &::std::option::Option<::std::string::String> { &self.stack_name } - ///

                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template anatomy in the CloudFormation User Guide.

                      + ///

                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                      ///

                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                      pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_body = ::std::option::Option::Some(input.into()); self } - ///

                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template anatomy in the CloudFormation User Guide.

                      + ///

                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                      ///

                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                      pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_body = input; self } - ///

                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template anatomy in the CloudFormation User Guide.

                      + ///

                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                      ///

                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                      pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { &self.template_body } - ///

                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                      + ///

                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                      ///

                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                      pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_url = ::std::option::Option::Some(input.into()); self } - ///

                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                      + ///

                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                      ///

                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                      pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_url = input; self } - ///

                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                      + ///

                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                      ///

                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                      pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { &self.template_url @@ -392,19 +392,19 @@ impl CreateStackInputBuilder { /// /// To override the contents of this collection use [`set_notification_arns`](Self::set_notification_arns). /// - ///

                      The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                      + ///

                      The Amazon SNS topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                      pub fn notification_arns(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { let mut v = self.notification_arns.unwrap_or_default(); v.push(input.into()); self.notification_arns = ::std::option::Option::Some(v); self } - ///

                      The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                      + ///

                      The Amazon SNS topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                      pub fn set_notification_arns(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.notification_arns = input; self } - ///

                      The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                      + ///

                      The Amazon SNS topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                      pub fn get_notification_arns(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.notification_arns } @@ -416,7 +416,7 @@ impl CreateStackInputBuilder { ///
                        ///
                      • ///

                        CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                        - ///

                        Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                        + ///

                        Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                        ///

                        The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                        /// ///

                        Only one of the Capabilities and ResourceType parameters can be specified.

                        ///
                        @@ -465,7 +465,7 @@ impl CreateStackInputBuilder { ///
                          ///
                        • ///

                          CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                          - ///

                          Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                          + ///

                          Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                          ///

                          The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                          /// ///

                          Only one of the Capabilities and ResourceType parameters can be specified.

                          ///
                          @@ -512,7 +512,7 @@ impl CreateStackInputBuilder { ///
                            ///
                          • ///

                            CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                            - ///

                            Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                            + ///

                            Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                            ///

                            The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                            /// ///

                            Only one of the Capabilities and ResourceType parameters can be specified.

                            ///
                            @@ -559,7 +559,7 @@ impl CreateStackInputBuilder { /// To override the contents of this collection use [`set_resource_types`](Self::set_resource_types). /// ///

                            The template resource types that you have permissions to work with for this create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the following syntax to describe template resource types: AWS::* (for all Amazon Web Services resources), Custom::* (for all custom resources), Custom::logical_ID (for a specific custom resource), AWS::service_name::* (for all resources of a particular Amazon Web Services service), and AWS::service_name::resource_logical_ID (for a specific Amazon Web Services resource).

                            - ///

                            If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                            + ///

                            If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                            ///

                            Only one of the Capabilities and ResourceType parameters can be specified.

                            ///
                            pub fn resource_types(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { @@ -569,7 +569,7 @@ impl CreateStackInputBuilder { self } ///

                            The template resource types that you have permissions to work with for this create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the following syntax to describe template resource types: AWS::* (for all Amazon Web Services resources), Custom::* (for all custom resources), Custom::logical_ID (for a specific custom resource), AWS::service_name::* (for all resources of a particular Amazon Web Services service), and AWS::service_name::resource_logical_ID (for a specific Amazon Web Services resource).

                            - ///

                            If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                            + ///

                            If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                            ///

                            Only one of the Capabilities and ResourceType parameters can be specified.

                            ///
                            pub fn set_resource_types(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { @@ -577,25 +577,25 @@ impl CreateStackInputBuilder { self } ///

                            The template resource types that you have permissions to work with for this create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the following syntax to describe template resource types: AWS::* (for all Amazon Web Services resources), Custom::* (for all custom resources), Custom::logical_ID (for a specific custom resource), AWS::service_name::* (for all resources of a particular Amazon Web Services service), and AWS::service_name::resource_logical_ID (for a specific Amazon Web Services resource).

                            - ///

                            If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                            + ///

                            If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                            ///

                            Only one of the Capabilities and ResourceType parameters can be specified.

                            ///
                            pub fn get_resource_types(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.resource_types } - ///

                            The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                            + ///

                            The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                            ///

                            If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                            pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.role_arn = ::std::option::Option::Some(input.into()); self } - ///

                            The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                            + ///

                            The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                            ///

                            If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                            pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.role_arn = input; self } - ///

                            The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                            + ///

                            The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                            ///

                            If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                            pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { &self.role_arn @@ -617,17 +617,17 @@ impl CreateStackInputBuilder { pub fn get_on_failure(&self) -> &::std::option::Option { &self.on_failure } - ///

                            Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                            + ///

                            Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                            pub fn stack_policy_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.stack_policy_body = ::std::option::Option::Some(input.into()); self } - ///

                            Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                            + ///

                            Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                            pub fn set_stack_policy_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.stack_policy_body = input; self } - ///

                            Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                            + ///

                            Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                            pub fn get_stack_policy_body(&self) -> &::std::option::Option<::std::string::String> { &self.stack_policy_body } @@ -685,19 +685,19 @@ impl CreateStackInputBuilder { pub fn get_client_request_token(&self) -> &::std::option::Option<::std::string::String> { &self.client_request_token } - ///

                            Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                            + ///

                            Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect CloudFormation stacks from being deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                            ///

                            For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.

                            pub fn enable_termination_protection(mut self, input: bool) -> Self { self.enable_termination_protection = ::std::option::Option::Some(input); self } - ///

                            Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                            + ///

                            Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect CloudFormation stacks from being deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                            ///

                            For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.

                            pub fn set_enable_termination_protection(mut self, input: ::std::option::Option) -> Self { self.enable_termination_protection = input; self } - ///

                            Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                            + ///

                            Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect CloudFormation stacks from being deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                            ///

                            For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.

                            pub fn get_enable_termination_protection(&self) -> &::std::option::Option { &self.enable_termination_protection diff --git a/sdk/cloudformation/src/operation/create_stack/builders.rs b/sdk/cloudformation/src/operation/create_stack/builders.rs index 10b07490914b..442a7dd6f665 100644 --- a/sdk/cloudformation/src/operation/create_stack/builders.rs +++ b/sdk/cloudformation/src/operation/create_stack/builders.rs @@ -23,6 +23,7 @@ impl crate::operation::create_stack::builders::CreateStackInputBuilder { /// Fluent builder constructing a request to `CreateStack`. /// ///

                            Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack through the DescribeStacks operation.

                            +///

                            For more information about creating a stack and monitoring stack progress, see Managing Amazon Web Services resources as a single unit with CloudFormation stacks in the CloudFormation User Guide.

                            #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct CreateStackFluentBuilder { handle: ::std::sync::Arc, @@ -128,36 +129,36 @@ impl CreateStackFluentBuilder { pub fn get_stack_name(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_stack_name() } - ///

                            Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template anatomy in the CloudFormation User Guide.

                            + ///

                            Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                            ///

                            Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                            pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_body(input.into()); self } - ///

                            Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template anatomy in the CloudFormation User Guide.

                            + ///

                            Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                            ///

                            Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                            pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_body(input); self } - ///

                            Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template anatomy in the CloudFormation User Guide.

                            + ///

                            Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                            ///

                            Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                            pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_body() } - ///

                            Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                            + ///

                            Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                            ///

                            Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                            pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_url(input.into()); self } - ///

                            Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                            + ///

                            Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                            ///

                            Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                            pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_url(input); self } - ///

                            Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                            + ///

                            Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                            ///

                            Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                            pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_url() @@ -231,17 +232,17 @@ impl CreateStackFluentBuilder { /// /// To override the contents of this collection use [`set_notification_arns`](Self::set_notification_arns). /// - ///

                            The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                            + ///

                            The Amazon SNS topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                            pub fn notification_arns(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.notification_arns(input.into()); self } - ///

                            The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                            + ///

                            The Amazon SNS topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                            pub fn set_notification_arns(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.inner = self.inner.set_notification_arns(input); self } - ///

                            The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                            + ///

                            The Amazon SNS topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).

                            pub fn get_notification_arns(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { self.inner.get_notification_arns() } @@ -254,7 +255,7 @@ impl CreateStackFluentBuilder { ///
                              ///
                            • ///

                              CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                              - ///

                              Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                              + ///

                              Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                              ///

                              The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                              /// ///

                              Only one of the Capabilities and ResourceType parameters can be specified.

                              ///
                              @@ -301,7 +302,7 @@ impl CreateStackFluentBuilder { ///
                                ///
                              • ///

                                CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                - ///

                                Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                + ///

                                Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                ///

                                The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                /// ///

                                Only one of the Capabilities and ResourceType parameters can be specified.

                                ///
                                @@ -348,7 +349,7 @@ impl CreateStackFluentBuilder { ///
                                  ///
                                • ///

                                  CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                  - ///

                                  Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                  + ///

                                  Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                  ///

                                  The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                  /// ///

                                  Only one of the Capabilities and ResourceType parameters can be specified.

                                  ///
                                  @@ -396,7 +397,7 @@ impl CreateStackFluentBuilder { /// To override the contents of this collection use [`set_resource_types`](Self::set_resource_types). /// ///

                                  The template resource types that you have permissions to work with for this create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the following syntax to describe template resource types: AWS::* (for all Amazon Web Services resources), Custom::* (for all custom resources), Custom::logical_ID (for a specific custom resource), AWS::service_name::* (for all resources of a particular Amazon Web Services service), and AWS::service_name::resource_logical_ID (for a specific Amazon Web Services resource).

                                  - ///

                                  If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                                  + ///

                                  If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                                  ///

                                  Only one of the Capabilities and ResourceType parameters can be specified.

                                  ///
                                  pub fn resource_types(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { @@ -404,7 +405,7 @@ impl CreateStackFluentBuilder { self } ///

                                  The template resource types that you have permissions to work with for this create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the following syntax to describe template resource types: AWS::* (for all Amazon Web Services resources), Custom::* (for all custom resources), Custom::logical_ID (for a specific custom resource), AWS::service_name::* (for all resources of a particular Amazon Web Services service), and AWS::service_name::resource_logical_ID (for a specific Amazon Web Services resource).

                                  - ///

                                  If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                                  + ///

                                  If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                                  ///

                                  Only one of the Capabilities and ResourceType parameters can be specified.

                                  ///
                                  pub fn set_resource_types(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { @@ -412,25 +413,25 @@ impl CreateStackFluentBuilder { self } ///

                                  The template resource types that you have permissions to work with for this create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the following syntax to describe template resource types: AWS::* (for all Amazon Web Services resources), Custom::* (for all custom resources), Custom::logical_ID (for a specific custom resource), AWS::service_name::* (for all resources of a particular Amazon Web Services service), and AWS::service_name::resource_logical_ID (for a specific Amazon Web Services resource).

                                  - ///

                                  If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                                  + ///

                                  If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                                  ///

                                  Only one of the Capabilities and ResourceType parameters can be specified.

                                  ///
                                  pub fn get_resource_types(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { self.inner.get_resource_types() } - ///

                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                  + ///

                                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                  ///

                                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                                  pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); self } - ///

                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                  + ///

                                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                  ///

                                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                                  pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_role_arn(input); self } - ///

                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                  + ///

                                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                  ///

                                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                                  pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_role_arn() @@ -452,17 +453,17 @@ impl CreateStackFluentBuilder { pub fn get_on_failure(&self) -> &::std::option::Option { self.inner.get_on_failure() } - ///

                                  Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                  + ///

                                  Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                  pub fn stack_policy_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_policy_body(input.into()); self } - ///

                                  Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                  + ///

                                  Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                  pub fn set_stack_policy_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_stack_policy_body(input); self } - ///

                                  Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                  + ///

                                  Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                  pub fn get_stack_policy_body(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_stack_policy_body() } @@ -519,19 +520,19 @@ impl CreateStackFluentBuilder { pub fn get_client_request_token(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_client_request_token() } - ///

                                  Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                                  + ///

                                  Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect CloudFormation stacks from being deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                                  ///

                                  For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.

                                  pub fn enable_termination_protection(mut self, input: bool) -> Self { self.inner = self.inner.enable_termination_protection(input); self } - ///

                                  Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                                  + ///

                                  Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect CloudFormation stacks from being deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                                  ///

                                  For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.

                                  pub fn set_enable_termination_protection(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_enable_termination_protection(input); self } - ///

                                  Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                                  + ///

                                  Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect CloudFormation stacks from being deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default.

                                  ///

                                  For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.

                                  pub fn get_enable_termination_protection(&self) -> &::std::option::Option { self.inner.get_enable_termination_protection() diff --git a/sdk/cloudformation/src/operation/create_stack_set/_create_stack_set_input.rs b/sdk/cloudformation/src/operation/create_stack_set/_create_stack_set_input.rs index 614883cc38e3..f3b712b95593 100644 --- a/sdk/cloudformation/src/operation/create_stack_set/_create_stack_set_input.rs +++ b/sdk/cloudformation/src/operation/create_stack_set/_create_stack_set_input.rs @@ -9,10 +9,10 @@ pub struct CreateStackSetInput { pub stack_set_name: ::std::option::Option<::std::string::String>, ///

                                  A description of the stack set. You can use the description to identify the stack set's purpose or other important information.

                                  pub description: ::std::option::Option<::std::string::String>, - ///

                                  The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                  + ///

                                  The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                  ///

                                  Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                  pub template_body: ::std::option::Option<::std::string::String>, - ///

                                  The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                  + ///

                                  The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document.

                                  ///

                                  Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                  pub template_url: ::std::option::Option<::std::string::String>, ///

                                  The stack ID you are importing into a new stack set. Specify the Amazon Resource Name (ARN) of the stack.

                                  @@ -23,7 +23,7 @@ pub struct CreateStackSetInput { ///
                                    ///
                                  • ///

                                    CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                    - ///

                                    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                    + ///

                                    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                    ///

                                    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                    ///
                                      ///
                                    • @@ -36,21 +36,21 @@ pub struct CreateStackSetInput { ///

                                      If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                      /// - ///

                                      For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                    • + ///

                                      For more information, see Acknowledging IAM resources in CloudFormation templates.

                                      ///
                                    • ///

                                      CAPABILITY_AUTO_EXPAND

                                      ///

                                      Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                      @@ -105,12 +105,12 @@ impl CreateStackSetInput { pub fn description(&self) -> ::std::option::Option<&str> { self.description.as_deref() } - ///

                                      The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                      + ///

                                      The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                      ///

                                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                      pub fn template_body(&self) -> ::std::option::Option<&str> { self.template_body.as_deref() } - ///

                                      The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                      + ///

                                      The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document.

                                      ///

                                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                      pub fn template_url(&self) -> ::std::option::Option<&str> { self.template_url.as_deref() @@ -129,7 +129,7 @@ impl CreateStackSetInput { ///
                                        ///
                                      • ///

                                        CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                        - ///

                                        Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                        + ///

                                        Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                        ///

                                        The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                        ///
                                          ///
                                        • @@ -142,21 +142,21 @@ impl CreateStackSetInput { ///

                                          If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                          /// - ///

                                          For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                        • + ///

                                          For more information, see Acknowledging IAM resources in CloudFormation templates.

                                          ///
                                        • ///

                                          CAPABILITY_AUTO_EXPAND

                                          ///

                                          Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                          @@ -285,36 +285,36 @@ impl CreateStackSetInputBuilder { pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { &self.description } - ///

                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                          + ///

                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                          ///

                                          Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                          pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_body = ::std::option::Option::Some(input.into()); self } - ///

                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                          + ///

                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                          ///

                                          Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                          pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_body = input; self } - ///

                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                          + ///

                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                          ///

                                          Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                          pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { &self.template_body } - ///

                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                          + ///

                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document.

                                          ///

                                          Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                          pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_url = ::std::option::Option::Some(input.into()); self } - ///

                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                          + ///

                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document.

                                          ///

                                          Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                          pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_url = input; self } - ///

                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                          + ///

                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document.

                                          ///

                                          Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                          pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { &self.template_url @@ -361,7 +361,7 @@ impl CreateStackSetInputBuilder { ///
                                            ///
                                          • ///

                                            CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                            - ///

                                            Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                            + ///

                                            Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                            ///

                                            The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                            ///
                                              ///
                                            • @@ -374,21 +374,21 @@ impl CreateStackSetInputBuilder { ///

                                              If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                              /// - ///

                                              For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                            • + ///

                                              For more information, see Acknowledging IAM resources in CloudFormation templates.

                                              ///
                                            • ///

                                              CAPABILITY_AUTO_EXPAND

                                              ///

                                              Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                              @@ -405,7 +405,7 @@ impl CreateStackSetInputBuilder { ///
                                                ///
                                              • ///

                                                CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                - ///

                                                Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                + ///

                                                Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                ///

                                                The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                ///
                                                  ///
                                                • @@ -418,21 +418,21 @@ impl CreateStackSetInputBuilder { ///

                                                  If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                  /// - ///

                                                  For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                • + ///

                                                  For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                  ///
                                                • ///

                                                  CAPABILITY_AUTO_EXPAND

                                                  ///

                                                  Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                  @@ -447,7 +447,7 @@ impl CreateStackSetInputBuilder { ///
                                                    ///
                                                  • ///

                                                    CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                    - ///

                                                    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                    + ///

                                                    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                    ///

                                                    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                    ///
                                                      ///
                                                    • @@ -460,21 +460,21 @@ impl CreateStackSetInputBuilder { ///

                                                      If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                      /// - ///

                                                      For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                    • + ///

                                                      For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                      ///
                                                    • ///

                                                      CAPABILITY_AUTO_EXPAND

                                                      ///

                                                      Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                      diff --git a/sdk/cloudformation/src/operation/create_stack_set/builders.rs b/sdk/cloudformation/src/operation/create_stack_set/builders.rs index b6e029355e30..f6a6993955c4 100644 --- a/sdk/cloudformation/src/operation/create_stack_set/builders.rs +++ b/sdk/cloudformation/src/operation/create_stack_set/builders.rs @@ -142,36 +142,36 @@ impl CreateStackSetFluentBuilder { pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_description() } - ///

                                                      The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                      + ///

                                                      The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                      ///

                                                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                                      pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_body(input.into()); self } - ///

                                                      The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                      + ///

                                                      The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                      ///

                                                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                                      pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_body(input); self } - ///

                                                      The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                      + ///

                                                      The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                      ///

                                                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                                      pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_body() } - ///

                                                      The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                      + ///

                                                      The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document.

                                                      ///

                                                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                                      pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_url(input.into()); self } - ///

                                                      The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                      + ///

                                                      The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document.

                                                      ///

                                                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                                      pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_url(input); self } - ///

                                                      The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                      + ///

                                                      The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document.

                                                      ///

                                                      Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

                                                      pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_url() @@ -218,7 +218,7 @@ impl CreateStackSetFluentBuilder { ///
                                                        ///
                                                      • ///

                                                        CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                        - ///

                                                        Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                        + ///

                                                        Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                        ///

                                                        The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                        ///
                                                          ///
                                                        • @@ -231,21 +231,21 @@ impl CreateStackSetFluentBuilder { ///

                                                          If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                          /// - ///

                                                          For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                        • + ///

                                                          For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                          ///
                                                        • ///

                                                          CAPABILITY_AUTO_EXPAND

                                                          ///

                                                          Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                          @@ -260,7 +260,7 @@ impl CreateStackSetFluentBuilder { ///
                                                            ///
                                                          • ///

                                                            CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                            - ///

                                                            Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                            + ///

                                                            Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                            ///

                                                            The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                            ///
                                                              ///
                                                            • @@ -273,21 +273,21 @@ impl CreateStackSetFluentBuilder { ///

                                                              If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                              /// - ///

                                                              For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                            • + ///

                                                              For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                              ///
                                                            • ///

                                                              CAPABILITY_AUTO_EXPAND

                                                              ///

                                                              Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                              @@ -302,7 +302,7 @@ impl CreateStackSetFluentBuilder { ///
                                                                ///
                                                              • ///

                                                                CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                - ///

                                                                Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                + ///

                                                                Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                ///

                                                                The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                ///
                                                                  ///
                                                                • @@ -315,21 +315,21 @@ impl CreateStackSetFluentBuilder { ///

                                                                  If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                                  /// - ///

                                                                  For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                • + ///

                                                                  For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                  ///
                                                                • ///

                                                                  CAPABILITY_AUTO_EXPAND

                                                                  ///

                                                                  Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                                  diff --git a/sdk/cloudformation/src/operation/delete_stack/_delete_stack_input.rs b/sdk/cloudformation/src/operation/delete_stack/_delete_stack_input.rs index faac478cfeca..a1f1197919c6 100644 --- a/sdk/cloudformation/src/operation/delete_stack/_delete_stack_input.rs +++ b/sdk/cloudformation/src/operation/delete_stack/_delete_stack_input.rs @@ -9,7 +9,7 @@ pub struct DeleteStackInput { ///

                                                                  For stacks in the DELETE_FAILED state, a list of resource logical IDs that are associated with the resources you want to retain. During deletion, CloudFormation deletes the stack but doesn't delete the retained resources.

                                                                  ///

                                                                  Retaining resources is useful when you can't delete a resource, such as a non-empty S3 bucket, but you want to delete the stack.

                                                                  pub retain_resources: ::std::option::Option<::std::vec::Vec<::std::string::String>>, - ///

                                                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  + ///

                                                                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  ///

                                                                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                                                                  pub role_arn: ::std::option::Option<::std::string::String>, ///

                                                                  A unique identifier for this DeleteStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to delete a stack with the same name. You might retry DeleteStack requests to ensure that CloudFormation successfully received them.

                                                                  @@ -37,7 +37,7 @@ impl DeleteStackInput { pub fn retain_resources(&self) -> &[::std::string::String] { self.retain_resources.as_deref().unwrap_or_default() } - ///

                                                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  + ///

                                                                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  ///

                                                                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                                                                  pub fn role_arn(&self) -> ::std::option::Option<&str> { self.role_arn.as_deref() @@ -115,19 +115,19 @@ impl DeleteStackInputBuilder { pub fn get_retain_resources(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.retain_resources } - ///

                                                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  + ///

                                                                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  ///

                                                                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                                                                  pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.role_arn = ::std::option::Option::Some(input.into()); self } - ///

                                                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  + ///

                                                                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  ///

                                                                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                                                                  pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.role_arn = input; self } - ///

                                                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  + ///

                                                                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  ///

                                                                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                                                                  pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { &self.role_arn diff --git a/sdk/cloudformation/src/operation/delete_stack/builders.rs b/sdk/cloudformation/src/operation/delete_stack/builders.rs index 5596f9d1c560..9bed0e71b603 100644 --- a/sdk/cloudformation/src/operation/delete_stack/builders.rs +++ b/sdk/cloudformation/src/operation/delete_stack/builders.rs @@ -23,6 +23,7 @@ impl crate::operation::delete_stack::builders::DeleteStackInputBuilder { /// Fluent builder constructing a request to `DeleteStack`. /// ///

                                                                  Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks don't show up in the DescribeStacks operation if the deletion has been completed successfully.

                                                                  +///

                                                                  For more information about deleting a stack, see Delete a stack from the CloudFormation console in the CloudFormation User Guide.

                                                                  #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct DeleteStackFluentBuilder { handle: ::std::sync::Arc, @@ -144,19 +145,19 @@ impl DeleteStackFluentBuilder { pub fn get_retain_resources(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { self.inner.get_retain_resources() } - ///

                                                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  + ///

                                                                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  ///

                                                                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                                                                  pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); self } - ///

                                                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  + ///

                                                                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  ///

                                                                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                                                                  pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_role_arn(input); self } - ///

                                                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  + ///

                                                                  The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

                                                                  ///

                                                                  If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials.

                                                                  pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_role_arn() diff --git a/sdk/cloudformation/src/operation/delete_stack_instances/_delete_stack_instances_input.rs b/sdk/cloudformation/src/operation/delete_stack_instances/_delete_stack_instances_input.rs index 660d2b76a985..78b412532037 100644 --- a/sdk/cloudformation/src/operation/delete_stack_instances/_delete_stack_instances_input.rs +++ b/sdk/cloudformation/src/operation/delete_stack_instances/_delete_stack_instances_input.rs @@ -16,7 +16,7 @@ pub struct DeleteStackInstancesInput { ///

                                                                  Preferences for how CloudFormation performs this stack set operation.

                                                                  pub operation_preferences: ::std::option::Option, ///

                                                                  Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

                                                                  - ///

                                                                  For more information, see Stack set operation options.

                                                                  + ///

                                                                  For more information, see Stack set operation options.

                                                                  pub retain_stacks: ::std::option::Option, ///

                                                                  The unique identifier for this stack set operation.

                                                                  ///

                                                                  If you don't specify an operation ID, the SDK generates one automatically.

                                                                  @@ -62,7 +62,7 @@ impl DeleteStackInstancesInput { self.operation_preferences.as_ref() } ///

                                                                  Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

                                                                  - ///

                                                                  For more information, see Stack set operation options.

                                                                  + ///

                                                                  For more information, see Stack set operation options.

                                                                  pub fn retain_stacks(&self) -> ::std::option::Option { self.retain_stacks } @@ -197,20 +197,20 @@ impl DeleteStackInstancesInputBuilder { &self.operation_preferences } ///

                                                                  Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

                                                                  - ///

                                                                  For more information, see Stack set operation options.

                                                                  + ///

                                                                  For more information, see Stack set operation options.

                                                                  /// This field is required. pub fn retain_stacks(mut self, input: bool) -> Self { self.retain_stacks = ::std::option::Option::Some(input); self } ///

                                                                  Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

                                                                  - ///

                                                                  For more information, see Stack set operation options.

                                                                  + ///

                                                                  For more information, see Stack set operation options.

                                                                  pub fn set_retain_stacks(mut self, input: ::std::option::Option) -> Self { self.retain_stacks = input; self } ///

                                                                  Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

                                                                  - ///

                                                                  For more information, see Stack set operation options.

                                                                  + ///

                                                                  For more information, see Stack set operation options.

                                                                  pub fn get_retain_stacks(&self) -> &::std::option::Option { &self.retain_stacks } diff --git a/sdk/cloudformation/src/operation/delete_stack_instances/builders.rs b/sdk/cloudformation/src/operation/delete_stack_instances/builders.rs index 001ff4213168..e991d2c5969b 100644 --- a/sdk/cloudformation/src/operation/delete_stack_instances/builders.rs +++ b/sdk/cloudformation/src/operation/delete_stack_instances/builders.rs @@ -195,19 +195,19 @@ impl DeleteStackInstancesFluentBuilder { self.inner.get_operation_preferences() } ///

                                                                  Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

                                                                  - ///

                                                                  For more information, see Stack set operation options.

                                                                  + ///

                                                                  For more information, see Stack set operation options.

                                                                  pub fn retain_stacks(mut self, input: bool) -> Self { self.inner = self.inner.retain_stacks(input); self } ///

                                                                  Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

                                                                  - ///

                                                                  For more information, see Stack set operation options.

                                                                  + ///

                                                                  For more information, see Stack set operation options.

                                                                  pub fn set_retain_stacks(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_retain_stacks(input); self } ///

                                                                  Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

                                                                  - ///

                                                                  For more information, see Stack set operation options.

                                                                  + ///

                                                                  For more information, see Stack set operation options.

                                                                  pub fn get_retain_stacks(&self) -> &::std::option::Option { self.inner.get_retain_stacks() } diff --git a/sdk/cloudformation/src/operation/describe_account_limits/builders.rs b/sdk/cloudformation/src/operation/describe_account_limits/builders.rs index 3c75a8484f63..5a63a990e396 100644 --- a/sdk/cloudformation/src/operation/describe_account_limits/builders.rs +++ b/sdk/cloudformation/src/operation/describe_account_limits/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::describe_account_limits::builders::DescribeAccountLimitsI } /// Fluent builder constructing a request to `DescribeAccountLimits`. /// -///

                                                                  Retrieves your account's CloudFormation limits, such as the maximum number of stacks that you can create in your account. For more information about account limits, see CloudFormation Quotas in the CloudFormation User Guide.

                                                                  +///

                                                                  Retrieves your account's CloudFormation limits, such as the maximum number of stacks that you can create in your account. For more information about account limits, see Understand CloudFormation quotas in the CloudFormation User Guide.

                                                                  #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct DescribeAccountLimitsFluentBuilder { handle: ::std::sync::Arc, diff --git a/sdk/cloudformation/src/operation/describe_change_set/_describe_change_set_output.rs b/sdk/cloudformation/src/operation/describe_change_set/_describe_change_set_output.rs index 3f0c0f850061..e9b1bcd9d9b1 100644 --- a/sdk/cloudformation/src/operation/describe_change_set/_describe_change_set_output.rs +++ b/sdk/cloudformation/src/operation/describe_change_set/_describe_change_set_output.rs @@ -24,7 +24,7 @@ pub struct DescribeChangeSetOutput { pub status: ::std::option::Option, ///

                                                                  A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.

                                                                  pub status_reason: ::std::option::Option<::std::string::String>, - ///

                                                                  The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.

                                                                  + ///

                                                                  The ARNs of the Amazon SNS topics that will be associated with the stack if you execute the change set.

                                                                  pub notification_arns: ::std::option::Option<::std::vec::Vec<::std::string::String>>, ///

                                                                  The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.

                                                                  pub rollback_configuration: ::std::option::Option, @@ -101,7 +101,7 @@ impl DescribeChangeSetOutput { pub fn status_reason(&self) -> ::std::option::Option<&str> { self.status_reason.as_deref() } - ///

                                                                  The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.

                                                                  + ///

                                                                  The ARNs of the Amazon SNS topics that will be associated with the stack if you execute the change set.

                                                                  /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.notification_arns.is_none()`. pub fn notification_arns(&self) -> &[::std::string::String] { @@ -354,19 +354,19 @@ impl DescribeChangeSetOutputBuilder { /// /// To override the contents of this collection use [`set_notification_arns`](Self::set_notification_arns). /// - ///

                                                                  The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.

                                                                  + ///

                                                                  The ARNs of the Amazon SNS topics that will be associated with the stack if you execute the change set.

                                                                  pub fn notification_arns(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { let mut v = self.notification_arns.unwrap_or_default(); v.push(input.into()); self.notification_arns = ::std::option::Option::Some(v); self } - ///

                                                                  The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.

                                                                  + ///

                                                                  The ARNs of the Amazon SNS topics that will be associated with the stack if you execute the change set.

                                                                  pub fn set_notification_arns(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.notification_arns = input; self } - ///

                                                                  The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.

                                                                  + ///

                                                                  The ARNs of the Amazon SNS topics that will be associated with the stack if you execute the change set.

                                                                  pub fn get_notification_arns(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.notification_arns } diff --git a/sdk/cloudformation/src/operation/describe_change_set/builders.rs b/sdk/cloudformation/src/operation/describe_change_set/builders.rs index 2e31c69b94ed..ac2c13139aea 100644 --- a/sdk/cloudformation/src/operation/describe_change_set/builders.rs +++ b/sdk/cloudformation/src/operation/describe_change_set/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::describe_change_set::builders::DescribeChangeSetInputBuil } /// Fluent builder constructing a request to `DescribeChangeSet`. /// -///

                                                                  Returns the inputs for the change set and a list of changes that CloudFormation will make if you execute the change set. For more information, see Updating Stacks Using Change Sets in the CloudFormation User Guide.

                                                                  +///

                                                                  Returns the inputs for the change set and a list of changes that CloudFormation will make if you execute the change set. For more information, see Update CloudFormation stacks using change sets in the CloudFormation User Guide.

                                                                  #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct DescribeChangeSetFluentBuilder { handle: ::std::sync::Arc, diff --git a/sdk/cloudformation/src/operation/describe_publisher/builders.rs b/sdk/cloudformation/src/operation/describe_publisher/builders.rs index 40db19cc4c0a..6e9740b6d76f 100644 --- a/sdk/cloudformation/src/operation/describe_publisher/builders.rs +++ b/sdk/cloudformation/src/operation/describe_publisher/builders.rs @@ -29,7 +29,7 @@ impl crate::operation::describe_publisher::builders::DescribePublisherInputBuild ///
                                                                • ///

                                                                  RegisterPublisher

                                                                • ///
                                                                • -///

                                                                  Publishing extensions to make them available for public use in the CloudFormation CLI User Guide

                                                                • +///

                                                                  Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide

                                                                  ///
                                                                #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct DescribePublisherFluentBuilder { diff --git a/sdk/cloudformation/src/operation/describe_stack_drift_detection_status/builders.rs b/sdk/cloudformation/src/operation/describe_stack_drift_detection_status/builders.rs index 8f9133a8c83d..cb81ed7b3d8d 100644 --- a/sdk/cloudformation/src/operation/describe_stack_drift_detection_status/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stack_drift_detection_status/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::describe_stack_drift_detection_status::builders::Describe } /// Fluent builder constructing a request to `DescribeStackDriftDetectionStatus`. /// -///

                                                                Returns information about a stack drift detection operation. A stack drift detection operation detects whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted. For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                +///

                                                                Returns information about a stack drift detection operation. A stack drift detection operation detects whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted. For more information about stack and resource drift, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                ///

                                                                Use DetectStackDrift to initiate a stack drift detection operation. DetectStackDrift returns a StackDriftDetectionId you can use to monitor the progress of the operation using DescribeStackDriftDetectionStatus. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources.

                                                                #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct DescribeStackDriftDetectionStatusFluentBuilder { diff --git a/sdk/cloudformation/src/operation/describe_stack_events/builders.rs b/sdk/cloudformation/src/operation/describe_stack_events/builders.rs index c7d949b1b9db..2ec2b12d81ee 100644 --- a/sdk/cloudformation/src/operation/describe_stack_events/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stack_events/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::describe_stack_events::builders::DescribeStackEventsInput } /// Fluent builder constructing a request to `DescribeStackEvents`. /// -///

                                                                Returns all stack related events for a specified stack in reverse chronological order. For more information about a stack's event history, see CloudFormation stack creation events in the CloudFormation User Guide.

                                                                +///

                                                                Returns all stack related events for a specified stack in reverse chronological order. For more information about a stack's event history, see Understand CloudFormation stack creation events in the CloudFormation User Guide.

                                                                ///

                                                                You can list events for stacks that have failed to create or have been deleted by specifying the unique stack identifier (stack ID).

                                                                ///
                                                                #[derive(::std::clone::Clone, ::std::fmt::Debug)] diff --git a/sdk/cloudformation/src/operation/describe_stack_resource_drifts/_describe_stack_resource_drifts_output.rs b/sdk/cloudformation/src/operation/describe_stack_resource_drifts/_describe_stack_resource_drifts_output.rs index 1538a52fb86e..e69d74261268 100644 --- a/sdk/cloudformation/src/operation/describe_stack_resource_drifts/_describe_stack_resource_drifts_output.rs +++ b/sdk/cloudformation/src/operation/describe_stack_resource_drifts/_describe_stack_resource_drifts_output.rs @@ -4,7 +4,7 @@ #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct DescribeStackResourceDriftsOutput { ///

                                                                Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.

                                                                - ///

                                                                For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection.

                                                                + ///

                                                                For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection.

                                                                pub stack_resource_drifts: ::std::option::Option<::std::vec::Vec>, ///

                                                                If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call DescribeStackResourceDrifts again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

                                                                pub next_token: ::std::option::Option<::std::string::String>, @@ -12,7 +12,7 @@ pub struct DescribeStackResourceDriftsOutput { } impl DescribeStackResourceDriftsOutput { ///

                                                                Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.

                                                                - ///

                                                                For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection.

                                                                + ///

                                                                For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection.

                                                                /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.stack_resource_drifts.is_none()`. pub fn stack_resource_drifts(&self) -> &[crate::types::StackResourceDrift] { @@ -49,7 +49,7 @@ impl DescribeStackResourceDriftsOutputBuilder { /// To override the contents of this collection use [`set_stack_resource_drifts`](Self::set_stack_resource_drifts). /// ///

                                                                Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.

                                                                - ///

                                                                For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection.

                                                                + ///

                                                                For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection.

                                                                pub fn stack_resource_drifts(mut self, input: crate::types::StackResourceDrift) -> Self { let mut v = self.stack_resource_drifts.unwrap_or_default(); v.push(input); @@ -57,13 +57,13 @@ impl DescribeStackResourceDriftsOutputBuilder { self } ///

                                                                Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.

                                                                - ///

                                                                For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection.

                                                                + ///

                                                                For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection.

                                                                pub fn set_stack_resource_drifts(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { self.stack_resource_drifts = input; self } ///

                                                                Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.

                                                                - ///

                                                                For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection.

                                                                + ///

                                                                For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection.

                                                                pub fn get_stack_resource_drifts(&self) -> &::std::option::Option<::std::vec::Vec> { &self.stack_resource_drifts } diff --git a/sdk/cloudformation/src/operation/describe_stack_resource_drifts/builders.rs b/sdk/cloudformation/src/operation/describe_stack_resource_drifts/builders.rs index e60893d03999..510769b41f13 100644 --- a/sdk/cloudformation/src/operation/describe_stack_resource_drifts/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stack_resource_drifts/builders.rs @@ -23,7 +23,7 @@ impl crate::operation::describe_stack_resource_drifts::builders::DescribeStackRe /// Fluent builder constructing a request to `DescribeStackResourceDrifts`. /// ///

                                                                Returns drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects configuration drift.

                                                                -///

                                                                For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that don't currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection.

                                                                +///

                                                                For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that don't currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection.

                                                                ///

                                                                Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all supported resources for a given stack.

                                                                #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct DescribeStackResourceDriftsFluentBuilder { diff --git a/sdk/cloudformation/src/operation/describe_stack_resources/builders.rs b/sdk/cloudformation/src/operation/describe_stack_resources/builders.rs index 7ab804566749..b2b0b1c93b7f 100644 --- a/sdk/cloudformation/src/operation/describe_stack_resources/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stack_resources/builders.rs @@ -26,7 +26,7 @@ impl crate::operation::describe_stack_resources::builders::DescribeStackResource ///

                                                                Only the first 100 resources will be returned. If your stack has more resources than this, you should use ListStackResources instead.

                                                                ///
                                                                ///

                                                                For deleted stacks, DescribeStackResources returns resource information for up to 90 days after the stack has been deleted.

                                                                -///

                                                                You must specify either StackName or PhysicalResourceId, but not both. In addition, you can specify LogicalResourceId to filter the returned result. For more information about resources, the LogicalResourceId and PhysicalResourceId, go to the CloudFormation User Guide.

                                                                +///

                                                                You must specify either StackName or PhysicalResourceId, but not both. In addition, you can specify LogicalResourceId to filter the returned result. For more information about resources, the LogicalResourceId and PhysicalResourceId, see the CloudFormation User Guide.

                                                                ///

                                                                A ValidationError is returned if you specify both StackName and PhysicalResourceId in the same request.

                                                                ///
                                                                #[derive(::std::clone::Clone, ::std::fmt::Debug)] diff --git a/sdk/cloudformation/src/operation/describe_stacks/builders.rs b/sdk/cloudformation/src/operation/describe_stacks/builders.rs index 024fb175910d..a5f3248f7508 100644 --- a/sdk/cloudformation/src/operation/describe_stacks/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stacks/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::describe_stacks::builders::DescribeStacksInputBuilder { } /// Fluent builder constructing a request to `DescribeStacks`. /// -///

                                                                Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created. For more information about a stack's event history, see CloudFormation stack creation events in the CloudFormation User Guide.

                                                                +///

                                                                Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created. For more information about a stack's event history, see Understand CloudFormation stack creation events in the CloudFormation User Guide.

                                                                ///

                                                                If the stack doesn't exist, a ValidationError is returned.

                                                                ///
                                                                #[derive(::std::clone::Clone, ::std::fmt::Debug)] diff --git a/sdk/cloudformation/src/operation/describe_type/_describe_type_output.rs b/sdk/cloudformation/src/operation/describe_type/_describe_type_output.rs index a0eb6aa75e73..2b27f1d9aeec 100644 --- a/sdk/cloudformation/src/operation/describe_type/_describe_type_output.rs +++ b/sdk/cloudformation/src/operation/describe_type/_describe_type_output.rs @@ -22,7 +22,7 @@ pub struct DescribeTypeOutput { ///
                                                                  ///
                                                                • ///

                                                                  PASSED: The extension has passed all its contract tests.

                                                                  - ///

                                                                  An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface User Guide.

                                                                • + ///

                                                                  An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                  ///
                                                                • ///

                                                                  FAILED: The extension has failed one or more contract tests.

                                                                • ///
                                                                • @@ -37,7 +37,7 @@ pub struct DescribeTypeOutput { ///

                                                                  The description of the extension.

                                                                  pub description: ::std::option::Option<::std::string::String>, ///

                                                                  The schema that defines the extension.

                                                                  - ///

                                                                  For more information about extension schemas, see Resource Provider Schema in the CloudFormation CLI User Guide.

                                                                  + ///

                                                                  For more information about extension schemas, see Resource type schema in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                  pub schema: ::std::option::Option<::std::string::String>, ///

                                                                  For resource type extensions, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.

                                                                  ///

                                                                  Valid values include:

                                                                  @@ -99,13 +99,13 @@ pub struct DescribeTypeOutput { ///

                                                                  When the specified private extension version was registered or activated in your account.

                                                                  pub time_created: ::std::option::Option<::aws_smithy_types::DateTime>, ///

                                                                  A JSON string that represent the current configuration data for the extension in this account and Region.

                                                                  - ///

                                                                  To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.

                                                                  + ///

                                                                  To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide.

                                                                  pub configuration_schema: ::std::option::Option<::std::string::String>, ///

                                                                  The publisher ID of the extension publisher.

                                                                  ///

                                                                  This applies only to public third-party extensions. For private registered extensions, and extensions provided by Amazon Web Services, CloudFormation returns null.

                                                                  pub publisher_id: ::std::option::Option<::std::string::String>, ///

                                                                  For public extensions that have been activated for this account and Region, the type name of the public extension.

                                                                  - ///

                                                                  If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                  + ///

                                                                  If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                  pub original_type_name: ::std::option::Option<::std::string::String>, ///

                                                                  For public extensions that have been activated for this account and Region, the Amazon Resource Name (ARN) of the public extension.

                                                                  pub original_type_arn: ::std::option::Option<::std::string::String>, @@ -118,7 +118,7 @@ pub struct DescribeTypeOutput { ///

                                                                  Whether the extension is activated in the account and Region.

                                                                  ///

                                                                  This only applies to public third-party extensions. For all other extensions, CloudFormation returns null.

                                                                  pub is_activated: ::std::option::Option, - ///

                                                                  Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Activating public extensions for use in your account in the CloudFormation User Guide.

                                                                  + ///

                                                                  Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                  pub auto_update: ::std::option::Option, _request_id: Option, } @@ -152,7 +152,7 @@ impl DescribeTypeOutput { ///
                                                                    ///
                                                                  • ///

                                                                    PASSED: The extension has passed all its contract tests.

                                                                    - ///

                                                                    An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface User Guide.

                                                                  • + ///

                                                                    An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                    ///
                                                                  • ///

                                                                    FAILED: The extension has failed one or more contract tests.

                                                                  • ///
                                                                  • @@ -173,7 +173,7 @@ impl DescribeTypeOutput { self.description.as_deref() } ///

                                                                    The schema that defines the extension.

                                                                    - ///

                                                                    For more information about extension schemas, see Resource Provider Schema in the CloudFormation CLI User Guide.

                                                                    + ///

                                                                    For more information about extension schemas, see Resource type schema in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                    pub fn schema(&self) -> ::std::option::Option<&str> { self.schema.as_deref() } @@ -259,7 +259,7 @@ impl DescribeTypeOutput { self.time_created.as_ref() } ///

                                                                    A JSON string that represent the current configuration data for the extension in this account and Region.

                                                                    - ///

                                                                    To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.

                                                                    + ///

                                                                    To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide.

                                                                    pub fn configuration_schema(&self) -> ::std::option::Option<&str> { self.configuration_schema.as_deref() } @@ -269,7 +269,7 @@ impl DescribeTypeOutput { self.publisher_id.as_deref() } ///

                                                                    For public extensions that have been activated for this account and Region, the type name of the public extension.

                                                                    - ///

                                                                    If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                    + ///

                                                                    If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                    pub fn original_type_name(&self) -> ::std::option::Option<&str> { self.original_type_name.as_deref() } @@ -292,7 +292,7 @@ impl DescribeTypeOutput { pub fn is_activated(&self) -> ::std::option::Option { self.is_activated } - ///

                                                                    Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Activating public extensions for use in your account in the CloudFormation User Guide.

                                                                    + ///

                                                                    Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                    pub fn auto_update(&self) -> ::std::option::Option { self.auto_update } @@ -430,7 +430,7 @@ impl DescribeTypeOutputBuilder { ///
                                                                      ///
                                                                    • ///

                                                                      PASSED: The extension has passed all its contract tests.

                                                                      - ///

                                                                      An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface User Guide.

                                                                    • + ///

                                                                      An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                      ///
                                                                    • ///

                                                                      FAILED: The extension has failed one or more contract tests.

                                                                    • ///
                                                                    • @@ -447,7 +447,7 @@ impl DescribeTypeOutputBuilder { ///
                                                                        ///
                                                                      • ///

                                                                        PASSED: The extension has passed all its contract tests.

                                                                        - ///

                                                                        An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface User Guide.

                                                                      • + ///

                                                                        An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                        ///
                                                                      • ///

                                                                        FAILED: The extension has failed one or more contract tests.

                                                                      • ///
                                                                      • @@ -464,7 +464,7 @@ impl DescribeTypeOutputBuilder { ///
                                                                          ///
                                                                        • ///

                                                                          PASSED: The extension has passed all its contract tests.

                                                                          - ///

                                                                          An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface User Guide.

                                                                        • + ///

                                                                          An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          ///
                                                                        • ///

                                                                          FAILED: The extension has failed one or more contract tests.

                                                                        • ///
                                                                        • @@ -507,19 +507,19 @@ impl DescribeTypeOutputBuilder { &self.description } ///

                                                                          The schema that defines the extension.

                                                                          - ///

                                                                          For more information about extension schemas, see Resource Provider Schema in the CloudFormation CLI User Guide.

                                                                          + ///

                                                                          For more information about extension schemas, see Resource type schema in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          pub fn schema(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.schema = ::std::option::Option::Some(input.into()); self } ///

                                                                          The schema that defines the extension.

                                                                          - ///

                                                                          For more information about extension schemas, see Resource Provider Schema in the CloudFormation CLI User Guide.

                                                                          + ///

                                                                          For more information about extension schemas, see Resource type schema in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          pub fn set_schema(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.schema = input; self } ///

                                                                          The schema that defines the extension.

                                                                          - ///

                                                                          For more information about extension schemas, see Resource Provider Schema in the CloudFormation CLI User Guide.

                                                                          + ///

                                                                          For more information about extension schemas, see Resource type schema in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          pub fn get_schema(&self) -> &::std::option::Option<::std::string::String> { &self.schema } @@ -787,19 +787,19 @@ impl DescribeTypeOutputBuilder { &self.time_created } ///

                                                                          A JSON string that represent the current configuration data for the extension in this account and Region.

                                                                          - ///

                                                                          To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.

                                                                          + ///

                                                                          To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide.

                                                                          pub fn configuration_schema(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.configuration_schema = ::std::option::Option::Some(input.into()); self } ///

                                                                          A JSON string that represent the current configuration data for the extension in this account and Region.

                                                                          - ///

                                                                          To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.

                                                                          + ///

                                                                          To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide.

                                                                          pub fn set_configuration_schema(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.configuration_schema = input; self } ///

                                                                          A JSON string that represent the current configuration data for the extension in this account and Region.

                                                                          - ///

                                                                          To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.

                                                                          + ///

                                                                          To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide.

                                                                          pub fn get_configuration_schema(&self) -> &::std::option::Option<::std::string::String> { &self.configuration_schema } @@ -821,19 +821,19 @@ impl DescribeTypeOutputBuilder { &self.publisher_id } ///

                                                                          For public extensions that have been activated for this account and Region, the type name of the public extension.

                                                                          - ///

                                                                          If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                          + ///

                                                                          If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                          pub fn original_type_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.original_type_name = ::std::option::Option::Some(input.into()); self } ///

                                                                          For public extensions that have been activated for this account and Region, the type name of the public extension.

                                                                          - ///

                                                                          If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                          + ///

                                                                          If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                          pub fn set_original_type_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.original_type_name = input; self } ///

                                                                          For public extensions that have been activated for this account and Region, the type name of the public extension.

                                                                          - ///

                                                                          If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                          + ///

                                                                          If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                          pub fn get_original_type_name(&self) -> &::std::option::Option<::std::string::String> { &self.original_type_name } @@ -902,17 +902,17 @@ impl DescribeTypeOutputBuilder { pub fn get_is_activated(&self) -> &::std::option::Option { &self.is_activated } - ///

                                                                          Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Activating public extensions for use in your account in the CloudFormation User Guide.

                                                                          + ///

                                                                          Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                          pub fn auto_update(mut self, input: bool) -> Self { self.auto_update = ::std::option::Option::Some(input); self } - ///

                                                                          Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Activating public extensions for use in your account in the CloudFormation User Guide.

                                                                          + ///

                                                                          Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                          pub fn set_auto_update(mut self, input: ::std::option::Option) -> Self { self.auto_update = input; self } - ///

                                                                          Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Activating public extensions for use in your account in the CloudFormation User Guide.

                                                                          + ///

                                                                          Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                          pub fn get_auto_update(&self) -> &::std::option::Option { &self.auto_update } diff --git a/sdk/cloudformation/src/operation/detect_stack_drift/builders.rs b/sdk/cloudformation/src/operation/detect_stack_drift/builders.rs index 8c7b57bec606..dc7e6fa3dde5 100644 --- a/sdk/cloudformation/src/operation/detect_stack_drift/builders.rs +++ b/sdk/cloudformation/src/operation/detect_stack_drift/builders.rs @@ -22,9 +22,9 @@ impl crate::operation::detect_stack_drift::builders::DetectStackDriftInputBuilde } /// Fluent builder constructing a request to `DetectStackDrift`. /// -///

                                                                          Detects whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For each resource in the stack that supports drift detection, CloudFormation compares the actual configuration of the resource with its expected template configuration. Only resource properties explicitly defined in the stack template are checked for drift. A stack is considered to have drifted if one or more of its resources differ from their expected template configurations. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                          +///

                                                                          Detects whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For each resource in the stack that supports drift detection, CloudFormation compares the actual configuration of the resource with its expected template configuration. Only resource properties explicitly defined in the stack template are checked for drift. A stack is considered to have drifted if one or more of its resources differ from their expected template configurations. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                          ///

                                                                          Use DetectStackDrift to detect drift on all supported resources for a given stack, or DetectStackResourceDrift to detect drift on individual resources.

                                                                          -///

                                                                          For a list of stack resources that currently support drift detection, see Resources that Support Drift Detection.

                                                                          +///

                                                                          For a list of stack resources that currently support drift detection, see Resource type support for imports and drift detection.

                                                                          ///

                                                                          DetectStackDrift can take up to several minutes, depending on the number of resources contained within the stack. Use DescribeStackDriftDetectionStatus to monitor the progress of a detect stack drift operation. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources.

                                                                          ///

                                                                          When detecting drift on a stack, CloudFormation doesn't detect drift on any nested stacks belonging to that stack. Perform DetectStackDrift directly on the nested stack itself.

                                                                          #[derive(::std::clone::Clone, ::std::fmt::Debug)] diff --git a/sdk/cloudformation/src/operation/detect_stack_resource_drift/builders.rs b/sdk/cloudformation/src/operation/detect_stack_resource_drift/builders.rs index ad39c7dbaf5a..e07f1817addc 100644 --- a/sdk/cloudformation/src/operation/detect_stack_resource_drift/builders.rs +++ b/sdk/cloudformation/src/operation/detect_stack_resource_drift/builders.rs @@ -22,9 +22,9 @@ impl crate::operation::detect_stack_resource_drift::builders::DetectStackResourc } /// Fluent builder constructing a request to `DetectStackResourceDrift`. /// -///

                                                                          Returns information about whether a resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. This information includes actual and expected property values for resources in which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                          +///

                                                                          Returns information about whether a resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. This information includes actual and expected property values for resources in which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information about stack and resource drift, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                          ///

                                                                          Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection.

                                                                          -///

                                                                          Resources that don't currently support drift detection can't be checked. For a list of resources that support drift detection, see Resources that Support Drift Detection.

                                                                          +///

                                                                          Resources that don't currently support drift detection can't be checked. For a list of resources that support drift detection, see Resource type support for imports and drift detection.

                                                                          #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct DetectStackResourceDriftFluentBuilder { handle: ::std::sync::Arc, diff --git a/sdk/cloudformation/src/operation/detect_stack_set_drift/_detect_stack_set_drift_input.rs b/sdk/cloudformation/src/operation/detect_stack_set_drift/_detect_stack_set_drift_input.rs index 93f4560e0e2f..92c7caa033e2 100644 --- a/sdk/cloudformation/src/operation/detect_stack_set_drift/_detect_stack_set_drift_input.rs +++ b/sdk/cloudformation/src/operation/detect_stack_set_drift/_detect_stack_set_drift_input.rs @@ -6,7 +6,7 @@ pub struct DetectStackSetDriftInput { ///

                                                                          The name of the stack set on which to perform the drift detection operation.

                                                                          pub stack_set_name: ::std::option::Option<::std::string::String>, ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub operation_preferences: ::std::option::Option, ///

                                                                          The ID of the stack set operation.

                                                                          pub operation_id: ::std::option::Option<::std::string::String>, @@ -27,7 +27,7 @@ impl DetectStackSetDriftInput { self.stack_set_name.as_deref() } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn operation_preferences(&self) -> ::std::option::Option<&crate::types::StackSetOperationPreferences> { self.operation_preferences.as_ref() } @@ -81,19 +81,19 @@ impl DetectStackSetDriftInputBuilder { &self.stack_set_name } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn operation_preferences(mut self, input: crate::types::StackSetOperationPreferences) -> Self { self.operation_preferences = ::std::option::Option::Some(input); self } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn set_operation_preferences(mut self, input: ::std::option::Option) -> Self { self.operation_preferences = input; self } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn get_operation_preferences(&self) -> &::std::option::Option { &self.operation_preferences } diff --git a/sdk/cloudformation/src/operation/detect_stack_set_drift/builders.rs b/sdk/cloudformation/src/operation/detect_stack_set_drift/builders.rs index d26202a7f47a..4f4f5a935b10 100644 --- a/sdk/cloudformation/src/operation/detect_stack_set_drift/builders.rs +++ b/sdk/cloudformation/src/operation/detect_stack_set_drift/builders.rs @@ -136,19 +136,19 @@ impl DetectStackSetDriftFluentBuilder { self.inner.get_stack_set_name() } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn operation_preferences(mut self, input: crate::types::StackSetOperationPreferences) -> Self { self.inner = self.inner.operation_preferences(input); self } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn set_operation_preferences(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_operation_preferences(input); self } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn get_operation_preferences(&self) -> &::std::option::Option { self.inner.get_operation_preferences() } diff --git a/sdk/cloudformation/src/operation/estimate_template_cost/_estimate_template_cost_input.rs b/sdk/cloudformation/src/operation/estimate_template_cost/_estimate_template_cost_input.rs index db97d71600ab..6010f3e476ae 100644 --- a/sdk/cloudformation/src/operation/estimate_template_cost/_estimate_template_cost_input.rs +++ b/sdk/cloudformation/src/operation/estimate_template_cost/_estimate_template_cost_input.rs @@ -4,22 +4,22 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct EstimateTemplateCostInput { - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

                                                                          pub template_body: ::std::option::Option<::std::string::String>, - ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                          pub template_url: ::std::option::Option<::std::string::String>, ///

                                                                          A list of Parameter structures that specify input parameters.

                                                                          pub parameters: ::std::option::Option<::std::vec::Vec>, } impl EstimateTemplateCostInput { - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

                                                                          pub fn template_body(&self) -> ::std::option::Option<&str> { self.template_body.as_deref() } - ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                          pub fn template_url(&self) -> ::std::option::Option<&str> { self.template_url.as_deref() @@ -47,36 +47,36 @@ pub struct EstimateTemplateCostInputBuilder { pub(crate) parameters: ::std::option::Option<::std::vec::Vec>, } impl EstimateTemplateCostInputBuilder { - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

                                                                          pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_body = ::std::option::Option::Some(input.into()); self } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

                                                                          pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_body = input; self } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

                                                                          pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { &self.template_body } - ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                          pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_url = ::std::option::Option::Some(input.into()); self } - ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                          pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_url = input; self } - ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                          pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { &self.template_url diff --git a/sdk/cloudformation/src/operation/estimate_template_cost/builders.rs b/sdk/cloudformation/src/operation/estimate_template_cost/builders.rs index b7ae16745d85..7cf9066872fa 100644 --- a/sdk/cloudformation/src/operation/estimate_template_cost/builders.rs +++ b/sdk/cloudformation/src/operation/estimate_template_cost/builders.rs @@ -108,36 +108,36 @@ impl EstimateTemplateCostFluentBuilder { self.config_override = config_override; self } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

                                                                          pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_body(input.into()); self } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

                                                                          pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_body(input); self } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

                                                                          pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_body() } - ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                          pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_url(input.into()); self } - ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                          pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_url(input); self } - ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                          pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_url() diff --git a/sdk/cloudformation/src/operation/get_stack_policy/_get_stack_policy_output.rs b/sdk/cloudformation/src/operation/get_stack_policy/_get_stack_policy_output.rs index 8f1be5812d42..0286ee9937da 100644 --- a/sdk/cloudformation/src/operation/get_stack_policy/_get_stack_policy_output.rs +++ b/sdk/cloudformation/src/operation/get_stack_policy/_get_stack_policy_output.rs @@ -4,12 +4,12 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct GetStackPolicyOutput { - ///

                                                                          Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the stack policy body. (For more information, see Prevent updates to stack resources in the CloudFormation User Guide.)

                                                                          pub stack_policy_body: ::std::option::Option<::std::string::String>, _request_id: Option, } impl GetStackPolicyOutput { - ///

                                                                          Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the stack policy body. (For more information, see Prevent updates to stack resources in the CloudFormation User Guide.)

                                                                          pub fn stack_policy_body(&self) -> ::std::option::Option<&str> { self.stack_policy_body.as_deref() } @@ -34,17 +34,17 @@ pub struct GetStackPolicyOutputBuilder { _request_id: Option, } impl GetStackPolicyOutputBuilder { - ///

                                                                          Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the stack policy body. (For more information, see Prevent updates to stack resources in the CloudFormation User Guide.)

                                                                          pub fn stack_policy_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.stack_policy_body = ::std::option::Option::Some(input.into()); self } - ///

                                                                          Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the stack policy body. (For more information, see Prevent updates to stack resources in the CloudFormation User Guide.)

                                                                          pub fn set_stack_policy_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.stack_policy_body = input; self } - ///

                                                                          Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the stack policy body. (For more information, see Prevent updates to stack resources in the CloudFormation User Guide.)

                                                                          pub fn get_stack_policy_body(&self) -> &::std::option::Option<::std::string::String> { &self.stack_policy_body } diff --git a/sdk/cloudformation/src/operation/get_template/_get_template_output.rs b/sdk/cloudformation/src/operation/get_template/_get_template_output.rs index ebd2ab7e87ca..e2aa22718958 100644 --- a/sdk/cloudformation/src/operation/get_template/_get_template_output.rs +++ b/sdk/cloudformation/src/operation/get_template/_get_template_output.rs @@ -4,7 +4,7 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct GetTemplateOutput { - ///

                                                                          Structure containing the template body. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body.

                                                                          ///

                                                                          CloudFormation returns the same template that was used when the stack was created.

                                                                          pub template_body: ::std::option::Option<::std::string::String>, ///

                                                                          The stage of the template that you can retrieve. For stacks, the Original and Processed templates are always available. For change sets, the Original template is always available. After CloudFormation finishes creating the change set, the Processed template becomes available.

                                                                          @@ -12,7 +12,7 @@ pub struct GetTemplateOutput { _request_id: Option, } impl GetTemplateOutput { - ///

                                                                          Structure containing the template body. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body.

                                                                          ///

                                                                          CloudFormation returns the same template that was used when the stack was created.

                                                                          pub fn template_body(&self) -> ::std::option::Option<&str> { self.template_body.as_deref() @@ -45,19 +45,19 @@ pub struct GetTemplateOutputBuilder { _request_id: Option, } impl GetTemplateOutputBuilder { - ///

                                                                          Structure containing the template body. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body.

                                                                          ///

                                                                          CloudFormation returns the same template that was used when the stack was created.

                                                                          pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_body = ::std::option::Option::Some(input.into()); self } - ///

                                                                          Structure containing the template body. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body.

                                                                          ///

                                                                          CloudFormation returns the same template that was used when the stack was created.

                                                                          pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_body = input; self } - ///

                                                                          Structure containing the template body. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body.

                                                                          ///

                                                                          CloudFormation returns the same template that was used when the stack was created.

                                                                          pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { &self.template_body diff --git a/sdk/cloudformation/src/operation/get_template_summary/_get_template_summary_input.rs b/sdk/cloudformation/src/operation/get_template_summary/_get_template_summary_input.rs index 872bcdddd66e..cbb84024f9b9 100644 --- a/sdk/cloudformation/src/operation/get_template_summary/_get_template_summary_input.rs +++ b/sdk/cloudformation/src/operation/get_template_summary/_get_template_summary_input.rs @@ -4,10 +4,10 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct GetTemplateSummaryInput { - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template anatomy in the CloudFormation User Guide.

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub template_body: ::std::option::Option<::std::string::String>, - ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub template_url: ::std::option::Option<::std::string::String>, ///

                                                                          The name or the stack ID that's associated with the stack, which aren't always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.

                                                                          @@ -30,12 +30,12 @@ pub struct GetTemplateSummaryInput { pub template_summary_config: ::std::option::Option, } impl GetTemplateSummaryInput { - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template anatomy in the CloudFormation User Guide.

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn template_body(&self) -> ::std::option::Option<&str> { self.template_body.as_deref() } - ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn template_url(&self) -> ::std::option::Option<&str> { self.template_url.as_deref() @@ -86,36 +86,36 @@ pub struct GetTemplateSummaryInputBuilder { pub(crate) template_summary_config: ::std::option::Option, } impl GetTemplateSummaryInputBuilder { - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template anatomy in the CloudFormation User Guide.

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_body = ::std::option::Option::Some(input.into()); self } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template anatomy in the CloudFormation User Guide.

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_body = input; self } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template anatomy in the CloudFormation User Guide.

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { &self.template_body } - ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_url = ::std::option::Option::Some(input.into()); self } - ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_url = input; self } - ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { &self.template_url diff --git a/sdk/cloudformation/src/operation/get_template_summary/_get_template_summary_output.rs b/sdk/cloudformation/src/operation/get_template_summary/_get_template_summary_output.rs index 213bea3664c8..9a4b89306620 100644 --- a/sdk/cloudformation/src/operation/get_template_summary/_get_template_summary_output.rs +++ b/sdk/cloudformation/src/operation/get_template_summary/_get_template_summary_output.rs @@ -9,7 +9,7 @@ pub struct GetTemplateSummaryOutput { ///

                                                                          The value that's defined in the Description property of the template.

                                                                          pub description: ::std::option::Option<::std::string::String>, ///

                                                                          The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

                                                                          - ///

                                                                          For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                          + ///

                                                                          For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                          pub capabilities: ::std::option::Option<::std::vec::Vec>, ///

                                                                          The list of resources that generated the values in the Capabilities response element.

                                                                          pub capabilities_reason: ::std::option::Option<::std::string::String>, @@ -39,7 +39,7 @@ impl GetTemplateSummaryOutput { self.description.as_deref() } ///

                                                                          The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

                                                                          - ///

                                                                          For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                          + ///

                                                                          For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                          /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.capabilities.is_none()`. pub fn capabilities(&self) -> &[crate::types::Capability] { @@ -148,7 +148,7 @@ impl GetTemplateSummaryOutputBuilder { /// To override the contents of this collection use [`set_capabilities`](Self::set_capabilities). /// ///

                                                                          The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

                                                                          - ///

                                                                          For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                          + ///

                                                                          For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                          pub fn capabilities(mut self, input: crate::types::Capability) -> Self { let mut v = self.capabilities.unwrap_or_default(); v.push(input); @@ -156,13 +156,13 @@ impl GetTemplateSummaryOutputBuilder { self } ///

                                                                          The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

                                                                          - ///

                                                                          For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                          + ///

                                                                          For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                          pub fn set_capabilities(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { self.capabilities = input; self } ///

                                                                          The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

                                                                          - ///

                                                                          For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                          + ///

                                                                          For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                          pub fn get_capabilities(&self) -> &::std::option::Option<::std::vec::Vec> { &self.capabilities } diff --git a/sdk/cloudformation/src/operation/get_template_summary/builders.rs b/sdk/cloudformation/src/operation/get_template_summary/builders.rs index 34ee5d0b65b4..d87e4b5e9259 100644 --- a/sdk/cloudformation/src/operation/get_template_summary/builders.rs +++ b/sdk/cloudformation/src/operation/get_template_summary/builders.rs @@ -110,36 +110,36 @@ impl GetTemplateSummaryFluentBuilder { self.config_override = config_override; self } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template anatomy in the CloudFormation User Guide.

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_body(input.into()); self } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template anatomy in the CloudFormation User Guide.

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_body(input); self } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template anatomy in the CloudFormation User Guide.

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_body() } - ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_url(input.into()); self } - ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_url(input); self } - ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

                                                                          pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_url() diff --git a/sdk/cloudformation/src/operation/import_stacks_to_stack_set/_import_stacks_to_stack_set_input.rs b/sdk/cloudformation/src/operation/import_stacks_to_stack_set/_import_stacks_to_stack_set_input.rs index 94e3cbeb15f9..181af527b512 100644 --- a/sdk/cloudformation/src/operation/import_stacks_to_stack_set/_import_stacks_to_stack_set_input.rs +++ b/sdk/cloudformation/src/operation/import_stacks_to_stack_set/_import_stacks_to_stack_set_input.rs @@ -14,7 +14,7 @@ pub struct ImportStacksToStackSetInput { ///

                                                                          The list of OU ID's to which the stacks being imported has to be mapped as deployment target.

                                                                          pub organizational_unit_ids: ::std::option::Option<::std::vec::Vec<::std::string::String>>, ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub operation_preferences: ::std::option::Option, ///

                                                                          A unique, user defined, identifier for the stack set operation.

                                                                          pub operation_id: ::std::option::Option<::std::string::String>, @@ -51,7 +51,7 @@ impl ImportStacksToStackSetInput { self.organizational_unit_ids.as_deref().unwrap_or_default() } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn operation_preferences(&self) -> ::std::option::Option<&crate::types::StackSetOperationPreferences> { self.operation_preferences.as_ref() } @@ -166,19 +166,19 @@ impl ImportStacksToStackSetInputBuilder { &self.organizational_unit_ids } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn operation_preferences(mut self, input: crate::types::StackSetOperationPreferences) -> Self { self.operation_preferences = ::std::option::Option::Some(input); self } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn set_operation_preferences(mut self, input: ::std::option::Option) -> Self { self.operation_preferences = input; self } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn get_operation_preferences(&self) -> &::std::option::Option { &self.operation_preferences } diff --git a/sdk/cloudformation/src/operation/import_stacks_to_stack_set/builders.rs b/sdk/cloudformation/src/operation/import_stacks_to_stack_set/builders.rs index 4d1c23edd68f..4b9d1f38da1c 100644 --- a/sdk/cloudformation/src/operation/import_stacks_to_stack_set/builders.rs +++ b/sdk/cloudformation/src/operation/import_stacks_to_stack_set/builders.rs @@ -181,19 +181,19 @@ impl ImportStacksToStackSetFluentBuilder { self.inner.get_organizational_unit_ids() } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn operation_preferences(mut self, input: crate::types::StackSetOperationPreferences) -> Self { self.inner = self.inner.operation_preferences(input); self } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn set_operation_preferences(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_operation_preferences(input); self } ///

                                                                          The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                          - ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          + ///

                                                                          For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                          pub fn get_operation_preferences(&self) -> &::std::option::Option { self.inner.get_operation_preferences() } diff --git a/sdk/cloudformation/src/operation/list_exports/builders.rs b/sdk/cloudformation/src/operation/list_exports/builders.rs index 7edc10534a1b..16356cd1d7cb 100644 --- a/sdk/cloudformation/src/operation/list_exports/builders.rs +++ b/sdk/cloudformation/src/operation/list_exports/builders.rs @@ -23,7 +23,7 @@ impl crate::operation::list_exports::builders::ListExportsInputBuilder { /// Fluent builder constructing a request to `ListExports`. /// ///

                                                                          Lists all exported output values in the account and Region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue function.

                                                                          -///

                                                                          For more information, see CloudFormation export stack output values.

                                                                          +///

                                                                          For more information, see Get exported outputs from a deployed CloudFormation stack.

                                                                          #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct ListExportsFluentBuilder { handle: ::std::sync::Arc, diff --git a/sdk/cloudformation/src/operation/publish_type/builders.rs b/sdk/cloudformation/src/operation/publish_type/builders.rs index cf74d2ed5400..2c13644e4eae 100644 --- a/sdk/cloudformation/src/operation/publish_type/builders.rs +++ b/sdk/cloudformation/src/operation/publish_type/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::publish_type::builders::PublishTypeInputBuilder { } /// Fluent builder constructing a request to `PublishType`. /// -///

                                                                          Publishes the specified extension to the CloudFormation registry as a public extension in this Region. Public extensions are available for use by all CloudFormation users. For more information about publishing extensions, see Publishing extensions to make them available for public use in the CloudFormation CLI User Guide.

                                                                          +///

                                                                          Publishes the specified extension to the CloudFormation registry as a public extension in this Region. Public extensions are available for use by all CloudFormation users. For more information about publishing extensions, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          ///

                                                                          To publish an extension, you must be registered as a publisher with CloudFormation. For more information, see RegisterPublisher.

                                                                          #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct PublishTypeFluentBuilder { diff --git a/sdk/cloudformation/src/operation/register_publisher/_register_publisher_input.rs b/sdk/cloudformation/src/operation/register_publisher/_register_publisher_input.rs index 90191d83777a..454e4675f1d8 100644 --- a/sdk/cloudformation/src/operation/register_publisher/_register_publisher_input.rs +++ b/sdk/cloudformation/src/operation/register_publisher/_register_publisher_input.rs @@ -7,7 +7,7 @@ pub struct RegisterPublisherInput { ///

                                                                          The default is false.

                                                                          pub accept_terms_and_conditions: ::std::option::Option, ///

                                                                          If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.

                                                                          - ///

                                                                          For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.

                                                                          + ///

                                                                          For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          pub connection_arn: ::std::option::Option<::std::string::String>, } impl RegisterPublisherInput { @@ -17,7 +17,7 @@ impl RegisterPublisherInput { self.accept_terms_and_conditions } ///

                                                                          If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.

                                                                          - ///

                                                                          For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.

                                                                          + ///

                                                                          For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          pub fn connection_arn(&self) -> ::std::option::Option<&str> { self.connection_arn.as_deref() } @@ -55,19 +55,19 @@ impl RegisterPublisherInputBuilder { &self.accept_terms_and_conditions } ///

                                                                          If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.

                                                                          - ///

                                                                          For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.

                                                                          + ///

                                                                          For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          pub fn connection_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.connection_arn = ::std::option::Option::Some(input.into()); self } ///

                                                                          If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.

                                                                          - ///

                                                                          For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.

                                                                          + ///

                                                                          For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          pub fn set_connection_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.connection_arn = input; self } ///

                                                                          If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.

                                                                          - ///

                                                                          For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.

                                                                          + ///

                                                                          For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          pub fn get_connection_arn(&self) -> &::std::option::Option<::std::string::String> { &self.connection_arn } diff --git a/sdk/cloudformation/src/operation/register_publisher/builders.rs b/sdk/cloudformation/src/operation/register_publisher/builders.rs index b436cd66bad0..5df265cea6b7 100644 --- a/sdk/cloudformation/src/operation/register_publisher/builders.rs +++ b/sdk/cloudformation/src/operation/register_publisher/builders.rs @@ -23,7 +23,7 @@ impl crate::operation::register_publisher::builders::RegisterPublisherInputBuild /// Fluent builder constructing a request to `RegisterPublisher`. /// ///

                                                                          Registers your account as a publisher of public extensions in the CloudFormation registry. Public extensions are available for use by all CloudFormation users. This publisher ID applies to your account in all Amazon Web Services Regions.

                                                                          -///

                                                                          For information about requirements for registering as a public extension publisher, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.

                                                                          +///

                                                                          For information about requirements for registering as a public extension publisher, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          ///

                                                                          #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct RegisterPublisherFluentBuilder { @@ -128,19 +128,19 @@ impl RegisterPublisherFluentBuilder { self.inner.get_accept_terms_and_conditions() } ///

                                                                          If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.

                                                                          - ///

                                                                          For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.

                                                                          + ///

                                                                          For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          pub fn connection_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.connection_arn(input.into()); self } ///

                                                                          If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.

                                                                          - ///

                                                                          For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.

                                                                          + ///

                                                                          For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          pub fn set_connection_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_connection_arn(input); self } ///

                                                                          If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.

                                                                          - ///

                                                                          For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.

                                                                          + ///

                                                                          For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                          pub fn get_connection_arn(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_connection_arn() } diff --git a/sdk/cloudformation/src/operation/register_type/_register_type_input.rs b/sdk/cloudformation/src/operation/register_type/_register_type_input.rs index 977c0451e26a..963f6c170a4d 100644 --- a/sdk/cloudformation/src/operation/register_type/_register_type_input.rs +++ b/sdk/cloudformation/src/operation/register_type/_register_type_input.rs @@ -9,11 +9,11 @@ pub struct RegisterTypeInput { ///

                                                                          We suggest that extension names adhere to the following patterns:

                                                                          ///
                                                                            ///
                                                                          • - ///

                                                                            For resource types, company_or_organization::service::type.

                                                                          • + ///

                                                                            For resource types, company_or_organization::service::type.

                                                                            ///
                                                                          • - ///

                                                                            For modules, company_or_organization::service::type::MODULE.

                                                                          • + ///

                                                                            For modules, company_or_organization::service::type::MODULE.

                                                                            ///
                                                                          • - ///

                                                                            For hooks, MyCompany::Testing::MyTestHook.

                                                                          • + ///

                                                                            For hooks, MyCompany::Testing::MyTestHook.

                                                                            ///
                                                                          ///

                                                                          The following organization namespaces are reserved and can't be used in your extension names:

                                                                          ///
                                                                            @@ -33,7 +33,7 @@ pub struct RegisterTypeInput { /// pub type_name: ::std::option::Option<::std::string::String>, ///

                                                                            A URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register.

                                                                            - ///

                                                                            For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide.

                                                                            + ///

                                                                            For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                            ///

                                                                            The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                            ///
                                                                            pub schema_handler_package: ::std::option::Option<::std::string::String>, @@ -55,11 +55,11 @@ impl RegisterTypeInput { ///

                                                                            We suggest that extension names adhere to the following patterns:

                                                                            ///
                                                                              ///
                                                                            • - ///

                                                                              For resource types, company_or_organization::service::type.

                                                                            • + ///

                                                                              For resource types, company_or_organization::service::type.

                                                                              ///
                                                                            • - ///

                                                                              For modules, company_or_organization::service::type::MODULE.

                                                                            • + ///

                                                                              For modules, company_or_organization::service::type::MODULE.

                                                                              ///
                                                                            • - ///

                                                                              For hooks, MyCompany::Testing::MyTestHook.

                                                                            • + ///

                                                                              For hooks, MyCompany::Testing::MyTestHook.

                                                                              ///
                                                                            ///

                                                                            The following organization namespaces are reserved and can't be used in your extension names:

                                                                            ///
                                                                              @@ -81,7 +81,7 @@ impl RegisterTypeInput { self.type_name.as_deref() } ///

                                                                              A URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register.

                                                                              - ///

                                                                              For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide.

                                                                              + ///

                                                                              For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                              ///

                                                                              The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                              ///
                                                                              pub fn schema_handler_package(&self) -> ::std::option::Option<&str> { @@ -139,11 +139,11 @@ impl RegisterTypeInputBuilder { ///

                                                                              We suggest that extension names adhere to the following patterns:

                                                                              ///
                                                                                ///
                                                                              • - ///

                                                                                For resource types, company_or_organization::service::type.

                                                                              • + ///

                                                                                For resource types, company_or_organization::service::type.

                                                                                ///
                                                                              • - ///

                                                                                For modules, company_or_organization::service::type::MODULE.

                                                                              • + ///

                                                                                For modules, company_or_organization::service::type::MODULE.

                                                                                ///
                                                                              • - ///

                                                                                For hooks, MyCompany::Testing::MyTestHook.

                                                                              • + ///

                                                                                For hooks, MyCompany::Testing::MyTestHook.

                                                                                ///
                                                                              ///

                                                                              The following organization namespaces are reserved and can't be used in your extension names:

                                                                              ///
                                                                                @@ -170,11 +170,11 @@ impl RegisterTypeInputBuilder { ///

                                                                                We suggest that extension names adhere to the following patterns:

                                                                                ///
                                                                                  ///
                                                                                • - ///

                                                                                  For resource types, company_or_organization::service::type.

                                                                                • + ///

                                                                                  For resource types, company_or_organization::service::type.

                                                                                  ///
                                                                                • - ///

                                                                                  For modules, company_or_organization::service::type::MODULE.

                                                                                • + ///

                                                                                  For modules, company_or_organization::service::type::MODULE.

                                                                                  ///
                                                                                • - ///

                                                                                  For hooks, MyCompany::Testing::MyTestHook.

                                                                                • + ///

                                                                                  For hooks, MyCompany::Testing::MyTestHook.

                                                                                  ///
                                                                                ///

                                                                                The following organization namespaces are reserved and can't be used in your extension names:

                                                                                ///
                                                                                  @@ -200,11 +200,11 @@ impl RegisterTypeInputBuilder { ///

                                                                                  We suggest that extension names adhere to the following patterns:

                                                                                  ///
                                                                                    ///
                                                                                  • - ///

                                                                                    For resource types, company_or_organization::service::type.

                                                                                  • + ///

                                                                                    For resource types, company_or_organization::service::type.

                                                                                    ///
                                                                                  • - ///

                                                                                    For modules, company_or_organization::service::type::MODULE.

                                                                                  • + ///

                                                                                    For modules, company_or_organization::service::type::MODULE.

                                                                                    ///
                                                                                  • - ///

                                                                                    For hooks, MyCompany::Testing::MyTestHook.

                                                                                  • + ///

                                                                                    For hooks, MyCompany::Testing::MyTestHook.

                                                                                    ///
                                                                                  ///

                                                                                  The following organization namespaces are reserved and can't be used in your extension names:

                                                                                  ///
                                                                                    @@ -226,7 +226,7 @@ impl RegisterTypeInputBuilder { &self.type_name } ///

                                                                                    A URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register.

                                                                                    - ///

                                                                                    For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide.

                                                                                    + ///

                                                                                    For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                    ///

                                                                                    The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                                    ///
                                                                                    /// This field is required. @@ -235,7 +235,7 @@ impl RegisterTypeInputBuilder { self } ///

                                                                                    A URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register.

                                                                                    - ///

                                                                                    For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide.

                                                                                    + ///

                                                                                    For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                    ///

                                                                                    The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                                    ///
                                                                                    pub fn set_schema_handler_package(mut self, input: ::std::option::Option<::std::string::String>) -> Self { @@ -243,7 +243,7 @@ impl RegisterTypeInputBuilder { self } ///

                                                                                    A URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register.

                                                                                    - ///

                                                                                    For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide.

                                                                                    + ///

                                                                                    For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                    ///

                                                                                    The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                                    ///
                                                                                    pub fn get_schema_handler_package(&self) -> &::std::option::Option<::std::string::String> { diff --git a/sdk/cloudformation/src/operation/register_type/builders.rs b/sdk/cloudformation/src/operation/register_type/builders.rs index ec48a049d356..54659f2f7bbe 100644 --- a/sdk/cloudformation/src/operation/register_type/builders.rs +++ b/sdk/cloudformation/src/operation/register_type/builders.rs @@ -31,10 +31,10 @@ impl crate::operation::register_type::builders::RegisterTypeInputBuilder { ///
                                                                                  • ///

                                                                                    Making the extension available for use in your account.

                                                                                  • ///
                                                                                  -///

                                                                                  For more information about how to develop extensions and ready them for registration, see Creating Resource Providers in the CloudFormation CLI User Guide.

                                                                                  +///

                                                                                  For more information about how to develop extensions and ready them for registration, see Creating resource types using the CloudFormation CLI in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                  ///

                                                                                  You can have a maximum of 50 resource extension versions registered at a time. This maximum is per account and per Region. Use DeregisterType to deregister specific extension versions if necessary.

                                                                                  ///

                                                                                  Once you have initiated a registration request using RegisterType, you can use DescribeTypeRegistration to monitor the progress of the registration request.

                                                                                  -///

                                                                                  Once you have registered a private extension in your account and Region, use SetTypeConfiguration to specify configuration properties for the extension. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.

                                                                                  +///

                                                                                  Once you have registered a private extension in your account and Region, use SetTypeConfiguration to specify configuration properties for the extension. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide.

                                                                                  #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct RegisterTypeFluentBuilder { handle: ::std::sync::Arc, @@ -138,11 +138,11 @@ impl RegisterTypeFluentBuilder { ///

                                                                                  We suggest that extension names adhere to the following patterns:

                                                                                  ///
                                                                                    ///
                                                                                  • - ///

                                                                                    For resource types, company_or_organization::service::type.

                                                                                  • + ///

                                                                                    For resource types, company_or_organization::service::type.

                                                                                    ///
                                                                                  • - ///

                                                                                    For modules, company_or_organization::service::type::MODULE.

                                                                                  • + ///

                                                                                    For modules, company_or_organization::service::type::MODULE.

                                                                                    ///
                                                                                  • - ///

                                                                                    For hooks, MyCompany::Testing::MyTestHook.

                                                                                  • + ///

                                                                                    For hooks, MyCompany::Testing::MyTestHook.

                                                                                    ///
                                                                                  ///

                                                                                  The following organization namespaces are reserved and can't be used in your extension names:

                                                                                  ///
                                                                                    @@ -168,11 +168,11 @@ impl RegisterTypeFluentBuilder { ///

                                                                                    We suggest that extension names adhere to the following patterns:

                                                                                    ///
                                                                                      ///
                                                                                    • - ///

                                                                                      For resource types, company_or_organization::service::type.

                                                                                    • + ///

                                                                                      For resource types, company_or_organization::service::type.

                                                                                      ///
                                                                                    • - ///

                                                                                      For modules, company_or_organization::service::type::MODULE.

                                                                                    • + ///

                                                                                      For modules, company_or_organization::service::type::MODULE.

                                                                                      ///
                                                                                    • - ///

                                                                                      For hooks, MyCompany::Testing::MyTestHook.

                                                                                    • + ///

                                                                                      For hooks, MyCompany::Testing::MyTestHook.

                                                                                      ///
                                                                                    ///

                                                                                    The following organization namespaces are reserved and can't be used in your extension names:

                                                                                    ///
                                                                                      @@ -198,11 +198,11 @@ impl RegisterTypeFluentBuilder { ///

                                                                                      We suggest that extension names adhere to the following patterns:

                                                                                      ///
                                                                                        ///
                                                                                      • - ///

                                                                                        For resource types, company_or_organization::service::type.

                                                                                      • + ///

                                                                                        For resource types, company_or_organization::service::type.

                                                                                        ///
                                                                                      • - ///

                                                                                        For modules, company_or_organization::service::type::MODULE.

                                                                                      • + ///

                                                                                        For modules, company_or_organization::service::type::MODULE.

                                                                                        ///
                                                                                      • - ///

                                                                                        For hooks, MyCompany::Testing::MyTestHook.

                                                                                      • + ///

                                                                                        For hooks, MyCompany::Testing::MyTestHook.

                                                                                        ///
                                                                                      ///

                                                                                      The following organization namespaces are reserved and can't be used in your extension names:

                                                                                      ///
                                                                                        @@ -224,7 +224,7 @@ impl RegisterTypeFluentBuilder { self.inner.get_type_name() } ///

                                                                                        A URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register.

                                                                                        - ///

                                                                                        For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide.

                                                                                        + ///

                                                                                        For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                        ///

                                                                                        The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                                        ///
                                                                                        pub fn schema_handler_package(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { @@ -232,7 +232,7 @@ impl RegisterTypeFluentBuilder { self } ///

                                                                                        A URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register.

                                                                                        - ///

                                                                                        For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide.

                                                                                        + ///

                                                                                        For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                        ///

                                                                                        The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                                        ///
                                                                                        pub fn set_schema_handler_package(mut self, input: ::std::option::Option<::std::string::String>) -> Self { @@ -240,7 +240,7 @@ impl RegisterTypeFluentBuilder { self } ///

                                                                                        A URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register.

                                                                                        - ///

                                                                                        For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide.

                                                                                        + ///

                                                                                        For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                        ///

                                                                                        The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                                        ///
                                                                                        pub fn get_schema_handler_package(&self) -> &::std::option::Option<::std::string::String> { diff --git a/sdk/cloudformation/src/operation/rollback_stack/_rollback_stack_input.rs b/sdk/cloudformation/src/operation/rollback_stack/_rollback_stack_input.rs index 2ccd21402b6f..c074cfb5d40e 100644 --- a/sdk/cloudformation/src/operation/rollback_stack/_rollback_stack_input.rs +++ b/sdk/cloudformation/src/operation/rollback_stack/_rollback_stack_input.rs @@ -5,7 +5,7 @@ pub struct RollbackStackInput { ///

                                                                                        The name that's associated with the stack.

                                                                                        pub stack_name: ::std::option::Option<::std::string::String>, - ///

                                                                                        The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.

                                                                                        + ///

                                                                                        The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the stack.

                                                                                        pub role_arn: ::std::option::Option<::std::string::String>, ///

                                                                                        A unique identifier for this RollbackStack request.

                                                                                        pub client_request_token: ::std::option::Option<::std::string::String>, @@ -18,7 +18,7 @@ impl RollbackStackInput { pub fn stack_name(&self) -> ::std::option::Option<&str> { self.stack_name.as_deref() } - ///

                                                                                        The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.

                                                                                        + ///

                                                                                        The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the stack.

                                                                                        pub fn role_arn(&self) -> ::std::option::Option<&str> { self.role_arn.as_deref() } @@ -64,17 +64,17 @@ impl RollbackStackInputBuilder { pub fn get_stack_name(&self) -> &::std::option::Option<::std::string::String> { &self.stack_name } - ///

                                                                                        The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.

                                                                                        + ///

                                                                                        The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the stack.

                                                                                        pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.role_arn = ::std::option::Option::Some(input.into()); self } - ///

                                                                                        The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.

                                                                                        + ///

                                                                                        The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the stack.

                                                                                        pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.role_arn = input; self } - ///

                                                                                        The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.

                                                                                        + ///

                                                                                        The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the stack.

                                                                                        pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { &self.role_arn } diff --git a/sdk/cloudformation/src/operation/rollback_stack/builders.rs b/sdk/cloudformation/src/operation/rollback_stack/builders.rs index 6c2298933f0a..632da5449c3c 100644 --- a/sdk/cloudformation/src/operation/rollback_stack/builders.rs +++ b/sdk/cloudformation/src/operation/rollback_stack/builders.rs @@ -136,17 +136,17 @@ impl RollbackStackFluentBuilder { pub fn get_stack_name(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_stack_name() } - ///

                                                                                        The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.

                                                                                        + ///

                                                                                        The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the stack.

                                                                                        pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); self } - ///

                                                                                        The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.

                                                                                        + ///

                                                                                        The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the stack.

                                                                                        pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_role_arn(input); self } - ///

                                                                                        The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.

                                                                                        + ///

                                                                                        The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the stack.

                                                                                        pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_role_arn() } diff --git a/sdk/cloudformation/src/operation/set_stack_policy/_set_stack_policy_input.rs b/sdk/cloudformation/src/operation/set_stack_policy/_set_stack_policy_input.rs index 0863c46c089e..2d2709718180 100644 --- a/sdk/cloudformation/src/operation/set_stack_policy/_set_stack_policy_input.rs +++ b/sdk/cloudformation/src/operation/set_stack_policy/_set_stack_policy_input.rs @@ -6,7 +6,7 @@ pub struct SetStackPolicyInput { ///

                                                                                        The name or unique stack ID that you want to associate a policy with.

                                                                                        pub stack_name: ::std::option::Option<::std::string::String>, - ///

                                                                                        Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        + ///

                                                                                        Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        pub stack_policy_body: ::std::option::Option<::std::string::String>, ///

                                                                                        Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for an Amazon S3 bucket must start with https://. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        pub stack_policy_url: ::std::option::Option<::std::string::String>, @@ -16,7 +16,7 @@ impl SetStackPolicyInput { pub fn stack_name(&self) -> ::std::option::Option<&str> { self.stack_name.as_deref() } - ///

                                                                                        Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        + ///

                                                                                        Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        pub fn stack_policy_body(&self) -> ::std::option::Option<&str> { self.stack_policy_body.as_deref() } @@ -56,17 +56,17 @@ impl SetStackPolicyInputBuilder { pub fn get_stack_name(&self) -> &::std::option::Option<::std::string::String> { &self.stack_name } - ///

                                                                                        Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        + ///

                                                                                        Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        pub fn stack_policy_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.stack_policy_body = ::std::option::Option::Some(input.into()); self } - ///

                                                                                        Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        + ///

                                                                                        Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        pub fn set_stack_policy_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.stack_policy_body = input; self } - ///

                                                                                        Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        + ///

                                                                                        Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        pub fn get_stack_policy_body(&self) -> &::std::option::Option<::std::string::String> { &self.stack_policy_body } diff --git a/sdk/cloudformation/src/operation/set_stack_policy/builders.rs b/sdk/cloudformation/src/operation/set_stack_policy/builders.rs index eb08b79b460c..05c0eac8427c 100644 --- a/sdk/cloudformation/src/operation/set_stack_policy/builders.rs +++ b/sdk/cloudformation/src/operation/set_stack_policy/builders.rs @@ -122,17 +122,17 @@ impl SetStackPolicyFluentBuilder { pub fn get_stack_name(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_stack_name() } - ///

                                                                                        Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        + ///

                                                                                        Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        pub fn stack_policy_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_policy_body(input.into()); self } - ///

                                                                                        Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        + ///

                                                                                        Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        pub fn set_stack_policy_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_stack_policy_body(input); self } - ///

                                                                                        Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        + ///

                                                                                        Structure containing the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

                                                                                        pub fn get_stack_policy_body(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_stack_policy_body() } diff --git a/sdk/cloudformation/src/operation/set_type_configuration/_set_type_configuration_input.rs b/sdk/cloudformation/src/operation/set_type_configuration/_set_type_configuration_input.rs index 4b29ac4fed26..c7c6a483031e 100644 --- a/sdk/cloudformation/src/operation/set_type_configuration/_set_type_configuration_input.rs +++ b/sdk/cloudformation/src/operation/set_type_configuration/_set_type_configuration_input.rs @@ -8,7 +8,7 @@ pub struct SetTypeConfigurationInput { ///

                                                                                        Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version.

                                                                                        pub type_arn: ::std::option::Option<::std::string::String>, ///

                                                                                        The configuration data for the extension, in this account and Region.

                                                                                        - ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.

                                                                                        + ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining the account-level configuration of an extension in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                        pub configuration: ::std::option::Option<::std::string::String>, ///

                                                                                        An alias by which to refer to this extension configuration data.

                                                                                        ///

                                                                                        Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension.

                                                                                        @@ -28,7 +28,7 @@ impl SetTypeConfigurationInput { self.type_arn.as_deref() } ///

                                                                                        The configuration data for the extension, in this account and Region.

                                                                                        - ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.

                                                                                        + ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining the account-level configuration of an extension in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                        pub fn configuration(&self) -> ::std::option::Option<&str> { self.configuration.as_deref() } @@ -87,20 +87,20 @@ impl SetTypeConfigurationInputBuilder { &self.type_arn } ///

                                                                                        The configuration data for the extension, in this account and Region.

                                                                                        - ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.

                                                                                        + ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining the account-level configuration of an extension in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                        /// This field is required. pub fn configuration(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.configuration = ::std::option::Option::Some(input.into()); self } ///

                                                                                        The configuration data for the extension, in this account and Region.

                                                                                        - ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.

                                                                                        + ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining the account-level configuration of an extension in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                        pub fn set_configuration(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.configuration = input; self } ///

                                                                                        The configuration data for the extension, in this account and Region.

                                                                                        - ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.

                                                                                        + ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining the account-level configuration of an extension in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                        pub fn get_configuration(&self) -> &::std::option::Option<::std::string::String> { &self.configuration } diff --git a/sdk/cloudformation/src/operation/set_type_configuration/builders.rs b/sdk/cloudformation/src/operation/set_type_configuration/builders.rs index a43a640f8a9b..78d8f6b291af 100644 --- a/sdk/cloudformation/src/operation/set_type_configuration/builders.rs +++ b/sdk/cloudformation/src/operation/set_type_configuration/builders.rs @@ -23,8 +23,8 @@ impl crate::operation::set_type_configuration::builders::SetTypeConfigurationInp /// Fluent builder constructing a request to `SetTypeConfiguration`. /// ///

                                                                                        Specifies the configuration data for a registered CloudFormation extension, in the given account and Region.

                                                                                        -///

                                                                                        To view the current configuration data for an extension, refer to the ConfigurationSchema element of DescribeType. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.

                                                                                        -///

                                                                                        It's strongly recommended that you use dynamic references to restrict sensitive configuration definitions, such as third-party credentials. For more details on dynamic references, see Using dynamic references to specify template values in the CloudFormation User Guide.

                                                                                        +///

                                                                                        To view the current configuration data for an extension, refer to the ConfigurationSchema element of DescribeType. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide.

                                                                                        +///

                                                                                        It's strongly recommended that you use dynamic references to restrict sensitive configuration definitions, such as third-party credentials. For more details on dynamic references, see Specify values stored in other services using dynamic references in the CloudFormation User Guide.

                                                                                        ///
                                                                                        #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct SetTypeConfigurationFluentBuilder { @@ -132,19 +132,19 @@ impl SetTypeConfigurationFluentBuilder { self.inner.get_type_arn() } ///

                                                                                        The configuration data for the extension, in this account and Region.

                                                                                        - ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.

                                                                                        + ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining the account-level configuration of an extension in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                        pub fn configuration(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.configuration(input.into()); self } ///

                                                                                        The configuration data for the extension, in this account and Region.

                                                                                        - ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.

                                                                                        + ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining the account-level configuration of an extension in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                        pub fn set_configuration(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_configuration(input); self } ///

                                                                                        The configuration data for the extension, in this account and Region.

                                                                                        - ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.

                                                                                        + ///

                                                                                        The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of DescribeType. For more information, see Defining the account-level configuration of an extension in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                        pub fn get_configuration(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_configuration() } diff --git a/sdk/cloudformation/src/operation/test_type/_test_type_input.rs b/sdk/cloudformation/src/operation/test_type/_test_type_input.rs index d50970f5f287..3cea1325ed8d 100644 --- a/sdk/cloudformation/src/operation/test_type/_test_type_input.rs +++ b/sdk/cloudformation/src/operation/test_type/_test_type_input.rs @@ -25,7 +25,7 @@ pub struct TestTypeInput { ///
                                                                                      • ///

                                                                                        PutObject

                                                                                      • ///
                                                                                      - ///

                                                                                      For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.

                                                                                      + ///

                                                                                      For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                                      pub log_delivery_bucket: ::std::option::Option<::std::string::String>, } impl TestTypeInput { @@ -59,7 +59,7 @@ impl TestTypeInput { ///
                                                                                    • ///

                                                                                      PutObject

                                                                                    • ///
                                                                                    - ///

                                                                                    For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.

                                                                                    + ///

                                                                                    For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                                    pub fn log_delivery_bucket(&self) -> ::std::option::Option<&str> { self.log_delivery_bucket.as_deref() } @@ -162,7 +162,7 @@ impl TestTypeInputBuilder { ///
                                                                                  • ///

                                                                                    PutObject

                                                                                  • ///
                                                                                  - ///

                                                                                  For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.

                                                                                  + ///

                                                                                  For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                                  pub fn log_delivery_bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.log_delivery_bucket = ::std::option::Option::Some(input.into()); self @@ -176,7 +176,7 @@ impl TestTypeInputBuilder { ///
                                                                                • ///

                                                                                  PutObject

                                                                                • ///
                                                                                - ///

                                                                                For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.

                                                                                + ///

                                                                                For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                                pub fn set_log_delivery_bucket(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.log_delivery_bucket = input; self @@ -190,7 +190,7 @@ impl TestTypeInputBuilder { ///
                                                                              • ///

                                                                                PutObject

                                                                              • ///
                                                                              - ///

                                                                              For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.

                                                                              + ///

                                                                              For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                              pub fn get_log_delivery_bucket(&self) -> &::std::option::Option<::std::string::String> { &self.log_delivery_bucket } diff --git a/sdk/cloudformation/src/operation/test_type/builders.rs b/sdk/cloudformation/src/operation/test_type/builders.rs index 79875cc8733b..9d2a830b08d4 100644 --- a/sdk/cloudformation/src/operation/test_type/builders.rs +++ b/sdk/cloudformation/src/operation/test_type/builders.rs @@ -29,11 +29,11 @@ impl crate::operation::test_type::builders::TestTypeInputBuilder { ///
                                                                            • ///

                                                                              For modules, this includes determining if the module's model meets all necessary requirements.

                                                                            • ///
                                                                            -///

                                                                            For more information, see Testing your public extension prior to publishing in the CloudFormation CLI User Guide.

                                                                            +///

                                                                            For more information, see Testing your public extension before publishing in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                            ///

                                                                            If you don't specify a version, CloudFormation uses the default version of the extension in your account and Region for testing.

                                                                            ///

                                                                            To perform testing, CloudFormation assumes the execution role specified when the type was registered. For more information, see RegisterType.

                                                                            ///

                                                                            Once you've initiated testing on an extension using TestType, you can pass the returned TypeVersionArn into DescribeType to monitor the current test status and test status description for the extension.

                                                                            -///

                                                                            An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation CLI User Guide.

                                                                            +///

                                                                            An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                            #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct TestTypeFluentBuilder { handle: ::std::sync::Arc, @@ -190,7 +190,7 @@ impl TestTypeFluentBuilder { ///
                                                                          • ///

                                                                            PutObject

                                                                          • ///
                                                                          - ///

                                                                          For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.

                                                                          + ///

                                                                          For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                          pub fn log_delivery_bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.log_delivery_bucket(input.into()); self @@ -204,7 +204,7 @@ impl TestTypeFluentBuilder { ///
                                                                        • ///

                                                                          PutObject

                                                                        • ///
                                                                        - ///

                                                                        For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.

                                                                        + ///

                                                                        For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                        pub fn set_log_delivery_bucket(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_log_delivery_bucket(input); self @@ -218,7 +218,7 @@ impl TestTypeFluentBuilder { ///
                                                                      • ///

                                                                        PutObject

                                                                      • ///
                                                                      - ///

                                                                      For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.

                                                                      + ///

                                                                      For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

                                                                      pub fn get_log_delivery_bucket(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_log_delivery_bucket() } diff --git a/sdk/cloudformation/src/operation/update_stack/_update_stack_input.rs b/sdk/cloudformation/src/operation/update_stack/_update_stack_input.rs index cd83646faecf..c155ad3f4405 100644 --- a/sdk/cloudformation/src/operation/update_stack/_update_stack_input.rs +++ b/sdk/cloudformation/src/operation/update_stack/_update_stack_input.rs @@ -6,10 +6,10 @@ pub struct UpdateStackInput { ///

                                                                      The name or unique stack ID of the stack to update.

                                                                      pub stack_name: ::std::option::Option<::std::string::String>, - ///

                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                      + ///

                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                      ///

                                                                      Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                      pub template_body: ::std::option::Option<::std::string::String>, - ///

                                                                      Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                      + ///

                                                                      Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                      ///

                                                                      Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                      pub template_url: ::std::option::Option<::std::string::String>, ///

                                                                      Reuse the existing template that is associated with the stack that you are updating.

                                                                      @@ -27,7 +27,7 @@ pub struct UpdateStackInput { ///
                                                                        ///
                                                                      • ///

                                                                        CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                        - ///

                                                                        Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                        + ///

                                                                        Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                        ///

                                                                        The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                        /// ///

                                                                        Only one of the Capabilities and ResourceType parameters can be specified.

                                                                        ///
                                                                        pub capabilities: ::std::option::Option<::std::vec::Vec>, ///

                                                                        The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

                                                                        - ///

                                                                        If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                                                                        + ///

                                                                        If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                                                                        ///

                                                                        Only one of the Capabilities and ResourceType parameters can be specified.

                                                                        ///
                                                                        pub resource_types: ::std::option::Option<::std::vec::Vec<::std::string::String>>, - ///

                                                                        The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                        + ///

                                                                        The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                        ///

                                                                        If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

                                                                        pub role_arn: ::std::option::Option<::std::string::String>, ///

                                                                        The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.

                                                                        @@ -104,12 +104,12 @@ impl UpdateStackInput { pub fn stack_name(&self) -> ::std::option::Option<&str> { self.stack_name.as_deref() } - ///

                                                                        Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                        + ///

                                                                        Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                        ///

                                                                        Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                        pub fn template_body(&self) -> ::std::option::Option<&str> { self.template_body.as_deref() } - ///

                                                                        Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                        + ///

                                                                        Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                        ///

                                                                        Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                        pub fn template_url(&self) -> ::std::option::Option<&str> { self.template_url.as_deref() @@ -139,7 +139,7 @@ impl UpdateStackInput { ///
                                                                          ///
                                                                        • ///

                                                                          CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                          - ///

                                                                          Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                          + ///

                                                                          Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                          ///

                                                                          The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                          /// ///

                                                                          Only one of the Capabilities and ResourceType parameters can be specified.

                                                                          ///
                                                                          @@ -184,7 +184,7 @@ impl UpdateStackInput { self.capabilities.as_deref().unwrap_or_default() } ///

                                                                          The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

                                                                          - ///

                                                                          If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                                                                          + ///

                                                                          If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                                                                          ///

                                                                          Only one of the Capabilities and ResourceType parameters can be specified.

                                                                          ///
                                                                          /// @@ -192,7 +192,7 @@ impl UpdateStackInput { pub fn resource_types(&self) -> &[::std::string::String] { self.resource_types.as_deref().unwrap_or_default() } - ///

                                                                          The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                          + ///

                                                                          The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                          ///

                                                                          If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

                                                                          pub fn role_arn(&self) -> ::std::option::Option<&str> { self.role_arn.as_deref() @@ -287,36 +287,36 @@ impl UpdateStackInputBuilder { pub fn get_stack_name(&self) -> &::std::option::Option<::std::string::String> { &self.stack_name } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                          pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_body = ::std::option::Option::Some(input.into()); self } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                          pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_body = input; self } - ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                          + ///

                                                                          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                          pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { &self.template_body } - ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                          pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_url = ::std::option::Option::Some(input.into()); self } - ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                          pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_url = input; self } - ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                          + ///

                                                                          Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                          ///

                                                                          Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                          pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { &self.template_url @@ -400,7 +400,7 @@ impl UpdateStackInputBuilder { ///
                                                                            ///
                                                                          • ///

                                                                            CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                            - ///

                                                                            Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                            + ///

                                                                            Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                            ///

                                                                            The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                            /// ///

                                                                            Only one of the Capabilities and ResourceType parameters can be specified.

                                                                            ///
                                                                            @@ -449,7 +449,7 @@ impl UpdateStackInputBuilder { ///
                                                                              ///
                                                                            • ///

                                                                              CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                              - ///

                                                                              Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                              + ///

                                                                              Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                              ///

                                                                              The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                              /// ///

                                                                              Only one of the Capabilities and ResourceType parameters can be specified.

                                                                              ///
                                                                              @@ -496,7 +496,7 @@ impl UpdateStackInputBuilder { ///
                                                                                ///
                                                                              • ///

                                                                                CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                                - ///

                                                                                Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                + ///

                                                                                Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                ///

                                                                                The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                                /// ///

                                                                                Only one of the Capabilities and ResourceType parameters can be specified.

                                                                                ///
                                                                                @@ -543,7 +543,7 @@ impl UpdateStackInputBuilder { /// To override the contents of this collection use [`set_resource_types`](Self::set_resource_types). /// ///

                                                                                The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

                                                                                - ///

                                                                                If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                                                                                + ///

                                                                                If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                                                                                ///

                                                                                Only one of the Capabilities and ResourceType parameters can be specified.

                                                                                ///
                                                                                pub fn resource_types(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { @@ -553,7 +553,7 @@ impl UpdateStackInputBuilder { self } ///

                                                                                The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

                                                                                - ///

                                                                                If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                                                                                + ///

                                                                                If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                                                                                ///

                                                                                Only one of the Capabilities and ResourceType parameters can be specified.

                                                                                ///
                                                                                pub fn set_resource_types(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { @@ -561,25 +561,25 @@ impl UpdateStackInputBuilder { self } ///

                                                                                The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

                                                                                - ///

                                                                                If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                                                                                + ///

                                                                                If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                                                                                ///

                                                                                Only one of the Capabilities and ResourceType parameters can be specified.

                                                                                ///
                                                                                pub fn get_resource_types(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.resource_types } - ///

                                                                                The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                                + ///

                                                                                The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                                ///

                                                                                If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

                                                                                pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.role_arn = ::std::option::Option::Some(input.into()); self } - ///

                                                                                The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                                + ///

                                                                                The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                                ///

                                                                                If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

                                                                                pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.role_arn = input; self } - ///

                                                                                The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                                + ///

                                                                                The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                                ///

                                                                                If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

                                                                                pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { &self.role_arn diff --git a/sdk/cloudformation/src/operation/update_stack/builders.rs b/sdk/cloudformation/src/operation/update_stack/builders.rs index 71cbf08ad54c..8e560ffa9c82 100644 --- a/sdk/cloudformation/src/operation/update_stack/builders.rs +++ b/sdk/cloudformation/src/operation/update_stack/builders.rs @@ -24,7 +24,7 @@ impl crate::operation::update_stack::builders::UpdateStackInputBuilder { /// ///

                                                                                Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack through the DescribeStacks action.

                                                                                ///

                                                                                To get a copy of the template for an existing stack, you can use the GetTemplate action.

                                                                                -///

                                                                                For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack.

                                                                                +///

                                                                                For more information about updating a stack and monitoring the progress of the update, see Managing Amazon Web Services resources as a single unit with CloudFormation stacks in the CloudFormation User Guide.

                                                                                #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct UpdateStackFluentBuilder { handle: ::std::sync::Arc, @@ -124,36 +124,36 @@ impl UpdateStackFluentBuilder { pub fn get_stack_name(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_stack_name() } - ///

                                                                                Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                                + ///

                                                                                Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                ///

                                                                                Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                                pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_body(input.into()); self } - ///

                                                                                Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                                + ///

                                                                                Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                ///

                                                                                Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                                pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_body(input); self } - ///

                                                                                Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

                                                                                + ///

                                                                                Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                ///

                                                                                Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                                pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_body() } - ///

                                                                                Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                                + ///

                                                                                Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                                ///

                                                                                Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                                pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_url(input.into()); self } - ///

                                                                                Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                                + ///

                                                                                Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                                ///

                                                                                Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                                pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_url(input); self } - ///

                                                                                Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                                + ///

                                                                                Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                                ///

                                                                                Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

                                                                                pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_url() @@ -237,7 +237,7 @@ impl UpdateStackFluentBuilder { ///
                                                                                  ///
                                                                                • ///

                                                                                  CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                                  - ///

                                                                                  Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                  + ///

                                                                                  Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                  ///

                                                                                  The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                                  /// ///

                                                                                  Only one of the Capabilities and ResourceType parameters can be specified.

                                                                                  ///
                                                                                  @@ -284,7 +284,7 @@ impl UpdateStackFluentBuilder { ///
                                                                                    ///
                                                                                  • ///

                                                                                    CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                                    - ///

                                                                                    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                    + ///

                                                                                    Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                    ///

                                                                                    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                                    /// ///

                                                                                    Only one of the Capabilities and ResourceType parameters can be specified.

                                                                                    ///
                                                                                    @@ -331,7 +331,7 @@ impl UpdateStackFluentBuilder { ///
                                                                                      ///
                                                                                    • ///

                                                                                      CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                                      - ///

                                                                                      Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                      + ///

                                                                                      Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                      ///

                                                                                      The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                                      /// ///

                                                                                      Only one of the Capabilities and ResourceType parameters can be specified.

                                                                                      ///
                                                                                      @@ -379,7 +379,7 @@ impl UpdateStackFluentBuilder { /// To override the contents of this collection use [`set_resource_types`](Self::set_resource_types). /// ///

                                                                                      The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

                                                                                      - ///

                                                                                      If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                                                                                      + ///

                                                                                      If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                                                                                      ///

                                                                                      Only one of the Capabilities and ResourceType parameters can be specified.

                                                                                      ///
                                                                                      pub fn resource_types(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { @@ -387,7 +387,7 @@ impl UpdateStackFluentBuilder { self } ///

                                                                                      The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

                                                                                      - ///

                                                                                      If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                                                                                      + ///

                                                                                      If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                                                                                      ///

                                                                                      Only one of the Capabilities and ResourceType parameters can be specified.

                                                                                      ///
                                                                                      pub fn set_resource_types(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { @@ -395,25 +395,25 @@ impl UpdateStackFluentBuilder { self } ///

                                                                                      The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

                                                                                      - ///

                                                                                      If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

                                                                                      + ///

                                                                                      If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control access with Identity and Access Management.

                                                                                      ///

                                                                                      Only one of the Capabilities and ResourceType parameters can be specified.

                                                                                      ///
                                                                                      pub fn get_resource_types(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { self.inner.get_resource_types() } - ///

                                                                                      The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                                      + ///

                                                                                      The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                                      ///

                                                                                      If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

                                                                                      pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); self } - ///

                                                                                      The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                                      + ///

                                                                                      The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                                      ///

                                                                                      If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

                                                                                      pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_role_arn(input); self } - ///

                                                                                      The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                                      + ///

                                                                                      The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

                                                                                      ///

                                                                                      If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

                                                                                      pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_role_arn() diff --git a/sdk/cloudformation/src/operation/update_stack_set/_update_stack_set_input.rs b/sdk/cloudformation/src/operation/update_stack_set/_update_stack_set_input.rs index 9f8e698bd384..0ede2c61d53b 100644 --- a/sdk/cloudformation/src/operation/update_stack_set/_update_stack_set_input.rs +++ b/sdk/cloudformation/src/operation/update_stack_set/_update_stack_set_input.rs @@ -7,10 +7,10 @@ pub struct UpdateStackSetInput { pub stack_set_name: ::std::option::Option<::std::string::String>, ///

                                                                                      A brief description of updates that you are making.

                                                                                      pub description: ::std::option::Option<::std::string::String>, - ///

                                                                                      The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                      + ///

                                                                                      The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                      ///

                                                                                      Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                      pub template_body: ::std::option::Option<::std::string::String>, - ///

                                                                                      The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                      + ///

                                                                                      The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document.

                                                                                      ///

                                                                                      Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                      pub template_url: ::std::option::Option<::std::string::String>, ///

                                                                                      Use the existing template that's associated with the stack set that you're updating.

                                                                                      @@ -22,7 +22,7 @@ pub struct UpdateStackSetInput { ///
                                                                                        ///
                                                                                      • ///

                                                                                        CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                                        - ///

                                                                                        Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                        + ///

                                                                                        Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                        ///

                                                                                        The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                                        ///
                                                                                          ///
                                                                                        • @@ -35,21 +35,21 @@ pub struct UpdateStackSetInput { ///

                                                                                          If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                                                          /// - ///

                                                                                          For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                        • + ///

                                                                                          For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                          ///
                                                                                        • ///

                                                                                          CAPABILITY_AUTO_EXPAND

                                                                                          ///

                                                                                          Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                                                          @@ -129,12 +129,12 @@ impl UpdateStackSetInput { pub fn description(&self) -> ::std::option::Option<&str> { self.description.as_deref() } - ///

                                                                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                          + ///

                                                                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                          ///

                                                                                          Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                          pub fn template_body(&self) -> ::std::option::Option<&str> { self.template_body.as_deref() } - ///

                                                                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                          + ///

                                                                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document.

                                                                                          ///

                                                                                          Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                          pub fn template_url(&self) -> ::std::option::Option<&str> { self.template_url.as_deref() @@ -154,7 +154,7 @@ impl UpdateStackSetInput { ///
                                                                                            ///
                                                                                          • ///

                                                                                            CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                                            - ///

                                                                                            Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                            + ///

                                                                                            Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                            ///

                                                                                            The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                                            ///
                                                                                              ///
                                                                                            • @@ -167,21 +167,21 @@ impl UpdateStackSetInput { ///

                                                                                              If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                                                              /// - ///

                                                                                              For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                            • + ///

                                                                                              For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                              ///
                                                                                            • ///

                                                                                              CAPABILITY_AUTO_EXPAND

                                                                                              ///

                                                                                              Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                                                              @@ -347,36 +347,36 @@ impl UpdateStackSetInputBuilder { pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { &self.description } - ///

                                                                                              The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                              + ///

                                                                                              The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                              ///

                                                                                              Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                              pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_body = ::std::option::Option::Some(input.into()); self } - ///

                                                                                              The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                              + ///

                                                                                              The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                              ///

                                                                                              Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                              pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_body = input; self } - ///

                                                                                              The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                              + ///

                                                                                              The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                              ///

                                                                                              Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                              pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { &self.template_body } - ///

                                                                                              The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                              + ///

                                                                                              The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document.

                                                                                              ///

                                                                                              Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                              pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_url = ::std::option::Option::Some(input.into()); self } - ///

                                                                                              The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                              + ///

                                                                                              The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document.

                                                                                              ///

                                                                                              Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                              pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_url = input; self } - ///

                                                                                              The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                              + ///

                                                                                              The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document.

                                                                                              ///

                                                                                              Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                              pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { &self.template_url @@ -426,7 +426,7 @@ impl UpdateStackSetInputBuilder { ///
                                                                                                ///
                                                                                              • ///

                                                                                                CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                                                - ///

                                                                                                Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                                + ///

                                                                                                Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                                ///

                                                                                                The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                                                ///
                                                                                                  ///
                                                                                                • @@ -439,21 +439,21 @@ impl UpdateStackSetInputBuilder { ///

                                                                                                  If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                                                                  /// - ///

                                                                                                  For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                • + ///

                                                                                                  For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                  ///
                                                                                                • ///

                                                                                                  CAPABILITY_AUTO_EXPAND

                                                                                                  ///

                                                                                                  Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                                                                  @@ -470,7 +470,7 @@ impl UpdateStackSetInputBuilder { ///
                                                                                                    ///
                                                                                                  • ///

                                                                                                    CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                                                    - ///

                                                                                                    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                                    + ///

                                                                                                    Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                                    ///

                                                                                                    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                                                    ///
                                                                                                      ///
                                                                                                    • @@ -483,21 +483,21 @@ impl UpdateStackSetInputBuilder { ///

                                                                                                      If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                                                                      /// - ///

                                                                                                      For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                    • + ///

                                                                                                      For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                      ///
                                                                                                    • ///

                                                                                                      CAPABILITY_AUTO_EXPAND

                                                                                                      ///

                                                                                                      Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                                                                      @@ -512,7 +512,7 @@ impl UpdateStackSetInputBuilder { ///
                                                                                                        ///
                                                                                                      • ///

                                                                                                        CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                                                        - ///

                                                                                                        Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                                        + ///

                                                                                                        Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                                        ///

                                                                                                        The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                                                        ///
                                                                                                          ///
                                                                                                        • @@ -525,21 +525,21 @@ impl UpdateStackSetInputBuilder { ///

                                                                                                          If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                                                                          /// - ///

                                                                                                          For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                        • + ///

                                                                                                          For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                          ///
                                                                                                        • ///

                                                                                                          CAPABILITY_AUTO_EXPAND

                                                                                                          ///

                                                                                                          Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                                                                          diff --git a/sdk/cloudformation/src/operation/update_stack_set/builders.rs b/sdk/cloudformation/src/operation/update_stack_set/builders.rs index 11512a732bc0..6f3b28a9fd80 100644 --- a/sdk/cloudformation/src/operation/update_stack_set/builders.rs +++ b/sdk/cloudformation/src/operation/update_stack_set/builders.rs @@ -137,36 +137,36 @@ impl UpdateStackSetFluentBuilder { pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_description() } - ///

                                                                                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                                          + ///

                                                                                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                                          ///

                                                                                                          Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                                          pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_body(input.into()); self } - ///

                                                                                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                                          + ///

                                                                                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                                          ///

                                                                                                          Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                                          pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_body(input); self } - ///

                                                                                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                                          + ///

                                                                                                          The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                                          ///

                                                                                                          Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                                          pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_body() } - ///

                                                                                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                                          + ///

                                                                                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document.

                                                                                                          ///

                                                                                                          Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                                          pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_url(input.into()); self } - ///

                                                                                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                                          + ///

                                                                                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document.

                                                                                                          ///

                                                                                                          Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                                          pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_url(input); self } - ///

                                                                                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

                                                                                                          + ///

                                                                                                          The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document.

                                                                                                          ///

                                                                                                          Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

                                                                                                          pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_url() @@ -216,7 +216,7 @@ impl UpdateStackSetFluentBuilder { ///
                                                                                                            ///
                                                                                                          • ///

                                                                                                            CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                                                            - ///

                                                                                                            Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                                            + ///

                                                                                                            Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                                            ///

                                                                                                            The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                                                            ///
                                                                                                              ///
                                                                                                            • @@ -229,21 +229,21 @@ impl UpdateStackSetFluentBuilder { ///

                                                                                                              If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                                                                              /// - ///

                                                                                                              For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                            • + ///

                                                                                                              For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                              ///
                                                                                                            • ///

                                                                                                              CAPABILITY_AUTO_EXPAND

                                                                                                              ///

                                                                                                              Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                                                                              @@ -258,7 +258,7 @@ impl UpdateStackSetFluentBuilder { ///
                                                                                                                ///
                                                                                                              • ///

                                                                                                                CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                                                                - ///

                                                                                                                Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                                                + ///

                                                                                                                Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                                                ///

                                                                                                                The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                                                                ///
                                                                                                                  ///
                                                                                                                • @@ -271,21 +271,21 @@ impl UpdateStackSetFluentBuilder { ///

                                                                                                                  If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                                                                                  /// - ///

                                                                                                                  For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                                • + ///

                                                                                                                  For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                                  ///
                                                                                                                • ///

                                                                                                                  CAPABILITY_AUTO_EXPAND

                                                                                                                  ///

                                                                                                                  Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                                                                                  @@ -300,7 +300,7 @@ impl UpdateStackSetFluentBuilder { ///
                                                                                                                    ///
                                                                                                                  • ///

                                                                                                                    CAPABILITY_IAM and CAPABILITY_NAMED_IAM

                                                                                                                    - ///

                                                                                                                    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                                                    + ///

                                                                                                                    Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

                                                                                                                    ///

                                                                                                                    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

                                                                                                                    ///
                                                                                                                      ///
                                                                                                                    • @@ -313,21 +313,21 @@ impl UpdateStackSetFluentBuilder { ///

                                                                                                                      If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

                                                                                                                      /// - ///

                                                                                                                      For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                                    • + ///

                                                                                                                      For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                                      ///
                                                                                                                    • ///

                                                                                                                      CAPABILITY_AUTO_EXPAND

                                                                                                                      ///

                                                                                                                      Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

                                                                                                                      diff --git a/sdk/cloudformation/src/operation/update_termination_protection/builders.rs b/sdk/cloudformation/src/operation/update_termination_protection/builders.rs index 5d4918373010..32a441ec9f5f 100644 --- a/sdk/cloudformation/src/operation/update_termination_protection/builders.rs +++ b/sdk/cloudformation/src/operation/update_termination_protection/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::update_termination_protection::builders::UpdateTerminatio } /// Fluent builder constructing a request to `UpdateTerminationProtection`. /// -///

                                                                                                                      Updates termination protection for the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide.

                                                                                                                      +///

                                                                                                                      Updates termination protection for the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect a CloudFormation stack from being deleted in the CloudFormation User Guide.

                                                                                                                      ///

                                                                                                                      For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.

                                                                                                                      #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct UpdateTerminationProtectionFluentBuilder { diff --git a/sdk/cloudformation/src/operation/validate_template/_validate_template_input.rs b/sdk/cloudformation/src/operation/validate_template/_validate_template_input.rs index ccb9946f88f4..e294ef02cee9 100644 --- a/sdk/cloudformation/src/operation/validate_template/_validate_template_input.rs +++ b/sdk/cloudformation/src/operation/validate_template/_validate_template_input.rs @@ -4,20 +4,20 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct ValidateTemplateInput { - ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

                                                                                                                      + ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub template_body: ::std::option::Option<::std::string::String>, - ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      + ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub template_url: ::std::option::Option<::std::string::String>, } impl ValidateTemplateInput { - ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

                                                                                                                      + ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn template_body(&self) -> ::std::option::Option<&str> { self.template_body.as_deref() } - ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      + ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn template_url(&self) -> ::std::option::Option<&str> { self.template_url.as_deref() @@ -38,36 +38,36 @@ pub struct ValidateTemplateInputBuilder { pub(crate) template_url: ::std::option::Option<::std::string::String>, } impl ValidateTemplateInputBuilder { - ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

                                                                                                                      + ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_body = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

                                                                                                                      + ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_body = input; self } - ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

                                                                                                                      + ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { &self.template_body } - ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      + ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.template_url = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      + ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.template_url = input; self } - ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      + ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { &self.template_url diff --git a/sdk/cloudformation/src/operation/validate_template/_validate_template_output.rs b/sdk/cloudformation/src/operation/validate_template/_validate_template_output.rs index 0bb77ba1d350..bdf764bdae56 100644 --- a/sdk/cloudformation/src/operation/validate_template/_validate_template_output.rs +++ b/sdk/cloudformation/src/operation/validate_template/_validate_template_output.rs @@ -9,7 +9,7 @@ pub struct ValidateTemplateOutput { ///

                                                                                                                      The description found within the template.

                                                                                                                      pub description: ::std::option::Option<::std::string::String>, ///

                                                                                                                      The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

                                                                                                                      - ///

                                                                                                                      For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                                      + ///

                                                                                                                      For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                                      pub capabilities: ::std::option::Option<::std::vec::Vec>, ///

                                                                                                                      The list of resources that generated the values in the Capabilities response element.

                                                                                                                      pub capabilities_reason: ::std::option::Option<::std::string::String>, @@ -29,7 +29,7 @@ impl ValidateTemplateOutput { self.description.as_deref() } ///

                                                                                                                      The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

                                                                                                                      - ///

                                                                                                                      For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                                      + ///

                                                                                                                      For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                                      /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.capabilities.is_none()`. pub fn capabilities(&self) -> &[crate::types::Capability] { @@ -109,7 +109,7 @@ impl ValidateTemplateOutputBuilder { /// To override the contents of this collection use [`set_capabilities`](Self::set_capabilities). /// ///

                                                                                                                      The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

                                                                                                                      - ///

                                                                                                                      For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                                      + ///

                                                                                                                      For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                                      pub fn capabilities(mut self, input: crate::types::Capability) -> Self { let mut v = self.capabilities.unwrap_or_default(); v.push(input); @@ -117,13 +117,13 @@ impl ValidateTemplateOutputBuilder { self } ///

                                                                                                                      The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

                                                                                                                      - ///

                                                                                                                      For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                                      + ///

                                                                                                                      For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                                      pub fn set_capabilities(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { self.capabilities = input; self } ///

                                                                                                                      The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

                                                                                                                      - ///

                                                                                                                      For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                                      + ///

                                                                                                                      For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                                      pub fn get_capabilities(&self) -> &::std::option::Option<::std::vec::Vec> { &self.capabilities } diff --git a/sdk/cloudformation/src/operation/validate_template/builders.rs b/sdk/cloudformation/src/operation/validate_template/builders.rs index e06aadfbe4f0..ffdc22f33c5c 100644 --- a/sdk/cloudformation/src/operation/validate_template/builders.rs +++ b/sdk/cloudformation/src/operation/validate_template/builders.rs @@ -108,36 +108,36 @@ impl ValidateTemplateFluentBuilder { self.config_override = config_override; self } - ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

                                                                                                                      + ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn template_body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_body(input.into()); self } - ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

                                                                                                                      + ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn set_template_body(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_body(input); self } - ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

                                                                                                                      + ///

                                                                                                                      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn get_template_body(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_body() } - ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      + ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn template_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_url(input.into()); self } - ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      + ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn set_template_url(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_template_url(input); self } - ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      + ///

                                                                                                                      Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

                                                                                                                      ///

                                                                                                                      Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

                                                                                                                      pub fn get_template_url(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_template_url() diff --git a/sdk/cloudformation/src/types/_account_limit.rs b/sdk/cloudformation/src/types/_account_limit.rs index d82102ac2461..4587bf85bff9 100644 --- a/sdk/cloudformation/src/types/_account_limit.rs +++ b/sdk/cloudformation/src/types/_account_limit.rs @@ -10,7 +10,7 @@ ///
                                                                                                                    • ///

                                                                                                                      Number of stack outputs

                                                                                                                    • ///
                                                                                                                    -///

                                                                                                                    For more information about these account limits, and other CloudFormation limits, see CloudFormation quotas in the CloudFormation User Guide.

                                                                                                                    +///

                                                                                                                    For more information about these account limits, and other CloudFormation limits, see Understand CloudFormation quotas in the CloudFormation User Guide.

                                                                                                                    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct AccountLimit { diff --git a/sdk/cloudformation/src/types/_module_info.rs b/sdk/cloudformation/src/types/_module_info.rs index 925f154db249..6255b17050d9 100644 --- a/sdk/cloudformation/src/types/_module_info.rs +++ b/sdk/cloudformation/src/types/_module_info.rs @@ -1,7 +1,7 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. ///

                                                                                                                    Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

                                                                                                                    -///

                                                                                                                    For more information about modules, see Using modules to encapsulate and reuse resource configurations in the CloudFormation User Guide.

                                                                                                                    +///

                                                                                                                    For more information about modules, see Create reusable resource configurations that can be included across templates with CloudFormation modules in the CloudFormation User Guide.

                                                                                                                    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct ModuleInfo { @@ -12,7 +12,7 @@ pub struct ModuleInfo { ///

                                                                                                                    A concatenated list of the logical IDs of the module or modules containing the resource. Modules are listed starting with the inner-most nested module, and separated by /.

                                                                                                                    ///

                                                                                                                    In the following example, the resource was created from a module, moduleA, that's nested inside a parent module, moduleB.

                                                                                                                    ///

                                                                                                                    moduleA/moduleB

                                                                                                                    - ///

                                                                                                                    For more information, see Referencing resources in a module in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    For more information, see Reference module resources in CloudFormation templates in the CloudFormation User Guide.

                                                                                                                    pub logical_id_hierarchy: ::std::option::Option<::std::string::String>, } impl ModuleInfo { @@ -25,7 +25,7 @@ impl ModuleInfo { ///

                                                                                                                    A concatenated list of the logical IDs of the module or modules containing the resource. Modules are listed starting with the inner-most nested module, and separated by /.

                                                                                                                    ///

                                                                                                                    In the following example, the resource was created from a module, moduleA, that's nested inside a parent module, moduleB.

                                                                                                                    ///

                                                                                                                    moduleA/moduleB

                                                                                                                    - ///

                                                                                                                    For more information, see Referencing resources in a module in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    For more information, see Reference module resources in CloudFormation templates in the CloudFormation User Guide.

                                                                                                                    pub fn logical_id_hierarchy(&self) -> ::std::option::Option<&str> { self.logical_id_hierarchy.as_deref() } @@ -68,7 +68,7 @@ impl ModuleInfoBuilder { ///

                                                                                                                    A concatenated list of the logical IDs of the module or modules containing the resource. Modules are listed starting with the inner-most nested module, and separated by /.

                                                                                                                    ///

                                                                                                                    In the following example, the resource was created from a module, moduleA, that's nested inside a parent module, moduleB.

                                                                                                                    ///

                                                                                                                    moduleA/moduleB

                                                                                                                    - ///

                                                                                                                    For more information, see Referencing resources in a module in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    For more information, see Reference module resources in CloudFormation templates in the CloudFormation User Guide.

                                                                                                                    pub fn logical_id_hierarchy(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.logical_id_hierarchy = ::std::option::Option::Some(input.into()); self @@ -76,7 +76,7 @@ impl ModuleInfoBuilder { ///

                                                                                                                    A concatenated list of the logical IDs of the module or modules containing the resource. Modules are listed starting with the inner-most nested module, and separated by /.

                                                                                                                    ///

                                                                                                                    In the following example, the resource was created from a module, moduleA, that's nested inside a parent module, moduleB.

                                                                                                                    ///

                                                                                                                    moduleA/moduleB

                                                                                                                    - ///

                                                                                                                    For more information, see Referencing resources in a module in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    For more information, see Reference module resources in CloudFormation templates in the CloudFormation User Guide.

                                                                                                                    pub fn set_logical_id_hierarchy(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.logical_id_hierarchy = input; self @@ -84,7 +84,7 @@ impl ModuleInfoBuilder { ///

                                                                                                                    A concatenated list of the logical IDs of the module or modules containing the resource. Modules are listed starting with the inner-most nested module, and separated by /.

                                                                                                                    ///

                                                                                                                    In the following example, the resource was created from a module, moduleA, that's nested inside a parent module, moduleB.

                                                                                                                    ///

                                                                                                                    moduleA/moduleB

                                                                                                                    - ///

                                                                                                                    For more information, see Referencing resources in a module in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    For more information, see Reference module resources in CloudFormation templates in the CloudFormation User Guide.

                                                                                                                    pub fn get_logical_id_hierarchy(&self) -> &::std::option::Option<::std::string::String> { &self.logical_id_hierarchy } diff --git a/sdk/cloudformation/src/types/_parameter.rs b/sdk/cloudformation/src/types/_parameter.rs index a16a7a5ce2ba..419ab7569453 100644 --- a/sdk/cloudformation/src/types/_parameter.rs +++ b/sdk/cloudformation/src/types/_parameter.rs @@ -10,7 +10,7 @@ pub struct Parameter { pub parameter_value: ::std::option::Option<::std::string::String>, ///

                                                                                                                    During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.

                                                                                                                    pub use_previous_value: ::std::option::Option, - ///

                                                                                                                    Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.

                                                                                                                    + ///

                                                                                                                    Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for Systems Manager parameter types in the template. For more information, see Use CloudFormation-supplied parameter types in the CloudFormation User Guide.

                                                                                                                    pub resolved_value: ::std::option::Option<::std::string::String>, } impl Parameter { @@ -26,7 +26,7 @@ impl Parameter { pub fn use_previous_value(&self) -> ::std::option::Option { self.use_previous_value } - ///

                                                                                                                    Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.

                                                                                                                    + ///

                                                                                                                    Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for Systems Manager parameter types in the template. For more information, see Use CloudFormation-supplied parameter types in the CloudFormation User Guide.

                                                                                                                    pub fn resolved_value(&self) -> ::std::option::Option<&str> { self.resolved_value.as_deref() } @@ -90,17 +90,17 @@ impl ParameterBuilder { pub fn get_use_previous_value(&self) -> &::std::option::Option { &self.use_previous_value } - ///

                                                                                                                    Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.

                                                                                                                    + ///

                                                                                                                    Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for Systems Manager parameter types in the template. For more information, see Use CloudFormation-supplied parameter types in the CloudFormation User Guide.

                                                                                                                    pub fn resolved_value(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.resolved_value = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                    Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.

                                                                                                                    + ///

                                                                                                                    Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for Systems Manager parameter types in the template. For more information, see Use CloudFormation-supplied parameter types in the CloudFormation User Guide.

                                                                                                                    pub fn set_resolved_value(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.resolved_value = input; self } - ///

                                                                                                                    Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.

                                                                                                                    + ///

                                                                                                                    Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for Systems Manager parameter types in the template. For more information, see Use CloudFormation-supplied parameter types in the CloudFormation User Guide.

                                                                                                                    pub fn get_resolved_value(&self) -> &::std::option::Option<::std::string::String> { &self.resolved_value } diff --git a/sdk/cloudformation/src/types/_property_difference.rs b/sdk/cloudformation/src/types/_property_difference.rs index 682e52f7f27d..84c7c22f2ba2 100644 --- a/sdk/cloudformation/src/types/_property_difference.rs +++ b/sdk/cloudformation/src/types/_property_difference.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

                                                                                                                    Information about a resource property whose actual value differs from its expected value, as defined in the stack template and any values specified as template parameters. These will be present only for resources whose StackResourceDriftStatus is MODIFIED. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                    +///

                                                                                                                    Information about a resource property whose actual value differs from its expected value, as defined in the stack template and any values specified as template parameters. These will be present only for resources whose StackResourceDriftStatus is MODIFIED. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct PropertyDifference { diff --git a/sdk/cloudformation/src/types/_required_activated_type.rs b/sdk/cloudformation/src/types/_required_activated_type.rs index 00dfd5df6f69..dbe18f44b4fb 100644 --- a/sdk/cloudformation/src/types/_required_activated_type.rs +++ b/sdk/cloudformation/src/types/_required_activated_type.rs @@ -1,14 +1,14 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. ///

                                                                                                                    For extensions that are modules, a public third-party extension that must be activated in your account in order for the module itself to be activated.

                                                                                                                    -///

                                                                                                                    For more information, see Activating public modules for use in your account in the CloudFormation User Guide.

                                                                                                                    +///

                                                                                                                    For more information, see Requirements for activating third-party public modules in the CloudFormation User Guide.

                                                                                                                    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RequiredActivatedType { ///

                                                                                                                    An alias assigned to the public extension, in this account and Region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.

                                                                                                                    pub type_name_alias: ::std::option::Option<::std::string::String>, ///

                                                                                                                    The type name of the public extension.

                                                                                                                    - ///

                                                                                                                    If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                                    pub original_type_name: ::std::option::Option<::std::string::String>, ///

                                                                                                                    The publisher ID of the extension publisher.

                                                                                                                    pub publisher_id: ::std::option::Option<::std::string::String>, @@ -21,7 +21,7 @@ impl RequiredActivatedType { self.type_name_alias.as_deref() } ///

                                                                                                                    The type name of the public extension.

                                                                                                                    - ///

                                                                                                                    If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                                    pub fn original_type_name(&self) -> ::std::option::Option<&str> { self.original_type_name.as_deref() } @@ -68,19 +68,19 @@ impl RequiredActivatedTypeBuilder { &self.type_name_alias } ///

                                                                                                                    The type name of the public extension.

                                                                                                                    - ///

                                                                                                                    If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                                    pub fn original_type_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.original_type_name = ::std::option::Option::Some(input.into()); self } ///

                                                                                                                    The type name of the public extension.

                                                                                                                    - ///

                                                                                                                    If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                                    pub fn set_original_type_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.original_type_name = input; self } ///

                                                                                                                    The type name of the public extension.

                                                                                                                    - ///

                                                                                                                    If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                                    pub fn get_original_type_name(&self) -> &::std::option::Option<::std::string::String> { &self.original_type_name } diff --git a/sdk/cloudformation/src/types/_resource_change.rs b/sdk/cloudformation/src/types/_resource_change.rs index 5079e0319ebe..fca7fb1782f1 100644 --- a/sdk/cloudformation/src/types/_resource_change.rs +++ b/sdk/cloudformation/src/types/_resource_change.rs @@ -28,8 +28,8 @@ pub struct ResourceChange { pub physical_resource_id: ::std::option::Option<::std::string::String>, ///

                                                                                                                    The type of CloudFormation resource, such as AWS::S3::Bucket.

                                                                                                                    pub resource_type: ::std::option::Option<::std::string::String>, - ///

                                                                                                                    For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditionally.

                                                                                                                    - ///

                                                                                                                    If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditionally, and then Never.

                                                                                                                    + ///

                                                                                                                    For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditional.

                                                                                                                    + ///

                                                                                                                    If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditional, and then Never.

                                                                                                                    pub replacement: ::std::option::Option, ///

                                                                                                                    For the Modify action, indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.

                                                                                                                    pub scope: ::std::option::Option<::std::vec::Vec>, @@ -79,8 +79,8 @@ impl ResourceChange { pub fn resource_type(&self) -> ::std::option::Option<&str> { self.resource_type.as_deref() } - ///

                                                                                                                    For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditionally.

                                                                                                                    - ///

                                                                                                                    If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditionally, and then Never.

                                                                                                                    + ///

                                                                                                                    For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditional.

                                                                                                                    + ///

                                                                                                                    If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditional, and then Never.

                                                                                                                    pub fn replacement(&self) -> ::std::option::Option<&crate::types::Replacement> { self.replacement.as_ref() } @@ -250,20 +250,20 @@ impl ResourceChangeBuilder { pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { &self.resource_type } - ///

                                                                                                                    For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditionally.

                                                                                                                    - ///

                                                                                                                    If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditionally, and then Never.

                                                                                                                    + ///

                                                                                                                    For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditional.

                                                                                                                    + ///

                                                                                                                    If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditional, and then Never.

                                                                                                                    pub fn replacement(mut self, input: crate::types::Replacement) -> Self { self.replacement = ::std::option::Option::Some(input); self } - ///

                                                                                                                    For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditionally.

                                                                                                                    - ///

                                                                                                                    If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditionally, and then Never.

                                                                                                                    + ///

                                                                                                                    For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditional.

                                                                                                                    + ///

                                                                                                                    If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditional, and then Never.

                                                                                                                    pub fn set_replacement(mut self, input: ::std::option::Option) -> Self { self.replacement = input; self } - ///

                                                                                                                    For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditionally.

                                                                                                                    - ///

                                                                                                                    If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditionally, and then Never.

                                                                                                                    + ///

                                                                                                                    For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditional.

                                                                                                                    + ///

                                                                                                                    If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditional, and then Never.

                                                                                                                    pub fn get_replacement(&self) -> &::std::option::Option { &self.replacement } diff --git a/sdk/cloudformation/src/types/_resource_definition.rs b/sdk/cloudformation/src/types/_resource_definition.rs index f94ec106a51f..f28b0f07d636 100644 --- a/sdk/cloudformation/src/types/_resource_definition.rs +++ b/sdk/cloudformation/src/types/_resource_definition.rs @@ -4,15 +4,15 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct ResourceDefinition { - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types in the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection in the CloudFormation User Guide

                                                                                                                    pub resource_type: ::std::option::Option<::std::string::String>, ///

                                                                                                                    The logical resource id for this resource in the generated template.

                                                                                                                    pub logical_resource_id: ::std::option::Option<::std::string::String>, - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub resource_identifier: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, } impl ResourceDefinition { - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types in the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection in the CloudFormation User Guide

                                                                                                                    pub fn resource_type(&self) -> ::std::option::Option<&str> { self.resource_type.as_deref() } @@ -20,7 +20,7 @@ impl ResourceDefinition { pub fn logical_resource_id(&self) -> ::std::option::Option<&str> { self.logical_resource_id.as_deref() } - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn resource_identifier(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> { self.resource_identifier.as_ref() } @@ -41,18 +41,18 @@ pub struct ResourceDefinitionBuilder { pub(crate) resource_identifier: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, } impl ResourceDefinitionBuilder { - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types in the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection in the CloudFormation User Guide

                                                                                                                    /// This field is required. pub fn resource_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.resource_type = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types in the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection in the CloudFormation User Guide

                                                                                                                    pub fn set_resource_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.resource_type = input; self } - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types in the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection in the CloudFormation User Guide

                                                                                                                    pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { &self.resource_type } @@ -74,7 +74,7 @@ impl ResourceDefinitionBuilder { /// /// To override the contents of this collection use [`set_resource_identifier`](Self::set_resource_identifier). /// - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn resource_identifier( mut self, k: impl ::std::convert::Into<::std::string::String>, @@ -85,7 +85,7 @@ impl ResourceDefinitionBuilder { self.resource_identifier = ::std::option::Option::Some(hash_map); self } - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn set_resource_identifier( mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, @@ -93,7 +93,7 @@ impl ResourceDefinitionBuilder { self.resource_identifier = input; self } - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn get_resource_identifier(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> { &self.resource_identifier } diff --git a/sdk/cloudformation/src/types/_resource_detail.rs b/sdk/cloudformation/src/types/_resource_detail.rs index 5ec1164137af..c7b23f6e2621 100644 --- a/sdk/cloudformation/src/types/_resource_detail.rs +++ b/sdk/cloudformation/src/types/_resource_detail.rs @@ -4,11 +4,11 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct ResourceDetail { - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types In the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide

                                                                                                                    pub resource_type: ::std::option::Option<::std::string::String>, ///

                                                                                                                    The logical id for this resource in the final generated template.

                                                                                                                    pub logical_resource_id: ::std::option::Option<::std::string::String>, - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub resource_identifier: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, ///

                                                                                                                    Status of the processing of a resource in a generated template.

                                                                                                                    ///
                                                                                                                    @@ -44,7 +44,7 @@ pub struct ResourceDetail { pub warnings: ::std::option::Option<::std::vec::Vec>, } impl ResourceDetail { - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types In the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide

                                                                                                                    pub fn resource_type(&self) -> ::std::option::Option<&str> { self.resource_type.as_deref() } @@ -52,7 +52,7 @@ impl ResourceDetail { pub fn logical_resource_id(&self) -> ::std::option::Option<&str> { self.logical_resource_id.as_deref() } - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn resource_identifier(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> { self.resource_identifier.as_ref() } @@ -116,17 +116,17 @@ pub struct ResourceDetailBuilder { pub(crate) warnings: ::std::option::Option<::std::vec::Vec>, } impl ResourceDetailBuilder { - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types In the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide

                                                                                                                    pub fn resource_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.resource_type = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types In the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide

                                                                                                                    pub fn set_resource_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.resource_type = input; self } - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types In the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide

                                                                                                                    pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { &self.resource_type } @@ -148,7 +148,7 @@ impl ResourceDetailBuilder { /// /// To override the contents of this collection use [`set_resource_identifier`](Self::set_resource_identifier). /// - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn resource_identifier( mut self, k: impl ::std::convert::Into<::std::string::String>, @@ -159,7 +159,7 @@ impl ResourceDetailBuilder { self.resource_identifier = ::std::option::Option::Some(hash_map); self } - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn set_resource_identifier( mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, @@ -167,7 +167,7 @@ impl ResourceDetailBuilder { self.resource_identifier = input; self } - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn get_resource_identifier(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> { &self.resource_identifier } diff --git a/sdk/cloudformation/src/types/_resource_target_definition.rs b/sdk/cloudformation/src/types/_resource_target_definition.rs index b2413ee80d96..422c8f56f523 100644 --- a/sdk/cloudformation/src/types/_resource_target_definition.rs +++ b/sdk/cloudformation/src/types/_resource_target_definition.rs @@ -8,7 +8,7 @@ pub struct ResourceTargetDefinition { pub attribute: ::std::option::Option, ///

                                                                                                                    If the Attribute value is Properties, the name of the property. For all other attributes, the value is null.

                                                                                                                    pub name: ::std::option::Option<::std::string::String>, - ///

                                                                                                                    If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                    pub requires_recreation: ::std::option::Option, ///

                                                                                                                    The property path of the property.

                                                                                                                    pub path: ::std::option::Option<::std::string::String>, @@ -36,7 +36,7 @@ impl ResourceTargetDefinition { pub fn name(&self) -> ::std::option::Option<&str> { self.name.as_deref() } - ///

                                                                                                                    If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                    pub fn requires_recreation(&self) -> ::std::option::Option<&crate::types::RequiresRecreation> { self.requires_recreation.as_ref() } @@ -113,17 +113,17 @@ impl ResourceTargetDefinitionBuilder { pub fn get_name(&self) -> &::std::option::Option<::std::string::String> { &self.name } - ///

                                                                                                                    If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                    pub fn requires_recreation(mut self, input: crate::types::RequiresRecreation) -> Self { self.requires_recreation = ::std::option::Option::Some(input); self } - ///

                                                                                                                    If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                    pub fn set_requires_recreation(mut self, input: ::std::option::Option) -> Self { self.requires_recreation = input; self } - ///

                                                                                                                    If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                    pub fn get_requires_recreation(&self) -> &::std::option::Option { &self.requires_recreation } diff --git a/sdk/cloudformation/src/types/_resource_to_import.rs b/sdk/cloudformation/src/types/_resource_to_import.rs index 11e733e06b21..7f834f4ab911 100644 --- a/sdk/cloudformation/src/types/_resource_to_import.rs +++ b/sdk/cloudformation/src/types/_resource_to_import.rs @@ -4,7 +4,7 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct ResourceToImport { - ///

                                                                                                                    The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resources that support import operations in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resource type support for imports and drift detection in the CloudFormation User Guide.

                                                                                                                    pub resource_type: ::std::option::Option<::std::string::String>, ///

                                                                                                                    The logical ID of the target resource as specified in the template.

                                                                                                                    pub logical_resource_id: ::std::option::Option<::std::string::String>, @@ -12,7 +12,7 @@ pub struct ResourceToImport { pub resource_identifier: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, } impl ResourceToImport { - ///

                                                                                                                    The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resources that support import operations in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resource type support for imports and drift detection in the CloudFormation User Guide.

                                                                                                                    pub fn resource_type(&self) -> ::std::option::Option<&str> { self.resource_type.as_deref() } @@ -41,18 +41,18 @@ pub struct ResourceToImportBuilder { pub(crate) resource_identifier: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, } impl ResourceToImportBuilder { - ///

                                                                                                                    The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resources that support import operations in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resource type support for imports and drift detection in the CloudFormation User Guide.

                                                                                                                    /// This field is required. pub fn resource_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.resource_type = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                    The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resources that support import operations in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resource type support for imports and drift detection in the CloudFormation User Guide.

                                                                                                                    pub fn set_resource_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.resource_type = input; self } - ///

                                                                                                                    The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resources that support import operations in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resource type support for imports and drift detection in the CloudFormation User Guide.

                                                                                                                    pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { &self.resource_type } diff --git a/sdk/cloudformation/src/types/_rollback_configuration.rs b/sdk/cloudformation/src/types/_rollback_configuration.rs index 81ccd5a36825..7a75bca6993f 100644 --- a/sdk/cloudformation/src/types/_rollback_configuration.rs +++ b/sdk/cloudformation/src/types/_rollback_configuration.rs @@ -1,7 +1,7 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. ///

                                                                                                                    Structure containing the rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.

                                                                                                                    -///

                                                                                                                    Rollback triggers enable you to have CloudFormation monitor the state of your application during stack creation and updating, and to roll back that operation if the application breaches the threshold of any of the alarms you've specified. For more information, see Monitor and Roll Back Stack Operations.

                                                                                                                    +///

                                                                                                                    Rollback triggers enable you to have CloudFormation monitor the state of your application during stack creation and updating, and to roll back that operation if the application breaches the threshold of any of the alarms you've specified. For more information, see Roll back your CloudFormation stack on alarm breach with rollback triggers.

                                                                                                                    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RollbackConfiguration { diff --git a/sdk/cloudformation/src/types/_rollback_trigger.rs b/sdk/cloudformation/src/types/_rollback_trigger.rs index 2671306be50c..eafd0c67f3de 100644 --- a/sdk/cloudformation/src/types/_rollback_trigger.rs +++ b/sdk/cloudformation/src/types/_rollback_trigger.rs @@ -7,7 +7,7 @@ pub struct RollbackTrigger { ///

                                                                                                                    The Amazon Resource Name (ARN) of the rollback trigger.

                                                                                                                    ///

                                                                                                                    If a specified trigger is missing, the entire stack operation fails and is rolled back.

                                                                                                                    pub arn: ::std::option::Option<::std::string::String>, - ///

                                                                                                                    The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

                                                                                                                    + ///

                                                                                                                    The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

                                                                                                                    pub r#type: ::std::option::Option<::std::string::String>, } impl RollbackTrigger { @@ -16,7 +16,7 @@ impl RollbackTrigger { pub fn arn(&self) -> ::std::option::Option<&str> { self.arn.as_deref() } - ///

                                                                                                                    The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

                                                                                                                    + ///

                                                                                                                    The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

                                                                                                                    pub fn r#type(&self) -> ::std::option::Option<&str> { self.r#type.as_deref() } @@ -54,18 +54,18 @@ impl RollbackTriggerBuilder { pub fn get_arn(&self) -> &::std::option::Option<::std::string::String> { &self.arn } - ///

                                                                                                                    The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

                                                                                                                    + ///

                                                                                                                    The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

                                                                                                                    /// This field is required. pub fn r#type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.r#type = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                    The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

                                                                                                                    + ///

                                                                                                                    The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

                                                                                                                    pub fn set_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.r#type = input; self } - ///

                                                                                                                    The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

                                                                                                                    + ///

                                                                                                                    The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

                                                                                                                    pub fn get_type(&self) -> &::std::option::Option<::std::string::String> { &self.r#type } diff --git a/sdk/cloudformation/src/types/_scanned_resource.rs b/sdk/cloudformation/src/types/_scanned_resource.rs index d111478a359b..58771f68843d 100644 --- a/sdk/cloudformation/src/types/_scanned_resource.rs +++ b/sdk/cloudformation/src/types/_scanned_resource.rs @@ -4,19 +4,19 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct ScannedResource { - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support In the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide

                                                                                                                    pub resource_type: ::std::option::Option<::std::string::String>, - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub resource_identifier: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, ///

                                                                                                                    If true, the resource is managed by a CloudFormation stack.

                                                                                                                    pub managed_by_stack: ::std::option::Option, } impl ScannedResource { - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support In the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide

                                                                                                                    pub fn resource_type(&self) -> ::std::option::Option<&str> { self.resource_type.as_deref() } - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn resource_identifier(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> { self.resource_identifier.as_ref() } @@ -41,17 +41,17 @@ pub struct ScannedResourceBuilder { pub(crate) managed_by_stack: ::std::option::Option, } impl ScannedResourceBuilder { - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support In the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide

                                                                                                                    pub fn resource_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.resource_type = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support In the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide

                                                                                                                    pub fn set_resource_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.resource_type = input; self } - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support In the CloudFormation User Guide

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide

                                                                                                                    pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { &self.resource_type } @@ -59,7 +59,7 @@ impl ScannedResourceBuilder { /// /// To override the contents of this collection use [`set_resource_identifier`](Self::set_resource_identifier). /// - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn resource_identifier( mut self, k: impl ::std::convert::Into<::std::string::String>, @@ -70,7 +70,7 @@ impl ScannedResourceBuilder { self.resource_identifier = ::std::option::Option::Some(hash_map); self } - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn set_resource_identifier( mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, @@ -78,7 +78,7 @@ impl ScannedResourceBuilder { self.resource_identifier = input; self } - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn get_resource_identifier(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> { &self.resource_identifier } diff --git a/sdk/cloudformation/src/types/_scanned_resource_identifier.rs b/sdk/cloudformation/src/types/_scanned_resource_identifier.rs index 5ceebc9c4693..096349b1902f 100644 --- a/sdk/cloudformation/src/types/_scanned_resource_identifier.rs +++ b/sdk/cloudformation/src/types/_scanned_resource_identifier.rs @@ -4,17 +4,17 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct ScannedResourceIdentifier { - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types In the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide.

                                                                                                                    pub resource_type: ::std::option::Option<::std::string::String>, - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub resource_identifier: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, } impl ScannedResourceIdentifier { - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types In the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide.

                                                                                                                    pub fn resource_type(&self) -> ::std::option::Option<&str> { self.resource_type.as_deref() } - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn resource_identifier(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> { self.resource_identifier.as_ref() } @@ -34,18 +34,18 @@ pub struct ScannedResourceIdentifierBuilder { pub(crate) resource_identifier: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, } impl ScannedResourceIdentifierBuilder { - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types In the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide.

                                                                                                                    /// This field is required. pub fn resource_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.resource_type = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types In the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide.

                                                                                                                    pub fn set_resource_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.resource_type = input; self } - ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types In the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide.

                                                                                                                    pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { &self.resource_type } @@ -53,7 +53,7 @@ impl ScannedResourceIdentifierBuilder { /// /// To override the contents of this collection use [`set_resource_identifier`](Self::set_resource_identifier). /// - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn resource_identifier( mut self, k: impl ::std::convert::Into<::std::string::String>, @@ -64,7 +64,7 @@ impl ScannedResourceIdentifierBuilder { self.resource_identifier = ::std::option::Option::Some(hash_map); self } - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn set_resource_identifier( mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, @@ -72,7 +72,7 @@ impl ScannedResourceIdentifierBuilder { self.resource_identifier = input; self } - ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

                                                                                                                    + ///

                                                                                                                    A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                                    pub fn get_resource_identifier(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> { &self.resource_identifier } diff --git a/sdk/cloudformation/src/types/_stack.rs b/sdk/cloudformation/src/types/_stack.rs index ea1a6c895303..53b64583857f 100644 --- a/sdk/cloudformation/src/types/_stack.rs +++ b/sdk/cloudformation/src/types/_stack.rs @@ -42,20 +42,20 @@ pub struct Stack { pub capabilities: ::std::option::Option<::std::vec::Vec>, ///

                                                                                                                    A list of output structures.

                                                                                                                    pub outputs: ::std::option::Option<::std::vec::Vec>, - ///

                                                                                                                    The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

                                                                                                                    + ///

                                                                                                                    The Amazon Resource Name (ARN) of an IAM role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

                                                                                                                    pub role_arn: ::std::option::Option<::std::string::String>, ///

                                                                                                                    A list of Tags that specify information about the stack.

                                                                                                                    pub tags: ::std::option::Option<::std::vec::Vec>, ///

                                                                                                                    Whether termination protection is enabled for the stack.

                                                                                                                    - ///

                                                                                                                    For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protect a CloudFormation stack from being deleted in the CloudFormation User Guide.

                                                                                                                    pub enable_termination_protection: ::std::option::Option, ///

                                                                                                                    For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

                                                                                                                    - ///

                                                                                                                    For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                                    pub parent_id: ::std::option::Option<::std::string::String>, ///

                                                                                                                    For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

                                                                                                                    - ///

                                                                                                                    For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                                    + ///

                                                                                                                    For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                                    pub root_id: ::std::option::Option<::std::string::String>, - ///

                                                                                                                    Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                    + ///

                                                                                                                    Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                    pub drift_information: ::std::option::Option, ///

                                                                                                                    When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain.

                                                                                                                    ///

                                                                                                                    Default: false

                                                                                                                    @@ -68,7 +68,7 @@ pub struct Stack { ///

                                                                                                                    FORCE_DELETE_STACK - Delete the stack if it's stuck in a DELETE_FAILED state due to resource deletion failure.

                                                                                                                  • ///
                                                                                                                  pub deletion_mode: ::std::option::Option, - ///

                                                                                                                  The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or resource configuration phase has completed and the stabilization of the resources is in progress. The stack sets CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more information, see CloudFormation stack deployment in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or resource configuration phase has completed and the stabilization of the resources is in progress. The stack sets CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide.

                                                                                                                  pub detailed_status: ::std::option::Option, } impl Stack { @@ -150,7 +150,7 @@ impl Stack { pub fn outputs(&self) -> &[crate::types::Output] { self.outputs.as_deref().unwrap_or_default() } - ///

                                                                                                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

                                                                                                                  + ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

                                                                                                                  pub fn role_arn(&self) -> ::std::option::Option<&str> { self.role_arn.as_deref() } @@ -161,21 +161,21 @@ impl Stack { self.tags.as_deref().unwrap_or_default() } ///

                                                                                                                  Whether termination protection is enabled for the stack.

                                                                                                                  - ///

                                                                                                                  For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protect a CloudFormation stack from being deleted in the CloudFormation User Guide.

                                                                                                                  pub fn enable_termination_protection(&self) -> ::std::option::Option { self.enable_termination_protection } ///

                                                                                                                  For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

                                                                                                                  - ///

                                                                                                                  For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                                  pub fn parent_id(&self) -> ::std::option::Option<&str> { self.parent_id.as_deref() } ///

                                                                                                                  For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

                                                                                                                  - ///

                                                                                                                  For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                                  pub fn root_id(&self) -> ::std::option::Option<&str> { self.root_id.as_deref() } - ///

                                                                                                                  Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                  + ///

                                                                                                                  Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                  pub fn drift_information(&self) -> ::std::option::Option<&crate::types::StackDriftInformation> { self.drift_information.as_ref() } @@ -194,7 +194,7 @@ impl Stack { pub fn deletion_mode(&self) -> ::std::option::Option<&crate::types::DeletionMode> { self.deletion_mode.as_ref() } - ///

                                                                                                                  The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or resource configuration phase has completed and the stabilization of the resources is in progress. The stack sets CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more information, see CloudFormation stack deployment in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or resource configuration phase has completed and the stabilization of the resources is in progress. The stack sets CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide.

                                                                                                                  pub fn detailed_status(&self) -> ::std::option::Option<&crate::types::DetailedStatus> { self.detailed_status.as_ref() } @@ -506,17 +506,17 @@ impl StackBuilder { pub fn get_outputs(&self) -> &::std::option::Option<::std::vec::Vec> { &self.outputs } - ///

                                                                                                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

                                                                                                                  + ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

                                                                                                                  pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.role_arn = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

                                                                                                                  + ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

                                                                                                                  pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.role_arn = input; self } - ///

                                                                                                                  The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

                                                                                                                  + ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

                                                                                                                  pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { &self.role_arn } @@ -541,67 +541,67 @@ impl StackBuilder { &self.tags } ///

                                                                                                                  Whether termination protection is enabled for the stack.

                                                                                                                  - ///

                                                                                                                  For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protect a CloudFormation stack from being deleted in the CloudFormation User Guide.

                                                                                                                  pub fn enable_termination_protection(mut self, input: bool) -> Self { self.enable_termination_protection = ::std::option::Option::Some(input); self } ///

                                                                                                                  Whether termination protection is enabled for the stack.

                                                                                                                  - ///

                                                                                                                  For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protect a CloudFormation stack from being deleted in the CloudFormation User Guide.

                                                                                                                  pub fn set_enable_termination_protection(mut self, input: ::std::option::Option) -> Self { self.enable_termination_protection = input; self } ///

                                                                                                                  Whether termination protection is enabled for the stack.

                                                                                                                  - ///

                                                                                                                  For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protect a CloudFormation stack from being deleted in the CloudFormation User Guide.

                                                                                                                  pub fn get_enable_termination_protection(&self) -> &::std::option::Option { &self.enable_termination_protection } ///

                                                                                                                  For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

                                                                                                                  - ///

                                                                                                                  For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                                  pub fn parent_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.parent_id = ::std::option::Option::Some(input.into()); self } ///

                                                                                                                  For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

                                                                                                                  - ///

                                                                                                                  For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                                  pub fn set_parent_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.parent_id = input; self } ///

                                                                                                                  For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

                                                                                                                  - ///

                                                                                                                  For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                                  pub fn get_parent_id(&self) -> &::std::option::Option<::std::string::String> { &self.parent_id } ///

                                                                                                                  For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

                                                                                                                  - ///

                                                                                                                  For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                                  pub fn root_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.root_id = ::std::option::Option::Some(input.into()); self } ///

                                                                                                                  For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

                                                                                                                  - ///

                                                                                                                  For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                                  pub fn set_root_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.root_id = input; self } ///

                                                                                                                  For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

                                                                                                                  - ///

                                                                                                                  For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                                  pub fn get_root_id(&self) -> &::std::option::Option<::std::string::String> { &self.root_id } - ///

                                                                                                                  Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                  + ///

                                                                                                                  Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                  pub fn drift_information(mut self, input: crate::types::StackDriftInformation) -> Self { self.drift_information = ::std::option::Option::Some(input); self } - ///

                                                                                                                  Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                  + ///

                                                                                                                  Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                  pub fn set_drift_information(mut self, input: ::std::option::Option) -> Self { self.drift_information = input; self } - ///

                                                                                                                  Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                  + ///

                                                                                                                  Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                  pub fn get_drift_information(&self) -> &::std::option::Option { &self.drift_information } @@ -654,17 +654,17 @@ impl StackBuilder { pub fn get_deletion_mode(&self) -> &::std::option::Option { &self.deletion_mode } - ///

                                                                                                                  The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or resource configuration phase has completed and the stabilization of the resources is in progress. The stack sets CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more information, see CloudFormation stack deployment in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or resource configuration phase has completed and the stabilization of the resources is in progress. The stack sets CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide.

                                                                                                                  pub fn detailed_status(mut self, input: crate::types::DetailedStatus) -> Self { self.detailed_status = ::std::option::Option::Some(input); self } - ///

                                                                                                                  The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or resource configuration phase has completed and the stabilization of the resources is in progress. The stack sets CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more information, see CloudFormation stack deployment in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or resource configuration phase has completed and the stabilization of the resources is in progress. The stack sets CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide.

                                                                                                                  pub fn set_detailed_status(mut self, input: ::std::option::Option) -> Self { self.detailed_status = input; self } - ///

                                                                                                                  The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or resource configuration phase has completed and the stabilization of the resources is in progress. The stack sets CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more information, see CloudFormation stack deployment in the CloudFormation User Guide.

                                                                                                                  + ///

                                                                                                                  The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or resource configuration phase has completed and the stabilization of the resources is in progress. The stack sets CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide.

                                                                                                                  pub fn get_detailed_status(&self) -> &::std::option::Option { &self.detailed_status } diff --git a/sdk/cloudformation/src/types/_stack_event.rs b/sdk/cloudformation/src/types/_stack_event.rs index 37235cedd267..59e98c8c73c8 100644 --- a/sdk/cloudformation/src/types/_stack_event.rs +++ b/sdk/cloudformation/src/types/_stack_event.rs @@ -14,7 +14,7 @@ pub struct StackEvent { pub logical_resource_id: ::std::option::Option<::std::string::String>, ///

                                                                                                                  The name or unique identifier associated with the physical instance of the resource.

                                                                                                                  pub physical_resource_id: ::std::option::Option<::std::string::String>, - ///

                                                                                                                  Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

                                                                                                                  + ///

                                                                                                                  Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                  pub resource_type: ::std::option::Option<::std::string::String>, ///

                                                                                                                  Time the status was updated.

                                                                                                                  pub timestamp: ::std::option::Option<::aws_smithy_types::DateTime>, @@ -47,7 +47,7 @@ pub struct StackEvent { ///

                                                                                                                  An optional field containing information about the detailed status of the stack event.

                                                                                                                  /// ///
                                                                                                                    ///
                                                                                                                  • @@ -76,7 +76,7 @@ impl StackEvent { pub fn physical_resource_id(&self) -> ::std::option::Option<&str> { self.physical_resource_id.as_deref() } - ///

                                                                                                                    Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

                                                                                                                    + ///

                                                                                                                    Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                    pub fn resource_type(&self) -> ::std::option::Option<&str> { self.resource_type.as_deref() } @@ -131,7 +131,7 @@ impl StackEvent { ///

                                                                                                                    An optional field containing information about the detailed status of the stack event.

                                                                                                                    /// ///
                                                                                                                      ///
                                                                                                                    • @@ -244,17 +244,17 @@ impl StackEventBuilder { pub fn get_physical_resource_id(&self) -> &::std::option::Option<::std::string::String> { &self.physical_resource_id } - ///

                                                                                                                      Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

                                                                                                                      + ///

                                                                                                                      Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                      pub fn resource_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.resource_type = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                      Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

                                                                                                                      + ///

                                                                                                                      Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                      pub fn set_resource_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.resource_type = input; self } - ///

                                                                                                                      Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

                                                                                                                      + ///

                                                                                                                      Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                      pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { &self.resource_type } @@ -426,7 +426,7 @@ impl StackEventBuilder { ///

                                                                                                                      An optional field containing information about the detailed status of the stack event.

                                                                                                                      /// ///
                                                                                                                        ///
                                                                                                                      • @@ -439,7 +439,7 @@ impl StackEventBuilder { ///

                                                                                                                        An optional field containing information about the detailed status of the stack event.

                                                                                                                        /// ///
                                                                                                                          ///
                                                                                                                        • @@ -452,7 +452,7 @@ impl StackEventBuilder { ///

                                                                                                                          An optional field containing information about the detailed status of the stack event.

                                                                                                                          /// ///
                                                                                                                            ///
                                                                                                                          • diff --git a/sdk/cloudformation/src/types/_stack_instance.rs b/sdk/cloudformation/src/types/_stack_instance.rs index c641fe91e242..41c496a8a284 100644 --- a/sdk/cloudformation/src/types/_stack_instance.rs +++ b/sdk/cloudformation/src/types/_stack_instance.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

                                                                                                                            An CloudFormation stack, in a specific account and Region, that's part of a stack set operation. A stack instance is a reference to an attempted or actual stack in a given account within a given Region. A stack instance can exist without a stack—for example, if the stack couldn't be created for some reason. A stack instance is associated with only one stack set. Each stack instance contains the ID of its associated stack set, in addition to the ID of the actual stack and the stack status.

                                                                                                                            +///

                                                                                                                            A CloudFormation stack, in a specific account and Region, that's part of a stack set operation. A stack instance is a reference to an attempted or actual stack in a given account within a given Region. A stack instance can exist without a stack—for example, if the stack couldn't be created for some reason. A stack instance is associated with only one stack set. Each stack instance contains the ID of its associated stack set, in addition to the ID of the actual stack and the stack status.

                                                                                                                            #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct StackInstance { diff --git a/sdk/cloudformation/src/types/_stack_instance_resource_drifts_summary.rs b/sdk/cloudformation/src/types/_stack_instance_resource_drifts_summary.rs index 6ddc5fea991b..4741d104c706 100644 --- a/sdk/cloudformation/src/types/_stack_instance_resource_drifts_summary.rs +++ b/sdk/cloudformation/src/types/_stack_instance_resource_drifts_summary.rs @@ -12,7 +12,7 @@ pub struct StackInstanceResourceDriftsSummary { pub physical_resource_id: ::std::option::Option<::std::string::String>, ///

                                                                                                                            Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context key-value pairs in cases where a resource's logical and physical IDs aren't enough to uniquely identify that resource. Each context key-value pair specifies a unique resource that contains the targeted resource.

                                                                                                                            pub physical_resource_id_context: ::std::option::Option<::std::vec::Vec>, - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            pub resource_type: ::std::option::Option<::std::string::String>, ///

                                                                                                                            Status of the actual configuration of the resource compared to its expected configuration. These will be present only for resources whose StackInstanceResourceDriftStatus is MODIFIED.

                                                                                                                            pub property_differences: ::std::option::Option<::std::vec::Vec>, @@ -50,7 +50,7 @@ impl StackInstanceResourceDriftsSummary { pub fn physical_resource_id_context(&self) -> &[crate::types::PhysicalResourceIdContextKeyValuePair] { self.physical_resource_id_context.as_deref().unwrap_or_default() } - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            pub fn resource_type(&self) -> ::std::option::Option<&str> { self.resource_type.as_deref() } @@ -167,18 +167,18 @@ impl StackInstanceResourceDriftsSummaryBuilder { pub fn get_physical_resource_id_context(&self) -> &::std::option::Option<::std::vec::Vec> { &self.physical_resource_id_context } - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            /// This field is required. pub fn resource_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.resource_type = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            pub fn set_resource_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.resource_type = input; self } - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { &self.resource_type } diff --git a/sdk/cloudformation/src/types/_stack_resource.rs b/sdk/cloudformation/src/types/_stack_resource.rs index 006b66e8785d..9785e23890d8 100644 --- a/sdk/cloudformation/src/types/_stack_resource.rs +++ b/sdk/cloudformation/src/types/_stack_resource.rs @@ -12,7 +12,7 @@ pub struct StackResource { pub logical_resource_id: ::std::option::Option<::std::string::String>, ///

                                                                                                                            The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.

                                                                                                                            pub physical_resource_id: ::std::option::Option<::std::string::String>, - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            pub resource_type: ::std::option::Option<::std::string::String>, ///

                                                                                                                            Time the status was updated.

                                                                                                                            pub timestamp: ::std::option::Option<::aws_smithy_types::DateTime>, @@ -22,7 +22,7 @@ pub struct StackResource { pub resource_status_reason: ::std::option::Option<::std::string::String>, ///

                                                                                                                            User defined description associated with the resource.

                                                                                                                            pub description: ::std::option::Option<::std::string::String>, - ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                            + ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                            pub drift_information: ::std::option::Option, ///

                                                                                                                            Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

                                                                                                                            pub module_info: ::std::option::Option, @@ -44,7 +44,7 @@ impl StackResource { pub fn physical_resource_id(&self) -> ::std::option::Option<&str> { self.physical_resource_id.as_deref() } - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            pub fn resource_type(&self) -> ::std::option::Option<&str> { self.resource_type.as_deref() } @@ -64,7 +64,7 @@ impl StackResource { pub fn description(&self) -> ::std::option::Option<&str> { self.description.as_deref() } - ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                            + ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                            pub fn drift_information(&self) -> ::std::option::Option<&crate::types::StackResourceDriftInformation> { self.drift_information.as_ref() } @@ -154,18 +154,18 @@ impl StackResourceBuilder { pub fn get_physical_resource_id(&self) -> &::std::option::Option<::std::string::String> { &self.physical_resource_id } - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            /// This field is required. pub fn resource_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.resource_type = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            pub fn set_resource_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.resource_type = input; self } - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { &self.resource_type } @@ -227,17 +227,17 @@ impl StackResourceBuilder { pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { &self.description } - ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                            + ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                            pub fn drift_information(mut self, input: crate::types::StackResourceDriftInformation) -> Self { self.drift_information = ::std::option::Option::Some(input); self } - ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                            + ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                            pub fn set_drift_information(mut self, input: ::std::option::Option) -> Self { self.drift_information = input; self } - ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                            + ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                            pub fn get_drift_information(&self) -> &::std::option::Option { &self.drift_information } diff --git a/sdk/cloudformation/src/types/_stack_resource_detail.rs b/sdk/cloudformation/src/types/_stack_resource_detail.rs index 1782d1e09f1f..3de21f9adf14 100644 --- a/sdk/cloudformation/src/types/_stack_resource_detail.rs +++ b/sdk/cloudformation/src/types/_stack_resource_detail.rs @@ -12,7 +12,7 @@ pub struct StackResourceDetail { pub logical_resource_id: ::std::option::Option<::std::string::String>, ///

                                                                                                                            The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.

                                                                                                                            pub physical_resource_id: ::std::option::Option<::std::string::String>, - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            pub resource_type: ::std::option::Option<::std::string::String>, ///

                                                                                                                            Time the status was updated.

                                                                                                                            pub last_updated_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>, @@ -22,9 +22,9 @@ pub struct StackResourceDetail { pub resource_status_reason: ::std::option::Option<::std::string::String>, ///

                                                                                                                            User defined description associated with the resource.

                                                                                                                            pub description: ::std::option::Option<::std::string::String>, - ///

                                                                                                                            The content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            The content of the Metadata attribute declared for the resource. For more information, see Metadata attribute in the CloudFormation User Guide.

                                                                                                                            pub metadata: ::std::option::Option<::std::string::String>, - ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                            + ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                            pub drift_information: ::std::option::Option, ///

                                                                                                                            Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

                                                                                                                            pub module_info: ::std::option::Option, @@ -46,7 +46,7 @@ impl StackResourceDetail { pub fn physical_resource_id(&self) -> ::std::option::Option<&str> { self.physical_resource_id.as_deref() } - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            pub fn resource_type(&self) -> ::std::option::Option<&str> { self.resource_type.as_deref() } @@ -66,11 +66,11 @@ impl StackResourceDetail { pub fn description(&self) -> ::std::option::Option<&str> { self.description.as_deref() } - ///

                                                                                                                            The content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            The content of the Metadata attribute declared for the resource. For more information, see Metadata attribute in the CloudFormation User Guide.

                                                                                                                            pub fn metadata(&self) -> ::std::option::Option<&str> { self.metadata.as_deref() } - ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                            + ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                            pub fn drift_information(&self) -> ::std::option::Option<&crate::types::StackResourceDriftInformation> { self.drift_information.as_ref() } @@ -161,18 +161,18 @@ impl StackResourceDetailBuilder { pub fn get_physical_resource_id(&self) -> &::std::option::Option<::std::string::String> { &self.physical_resource_id } - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            /// This field is required. pub fn resource_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.resource_type = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            pub fn set_resource_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.resource_type = input; self } - ///

                                                                                                                            Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

                                                                                                                            pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { &self.resource_type } @@ -234,31 +234,31 @@ impl StackResourceDetailBuilder { pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { &self.description } - ///

                                                                                                                            The content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            The content of the Metadata attribute declared for the resource. For more information, see Metadata attribute in the CloudFormation User Guide.

                                                                                                                            pub fn metadata(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.metadata = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                            The content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            The content of the Metadata attribute declared for the resource. For more information, see Metadata attribute in the CloudFormation User Guide.

                                                                                                                            pub fn set_metadata(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.metadata = input; self } - ///

                                                                                                                            The content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute in the CloudFormation User Guide.

                                                                                                                            + ///

                                                                                                                            The content of the Metadata attribute declared for the resource. For more information, see Metadata attribute in the CloudFormation User Guide.

                                                                                                                            pub fn get_metadata(&self) -> &::std::option::Option<::std::string::String> { &self.metadata } - ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                            + ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                            pub fn drift_information(mut self, input: crate::types::StackResourceDriftInformation) -> Self { self.drift_information = ::std::option::Option::Some(input); self } - ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                            + ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                            pub fn set_drift_information(mut self, input: ::std::option::Option) -> Self { self.drift_information = input; self } - ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                            + ///

                                                                                                                            Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                            pub fn get_drift_information(&self) -> &::std::option::Option { &self.drift_information } diff --git a/sdk/cloudformation/src/types/_stack_resource_drift.rs b/sdk/cloudformation/src/types/_stack_resource_drift.rs index 3e8efa257415..c4f2761a12c4 100644 --- a/sdk/cloudformation/src/types/_stack_resource_drift.rs +++ b/sdk/cloudformation/src/types/_stack_resource_drift.rs @@ -1,7 +1,7 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

                                                                                                                            Contains the drift information for a resource that has been checked for drift. This includes actual and expected property values for resources in which CloudFormation has detected drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                                            -///

                                                                                                                            Resources that don't currently support drift detection can't be checked. For a list of resources that support drift detection, see Resources that Support Drift Detection.

                                                                                                                            +///

                                                                                                                            Contains the drift information for a resource that has been checked for drift. This includes actual and expected property values for resources in which CloudFormation has detected drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                                            +///

                                                                                                                            Resources that don't currently support drift detection can't be checked. For a list of resources that support drift detection, see Resource type support for imports and drift detection.

                                                                                                                            ///

                                                                                                                            Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection.

                                                                                                                            #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] diff --git a/sdk/cloudformation/src/types/_stack_resource_drift_information.rs b/sdk/cloudformation/src/types/_stack_resource_drift_information.rs index 9bb4c57b3fe2..1d8acc89f865 100644 --- a/sdk/cloudformation/src/types/_stack_resource_drift_information.rs +++ b/sdk/cloudformation/src/types/_stack_resource_drift_information.rs @@ -12,7 +12,7 @@ pub struct StackResourceDriftInformation { ///

                                                                                                                            MODIFIED: The resource differs from its expected configuration.

                                                                                                                          • ///
                                                                                                                          • ///

                                                                                                                            NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration.

                                                                                                                            - ///

                                                                                                                            Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection.

                                                                                                                          • + ///

                                                                                                                            Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection.

                                                                                                                            ///
                                                                                                                          • ///

                                                                                                                            IN_SYNC: The resource's actual configuration matches its expected configuration.

                                                                                                                          • ///
                                                                                                                          @@ -29,7 +29,7 @@ impl StackResourceDriftInformation { ///

                                                                                                                          MODIFIED: The resource differs from its expected configuration.

                                                                                                                        • ///
                                                                                                                        • ///

                                                                                                                          NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration.

                                                                                                                          - ///

                                                                                                                          Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection.

                                                                                                                        • + ///

                                                                                                                          Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection.

                                                                                                                          ///
                                                                                                                        • ///

                                                                                                                          IN_SYNC: The resource's actual configuration matches its expected configuration.

                                                                                                                        • ///
                                                                                                                        @@ -64,7 +64,7 @@ impl StackResourceDriftInformationBuilder { ///

                                                                                                                        MODIFIED: The resource differs from its expected configuration.

                                                                                                                      • ///
                                                                                                                      • ///

                                                                                                                        NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration.

                                                                                                                        - ///

                                                                                                                        Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection.

                                                                                                                      • + ///

                                                                                                                        Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection.

                                                                                                                        ///
                                                                                                                      • ///

                                                                                                                        IN_SYNC: The resource's actual configuration matches its expected configuration.

                                                                                                                      • ///
                                                                                                                      @@ -81,7 +81,7 @@ impl StackResourceDriftInformationBuilder { ///

                                                                                                                      MODIFIED: The resource differs from its expected configuration.

                                                                                                                    • ///
                                                                                                                    • ///

                                                                                                                      NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration.

                                                                                                                      - ///

                                                                                                                      Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection.

                                                                                                                    • + ///

                                                                                                                      Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection.

                                                                                                                      ///
                                                                                                                    • ///

                                                                                                                      IN_SYNC: The resource's actual configuration matches its expected configuration.

                                                                                                                    • ///
                                                                                                                    @@ -97,7 +97,7 @@ impl StackResourceDriftInformationBuilder { ///

                                                                                                                    MODIFIED: The resource differs from its expected configuration.

                                                                                                                  • ///
                                                                                                                  • ///

                                                                                                                    NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration.

                                                                                                                    - ///

                                                                                                                    Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection.

                                                                                                                  • + ///

                                                                                                                    Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection.

                                                                                                                    ///
                                                                                                                  • ///

                                                                                                                    IN_SYNC: The resource's actual configuration matches its expected configuration.

                                                                                                                  • ///
                                                                                                                  diff --git a/sdk/cloudformation/src/types/_stack_resource_drift_information_summary.rs b/sdk/cloudformation/src/types/_stack_resource_drift_information_summary.rs index 401df9a5e17a..aa24d3e3854e 100644 --- a/sdk/cloudformation/src/types/_stack_resource_drift_information_summary.rs +++ b/sdk/cloudformation/src/types/_stack_resource_drift_information_summary.rs @@ -12,7 +12,7 @@ pub struct StackResourceDriftInformationSummary { ///

                                                                                                                  MODIFIED: The resource differs from its expected configuration.

                                                                                                                • ///
                                                                                                                • ///

                                                                                                                  NOT_CHECKED: CloudFormation hasn't checked if the resource differs from its expected configuration.

                                                                                                                  - ///

                                                                                                                  Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide.

                                                                                                                • + ///

                                                                                                                  Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information about skipping resources during rollback operations, see Continue rolling back an update in the CloudFormation User Guide.

                                                                                                                  ///
                                                                                                                • ///

                                                                                                                  IN_SYNC: The resource's actual configuration matches its expected configuration.

                                                                                                                • ///
                                                                                                                @@ -29,7 +29,7 @@ impl StackResourceDriftInformationSummary { ///

                                                                                                                MODIFIED: The resource differs from its expected configuration.

                                                                                                              • ///
                                                                                                              • ///

                                                                                                                NOT_CHECKED: CloudFormation hasn't checked if the resource differs from its expected configuration.

                                                                                                                - ///

                                                                                                                Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide.

                                                                                                              • + ///

                                                                                                                Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information about skipping resources during rollback operations, see Continue rolling back an update in the CloudFormation User Guide.

                                                                                                                ///
                                                                                                              • ///

                                                                                                                IN_SYNC: The resource's actual configuration matches its expected configuration.

                                                                                                              • ///
                                                                                                              @@ -64,7 +64,7 @@ impl StackResourceDriftInformationSummaryBuilder { ///

                                                                                                              MODIFIED: The resource differs from its expected configuration.

                                                                                                            • ///
                                                                                                            • ///

                                                                                                              NOT_CHECKED: CloudFormation hasn't checked if the resource differs from its expected configuration.

                                                                                                              - ///

                                                                                                              Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide.

                                                                                                            • + ///

                                                                                                              Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information about skipping resources during rollback operations, see Continue rolling back an update in the CloudFormation User Guide.

                                                                                                              ///
                                                                                                            • ///

                                                                                                              IN_SYNC: The resource's actual configuration matches its expected configuration.

                                                                                                            • ///
                                                                                                            @@ -81,7 +81,7 @@ impl StackResourceDriftInformationSummaryBuilder { ///

                                                                                                            MODIFIED: The resource differs from its expected configuration.

                                                                                                          • ///
                                                                                                          • ///

                                                                                                            NOT_CHECKED: CloudFormation hasn't checked if the resource differs from its expected configuration.

                                                                                                            - ///

                                                                                                            Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide.

                                                                                                          • + ///

                                                                                                            Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information about skipping resources during rollback operations, see Continue rolling back an update in the CloudFormation User Guide.

                                                                                                            ///
                                                                                                          • ///

                                                                                                            IN_SYNC: The resource's actual configuration matches its expected configuration.

                                                                                                          • ///
                                                                                                          @@ -97,7 +97,7 @@ impl StackResourceDriftInformationSummaryBuilder { ///

                                                                                                          MODIFIED: The resource differs from its expected configuration.

                                                                                                        • ///
                                                                                                        • ///

                                                                                                          NOT_CHECKED: CloudFormation hasn't checked if the resource differs from its expected configuration.

                                                                                                          - ///

                                                                                                          Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide.

                                                                                                        • + ///

                                                                                                          Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information about skipping resources during rollback operations, see Continue rolling back an update in the CloudFormation User Guide.

                                                                                                          ///
                                                                                                        • ///

                                                                                                          IN_SYNC: The resource's actual configuration matches its expected configuration.

                                                                                                        • ///
                                                                                                        diff --git a/sdk/cloudformation/src/types/_stack_resource_summary.rs b/sdk/cloudformation/src/types/_stack_resource_summary.rs index dc95a727d916..2afbe6a735de 100644 --- a/sdk/cloudformation/src/types/_stack_resource_summary.rs +++ b/sdk/cloudformation/src/types/_stack_resource_summary.rs @@ -8,7 +8,7 @@ pub struct StackResourceSummary { pub logical_resource_id: ::std::option::Option<::std::string::String>, ///

                                                                                                        The name or unique identifier that corresponds to a physical instance ID of the resource.

                                                                                                        pub physical_resource_id: ::std::option::Option<::std::string::String>, - ///

                                                                                                        Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

                                                                                                        + ///

                                                                                                        Type of resource. (For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.)

                                                                                                        pub resource_type: ::std::option::Option<::std::string::String>, ///

                                                                                                        Time the status was updated.

                                                                                                        pub last_updated_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>, @@ -16,7 +16,7 @@ pub struct StackResourceSummary { pub resource_status: ::std::option::Option, ///

                                                                                                        Success/failure message associated with the resource.

                                                                                                        pub resource_status_reason: ::std::option::Option<::std::string::String>, - ///

                                                                                                        Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                        + ///

                                                                                                        Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                        pub drift_information: ::std::option::Option, ///

                                                                                                        Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

                                                                                                        pub module_info: ::std::option::Option, @@ -30,7 +30,7 @@ impl StackResourceSummary { pub fn physical_resource_id(&self) -> ::std::option::Option<&str> { self.physical_resource_id.as_deref() } - ///

                                                                                                        Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

                                                                                                        + ///

                                                                                                        Type of resource. (For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.)

                                                                                                        pub fn resource_type(&self) -> ::std::option::Option<&str> { self.resource_type.as_deref() } @@ -46,7 +46,7 @@ impl StackResourceSummary { pub fn resource_status_reason(&self) -> ::std::option::Option<&str> { self.resource_status_reason.as_deref() } - ///

                                                                                                        Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                        + ///

                                                                                                        Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                        pub fn drift_information(&self) -> ::std::option::Option<&crate::types::StackResourceDriftInformationSummary> { self.drift_information.as_ref() } @@ -105,18 +105,18 @@ impl StackResourceSummaryBuilder { pub fn get_physical_resource_id(&self) -> &::std::option::Option<::std::string::String> { &self.physical_resource_id } - ///

                                                                                                        Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

                                                                                                        + ///

                                                                                                        Type of resource. (For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.)

                                                                                                        /// This field is required. pub fn resource_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.resource_type = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                        Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

                                                                                                        + ///

                                                                                                        Type of resource. (For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.)

                                                                                                        pub fn set_resource_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.resource_type = input; self } - ///

                                                                                                        Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

                                                                                                        + ///

                                                                                                        Type of resource. (For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.)

                                                                                                        pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { &self.resource_type } @@ -164,17 +164,17 @@ impl StackResourceSummaryBuilder { pub fn get_resource_status_reason(&self) -> &::std::option::Option<::std::string::String> { &self.resource_status_reason } - ///

                                                                                                        Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                        + ///

                                                                                                        Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                        pub fn drift_information(mut self, input: crate::types::StackResourceDriftInformationSummary) -> Self { self.drift_information = ::std::option::Option::Some(input); self } - ///

                                                                                                        Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                        + ///

                                                                                                        Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                        pub fn set_drift_information(mut self, input: ::std::option::Option) -> Self { self.drift_information = input; self } - ///

                                                                                                        Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                        + ///

                                                                                                        Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                        pub fn get_drift_information(&self) -> &::std::option::Option { &self.drift_information } diff --git a/sdk/cloudformation/src/types/_stack_set.rs b/sdk/cloudformation/src/types/_stack_set.rs index e851955ae5fa..71d45756b540 100644 --- a/sdk/cloudformation/src/types/_stack_set.rs +++ b/sdk/cloudformation/src/types/_stack_set.rs @@ -16,7 +16,7 @@ pub struct StackSet { pub template_body: ::std::option::Option<::std::string::String>, ///

                                                                                                        A list of input parameters for a stack set.

                                                                                                        pub parameters: ::std::option::Option<::std::vec::Vec>, - ///

                                                                                                        The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                        + ///

                                                                                                        The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                        pub capabilities: ::std::option::Option<::std::vec::Vec>, ///

                                                                                                        A list of tags that specify information about the stack set. A maximum number of 50 tags can be specified.

                                                                                                        pub tags: ::std::option::Option<::std::vec::Vec>, @@ -75,7 +75,7 @@ impl StackSet { pub fn parameters(&self) -> &[crate::types::Parameter] { self.parameters.as_deref().unwrap_or_default() } - ///

                                                                                                        The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                        + ///

                                                                                                        The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                        /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.capabilities.is_none()`. pub fn capabilities(&self) -> &[crate::types::Capability] { @@ -261,19 +261,19 @@ impl StackSetBuilder { /// /// To override the contents of this collection use [`set_capabilities`](Self::set_capabilities). /// - ///

                                                                                                        The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                        + ///

                                                                                                        The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                        pub fn capabilities(mut self, input: crate::types::Capability) -> Self { let mut v = self.capabilities.unwrap_or_default(); v.push(input); self.capabilities = ::std::option::Option::Some(v); self } - ///

                                                                                                        The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                        + ///

                                                                                                        The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                        pub fn set_capabilities(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { self.capabilities = input; self } - ///

                                                                                                        The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in CloudFormation Templates.

                                                                                                        + ///

                                                                                                        The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM resources in CloudFormation templates.

                                                                                                        pub fn get_capabilities(&self) -> &::std::option::Option<::std::vec::Vec> { &self.capabilities } diff --git a/sdk/cloudformation/src/types/_stack_set_operation.rs b/sdk/cloudformation/src/types/_stack_set_operation.rs index f69628ad994c..7dad8a003378 100644 --- a/sdk/cloudformation/src/types/_stack_set_operation.rs +++ b/sdk/cloudformation/src/types/_stack_set_operation.rs @@ -44,7 +44,7 @@ pub struct StackSetOperation { pub deployment_targets: ::std::option::Option, ///

                                                                                                        Detailed information about the drift status of the stack set. This includes information about drift operations currently being performed on the stack set.

                                                                                                        ///

                                                                                                        This information will only be present for stack set operations whose Action type is DETECT_DRIFT.

                                                                                                        - ///

                                                                                                        For more information, see Detecting Unmanaged Changes in Stack Sets in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Detect stack set drift in the CloudFormation User Guide.

                                                                                                        pub stack_set_drift_detection_details: ::std::option::Option, ///

                                                                                                        The status of the operation in details.

                                                                                                        pub status_reason: ::std::option::Option<::std::string::String>, @@ -114,7 +114,7 @@ impl StackSetOperation { } ///

                                                                                                        Detailed information about the drift status of the stack set. This includes information about drift operations currently being performed on the stack set.

                                                                                                        ///

                                                                                                        This information will only be present for stack set operations whose Action type is DETECT_DRIFT.

                                                                                                        - ///

                                                                                                        For more information, see Detecting Unmanaged Changes in Stack Sets in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Detect stack set drift in the CloudFormation User Guide.

                                                                                                        pub fn stack_set_drift_detection_details(&self) -> ::std::option::Option<&crate::types::StackSetDriftDetectionDetails> { self.stack_set_drift_detection_details.as_ref() } @@ -358,21 +358,21 @@ impl StackSetOperationBuilder { } ///

                                                                                                        Detailed information about the drift status of the stack set. This includes information about drift operations currently being performed on the stack set.

                                                                                                        ///

                                                                                                        This information will only be present for stack set operations whose Action type is DETECT_DRIFT.

                                                                                                        - ///

                                                                                                        For more information, see Detecting Unmanaged Changes in Stack Sets in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Detect stack set drift in the CloudFormation User Guide.

                                                                                                        pub fn stack_set_drift_detection_details(mut self, input: crate::types::StackSetDriftDetectionDetails) -> Self { self.stack_set_drift_detection_details = ::std::option::Option::Some(input); self } ///

                                                                                                        Detailed information about the drift status of the stack set. This includes information about drift operations currently being performed on the stack set.

                                                                                                        ///

                                                                                                        This information will only be present for stack set operations whose Action type is DETECT_DRIFT.

                                                                                                        - ///

                                                                                                        For more information, see Detecting Unmanaged Changes in Stack Sets in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Detect stack set drift in the CloudFormation User Guide.

                                                                                                        pub fn set_stack_set_drift_detection_details(mut self, input: ::std::option::Option) -> Self { self.stack_set_drift_detection_details = input; self } ///

                                                                                                        Detailed information about the drift status of the stack set. This includes information about drift operations currently being performed on the stack set.

                                                                                                        ///

                                                                                                        This information will only be present for stack set operations whose Action type is DETECT_DRIFT.

                                                                                                        - ///

                                                                                                        For more information, see Detecting Unmanaged Changes in Stack Sets in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Detect stack set drift in the CloudFormation User Guide.

                                                                                                        pub fn get_stack_set_drift_detection_details(&self) -> &::std::option::Option { &self.stack_set_drift_detection_details } diff --git a/sdk/cloudformation/src/types/_stack_set_operation_preferences.rs b/sdk/cloudformation/src/types/_stack_set_operation_preferences.rs index 69ccb228a06b..5309ccd91c04 100644 --- a/sdk/cloudformation/src/types/_stack_set_operation_preferences.rs +++ b/sdk/cloudformation/src/types/_stack_set_operation_preferences.rs @@ -1,7 +1,7 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. ///

                                                                                                        The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                                                        -///

                                                                                                        For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                                                        +///

                                                                                                        For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                                                        #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct StackSetOperationPreferences { diff --git a/sdk/cloudformation/src/types/_stack_set_operation_summary.rs b/sdk/cloudformation/src/types/_stack_set_operation_summary.rs index a89744bbc94d..eae6b3141da1 100644 --- a/sdk/cloudformation/src/types/_stack_set_operation_summary.rs +++ b/sdk/cloudformation/src/types/_stack_set_operation_summary.rs @@ -33,7 +33,7 @@ pub struct StackSetOperationSummary { ///

                                                                                                        Detailed information about the stack set operation.

                                                                                                        pub status_details: ::std::option::Option, ///

                                                                                                        The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                                                        - ///

                                                                                                        For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                                                        + ///

                                                                                                        For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                                                        pub operation_preferences: ::std::option::Option, } impl StackSetOperationSummary { @@ -80,7 +80,7 @@ impl StackSetOperationSummary { self.status_details.as_ref() } ///

                                                                                                        The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                                                        - ///

                                                                                                        For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                                                        + ///

                                                                                                        For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                                                        pub fn operation_preferences(&self) -> ::std::option::Option<&crate::types::StackSetOperationPreferences> { self.operation_preferences.as_ref() } @@ -247,19 +247,19 @@ impl StackSetOperationSummaryBuilder { &self.status_details } ///

                                                                                                        The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                                                        - ///

                                                                                                        For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                                                        + ///

                                                                                                        For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                                                        pub fn operation_preferences(mut self, input: crate::types::StackSetOperationPreferences) -> Self { self.operation_preferences = ::std::option::Option::Some(input); self } ///

                                                                                                        The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                                                        - ///

                                                                                                        For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                                                        + ///

                                                                                                        For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                                                        pub fn set_operation_preferences(mut self, input: ::std::option::Option) -> Self { self.operation_preferences = input; self } ///

                                                                                                        The user-specified preferences for how CloudFormation performs a stack set operation.

                                                                                                        - ///

                                                                                                        For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                                                        + ///

                                                                                                        For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

                                                                                                        pub fn get_operation_preferences(&self) -> &::std::option::Option { &self.operation_preferences } diff --git a/sdk/cloudformation/src/types/_stack_summary.rs b/sdk/cloudformation/src/types/_stack_summary.rs index 6a42fef67ae6..595ed89217eb 100644 --- a/sdk/cloudformation/src/types/_stack_summary.rs +++ b/sdk/cloudformation/src/types/_stack_summary.rs @@ -21,12 +21,12 @@ pub struct StackSummary { ///

                                                                                                        Success/Failure message associated with the stack status.

                                                                                                        pub stack_status_reason: ::std::option::Option<::std::string::String>, ///

                                                                                                        For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

                                                                                                        - ///

                                                                                                        For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                        pub parent_id: ::std::option::Option<::std::string::String>, ///

                                                                                                        For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

                                                                                                        - ///

                                                                                                        For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                        pub root_id: ::std::option::Option<::std::string::String>, - ///

                                                                                                        Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                        + ///

                                                                                                        Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                        pub drift_information: ::std::option::Option, } impl StackSummary { @@ -63,16 +63,16 @@ impl StackSummary { self.stack_status_reason.as_deref() } ///

                                                                                                        For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

                                                                                                        - ///

                                                                                                        For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                        pub fn parent_id(&self) -> ::std::option::Option<&str> { self.parent_id.as_deref() } ///

                                                                                                        For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

                                                                                                        - ///

                                                                                                        For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                        pub fn root_id(&self) -> ::std::option::Option<&str> { self.root_id.as_deref() } - ///

                                                                                                        Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                        + ///

                                                                                                        Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                        pub fn drift_information(&self) -> ::std::option::Option<&crate::types::StackDriftInformationSummary> { self.drift_information.as_ref() } @@ -217,50 +217,50 @@ impl StackSummaryBuilder { &self.stack_status_reason } ///

                                                                                                        For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

                                                                                                        - ///

                                                                                                        For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                        pub fn parent_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.parent_id = ::std::option::Option::Some(input.into()); self } ///

                                                                                                        For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

                                                                                                        - ///

                                                                                                        For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                        pub fn set_parent_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.parent_id = input; self } ///

                                                                                                        For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

                                                                                                        - ///

                                                                                                        For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                        pub fn get_parent_id(&self) -> &::std::option::Option<::std::string::String> { &self.parent_id } ///

                                                                                                        For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

                                                                                                        - ///

                                                                                                        For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                        pub fn root_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.root_id = ::std::option::Option::Some(input.into()); self } ///

                                                                                                        For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

                                                                                                        - ///

                                                                                                        For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                        pub fn set_root_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.root_id = input; self } ///

                                                                                                        For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

                                                                                                        - ///

                                                                                                        For more information, see Working with Nested Stacks in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For more information, see Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.

                                                                                                        pub fn get_root_id(&self) -> &::std::option::Option<::std::string::String> { &self.root_id } - ///

                                                                                                        Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                        + ///

                                                                                                        Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                        pub fn drift_information(mut self, input: crate::types::StackDriftInformationSummary) -> Self { self.drift_information = ::std::option::Option::Some(input); self } - ///

                                                                                                        Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                        + ///

                                                                                                        Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                        pub fn set_drift_information(mut self, input: ::std::option::Option) -> Self { self.drift_information = input; self } - ///

                                                                                                        Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

                                                                                                        + ///

                                                                                                        Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

                                                                                                        pub fn get_drift_information(&self) -> &::std::option::Option { &self.drift_information } diff --git a/sdk/cloudformation/src/types/_tag.rs b/sdk/cloudformation/src/types/_tag.rs index abe9d8b3c0cd..28e7fd82bdf8 100644 --- a/sdk/cloudformation/src/types/_tag.rs +++ b/sdk/cloudformation/src/types/_tag.rs @@ -4,13 +4,13 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct Tag { - ///

                                                                                                        Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: aws:.

                                                                                                        + ///

                                                                                                        Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services have the reserved prefix: aws:.

                                                                                                        pub key: ::std::option::Option<::std::string::String>, ///

                                                                                                        Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.

                                                                                                        pub value: ::std::option::Option<::std::string::String>, } impl Tag { - ///

                                                                                                        Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: aws:.

                                                                                                        + ///

                                                                                                        Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services have the reserved prefix: aws:.

                                                                                                        pub fn key(&self) -> ::std::option::Option<&str> { self.key.as_deref() } @@ -34,18 +34,18 @@ pub struct TagBuilder { pub(crate) value: ::std::option::Option<::std::string::String>, } impl TagBuilder { - ///

                                                                                                        Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: aws:.

                                                                                                        + ///

                                                                                                        Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services have the reserved prefix: aws:.

                                                                                                        /// This field is required. pub fn key(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.key = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                        Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: aws:.

                                                                                                        + ///

                                                                                                        Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services have the reserved prefix: aws:.

                                                                                                        pub fn set_key(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.key = input; self } - ///

                                                                                                        Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: aws:.

                                                                                                        + ///

                                                                                                        Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services have the reserved prefix: aws:.

                                                                                                        pub fn get_key(&self) -> &::std::option::Option<::std::string::String> { &self.key } diff --git a/sdk/cloudformation/src/types/_type_configuration_details.rs b/sdk/cloudformation/src/types/_type_configuration_details.rs index 3034cb90c4f7..a6a14df83d2c 100644 --- a/sdk/cloudformation/src/types/_type_configuration_details.rs +++ b/sdk/cloudformation/src/types/_type_configuration_details.rs @@ -1,7 +1,7 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. ///

                                                                                                        Detailed information concerning the specification of a CloudFormation extension in a given account and Region.

                                                                                                        -///

                                                                                                        For more information, see Configuring extensions at the account level in the CloudFormation User Guide.

                                                                                                        +///

                                                                                                        For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide.

                                                                                                        #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct TypeConfigurationDetails { diff --git a/sdk/cloudformation/src/types/_type_summary.rs b/sdk/cloudformation/src/types/_type_summary.rs index 1a5d592c6890..6265b7bcfe90 100644 --- a/sdk/cloudformation/src/types/_type_summary.rs +++ b/sdk/cloudformation/src/types/_type_summary.rs @@ -29,16 +29,16 @@ pub struct TypeSummary { ///

                                                                                                        The ID of the extension publisher, if the extension is published by a third party. Extensions published by Amazon don't return a publisher ID.

                                                                                                        pub publisher_id: ::std::option::Option<::std::string::String>, ///

                                                                                                        For public extensions that have been activated for this account and Region, the type name of the public extension.

                                                                                                        - ///

                                                                                                        If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                        pub original_type_name: ::std::option::Option<::std::string::String>, ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub public_version_number: ::std::option::Option<::std::string::String>, - ///

                                                                                                        For public extensions that have been activated for this account and Region, the latest version of the public extension that is available. For any extensions other than activated third-arty extensions, CloudFormation returns null.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For public extensions that have been activated for this account and Region, the latest version of the public extension that is available. For any extensions other than activated third-party extensions, CloudFormation returns null.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub latest_public_version: ::std::option::Option<::std::string::String>, ///

                                                                                                        The service used to verify the publisher identity.

                                                                                                        - ///

                                                                                                        For more information, see Registering your account to publish CloudFormation extensions in the CFN-CLI User Guide for Extension Development.

                                                                                                        + ///

                                                                                                        For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                        pub publisher_identity: ::std::option::Option, ///

                                                                                                        The publisher name, as defined in the public profile for that publisher in the service used to verify the publisher identity.

                                                                                                        pub publisher_name: ::std::option::Option<::std::string::String>, @@ -86,22 +86,22 @@ impl TypeSummary { self.publisher_id.as_deref() } ///

                                                                                                        For public extensions that have been activated for this account and Region, the type name of the public extension.

                                                                                                        - ///

                                                                                                        If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                        pub fn original_type_name(&self) -> ::std::option::Option<&str> { self.original_type_name.as_deref() } ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub fn public_version_number(&self) -> ::std::option::Option<&str> { self.public_version_number.as_deref() } - ///

                                                                                                        For public extensions that have been activated for this account and Region, the latest version of the public extension that is available. For any extensions other than activated third-arty extensions, CloudFormation returns null.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For public extensions that have been activated for this account and Region, the latest version of the public extension that is available. For any extensions other than activated third-party extensions, CloudFormation returns null.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub fn latest_public_version(&self) -> ::std::option::Option<&str> { self.latest_public_version.as_deref() } ///

                                                                                                        The service used to verify the publisher identity.

                                                                                                        - ///

                                                                                                        For more information, see Registering your account to publish CloudFormation extensions in the CFN-CLI User Guide for Extension Development.

                                                                                                        + ///

                                                                                                        For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                        pub fn publisher_identity(&self) -> ::std::option::Option<&crate::types::IdentityProvider> { self.publisher_identity.as_ref() } @@ -270,70 +270,70 @@ impl TypeSummaryBuilder { &self.publisher_id } ///

                                                                                                        For public extensions that have been activated for this account and Region, the type name of the public extension.

                                                                                                        - ///

                                                                                                        If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                        pub fn original_type_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.original_type_name = ::std::option::Option::Some(input.into()); self } ///

                                                                                                        For public extensions that have been activated for this account and Region, the type name of the public extension.

                                                                                                        - ///

                                                                                                        If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                        pub fn set_original_type_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.original_type_name = input; self } ///

                                                                                                        For public extensions that have been activated for this account and Region, the type name of the public extension.

                                                                                                        - ///

                                                                                                        If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide.

                                                                                                        pub fn get_original_type_name(&self) -> &::std::option::Option<::std::string::String> { &self.original_type_name } ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub fn public_version_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.public_version_number = ::std::option::Option::Some(input.into()); self } ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub fn set_public_version_number(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.public_version_number = input; self } ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub fn get_public_version_number(&self) -> &::std::option::Option<::std::string::String> { &self.public_version_number } - ///

                                                                                                        For public extensions that have been activated for this account and Region, the latest version of the public extension that is available. For any extensions other than activated third-arty extensions, CloudFormation returns null.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For public extensions that have been activated for this account and Region, the latest version of the public extension that is available. For any extensions other than activated third-party extensions, CloudFormation returns null.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub fn latest_public_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.latest_public_version = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                        For public extensions that have been activated for this account and Region, the latest version of the public extension that is available. For any extensions other than activated third-arty extensions, CloudFormation returns null.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For public extensions that have been activated for this account and Region, the latest version of the public extension that is available. For any extensions other than activated third-party extensions, CloudFormation returns null.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub fn set_latest_public_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.latest_public_version = input; self } - ///

                                                                                                        For public extensions that have been activated for this account and Region, the latest version of the public extension that is available. For any extensions other than activated third-arty extensions, CloudFormation returns null.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For public extensions that have been activated for this account and Region, the latest version of the public extension that is available. For any extensions other than activated third-party extensions, CloudFormation returns null.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub fn get_latest_public_version(&self) -> &::std::option::Option<::std::string::String> { &self.latest_public_version } ///

                                                                                                        The service used to verify the publisher identity.

                                                                                                        - ///

                                                                                                        For more information, see Registering your account to publish CloudFormation extensions in the CFN-CLI User Guide for Extension Development.

                                                                                                        + ///

                                                                                                        For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                        pub fn publisher_identity(mut self, input: crate::types::IdentityProvider) -> Self { self.publisher_identity = ::std::option::Option::Some(input); self } ///

                                                                                                        The service used to verify the publisher identity.

                                                                                                        - ///

                                                                                                        For more information, see Registering your account to publish CloudFormation extensions in the CFN-CLI User Guide for Extension Development.

                                                                                                        + ///

                                                                                                        For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                        pub fn set_publisher_identity(mut self, input: ::std::option::Option) -> Self { self.publisher_identity = input; self } ///

                                                                                                        The service used to verify the publisher identity.

                                                                                                        - ///

                                                                                                        For more information, see Registering your account to publish CloudFormation extensions in the CFN-CLI User Guide for Extension Development.

                                                                                                        + ///

                                                                                                        For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.

                                                                                                        pub fn get_publisher_identity(&self) -> &::std::option::Option { &self.publisher_identity } diff --git a/sdk/cloudformation/src/types/_type_version_summary.rs b/sdk/cloudformation/src/types/_type_version_summary.rs index f92729128f8e..b8d4eb03bedd 100644 --- a/sdk/cloudformation/src/types/_type_version_summary.rs +++ b/sdk/cloudformation/src/types/_type_version_summary.rs @@ -19,8 +19,8 @@ pub struct TypeVersionSummary { pub time_created: ::std::option::Option<::aws_smithy_types::DateTime>, ///

                                                                                                        The description of the extension version.

                                                                                                        pub description: ::std::option::Option<::std::string::String>, - ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-arty extensions, CloudFormation returns null.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-party extensions, CloudFormation returns null.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub public_version_number: ::std::option::Option<::std::string::String>, } impl TypeVersionSummary { @@ -53,8 +53,8 @@ impl TypeVersionSummary { pub fn description(&self) -> ::std::option::Option<&str> { self.description.as_deref() } - ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-arty extensions, CloudFormation returns null.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-party extensions, CloudFormation returns null.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub fn public_version_number(&self) -> ::std::option::Option<&str> { self.public_version_number.as_deref() } @@ -181,20 +181,20 @@ impl TypeVersionSummaryBuilder { pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { &self.description } - ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-arty extensions, CloudFormation returns null.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-party extensions, CloudFormation returns null.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub fn public_version_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.public_version_number = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-arty extensions, CloudFormation returns null.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-party extensions, CloudFormation returns null.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub fn set_public_version_number(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.public_version_number = input; self } - ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-arty extensions, CloudFormation returns null.

                                                                                                        - ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-party extensions, CloudFormation returns null.

                                                                                                        + ///

                                                                                                        How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide.

                                                                                                        pub fn get_public_version_number(&self) -> &::std::option::Option<::std::string::String> { &self.public_version_number } diff --git a/sdk/cloudformation/src/types/_warning_detail.rs b/sdk/cloudformation/src/types/_warning_detail.rs index 94f3d6826c3d..6eb87262fce7 100644 --- a/sdk/cloudformation/src/types/_warning_detail.rs +++ b/sdk/cloudformation/src/types/_warning_detail.rs @@ -4,7 +4,7 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct WarningDetail { - ///

                                                                                                        The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide.

                                                                                                        + ///

                                                                                                        The type of this warning. For more information, see Resolve write-only properties in the CloudFormation User Guide.

                                                                                                        ///
                                                                                                          ///
                                                                                                        • ///

                                                                                                          MUTUALLY_EXCLUSIVE_PROPERTIES - The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffix OneOf and the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties.

                                                                                                        • @@ -20,7 +20,7 @@ pub struct WarningDetail { pub properties: ::std::option::Option<::std::vec::Vec>, } impl WarningDetail { - ///

                                                                                                          The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide.

                                                                                                          + ///

                                                                                                          The type of this warning. For more information, see Resolve write-only properties in the CloudFormation User Guide.

                                                                                                          ///
                                                                                                            ///
                                                                                                          • ///

                                                                                                            MUTUALLY_EXCLUSIVE_PROPERTIES - The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffix OneOf and the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties.

                                                                                                          • @@ -56,7 +56,7 @@ pub struct WarningDetailBuilder { pub(crate) properties: ::std::option::Option<::std::vec::Vec>, } impl WarningDetailBuilder { - ///

                                                                                                            The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide.

                                                                                                            + ///

                                                                                                            The type of this warning. For more information, see Resolve write-only properties in the CloudFormation User Guide.

                                                                                                            ///
                                                                                                              ///
                                                                                                            • ///

                                                                                                              MUTUALLY_EXCLUSIVE_PROPERTIES - The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffix OneOf and the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties.

                                                                                                            • @@ -71,7 +71,7 @@ impl WarningDetailBuilder { self.r#type = ::std::option::Option::Some(input); self } - ///

                                                                                                              The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide.

                                                                                                              + ///

                                                                                                              The type of this warning. For more information, see Resolve write-only properties in the CloudFormation User Guide.

                                                                                                              ///
                                                                                                                ///
                                                                                                              • ///

                                                                                                                MUTUALLY_EXCLUSIVE_PROPERTIES - The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffix OneOf and the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties.

                                                                                                              • @@ -86,7 +86,7 @@ impl WarningDetailBuilder { self.r#type = input; self } - ///

                                                                                                                The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide.

                                                                                                                + ///

                                                                                                                The type of this warning. For more information, see Resolve write-only properties in the CloudFormation User Guide.

                                                                                                                ///
                                                                                                                  ///
                                                                                                                • ///

                                                                                                                  MUTUALLY_EXCLUSIVE_PROPERTIES - The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffix OneOf and the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties.

                                                                                                                • diff --git a/sdk/cloudformation/src/types/error/_cfn_registry_exception.rs b/sdk/cloudformation/src/types/error/_cfn_registry_exception.rs index f890824a10bc..210ea22c47eb 100644 --- a/sdk/cloudformation/src/types/error/_cfn_registry_exception.rs +++ b/sdk/cloudformation/src/types/error/_cfn_registry_exception.rs @@ -4,7 +4,7 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct CfnRegistryException { - ///

                                                                                                                  An message with details about the error that occurred.

                                                                                                                  + ///

                                                                                                                  A message with details about the error that occurred.

                                                                                                                  pub message: ::std::option::Option<::std::string::String>, pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata, } @@ -52,17 +52,17 @@ pub struct CfnRegistryExceptionBuilder { meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>, } impl CfnRegistryExceptionBuilder { - ///

                                                                                                                  An message with details about the error that occurred.

                                                                                                                  + ///

                                                                                                                  A message with details about the error that occurred.

                                                                                                                  pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.message = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                  An message with details about the error that occurred.

                                                                                                                  + ///

                                                                                                                  A message with details about the error that occurred.

                                                                                                                  pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.message = input; self } - ///

                                                                                                                  An message with details about the error that occurred.

                                                                                                                  + ///

                                                                                                                  A message with details about the error that occurred.

                                                                                                                  pub fn get_message(&self) -> &::std::option::Option<::std::string::String> { &self.message } diff --git a/sdk/cloudformation/src/types/error/_type_configuration_not_found_exception.rs b/sdk/cloudformation/src/types/error/_type_configuration_not_found_exception.rs index 0db5456106fc..0f8ed716bf47 100644 --- a/sdk/cloudformation/src/types/error/_type_configuration_not_found_exception.rs +++ b/sdk/cloudformation/src/types/error/_type_configuration_not_found_exception.rs @@ -4,7 +4,7 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct TypeConfigurationNotFoundException { - ///

                                                                                                                  An message with details about the error that occurred.

                                                                                                                  + ///

                                                                                                                  A message with details about the error that occurred.

                                                                                                                  pub message: ::std::option::Option<::std::string::String>, pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata, } @@ -52,17 +52,17 @@ pub struct TypeConfigurationNotFoundExceptionBuilder { meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>, } impl TypeConfigurationNotFoundExceptionBuilder { - ///

                                                                                                                  An message with details about the error that occurred.

                                                                                                                  + ///

                                                                                                                  A message with details about the error that occurred.

                                                                                                                  pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.message = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                  An message with details about the error that occurred.

                                                                                                                  + ///

                                                                                                                  A message with details about the error that occurred.

                                                                                                                  pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.message = input; self } - ///

                                                                                                                  An message with details about the error that occurred.

                                                                                                                  + ///

                                                                                                                  A message with details about the error that occurred.

                                                                                                                  pub fn get_message(&self) -> &::std::option::Option<::std::string::String> { &self.message } diff --git a/sdk/cloudformation/src/types/error/_type_not_found_exception.rs b/sdk/cloudformation/src/types/error/_type_not_found_exception.rs index 215c6610ab30..a8bb8da1eeb4 100644 --- a/sdk/cloudformation/src/types/error/_type_not_found_exception.rs +++ b/sdk/cloudformation/src/types/error/_type_not_found_exception.rs @@ -4,7 +4,7 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct TypeNotFoundException { - ///

                                                                                                                  An message with details about the error that occurred.

                                                                                                                  + ///

                                                                                                                  A message with details about the error that occurred.

                                                                                                                  pub message: ::std::option::Option<::std::string::String>, pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata, } @@ -52,17 +52,17 @@ pub struct TypeNotFoundExceptionBuilder { meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>, } impl TypeNotFoundExceptionBuilder { - ///

                                                                                                                  An message with details about the error that occurred.

                                                                                                                  + ///

                                                                                                                  A message with details about the error that occurred.

                                                                                                                  pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.message = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                  An message with details about the error that occurred.

                                                                                                                  + ///

                                                                                                                  A message with details about the error that occurred.

                                                                                                                  pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.message = input; self } - ///

                                                                                                                  An message with details about the error that occurred.

                                                                                                                  + ///

                                                                                                                  A message with details about the error that occurred.

                                                                                                                  pub fn get_message(&self) -> &::std::option::Option<::std::string::String> { &self.message } diff --git a/sdk/codebuild/Cargo.toml b/sdk/codebuild/Cargo.toml index d931692d980b..8082cd842d48 100644 --- a/sdk/codebuild/Cargo.toml +++ b/sdk/codebuild/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-codebuild" -version = "1.57.0" +version = "1.58.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for AWS CodeBuild" edition = "2021" diff --git a/sdk/codebuild/README.md b/sdk/codebuild/README.md index f192344f022a..3ef7d7f5435a 100644 --- a/sdk/codebuild/README.md +++ b/sdk/codebuild/README.md @@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file: ```toml [dependencies] aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -aws-sdk-codebuild = "1.57.0" +aws-sdk-codebuild = "1.58.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/codebuild/src/client/create_fleet.rs b/sdk/codebuild/src/client/create_fleet.rs index 33cd015b87d3..4b68395f1786 100644 --- a/sdk/codebuild/src/client/create_fleet.rs +++ b/sdk/codebuild/src/client/create_fleet.rs @@ -10,6 +10,7 @@ impl super::Client { /// - [`scaling_configuration(ScalingConfigurationInput)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::scaling_configuration) / [`set_scaling_configuration(Option)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::set_scaling_configuration):
                                                                                                                  required: **false**

                                                                                                                  The scaling configuration of the compute fleet.


                                                                                                                  /// - [`overflow_behavior(FleetOverflowBehavior)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::overflow_behavior) / [`set_overflow_behavior(Option)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::set_overflow_behavior):
                                                                                                                  required: **false**

                                                                                                                  The compute fleet overflow behavior.


                                                                                                                  /// - [`vpc_config(VpcConfig)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::vpc_config) / [`set_vpc_config(Option)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::set_vpc_config):
                                                                                                                  required: **false**

                                                                                                                  Information about the VPC configuration that CodeBuild accesses.


                                                                                                                  + /// - [`proxy_configuration(ProxyConfiguration)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::proxy_configuration) / [`set_proxy_configuration(Option)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::set_proxy_configuration):
                                                                                                                  required: **false**

                                                                                                                  The proxy configuration of the compute fleet.


                                                                                                                  /// - [`image_id(impl Into)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::image_id) / [`set_image_id(Option)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::set_image_id):
                                                                                                                  required: **false**

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.


                                                                                                                  /// - [`fleet_service_role(impl Into)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::fleet_service_role) / [`set_fleet_service_role(Option)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::set_fleet_service_role):
                                                                                                                  required: **false**

                                                                                                                  The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide.


                                                                                                                  /// - [`tags(Tag)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::tags) / [`set_tags(Option>)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::set_tags):
                                                                                                                  required: **false**

                                                                                                                  A list of tag key and value pairs associated with this compute fleet.

                                                                                                                  These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.


                                                                                                                  diff --git a/sdk/codebuild/src/client/update_fleet.rs b/sdk/codebuild/src/client/update_fleet.rs index c6a075a441d9..88d6896d0316 100644 --- a/sdk/codebuild/src/client/update_fleet.rs +++ b/sdk/codebuild/src/client/update_fleet.rs @@ -10,6 +10,7 @@ impl super::Client { /// - [`scaling_configuration(ScalingConfigurationInput)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::scaling_configuration) / [`set_scaling_configuration(Option)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::set_scaling_configuration):
                                                                                                                  required: **false**

                                                                                                                  The scaling configuration of the compute fleet.


                                                                                                                  /// - [`overflow_behavior(FleetOverflowBehavior)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::overflow_behavior) / [`set_overflow_behavior(Option)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::set_overflow_behavior):
                                                                                                                  required: **false**

                                                                                                                  The compute fleet overflow behavior.


                                                                                                                  /// - [`vpc_config(VpcConfig)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::vpc_config) / [`set_vpc_config(Option)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::set_vpc_config):
                                                                                                                  required: **false**

                                                                                                                  Information about the VPC configuration that CodeBuild accesses.


                                                                                                                  + /// - [`proxy_configuration(ProxyConfiguration)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::proxy_configuration) / [`set_proxy_configuration(Option)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::set_proxy_configuration):
                                                                                                                  required: **false**

                                                                                                                  The proxy configuration of the compute fleet.


                                                                                                                  /// - [`image_id(impl Into)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::image_id) / [`set_image_id(Option)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::set_image_id):
                                                                                                                  required: **false**

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.


                                                                                                                  /// - [`fleet_service_role(impl Into)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::fleet_service_role) / [`set_fleet_service_role(Option)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::set_fleet_service_role):
                                                                                                                  required: **false**

                                                                                                                  The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide.


                                                                                                                  /// - [`tags(Tag)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::tags) / [`set_tags(Option>)`](crate::operation::update_fleet::builders::UpdateFleetFluentBuilder::set_tags):
                                                                                                                  required: **false**

                                                                                                                  A list of tag key and value pairs associated with this compute fleet.

                                                                                                                  These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.


                                                                                                                  diff --git a/sdk/codebuild/src/lib.rs b/sdk/codebuild/src/lib.rs index 05513a1d1893..becde0d8d7b6 100644 --- a/sdk/codebuild/src/lib.rs +++ b/sdk/codebuild/src/lib.rs @@ -31,7 +31,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-codebuild = "1.57.0" +//! aws-sdk-codebuild = "1.58.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/codebuild/src/operation/create_fleet/_create_fleet_input.rs b/sdk/codebuild/src/operation/create_fleet/_create_fleet_input.rs index 56c1e96e7ac3..2801d1642e4a 100644 --- a/sdk/codebuild/src/operation/create_fleet/_create_fleet_input.rs +++ b/sdk/codebuild/src/operation/create_fleet/_create_fleet_input.rs @@ -73,6 +73,8 @@ pub struct CreateFleetInput { pub overflow_behavior: ::std::option::Option, ///

                                                                                                                  Information about the VPC configuration that CodeBuild accesses.

                                                                                                                  pub vpc_config: ::std::option::Option, + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub proxy_configuration: ::std::option::Option, ///

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.

                                                                                                                  pub image_id: ::std::option::Option<::std::string::String>, ///

                                                                                                                  The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide.

                                                                                                                  @@ -166,6 +168,10 @@ impl CreateFleetInput { pub fn vpc_config(&self) -> ::std::option::Option<&crate::types::VpcConfig> { self.vpc_config.as_ref() } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn proxy_configuration(&self) -> ::std::option::Option<&crate::types::ProxyConfiguration> { + self.proxy_configuration.as_ref() + } ///

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.

                                                                                                                  pub fn image_id(&self) -> ::std::option::Option<&str> { self.image_id.as_deref() @@ -200,6 +206,7 @@ pub struct CreateFleetInputBuilder { pub(crate) scaling_configuration: ::std::option::Option, pub(crate) overflow_behavior: ::std::option::Option, pub(crate) vpc_config: ::std::option::Option, + pub(crate) proxy_configuration: ::std::option::Option, pub(crate) image_id: ::std::option::Option<::std::string::String>, pub(crate) fleet_service_role: ::std::option::Option<::std::string::String>, pub(crate) tags: ::std::option::Option<::std::vec::Vec>, @@ -475,6 +482,20 @@ impl CreateFleetInputBuilder { pub fn get_vpc_config(&self) -> &::std::option::Option { &self.vpc_config } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn proxy_configuration(mut self, input: crate::types::ProxyConfiguration) -> Self { + self.proxy_configuration = ::std::option::Option::Some(input); + self + } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn set_proxy_configuration(mut self, input: ::std::option::Option) -> Self { + self.proxy_configuration = input; + self + } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn get_proxy_configuration(&self) -> &::std::option::Option { + &self.proxy_configuration + } ///

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.

                                                                                                                  pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.image_id = ::std::option::Option::Some(input.into()); @@ -536,6 +557,7 @@ impl CreateFleetInputBuilder { scaling_configuration: self.scaling_configuration, overflow_behavior: self.overflow_behavior, vpc_config: self.vpc_config, + proxy_configuration: self.proxy_configuration, image_id: self.image_id, fleet_service_role: self.fleet_service_role, tags: self.tags, diff --git a/sdk/codebuild/src/operation/create_fleet/builders.rs b/sdk/codebuild/src/operation/create_fleet/builders.rs index 22cca5c54d52..42bf1bdde917 100644 --- a/sdk/codebuild/src/operation/create_fleet/builders.rs +++ b/sdk/codebuild/src/operation/create_fleet/builders.rs @@ -374,6 +374,20 @@ impl CreateFleetFluentBuilder { pub fn get_vpc_config(&self) -> &::std::option::Option { self.inner.get_vpc_config() } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn proxy_configuration(mut self, input: crate::types::ProxyConfiguration) -> Self { + self.inner = self.inner.proxy_configuration(input); + self + } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn set_proxy_configuration(mut self, input: ::std::option::Option) -> Self { + self.inner = self.inner.set_proxy_configuration(input); + self + } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn get_proxy_configuration(&self) -> &::std::option::Option { + self.inner.get_proxy_configuration() + } ///

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.

                                                                                                                  pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/codebuild/src/operation/update_fleet/_update_fleet_input.rs b/sdk/codebuild/src/operation/update_fleet/_update_fleet_input.rs index 25df42384a96..695acb389165 100644 --- a/sdk/codebuild/src/operation/update_fleet/_update_fleet_input.rs +++ b/sdk/codebuild/src/operation/update_fleet/_update_fleet_input.rs @@ -73,6 +73,8 @@ pub struct UpdateFleetInput { pub overflow_behavior: ::std::option::Option, ///

                                                                                                                  Information about the VPC configuration that CodeBuild accesses.

                                                                                                                  pub vpc_config: ::std::option::Option, + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub proxy_configuration: ::std::option::Option, ///

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.

                                                                                                                  pub image_id: ::std::option::Option<::std::string::String>, ///

                                                                                                                  The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide.

                                                                                                                  @@ -166,6 +168,10 @@ impl UpdateFleetInput { pub fn vpc_config(&self) -> ::std::option::Option<&crate::types::VpcConfig> { self.vpc_config.as_ref() } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn proxy_configuration(&self) -> ::std::option::Option<&crate::types::ProxyConfiguration> { + self.proxy_configuration.as_ref() + } ///

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.

                                                                                                                  pub fn image_id(&self) -> ::std::option::Option<&str> { self.image_id.as_deref() @@ -200,6 +206,7 @@ pub struct UpdateFleetInputBuilder { pub(crate) scaling_configuration: ::std::option::Option, pub(crate) overflow_behavior: ::std::option::Option, pub(crate) vpc_config: ::std::option::Option, + pub(crate) proxy_configuration: ::std::option::Option, pub(crate) image_id: ::std::option::Option<::std::string::String>, pub(crate) fleet_service_role: ::std::option::Option<::std::string::String>, pub(crate) tags: ::std::option::Option<::std::vec::Vec>, @@ -472,6 +479,20 @@ impl UpdateFleetInputBuilder { pub fn get_vpc_config(&self) -> &::std::option::Option { &self.vpc_config } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn proxy_configuration(mut self, input: crate::types::ProxyConfiguration) -> Self { + self.proxy_configuration = ::std::option::Option::Some(input); + self + } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn set_proxy_configuration(mut self, input: ::std::option::Option) -> Self { + self.proxy_configuration = input; + self + } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn get_proxy_configuration(&self) -> &::std::option::Option { + &self.proxy_configuration + } ///

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.

                                                                                                                  pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.image_id = ::std::option::Option::Some(input.into()); @@ -533,6 +554,7 @@ impl UpdateFleetInputBuilder { scaling_configuration: self.scaling_configuration, overflow_behavior: self.overflow_behavior, vpc_config: self.vpc_config, + proxy_configuration: self.proxy_configuration, image_id: self.image_id, fleet_service_role: self.fleet_service_role, tags: self.tags, diff --git a/sdk/codebuild/src/operation/update_fleet/builders.rs b/sdk/codebuild/src/operation/update_fleet/builders.rs index e9aeb5d0975f..86775352300d 100644 --- a/sdk/codebuild/src/operation/update_fleet/builders.rs +++ b/sdk/codebuild/src/operation/update_fleet/builders.rs @@ -374,6 +374,20 @@ impl UpdateFleetFluentBuilder { pub fn get_vpc_config(&self) -> &::std::option::Option { self.inner.get_vpc_config() } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn proxy_configuration(mut self, input: crate::types::ProxyConfiguration) -> Self { + self.inner = self.inner.proxy_configuration(input); + self + } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn set_proxy_configuration(mut self, input: ::std::option::Option) -> Self { + self.inner = self.inner.set_proxy_configuration(input); + self + } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn get_proxy_configuration(&self) -> &::std::option::Option { + self.inner.get_proxy_configuration() + } ///

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.

                                                                                                                  pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/codebuild/src/protocol_serde.rs b/sdk/codebuild/src/protocol_serde.rs index e0888c85fe01..22b9a77985b7 100644 --- a/sdk/codebuild/src/protocol_serde.rs +++ b/sdk/codebuild/src/protocol_serde.rs @@ -297,6 +297,8 @@ pub(crate) mod shape_project_source_version; pub(crate) mod shape_projects; +pub(crate) mod shape_proxy_configuration; + pub(crate) mod shape_registry_credential; pub(crate) mod shape_report_arns; @@ -365,6 +367,8 @@ pub(crate) mod shape_exported_environment_variables; pub(crate) mod shape_filter_groups; +pub(crate) mod shape_fleet_proxy_rule; + pub(crate) mod shape_fleet_status; pub(crate) mod shape_logs_location; @@ -415,6 +419,8 @@ pub(crate) mod shape_exported_environment_variable; pub(crate) mod shape_filter_group; +pub(crate) mod shape_fleet_proxy_rules; + pub(crate) mod shape_project_cache_modes; pub(crate) mod shape_security_group_ids; @@ -441,6 +447,8 @@ pub(crate) mod shape_report_status_counts; pub(crate) mod shape_environment_images; +pub(crate) mod shape_fleet_proxy_rule_entities; + pub(crate) mod shape_phase_context; pub(crate) mod shape_resolved_artifact; diff --git a/sdk/codebuild/src/protocol_serde/shape_create_fleet_input.rs b/sdk/codebuild/src/protocol_serde/shape_create_fleet_input.rs index 93d93a7b7f3c..ca912e6a057d 100644 --- a/sdk/codebuild/src/protocol_serde/shape_create_fleet_input.rs +++ b/sdk/codebuild/src/protocol_serde/shape_create_fleet_input.rs @@ -33,23 +33,29 @@ pub fn ser_create_fleet_input_input( crate::protocol_serde::shape_vpc_config::ser_vpc_config(&mut object_9, var_8)?; object_9.finish(); } - if let Some(var_10) = &input.image_id { - object.key("imageId").string(var_10.as_str()); + if let Some(var_10) = &input.proxy_configuration { + #[allow(unused_mut)] + let mut object_11 = object.key("proxyConfiguration").start_object(); + crate::protocol_serde::shape_proxy_configuration::ser_proxy_configuration(&mut object_11, var_10)?; + object_11.finish(); + } + if let Some(var_12) = &input.image_id { + object.key("imageId").string(var_12.as_str()); } - if let Some(var_11) = &input.fleet_service_role { - object.key("fleetServiceRole").string(var_11.as_str()); + if let Some(var_13) = &input.fleet_service_role { + object.key("fleetServiceRole").string(var_13.as_str()); } - if let Some(var_12) = &input.tags { - let mut array_13 = object.key("tags").start_array(); - for item_14 in var_12 { + if let Some(var_14) = &input.tags { + let mut array_15 = object.key("tags").start_array(); + for item_16 in var_14 { { #[allow(unused_mut)] - let mut object_15 = array_13.value().start_object(); - crate::protocol_serde::shape_tag::ser_tag(&mut object_15, item_14)?; - object_15.finish(); + let mut object_17 = array_15.value().start_object(); + crate::protocol_serde::shape_tag::ser_tag(&mut object_17, item_16)?; + object_17.finish(); } } - array_13.finish(); + array_15.finish(); } Ok(()) } diff --git a/sdk/codebuild/src/protocol_serde/shape_fleet.rs b/sdk/codebuild/src/protocol_serde/shape_fleet.rs index 63d2a3dfeae6..3fdee2fe3875 100644 --- a/sdk/codebuild/src/protocol_serde/shape_fleet.rs +++ b/sdk/codebuild/src/protocol_serde/shape_fleet.rs @@ -86,6 +86,10 @@ where "vpcConfig" => { builder = builder.set_vpc_config(crate::protocol_serde::shape_vpc_config::de_vpc_config(tokens)?); } + "proxyConfiguration" => { + builder = + builder.set_proxy_configuration(crate::protocol_serde::shape_proxy_configuration::de_proxy_configuration(tokens)?); + } "imageId" => { builder = builder.set_image_id( ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? diff --git a/sdk/codebuild/src/protocol_serde/shape_fleet_proxy_rule.rs b/sdk/codebuild/src/protocol_serde/shape_fleet_proxy_rule.rs new file mode 100644 index 000000000000..ecb79013cf88 --- /dev/null +++ b/sdk/codebuild/src/protocol_serde/shape_fleet_proxy_rule.rs @@ -0,0 +1,76 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub fn ser_fleet_proxy_rule( + object: &mut ::aws_smithy_json::serialize::JsonObjectWriter, + input: &crate::types::FleetProxyRule, +) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> { + { + object.key("type").string(input.r#type.as_str()); + } + { + object.key("effect").string(input.effect.as_str()); + } + { + let mut array_1 = object.key("entities").start_array(); + for item_2 in &input.entities { + { + array_1.value().string(item_2.as_str()); + } + } + array_1.finish(); + } + Ok(()) +} + +pub(crate) fn de_fleet_proxy_rule<'a, I>( + tokens: &mut ::std::iter::Peekable, +) -> Result, ::aws_smithy_json::deserialize::error::DeserializeError> +where + I: Iterator, ::aws_smithy_json::deserialize::error::DeserializeError>>, +{ + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None), + Some(::aws_smithy_json::deserialize::Token::StartObject { .. }) => { + #[allow(unused_mut)] + let mut builder = crate::types::builders::FleetProxyRuleBuilder::default(); + loop { + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::EndObject { .. }) => break, + Some(::aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => match key.to_unescaped()?.as_ref() { + "type" => { + builder = builder.set_type( + ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| crate::types::FleetProxyRuleType::from(u.as_ref()))) + .transpose()?, + ); + } + "effect" => { + builder = builder.set_effect( + ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| crate::types::FleetProxyRuleEffectType::from(u.as_ref()))) + .transpose()?, + ); + } + "entities" => { + builder = builder.set_entities(crate::protocol_serde::shape_fleet_proxy_rule_entities::de_fleet_proxy_rule_entities( + tokens, + )?); + } + _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?, + }, + other => { + return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(format!( + "expected object key or end object, found: {:?}", + other + ))) + } + } + } + Ok(Some(crate::serde_util::fleet_proxy_rule_correct_errors(builder).build().map_err( + |err| ::aws_smithy_json::deserialize::error::DeserializeError::custom_source("Response was invalid", err), + )?)) + } + _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom( + "expected start object or null", + )), + } +} diff --git a/sdk/codebuild/src/protocol_serde/shape_fleet_proxy_rule_entities.rs b/sdk/codebuild/src/protocol_serde/shape_fleet_proxy_rule_entities.rs new file mode 100644 index 000000000000..611dcde21213 --- /dev/null +++ b/sdk/codebuild/src/protocol_serde/shape_fleet_proxy_rule_entities.rs @@ -0,0 +1,34 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub(crate) fn de_fleet_proxy_rule_entities<'a, I>( + tokens: &mut ::std::iter::Peekable, +) -> Result>, ::aws_smithy_json::deserialize::error::DeserializeError> +where + I: Iterator, ::aws_smithy_json::deserialize::error::DeserializeError>>, +{ + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None), + Some(::aws_smithy_json::deserialize::Token::StartArray { .. }) => { + let mut items = Vec::new(); + loop { + match tokens.peek() { + Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => { + tokens.next().transpose().unwrap(); + break; + } + _ => { + let value = ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| u.into_owned())) + .transpose()?; + if let Some(value) = value { + items.push(value); + } + } + } + } + Ok(Some(items)) + } + _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom( + "expected start array or null", + )), + } +} diff --git a/sdk/codebuild/src/protocol_serde/shape_fleet_proxy_rules.rs b/sdk/codebuild/src/protocol_serde/shape_fleet_proxy_rules.rs new file mode 100644 index 000000000000..ff2b83ee2493 --- /dev/null +++ b/sdk/codebuild/src/protocol_serde/shape_fleet_proxy_rules.rs @@ -0,0 +1,32 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub(crate) fn de_fleet_proxy_rules<'a, I>( + tokens: &mut ::std::iter::Peekable, +) -> Result>, ::aws_smithy_json::deserialize::error::DeserializeError> +where + I: Iterator, ::aws_smithy_json::deserialize::error::DeserializeError>>, +{ + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None), + Some(::aws_smithy_json::deserialize::Token::StartArray { .. }) => { + let mut items = Vec::new(); + loop { + match tokens.peek() { + Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => { + tokens.next().transpose().unwrap(); + break; + } + _ => { + let value = crate::protocol_serde::shape_fleet_proxy_rule::de_fleet_proxy_rule(tokens)?; + if let Some(value) = value { + items.push(value); + } + } + } + } + Ok(Some(items)) + } + _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom( + "expected start array or null", + )), + } +} diff --git a/sdk/codebuild/src/protocol_serde/shape_proxy_configuration.rs b/sdk/codebuild/src/protocol_serde/shape_proxy_configuration.rs new file mode 100644 index 000000000000..e6505c74be14 --- /dev/null +++ b/sdk/codebuild/src/protocol_serde/shape_proxy_configuration.rs @@ -0,0 +1,65 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub fn ser_proxy_configuration( + object: &mut ::aws_smithy_json::serialize::JsonObjectWriter, + input: &crate::types::ProxyConfiguration, +) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> { + if let Some(var_1) = &input.default_behavior { + object.key("defaultBehavior").string(var_1.as_str()); + } + if let Some(var_2) = &input.ordered_proxy_rules { + let mut array_3 = object.key("orderedProxyRules").start_array(); + for item_4 in var_2 { + { + #[allow(unused_mut)] + let mut object_5 = array_3.value().start_object(); + crate::protocol_serde::shape_fleet_proxy_rule::ser_fleet_proxy_rule(&mut object_5, item_4)?; + object_5.finish(); + } + } + array_3.finish(); + } + Ok(()) +} + +pub(crate) fn de_proxy_configuration<'a, I>( + tokens: &mut ::std::iter::Peekable, +) -> Result, ::aws_smithy_json::deserialize::error::DeserializeError> +where + I: Iterator, ::aws_smithy_json::deserialize::error::DeserializeError>>, +{ + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None), + Some(::aws_smithy_json::deserialize::Token::StartObject { .. }) => { + #[allow(unused_mut)] + let mut builder = crate::types::builders::ProxyConfigurationBuilder::default(); + loop { + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::EndObject { .. }) => break, + Some(::aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => match key.to_unescaped()?.as_ref() { + "defaultBehavior" => { + builder = builder.set_default_behavior( + ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| crate::types::FleetProxyRuleBehavior::from(u.as_ref()))) + .transpose()?, + ); + } + "orderedProxyRules" => { + builder = builder.set_ordered_proxy_rules(crate::protocol_serde::shape_fleet_proxy_rules::de_fleet_proxy_rules(tokens)?); + } + _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?, + }, + other => { + return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(format!( + "expected object key or end object, found: {:?}", + other + ))) + } + } + } + Ok(Some(builder.build())) + } + _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom( + "expected start object or null", + )), + } +} diff --git a/sdk/codebuild/src/protocol_serde/shape_update_fleet_input.rs b/sdk/codebuild/src/protocol_serde/shape_update_fleet_input.rs index 15980c91d3ab..1c850744c010 100644 --- a/sdk/codebuild/src/protocol_serde/shape_update_fleet_input.rs +++ b/sdk/codebuild/src/protocol_serde/shape_update_fleet_input.rs @@ -33,23 +33,29 @@ pub fn ser_update_fleet_input_input( crate::protocol_serde::shape_vpc_config::ser_vpc_config(&mut object_9, var_8)?; object_9.finish(); } - if let Some(var_10) = &input.image_id { - object.key("imageId").string(var_10.as_str()); + if let Some(var_10) = &input.proxy_configuration { + #[allow(unused_mut)] + let mut object_11 = object.key("proxyConfiguration").start_object(); + crate::protocol_serde::shape_proxy_configuration::ser_proxy_configuration(&mut object_11, var_10)?; + object_11.finish(); + } + if let Some(var_12) = &input.image_id { + object.key("imageId").string(var_12.as_str()); } - if let Some(var_11) = &input.fleet_service_role { - object.key("fleetServiceRole").string(var_11.as_str()); + if let Some(var_13) = &input.fleet_service_role { + object.key("fleetServiceRole").string(var_13.as_str()); } - if let Some(var_12) = &input.tags { - let mut array_13 = object.key("tags").start_array(); - for item_14 in var_12 { + if let Some(var_14) = &input.tags { + let mut array_15 = object.key("tags").start_array(); + for item_16 in var_14 { { #[allow(unused_mut)] - let mut object_15 = array_13.value().start_object(); - crate::protocol_serde::shape_tag::ser_tag(&mut object_15, item_14)?; - object_15.finish(); + let mut object_17 = array_15.value().start_object(); + crate::protocol_serde::shape_tag::ser_tag(&mut object_17, item_16)?; + object_17.finish(); } } - array_13.finish(); + array_15.finish(); } Ok(()) } diff --git a/sdk/codebuild/src/serde_util.rs b/sdk/codebuild/src/serde_util.rs index 5d6f97297fa2..f7075921e145 100644 --- a/sdk/codebuild/src/serde_util.rs +++ b/sdk/codebuild/src/serde_util.rs @@ -134,6 +134,21 @@ pub(crate) fn environment_variable_correct_errors( builder } +pub(crate) fn fleet_proxy_rule_correct_errors( + mut builder: crate::types::builders::FleetProxyRuleBuilder, +) -> crate::types::builders::FleetProxyRuleBuilder { + if builder.r#type.is_none() { + builder.r#type = "no value was set".parse::().ok() + } + if builder.effect.is_none() { + builder.effect = "no value was set".parse::().ok() + } + if builder.entities.is_none() { + builder.entities = Some(Default::default()) + } + builder +} + pub(crate) fn webhook_filter_correct_errors( mut builder: crate::types::builders::WebhookFilterBuilder, ) -> crate::types::builders::WebhookFilterBuilder { diff --git a/sdk/codebuild/src/types.rs b/sdk/codebuild/src/types.rs index b3b96ea93011..f87a18df7061 100644 --- a/sdk/codebuild/src/types.rs +++ b/sdk/codebuild/src/types.rs @@ -103,6 +103,16 @@ pub use crate::types::_source_type::SourceType; pub use crate::types::_fleet::Fleet; +pub use crate::types::_proxy_configuration::ProxyConfiguration; + +pub use crate::types::_fleet_proxy_rule::FleetProxyRule; + +pub use crate::types::_fleet_proxy_rule_effect_type::FleetProxyRuleEffectType; + +pub use crate::types::_fleet_proxy_rule_type::FleetProxyRuleType; + +pub use crate::types::_fleet_proxy_rule_behavior::FleetProxyRuleBehavior; + pub use crate::types::_fleet_overflow_behavior::FleetOverflowBehavior; pub use crate::types::_scaling_configuration_output::ScalingConfigurationOutput; @@ -285,6 +295,14 @@ mod _fleet_context_code; mod _fleet_overflow_behavior; +mod _fleet_proxy_rule; + +mod _fleet_proxy_rule_behavior; + +mod _fleet_proxy_rule_effect_type; + +mod _fleet_proxy_rule_type; + mod _fleet_scaling_metric_type; mod _fleet_scaling_type; @@ -337,6 +355,8 @@ mod _project_source_version; mod _project_visibility_type; +mod _proxy_configuration; + mod _registry_credential; mod _report; diff --git a/sdk/codebuild/src/types/_fleet.rs b/sdk/codebuild/src/types/_fleet.rs index 63051387d182..ef382d775266 100644 --- a/sdk/codebuild/src/types/_fleet.rs +++ b/sdk/codebuild/src/types/_fleet.rs @@ -84,6 +84,8 @@ pub struct Fleet { pub overflow_behavior: ::std::option::Option, ///

                                                                                                                  Information about the VPC configuration that CodeBuild accesses.

                                                                                                                  pub vpc_config: ::std::option::Option, + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub proxy_configuration: ::std::option::Option, ///

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.

                                                                                                                  pub image_id: ::std::option::Option<::std::string::String>, ///

                                                                                                                  The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide.

                                                                                                                  @@ -197,6 +199,10 @@ impl Fleet { pub fn vpc_config(&self) -> ::std::option::Option<&crate::types::VpcConfig> { self.vpc_config.as_ref() } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn proxy_configuration(&self) -> ::std::option::Option<&crate::types::ProxyConfiguration> { + self.proxy_configuration.as_ref() + } ///

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.

                                                                                                                  pub fn image_id(&self) -> ::std::option::Option<&str> { self.image_id.as_deref() @@ -236,6 +242,7 @@ pub struct FleetBuilder { pub(crate) scaling_configuration: ::std::option::Option, pub(crate) overflow_behavior: ::std::option::Option, pub(crate) vpc_config: ::std::option::Option, + pub(crate) proxy_configuration: ::std::option::Option, pub(crate) image_id: ::std::option::Option<::std::string::String>, pub(crate) fleet_service_role: ::std::option::Option<::std::string::String>, pub(crate) tags: ::std::option::Option<::std::vec::Vec>, @@ -577,6 +584,20 @@ impl FleetBuilder { pub fn get_vpc_config(&self) -> &::std::option::Option { &self.vpc_config } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn proxy_configuration(mut self, input: crate::types::ProxyConfiguration) -> Self { + self.proxy_configuration = ::std::option::Option::Some(input); + self + } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn set_proxy_configuration(mut self, input: ::std::option::Option) -> Self { + self.proxy_configuration = input; + self + } + ///

                                                                                                                  The proxy configuration of the compute fleet.

                                                                                                                  + pub fn get_proxy_configuration(&self) -> &::std::option::Option { + &self.proxy_configuration + } ///

                                                                                                                  The Amazon Machine Image (AMI) of the compute fleet.

                                                                                                                  pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.image_id = ::std::option::Option::Some(input.into()); @@ -643,6 +664,7 @@ impl FleetBuilder { scaling_configuration: self.scaling_configuration, overflow_behavior: self.overflow_behavior, vpc_config: self.vpc_config, + proxy_configuration: self.proxy_configuration, image_id: self.image_id, fleet_service_role: self.fleet_service_role, tags: self.tags, diff --git a/sdk/codebuild/src/types/_fleet_proxy_rule.rs b/sdk/codebuild/src/types/_fleet_proxy_rule.rs new file mode 100644 index 000000000000..d561b9c865f7 --- /dev/null +++ b/sdk/codebuild/src/types/_fleet_proxy_rule.rs @@ -0,0 +1,122 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

                                                                                                                  Information about the proxy rule for your reserved capacity instances.

                                                                                                                  +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct FleetProxyRule { + ///

                                                                                                                  The type of proxy rule.

                                                                                                                  + pub r#type: crate::types::FleetProxyRuleType, + ///

                                                                                                                  The behavior of the proxy rule.

                                                                                                                  + pub effect: crate::types::FleetProxyRuleEffectType, + ///

                                                                                                                  The destination of the proxy rule.

                                                                                                                  + pub entities: ::std::vec::Vec<::std::string::String>, +} +impl FleetProxyRule { + ///

                                                                                                                  The type of proxy rule.

                                                                                                                  + pub fn r#type(&self) -> &crate::types::FleetProxyRuleType { + &self.r#type + } + ///

                                                                                                                  The behavior of the proxy rule.

                                                                                                                  + pub fn effect(&self) -> &crate::types::FleetProxyRuleEffectType { + &self.effect + } + ///

                                                                                                                  The destination of the proxy rule.

                                                                                                                  + pub fn entities(&self) -> &[::std::string::String] { + use std::ops::Deref; + self.entities.deref() + } +} +impl FleetProxyRule { + /// Creates a new builder-style object to manufacture [`FleetProxyRule`](crate::types::FleetProxyRule). + pub fn builder() -> crate::types::builders::FleetProxyRuleBuilder { + crate::types::builders::FleetProxyRuleBuilder::default() + } +} + +/// A builder for [`FleetProxyRule`](crate::types::FleetProxyRule). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct FleetProxyRuleBuilder { + pub(crate) r#type: ::std::option::Option, + pub(crate) effect: ::std::option::Option, + pub(crate) entities: ::std::option::Option<::std::vec::Vec<::std::string::String>>, +} +impl FleetProxyRuleBuilder { + ///

                                                                                                                  The type of proxy rule.

                                                                                                                  + /// This field is required. + pub fn r#type(mut self, input: crate::types::FleetProxyRuleType) -> Self { + self.r#type = ::std::option::Option::Some(input); + self + } + ///

                                                                                                                  The type of proxy rule.

                                                                                                                  + pub fn set_type(mut self, input: ::std::option::Option) -> Self { + self.r#type = input; + self + } + ///

                                                                                                                  The type of proxy rule.

                                                                                                                  + pub fn get_type(&self) -> &::std::option::Option { + &self.r#type + } + ///

                                                                                                                  The behavior of the proxy rule.

                                                                                                                  + /// This field is required. + pub fn effect(mut self, input: crate::types::FleetProxyRuleEffectType) -> Self { + self.effect = ::std::option::Option::Some(input); + self + } + ///

                                                                                                                  The behavior of the proxy rule.

                                                                                                                  + pub fn set_effect(mut self, input: ::std::option::Option) -> Self { + self.effect = input; + self + } + ///

                                                                                                                  The behavior of the proxy rule.

                                                                                                                  + pub fn get_effect(&self) -> &::std::option::Option { + &self.effect + } + /// Appends an item to `entities`. + /// + /// To override the contents of this collection use [`set_entities`](Self::set_entities). + /// + ///

                                                                                                                  The destination of the proxy rule.

                                                                                                                  + pub fn entities(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + let mut v = self.entities.unwrap_or_default(); + v.push(input.into()); + self.entities = ::std::option::Option::Some(v); + self + } + ///

                                                                                                                  The destination of the proxy rule.

                                                                                                                  + pub fn set_entities(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { + self.entities = input; + self + } + ///

                                                                                                                  The destination of the proxy rule.

                                                                                                                  + pub fn get_entities(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { + &self.entities + } + /// Consumes the builder and constructs a [`FleetProxyRule`](crate::types::FleetProxyRule). + /// This method will fail if any of the following fields are not set: + /// - [`r#type`](crate::types::builders::FleetProxyRuleBuilder::type) + /// - [`effect`](crate::types::builders::FleetProxyRuleBuilder::effect) + /// - [`entities`](crate::types::builders::FleetProxyRuleBuilder::entities) + pub fn build(self) -> ::std::result::Result { + ::std::result::Result::Ok(crate::types::FleetProxyRule { + r#type: self.r#type.ok_or_else(|| { + ::aws_smithy_types::error::operation::BuildError::missing_field( + "r#type", + "r#type was not specified but it is required when building FleetProxyRule", + ) + })?, + effect: self.effect.ok_or_else(|| { + ::aws_smithy_types::error::operation::BuildError::missing_field( + "effect", + "effect was not specified but it is required when building FleetProxyRule", + ) + })?, + entities: self.entities.ok_or_else(|| { + ::aws_smithy_types::error::operation::BuildError::missing_field( + "entities", + "entities was not specified but it is required when building FleetProxyRule", + ) + })?, + }) + } +} diff --git a/sdk/codebuild/src/types/_fleet_proxy_rule_behavior.rs b/sdk/codebuild/src/types/_fleet_proxy_rule_behavior.rs new file mode 100644 index 000000000000..460232627413 --- /dev/null +++ b/sdk/codebuild/src/types/_fleet_proxy_rule_behavior.rs @@ -0,0 +1,107 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +/// When writing a match expression against `FleetProxyRuleBehavior`, it is important to ensure +/// your code is forward-compatible. That is, if a match arm handles a case for a +/// feature that is supported by the service but has not been represented as an enum +/// variant in a current version of SDK, your code should continue to work when you +/// upgrade SDK to a future version in which the enum does include a variant for that +/// feature. +/// +/// Here is an example of how you can make a match expression forward-compatible: +/// +/// ```text +/// # let fleetproxyrulebehavior = unimplemented!(); +/// match fleetproxyrulebehavior { +/// FleetProxyRuleBehavior::AllowAll => { /* ... */ }, +/// FleetProxyRuleBehavior::DenyAll => { /* ... */ }, +/// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ }, +/// _ => { /* ... */ }, +/// } +/// ``` +/// The above code demonstrates that when `fleetproxyrulebehavior` represents +/// `NewFeature`, the execution path will lead to the second last match arm, +/// even though the enum does not contain a variant `FleetProxyRuleBehavior::NewFeature` +/// in the current version of SDK. The reason is that the variable `other`, +/// created by the `@` operator, is bound to +/// `FleetProxyRuleBehavior::Unknown(UnknownVariantValue("NewFeature".to_owned()))` +/// and calling `as_str` on it yields `"NewFeature"`. +/// This match expression is forward-compatible when executed with a newer +/// version of SDK where the variant `FleetProxyRuleBehavior::NewFeature` is defined. +/// Specifically, when `fleetproxyrulebehavior` represents `NewFeature`, +/// the execution path will hit the second last match arm as before by virtue of +/// calling `as_str` on `FleetProxyRuleBehavior::NewFeature` also yielding `"NewFeature"`. +/// +/// Explicitly matching on the `Unknown` variant should +/// be avoided for two reasons: +/// - The inner data `UnknownVariantValue` is opaque, and no further information can be extracted. +/// - It might inadvertently shadow other intended match arms. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive( + ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::Ord, ::std::cmp::PartialEq, ::std::cmp::PartialOrd, ::std::fmt::Debug, ::std::hash::Hash, +)] +pub enum FleetProxyRuleBehavior { + #[allow(missing_docs)] // documentation missing in model + AllowAll, + #[allow(missing_docs)] // documentation missing in model + DenyAll, + /// `Unknown` contains new variants that have been added since this code was generated. + #[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")] + Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue), +} +impl ::std::convert::From<&str> for FleetProxyRuleBehavior { + fn from(s: &str) -> Self { + match s { + "ALLOW_ALL" => FleetProxyRuleBehavior::AllowAll, + "DENY_ALL" => FleetProxyRuleBehavior::DenyAll, + other => FleetProxyRuleBehavior::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())), + } + } +} +impl ::std::str::FromStr for FleetProxyRuleBehavior { + type Err = ::std::convert::Infallible; + + fn from_str(s: &str) -> ::std::result::Result::Err> { + ::std::result::Result::Ok(FleetProxyRuleBehavior::from(s)) + } +} +impl FleetProxyRuleBehavior { + /// Returns the `&str` value of the enum member. + pub fn as_str(&self) -> &str { + match self { + FleetProxyRuleBehavior::AllowAll => "ALLOW_ALL", + FleetProxyRuleBehavior::DenyAll => "DENY_ALL", + FleetProxyRuleBehavior::Unknown(value) => value.as_str(), + } + } + /// Returns all the `&str` representations of the enum members. + pub const fn values() -> &'static [&'static str] { + &["ALLOW_ALL", "DENY_ALL"] + } +} +impl ::std::convert::AsRef for FleetProxyRuleBehavior { + fn as_ref(&self) -> &str { + self.as_str() + } +} +impl FleetProxyRuleBehavior { + /// Parses the enum value while disallowing unknown variants. + /// + /// Unknown variants will result in an error. + pub fn try_parse(value: &str) -> ::std::result::Result { + match Self::from(value) { + #[allow(deprecated)] + Self::Unknown(_) => ::std::result::Result::Err(crate::error::UnknownVariantError::new(value)), + known => Ok(known), + } + } +} +impl ::std::fmt::Display for FleetProxyRuleBehavior { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + match self { + FleetProxyRuleBehavior::AllowAll => write!(f, "ALLOW_ALL"), + FleetProxyRuleBehavior::DenyAll => write!(f, "DENY_ALL"), + FleetProxyRuleBehavior::Unknown(value) => write!(f, "{}", value), + } + } +} diff --git a/sdk/codebuild/src/types/_fleet_proxy_rule_effect_type.rs b/sdk/codebuild/src/types/_fleet_proxy_rule_effect_type.rs new file mode 100644 index 000000000000..e3694ff48b73 --- /dev/null +++ b/sdk/codebuild/src/types/_fleet_proxy_rule_effect_type.rs @@ -0,0 +1,107 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +/// When writing a match expression against `FleetProxyRuleEffectType`, it is important to ensure +/// your code is forward-compatible. That is, if a match arm handles a case for a +/// feature that is supported by the service but has not been represented as an enum +/// variant in a current version of SDK, your code should continue to work when you +/// upgrade SDK to a future version in which the enum does include a variant for that +/// feature. +/// +/// Here is an example of how you can make a match expression forward-compatible: +/// +/// ```text +/// # let fleetproxyruleeffecttype = unimplemented!(); +/// match fleetproxyruleeffecttype { +/// FleetProxyRuleEffectType::Allow => { /* ... */ }, +/// FleetProxyRuleEffectType::Deny => { /* ... */ }, +/// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ }, +/// _ => { /* ... */ }, +/// } +/// ``` +/// The above code demonstrates that when `fleetproxyruleeffecttype` represents +/// `NewFeature`, the execution path will lead to the second last match arm, +/// even though the enum does not contain a variant `FleetProxyRuleEffectType::NewFeature` +/// in the current version of SDK. The reason is that the variable `other`, +/// created by the `@` operator, is bound to +/// `FleetProxyRuleEffectType::Unknown(UnknownVariantValue("NewFeature".to_owned()))` +/// and calling `as_str` on it yields `"NewFeature"`. +/// This match expression is forward-compatible when executed with a newer +/// version of SDK where the variant `FleetProxyRuleEffectType::NewFeature` is defined. +/// Specifically, when `fleetproxyruleeffecttype` represents `NewFeature`, +/// the execution path will hit the second last match arm as before by virtue of +/// calling `as_str` on `FleetProxyRuleEffectType::NewFeature` also yielding `"NewFeature"`. +/// +/// Explicitly matching on the `Unknown` variant should +/// be avoided for two reasons: +/// - The inner data `UnknownVariantValue` is opaque, and no further information can be extracted. +/// - It might inadvertently shadow other intended match arms. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive( + ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::Ord, ::std::cmp::PartialEq, ::std::cmp::PartialOrd, ::std::fmt::Debug, ::std::hash::Hash, +)] +pub enum FleetProxyRuleEffectType { + #[allow(missing_docs)] // documentation missing in model + Allow, + #[allow(missing_docs)] // documentation missing in model + Deny, + /// `Unknown` contains new variants that have been added since this code was generated. + #[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")] + Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue), +} +impl ::std::convert::From<&str> for FleetProxyRuleEffectType { + fn from(s: &str) -> Self { + match s { + "ALLOW" => FleetProxyRuleEffectType::Allow, + "DENY" => FleetProxyRuleEffectType::Deny, + other => FleetProxyRuleEffectType::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())), + } + } +} +impl ::std::str::FromStr for FleetProxyRuleEffectType { + type Err = ::std::convert::Infallible; + + fn from_str(s: &str) -> ::std::result::Result::Err> { + ::std::result::Result::Ok(FleetProxyRuleEffectType::from(s)) + } +} +impl FleetProxyRuleEffectType { + /// Returns the `&str` value of the enum member. + pub fn as_str(&self) -> &str { + match self { + FleetProxyRuleEffectType::Allow => "ALLOW", + FleetProxyRuleEffectType::Deny => "DENY", + FleetProxyRuleEffectType::Unknown(value) => value.as_str(), + } + } + /// Returns all the `&str` representations of the enum members. + pub const fn values() -> &'static [&'static str] { + &["ALLOW", "DENY"] + } +} +impl ::std::convert::AsRef for FleetProxyRuleEffectType { + fn as_ref(&self) -> &str { + self.as_str() + } +} +impl FleetProxyRuleEffectType { + /// Parses the enum value while disallowing unknown variants. + /// + /// Unknown variants will result in an error. + pub fn try_parse(value: &str) -> ::std::result::Result { + match Self::from(value) { + #[allow(deprecated)] + Self::Unknown(_) => ::std::result::Result::Err(crate::error::UnknownVariantError::new(value)), + known => Ok(known), + } + } +} +impl ::std::fmt::Display for FleetProxyRuleEffectType { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + match self { + FleetProxyRuleEffectType::Allow => write!(f, "ALLOW"), + FleetProxyRuleEffectType::Deny => write!(f, "DENY"), + FleetProxyRuleEffectType::Unknown(value) => write!(f, "{}", value), + } + } +} diff --git a/sdk/codebuild/src/types/_fleet_proxy_rule_type.rs b/sdk/codebuild/src/types/_fleet_proxy_rule_type.rs new file mode 100644 index 000000000000..35b8268a1d08 --- /dev/null +++ b/sdk/codebuild/src/types/_fleet_proxy_rule_type.rs @@ -0,0 +1,107 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +/// When writing a match expression against `FleetProxyRuleType`, it is important to ensure +/// your code is forward-compatible. That is, if a match arm handles a case for a +/// feature that is supported by the service but has not been represented as an enum +/// variant in a current version of SDK, your code should continue to work when you +/// upgrade SDK to a future version in which the enum does include a variant for that +/// feature. +/// +/// Here is an example of how you can make a match expression forward-compatible: +/// +/// ```text +/// # let fleetproxyruletype = unimplemented!(); +/// match fleetproxyruletype { +/// FleetProxyRuleType::Domain => { /* ... */ }, +/// FleetProxyRuleType::Ip => { /* ... */ }, +/// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ }, +/// _ => { /* ... */ }, +/// } +/// ``` +/// The above code demonstrates that when `fleetproxyruletype` represents +/// `NewFeature`, the execution path will lead to the second last match arm, +/// even though the enum does not contain a variant `FleetProxyRuleType::NewFeature` +/// in the current version of SDK. The reason is that the variable `other`, +/// created by the `@` operator, is bound to +/// `FleetProxyRuleType::Unknown(UnknownVariantValue("NewFeature".to_owned()))` +/// and calling `as_str` on it yields `"NewFeature"`. +/// This match expression is forward-compatible when executed with a newer +/// version of SDK where the variant `FleetProxyRuleType::NewFeature` is defined. +/// Specifically, when `fleetproxyruletype` represents `NewFeature`, +/// the execution path will hit the second last match arm as before by virtue of +/// calling `as_str` on `FleetProxyRuleType::NewFeature` also yielding `"NewFeature"`. +/// +/// Explicitly matching on the `Unknown` variant should +/// be avoided for two reasons: +/// - The inner data `UnknownVariantValue` is opaque, and no further information can be extracted. +/// - It might inadvertently shadow other intended match arms. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive( + ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::Ord, ::std::cmp::PartialEq, ::std::cmp::PartialOrd, ::std::fmt::Debug, ::std::hash::Hash, +)] +pub enum FleetProxyRuleType { + #[allow(missing_docs)] // documentation missing in model + Domain, + #[allow(missing_docs)] // documentation missing in model + Ip, + /// `Unknown` contains new variants that have been added since this code was generated. + #[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")] + Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue), +} +impl ::std::convert::From<&str> for FleetProxyRuleType { + fn from(s: &str) -> Self { + match s { + "DOMAIN" => FleetProxyRuleType::Domain, + "IP" => FleetProxyRuleType::Ip, + other => FleetProxyRuleType::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())), + } + } +} +impl ::std::str::FromStr for FleetProxyRuleType { + type Err = ::std::convert::Infallible; + + fn from_str(s: &str) -> ::std::result::Result::Err> { + ::std::result::Result::Ok(FleetProxyRuleType::from(s)) + } +} +impl FleetProxyRuleType { + /// Returns the `&str` value of the enum member. + pub fn as_str(&self) -> &str { + match self { + FleetProxyRuleType::Domain => "DOMAIN", + FleetProxyRuleType::Ip => "IP", + FleetProxyRuleType::Unknown(value) => value.as_str(), + } + } + /// Returns all the `&str` representations of the enum members. + pub const fn values() -> &'static [&'static str] { + &["DOMAIN", "IP"] + } +} +impl ::std::convert::AsRef for FleetProxyRuleType { + fn as_ref(&self) -> &str { + self.as_str() + } +} +impl FleetProxyRuleType { + /// Parses the enum value while disallowing unknown variants. + /// + /// Unknown variants will result in an error. + pub fn try_parse(value: &str) -> ::std::result::Result { + match Self::from(value) { + #[allow(deprecated)] + Self::Unknown(_) => ::std::result::Result::Err(crate::error::UnknownVariantError::new(value)), + known => Ok(known), + } + } +} +impl ::std::fmt::Display for FleetProxyRuleType { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + match self { + FleetProxyRuleType::Domain => write!(f, "DOMAIN"), + FleetProxyRuleType::Ip => write!(f, "IP"), + FleetProxyRuleType::Unknown(value) => write!(f, "{}", value), + } + } +} diff --git a/sdk/codebuild/src/types/_proxy_configuration.rs b/sdk/codebuild/src/types/_proxy_configuration.rs new file mode 100644 index 000000000000..447f1b742a5c --- /dev/null +++ b/sdk/codebuild/src/types/_proxy_configuration.rs @@ -0,0 +1,80 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

                                                                                                                  Information about the proxy configurations that apply network access control to your reserved capacity instances.

                                                                                                                  +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct ProxyConfiguration { + ///

                                                                                                                  The default behavior of outgoing traffic.

                                                                                                                  + pub default_behavior: ::std::option::Option, + ///

                                                                                                                  An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to.

                                                                                                                  + pub ordered_proxy_rules: ::std::option::Option<::std::vec::Vec>, +} +impl ProxyConfiguration { + ///

                                                                                                                  The default behavior of outgoing traffic.

                                                                                                                  + pub fn default_behavior(&self) -> ::std::option::Option<&crate::types::FleetProxyRuleBehavior> { + self.default_behavior.as_ref() + } + ///

                                                                                                                  An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to.

                                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.ordered_proxy_rules.is_none()`. + pub fn ordered_proxy_rules(&self) -> &[crate::types::FleetProxyRule] { + self.ordered_proxy_rules.as_deref().unwrap_or_default() + } +} +impl ProxyConfiguration { + /// Creates a new builder-style object to manufacture [`ProxyConfiguration`](crate::types::ProxyConfiguration). + pub fn builder() -> crate::types::builders::ProxyConfigurationBuilder { + crate::types::builders::ProxyConfigurationBuilder::default() + } +} + +/// A builder for [`ProxyConfiguration`](crate::types::ProxyConfiguration). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct ProxyConfigurationBuilder { + pub(crate) default_behavior: ::std::option::Option, + pub(crate) ordered_proxy_rules: ::std::option::Option<::std::vec::Vec>, +} +impl ProxyConfigurationBuilder { + ///

                                                                                                                  The default behavior of outgoing traffic.

                                                                                                                  + pub fn default_behavior(mut self, input: crate::types::FleetProxyRuleBehavior) -> Self { + self.default_behavior = ::std::option::Option::Some(input); + self + } + ///

                                                                                                                  The default behavior of outgoing traffic.

                                                                                                                  + pub fn set_default_behavior(mut self, input: ::std::option::Option) -> Self { + self.default_behavior = input; + self + } + ///

                                                                                                                  The default behavior of outgoing traffic.

                                                                                                                  + pub fn get_default_behavior(&self) -> &::std::option::Option { + &self.default_behavior + } + /// Appends an item to `ordered_proxy_rules`. + /// + /// To override the contents of this collection use [`set_ordered_proxy_rules`](Self::set_ordered_proxy_rules). + /// + ///

                                                                                                                  An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to.

                                                                                                                  + pub fn ordered_proxy_rules(mut self, input: crate::types::FleetProxyRule) -> Self { + let mut v = self.ordered_proxy_rules.unwrap_or_default(); + v.push(input); + self.ordered_proxy_rules = ::std::option::Option::Some(v); + self + } + ///

                                                                                                                  An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to.

                                                                                                                  + pub fn set_ordered_proxy_rules(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.ordered_proxy_rules = input; + self + } + ///

                                                                                                                  An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to.

                                                                                                                  + pub fn get_ordered_proxy_rules(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.ordered_proxy_rules + } + /// Consumes the builder and constructs a [`ProxyConfiguration`](crate::types::ProxyConfiguration). + pub fn build(self) -> crate::types::ProxyConfiguration { + crate::types::ProxyConfiguration { + default_behavior: self.default_behavior, + ordered_proxy_rules: self.ordered_proxy_rules, + } + } +} diff --git a/sdk/codebuild/src/types/_webhook_filter_type.rs b/sdk/codebuild/src/types/_webhook_filter_type.rs index 720d0dccc38a..328b640f15a0 100644 --- a/sdk/codebuild/src/types/_webhook_filter_type.rs +++ b/sdk/codebuild/src/types/_webhook_filter_type.rs @@ -19,6 +19,7 @@ /// WebhookFilterType::FilePath => { /* ... */ }, /// WebhookFilterType::HeadRef => { /* ... */ }, /// WebhookFilterType::ReleaseName => { /* ... */ }, +/// WebhookFilterType::RepositoryName => { /* ... */ }, /// WebhookFilterType::TagName => { /* ... */ }, /// WebhookFilterType::WorkflowName => { /* ... */ }, /// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ }, @@ -63,6 +64,8 @@ pub enum WebhookFilterType { #[allow(missing_docs)] // documentation missing in model ReleaseName, #[allow(missing_docs)] // documentation missing in model + RepositoryName, + #[allow(missing_docs)] // documentation missing in model TagName, #[allow(missing_docs)] // documentation missing in model WorkflowName, @@ -80,6 +83,7 @@ impl ::std::convert::From<&str> for WebhookFilterType { "FILE_PATH" => WebhookFilterType::FilePath, "HEAD_REF" => WebhookFilterType::HeadRef, "RELEASE_NAME" => WebhookFilterType::ReleaseName, + "REPOSITORY_NAME" => WebhookFilterType::RepositoryName, "TAG_NAME" => WebhookFilterType::TagName, "WORKFLOW_NAME" => WebhookFilterType::WorkflowName, other => WebhookFilterType::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())), @@ -104,6 +108,7 @@ impl WebhookFilterType { WebhookFilterType::FilePath => "FILE_PATH", WebhookFilterType::HeadRef => "HEAD_REF", WebhookFilterType::ReleaseName => "RELEASE_NAME", + WebhookFilterType::RepositoryName => "REPOSITORY_NAME", WebhookFilterType::TagName => "TAG_NAME", WebhookFilterType::WorkflowName => "WORKFLOW_NAME", WebhookFilterType::Unknown(value) => value.as_str(), @@ -119,6 +124,7 @@ impl WebhookFilterType { "FILE_PATH", "HEAD_REF", "RELEASE_NAME", + "REPOSITORY_NAME", "TAG_NAME", "WORKFLOW_NAME", ] @@ -151,6 +157,7 @@ impl ::std::fmt::Display for WebhookFilterType { WebhookFilterType::FilePath => write!(f, "FILE_PATH"), WebhookFilterType::HeadRef => write!(f, "HEAD_REF"), WebhookFilterType::ReleaseName => write!(f, "RELEASE_NAME"), + WebhookFilterType::RepositoryName => write!(f, "REPOSITORY_NAME"), WebhookFilterType::TagName => write!(f, "TAG_NAME"), WebhookFilterType::WorkflowName => write!(f, "WORKFLOW_NAME"), WebhookFilterType::Unknown(value) => write!(f, "{}", value), diff --git a/sdk/codebuild/src/types/builders.rs b/sdk/codebuild/src/types/builders.rs index 209dc54163fa..339d73b553c4 100644 --- a/sdk/codebuild/src/types/builders.rs +++ b/sdk/codebuild/src/types/builders.rs @@ -55,6 +55,10 @@ pub use crate::types::_git_submodules_config::GitSubmodulesConfigBuilder; pub use crate::types::_fleet::FleetBuilder; +pub use crate::types::_proxy_configuration::ProxyConfigurationBuilder; + +pub use crate::types::_fleet_proxy_rule::FleetProxyRuleBuilder; + pub use crate::types::_scaling_configuration_output::ScalingConfigurationOutputBuilder; pub use crate::types::_target_tracking_scaling_configuration::TargetTrackingScalingConfigurationBuilder; diff --git a/sdk/ivs/Cargo.toml b/sdk/ivs/Cargo.toml index 21ed7aa8265f..267d6ab9104f 100644 --- a/sdk/ivs/Cargo.toml +++ b/sdk/ivs/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-ivs" -version = "1.50.0" +version = "1.51.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for Amazon Interactive Video Service" edition = "2021" diff --git a/sdk/ivs/README.md b/sdk/ivs/README.md index ff38677047de..4d9af0499f3e 100644 --- a/sdk/ivs/README.md +++ b/sdk/ivs/README.md @@ -66,7 +66,7 @@ your project, add the following to your **Cargo.toml** file: ```toml [dependencies] aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -aws-sdk-ivs = "1.50.0" +aws-sdk-ivs = "1.51.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/ivs/src/lib.rs b/sdk/ivs/src/lib.rs index 86c3dabf37b3..776714f076c8 100644 --- a/sdk/ivs/src/lib.rs +++ b/sdk/ivs/src/lib.rs @@ -83,7 +83,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-ivs = "1.50.0" +//! aws-sdk-ivs = "1.51.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/ivs/src/protocol_serde/shape_stream_event.rs b/sdk/ivs/src/protocol_serde/shape_stream_event.rs index 14b730e18395..ca13236977cf 100644 --- a/sdk/ivs/src/protocol_serde/shape_stream_event.rs +++ b/sdk/ivs/src/protocol_serde/shape_stream_event.rs @@ -34,6 +34,13 @@ where ::aws_smithy_types::date_time::Format::DateTimeWithOffset, )?); } + "code" => { + builder = builder.set_code( + ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| u.into_owned())) + .transpose()?, + ); + } _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?, }, other => { diff --git a/sdk/ivs/src/types/_stream_event.rs b/sdk/ivs/src/types/_stream_event.rs index a4c98a4a599b..c648ec7d5f83 100644 --- a/sdk/ivs/src/types/_stream_event.rs +++ b/sdk/ivs/src/types/_stream_event.rs @@ -10,6 +10,16 @@ pub struct StreamEvent { pub r#type: ::std::option::Option<::std::string::String>, ///

                                                                                                                  Time when the event occurred. This is an ISO 8601 timestamp; note that this is returned as a string.

                                                                                                                  pub event_time: ::std::option::Option<::aws_smithy_types::DateTime>, + ///

                                                                                                                  Provides additional details about the stream event. There are several values; note that the long descriptions are provided in the IVS console but not delivered through the IVS API or EventBridge:

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverMediaMismatch — The broadcast client attempted to take over with different media properties (e.g., codec, resolution, or video track type) from the original stream.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverInvalidPriority — The broadcast client attempted a takeover with either a priority integer value equal to or lower than the original stream's value or a value outside the allowed range of 1 to 2,147,483,647.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverLimitBreached — The broadcast client reached the maximum allowed takeover attempts for this stream.

                                                                                                                  • + ///
                                                                                                                  + pub code: ::std::option::Option<::std::string::String>, } impl StreamEvent { ///

                                                                                                                  Name that identifies the stream event within a type.

                                                                                                                  @@ -24,6 +34,18 @@ impl StreamEvent { pub fn event_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> { self.event_time.as_ref() } + ///

                                                                                                                  Provides additional details about the stream event. There are several values; note that the long descriptions are provided in the IVS console but not delivered through the IVS API or EventBridge:

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverMediaMismatch — The broadcast client attempted to take over with different media properties (e.g., codec, resolution, or video track type) from the original stream.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverInvalidPriority — The broadcast client attempted a takeover with either a priority integer value equal to or lower than the original stream's value or a value outside the allowed range of 1 to 2,147,483,647.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverLimitBreached — The broadcast client reached the maximum allowed takeover attempts for this stream.

                                                                                                                  • + ///
                                                                                                                  + pub fn code(&self) -> ::std::option::Option<&str> { + self.code.as_deref() + } } impl StreamEvent { /// Creates a new builder-style object to manufacture [`StreamEvent`](crate::types::StreamEvent). @@ -39,6 +61,7 @@ pub struct StreamEventBuilder { pub(crate) name: ::std::option::Option<::std::string::String>, pub(crate) r#type: ::std::option::Option<::std::string::String>, pub(crate) event_time: ::std::option::Option<::aws_smithy_types::DateTime>, + pub(crate) code: ::std::option::Option<::std::string::String>, } impl StreamEventBuilder { ///

                                                                                                                  Name that identifies the stream event within a type.

                                                                                                                  @@ -83,12 +106,51 @@ impl StreamEventBuilder { pub fn get_event_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> { &self.event_time } + ///

                                                                                                                  Provides additional details about the stream event. There are several values; note that the long descriptions are provided in the IVS console but not delivered through the IVS API or EventBridge:

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverMediaMismatch — The broadcast client attempted to take over with different media properties (e.g., codec, resolution, or video track type) from the original stream.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverInvalidPriority — The broadcast client attempted a takeover with either a priority integer value equal to or lower than the original stream's value or a value outside the allowed range of 1 to 2,147,483,647.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverLimitBreached — The broadcast client reached the maximum allowed takeover attempts for this stream.

                                                                                                                  • + ///
                                                                                                                  + pub fn code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.code = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  Provides additional details about the stream event. There are several values; note that the long descriptions are provided in the IVS console but not delivered through the IVS API or EventBridge:

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverMediaMismatch — The broadcast client attempted to take over with different media properties (e.g., codec, resolution, or video track type) from the original stream.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverInvalidPriority — The broadcast client attempted a takeover with either a priority integer value equal to or lower than the original stream's value or a value outside the allowed range of 1 to 2,147,483,647.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverLimitBreached — The broadcast client reached the maximum allowed takeover attempts for this stream.

                                                                                                                  • + ///
                                                                                                                  + pub fn set_code(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.code = input; + self + } + ///

                                                                                                                  Provides additional details about the stream event. There are several values; note that the long descriptions are provided in the IVS console but not delivered through the IVS API or EventBridge:

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverMediaMismatch — The broadcast client attempted to take over with different media properties (e.g., codec, resolution, or video track type) from the original stream.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverInvalidPriority — The broadcast client attempted a takeover with either a priority integer value equal to or lower than the original stream's value or a value outside the allowed range of 1 to 2,147,483,647.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    StreamTakeoverLimitBreached — The broadcast client reached the maximum allowed takeover attempts for this stream.

                                                                                                                  • + ///
                                                                                                                  + pub fn get_code(&self) -> &::std::option::Option<::std::string::String> { + &self.code + } /// Consumes the builder and constructs a [`StreamEvent`](crate::types::StreamEvent). pub fn build(self) -> crate::types::StreamEvent { crate::types::StreamEvent { name: self.name, r#type: self.r#type, event_time: self.event_time, + code: self.code, } } } diff --git a/sdk/qbusiness/Cargo.toml b/sdk/qbusiness/Cargo.toml index d99ba85fbbf5..304d2edcb111 100644 --- a/sdk/qbusiness/Cargo.toml +++ b/sdk/qbusiness/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-qbusiness" -version = "1.48.0" +version = "1.49.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for QBusiness" edition = "2021" diff --git a/sdk/qbusiness/README.md b/sdk/qbusiness/README.md index 932d07bfadf0..aaccabac7091 100644 --- a/sdk/qbusiness/README.md +++ b/sdk/qbusiness/README.md @@ -23,7 +23,7 @@ your project, add the following to your **Cargo.toml** file: ```toml [dependencies] aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -aws-sdk-qbusiness = "1.48.0" +aws-sdk-qbusiness = "1.49.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/qbusiness/src/client/chat.rs b/sdk/qbusiness/src/client/chat.rs index 2e1d67517870..3d316304dbe0 100644 --- a/sdk/qbusiness/src/client/chat.rs +++ b/sdk/qbusiness/src/client/chat.rs @@ -5,7 +5,7 @@ impl super::Client { /// - The fluent builder is configurable: /// - [`application_id(impl Into)`](crate::operation::chat::builders::ChatFluentBuilder::application_id) / [`set_application_id(Option)`](crate::operation::chat::builders::ChatFluentBuilder::set_application_id):
                                                                                                                  required: **true**

                                                                                                                  The identifier of the Amazon Q Business application linked to a streaming Amazon Q Business conversation.


                                                                                                                  /// - [`user_id(impl Into)`](crate::operation::chat::builders::ChatFluentBuilder::user_id) / [`set_user_id(Option)`](crate::operation::chat::builders::ChatFluentBuilder::set_user_id):
                                                                                                                  required: **false**

                                                                                                                  The identifier of the user attached to the chat input.


                                                                                                                  - /// - [`user_groups(impl Into)`](crate::operation::chat::builders::ChatFluentBuilder::user_groups) / [`set_user_groups(Option>)`](crate::operation::chat::builders::ChatFluentBuilder::set_user_groups):
                                                                                                                  required: **false**

                                                                                                                  The groups that a user associated with the chat input belongs to.


                                                                                                                  + /// - [`user_groups(impl Into)`](crate::operation::chat::builders::ChatFluentBuilder::user_groups) / [`set_user_groups(Option>)`](crate::operation::chat::builders::ChatFluentBuilder::set_user_groups):
                                                                                                                  required: **false**

                                                                                                                  The group names that a user associated with the chat input belongs to.


                                                                                                                  /// - [`conversation_id(impl Into)`](crate::operation::chat::builders::ChatFluentBuilder::conversation_id) / [`set_conversation_id(Option)`](crate::operation::chat::builders::ChatFluentBuilder::set_conversation_id):
                                                                                                                  required: **false**

                                                                                                                  The identifier of the Amazon Q Business conversation.


                                                                                                                  /// - [`parent_message_id(impl Into)`](crate::operation::chat::builders::ChatFluentBuilder::parent_message_id) / [`set_parent_message_id(Option)`](crate::operation::chat::builders::ChatFluentBuilder::set_parent_message_id):
                                                                                                                  required: **false**

                                                                                                                  The identifier used to associate a user message with a AI generated response.


                                                                                                                  /// - [`client_token(impl Into)`](crate::operation::chat::builders::ChatFluentBuilder::client_token) / [`set_client_token(Option)`](crate::operation::chat::builders::ChatFluentBuilder::set_client_token):
                                                                                                                  required: **false**

                                                                                                                  A token that you provide to identify the chat input.


                                                                                                                  diff --git a/sdk/qbusiness/src/client/chat_sync.rs b/sdk/qbusiness/src/client/chat_sync.rs index 8764983c6d25..25bbed93a923 100644 --- a/sdk/qbusiness/src/client/chat_sync.rs +++ b/sdk/qbusiness/src/client/chat_sync.rs @@ -5,7 +5,7 @@ impl super::Client { /// - The fluent builder is configurable: /// - [`application_id(impl Into)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::application_id) / [`set_application_id(Option)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::set_application_id):
                                                                                                                  required: **true**

                                                                                                                  The identifier of the Amazon Q Business application linked to the Amazon Q Business conversation.


                                                                                                                  /// - [`user_id(impl Into)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::user_id) / [`set_user_id(Option)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::set_user_id):
                                                                                                                  required: **false**

                                                                                                                  The identifier of the user attached to the chat input.


                                                                                                                  - /// - [`user_groups(impl Into)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::user_groups) / [`set_user_groups(Option>)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::set_user_groups):
                                                                                                                  required: **false**

                                                                                                                  The groups that a user associated with the chat input belongs to.


                                                                                                                  + /// - [`user_groups(impl Into)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::user_groups) / [`set_user_groups(Option>)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::set_user_groups):
                                                                                                                  required: **false**

                                                                                                                  The group names that a user associated with the chat input belongs to.


                                                                                                                  /// - [`user_message(impl Into)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::user_message) / [`set_user_message(Option)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::set_user_message):
                                                                                                                  required: **false**

                                                                                                                  A end user message in a conversation.


                                                                                                                  /// - [`attachments(AttachmentInput)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::attachments) / [`set_attachments(Option>)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::set_attachments):
                                                                                                                  required: **false**

                                                                                                                  A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.


                                                                                                                  /// - [`action_execution(ActionExecution)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::action_execution) / [`set_action_execution(Option)`](crate::operation::chat_sync::builders::ChatSyncFluentBuilder::set_action_execution):
                                                                                                                  required: **false**

                                                                                                                  A request from an end user to perform an Amazon Q Business plugin action.


                                                                                                                  diff --git a/sdk/qbusiness/src/client/create_application.rs b/sdk/qbusiness/src/client/create_application.rs index b5187821f6bf..01e9274850d0 100644 --- a/sdk/qbusiness/src/client/create_application.rs +++ b/sdk/qbusiness/src/client/create_application.rs @@ -4,7 +4,7 @@ impl super::Client { /// /// - The fluent builder is configurable: /// - [`display_name(impl Into)`](crate::operation::create_application::builders::CreateApplicationFluentBuilder::display_name) / [`set_display_name(Option)`](crate::operation::create_application::builders::CreateApplicationFluentBuilder::set_display_name):
                                                                                                                  required: **true**

                                                                                                                  A name for the Amazon Q Business application.


                                                                                                                  - /// - [`role_arn(impl Into)`](crate::operation::create_application::builders::CreateApplicationFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::create_application::builders::CreateApplicationFluentBuilder::set_role_arn):
                                                                                                                  required: **false**

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.


                                                                                                                  + /// - [`role_arn(impl Into)`](crate::operation::create_application::builders::CreateApplicationFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::create_application::builders::CreateApplicationFluentBuilder::set_role_arn):
                                                                                                                  required: **false**

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics. If this property is not specified, Amazon Q Business will create a service linked role (SLR) and use it as the application's role.


                                                                                                                  /// - [`identity_type(IdentityType)`](crate::operation::create_application::builders::CreateApplicationFluentBuilder::identity_type) / [`set_identity_type(Option)`](crate::operation::create_application::builders::CreateApplicationFluentBuilder::set_identity_type):
                                                                                                                  required: **false**

                                                                                                                  The authentication type being used by a Amazon Q Business application.


                                                                                                                  /// - [`iam_identity_provider_arn(impl Into)`](crate::operation::create_application::builders::CreateApplicationFluentBuilder::iam_identity_provider_arn) / [`set_iam_identity_provider_arn(Option)`](crate::operation::create_application::builders::CreateApplicationFluentBuilder::set_iam_identity_provider_arn):
                                                                                                                  required: **false**

                                                                                                                  The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application.


                                                                                                                  /// - [`identity_center_instance_arn(impl Into)`](crate::operation::create_application::builders::CreateApplicationFluentBuilder::identity_center_instance_arn) / [`set_identity_center_instance_arn(Option)`](crate::operation::create_application::builders::CreateApplicationFluentBuilder::set_identity_center_instance_arn):
                                                                                                                  required: **false**

                                                                                                                  The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating for—or connecting to—your Amazon Q Business application.


                                                                                                                  diff --git a/sdk/qbusiness/src/client/create_web_experience.rs b/sdk/qbusiness/src/client/create_web_experience.rs index 68f21446db22..4c975d16a50d 100644 --- a/sdk/qbusiness/src/client/create_web_experience.rs +++ b/sdk/qbusiness/src/client/create_web_experience.rs @@ -8,6 +8,7 @@ impl super::Client { /// - [`subtitle(impl Into)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::subtitle) / [`set_subtitle(Option)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::set_subtitle):
                                                                                                                  required: **false**

                                                                                                                  A subtitle to personalize your Amazon Q Business web experience.


                                                                                                                  /// - [`welcome_message(impl Into)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::welcome_message) / [`set_welcome_message(Option)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::set_welcome_message):
                                                                                                                  required: **false**

                                                                                                                  The customized welcome message for end users of an Amazon Q Business web experience.


                                                                                                                  /// - [`sample_prompts_control_mode(WebExperienceSamplePromptsControlMode)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::sample_prompts_control_mode) / [`set_sample_prompts_control_mode(Option)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::set_sample_prompts_control_mode):
                                                                                                                  required: **false**

                                                                                                                  Determines whether sample prompts are enabled in the web experience for an end user.


                                                                                                                  + /// - [`origins(impl Into)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::origins) / [`set_origins(Option>)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::set_origins):
                                                                                                                  required: **false**

                                                                                                                  Sets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.


                                                                                                                  /// - [`role_arn(impl Into)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::role_arn) / [`set_role_arn(Option)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::set_role_arn):
                                                                                                                  required: **false**

                                                                                                                  The Amazon Resource Name (ARN) of the service role attached to your web experience.

                                                                                                                  You must provide this value if you're using IAM Identity Center to manage end user access to your application. If you're using legacy identity management to manage user access, you don't need to provide this value.


                                                                                                                  /// - [`tags(Tag)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::tags) / [`set_tags(Option>)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::set_tags):
                                                                                                                  required: **false**

                                                                                                                  A list of key-value pairs that identify or categorize your Amazon Q Business web experience. You can also use tags to help control access to the web experience. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.


                                                                                                                  /// - [`client_token(impl Into)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::client_token) / [`set_client_token(Option)`](crate::operation::create_web_experience::builders::CreateWebExperienceFluentBuilder::set_client_token):
                                                                                                                  required: **false**

                                                                                                                  A token you provide to identify a request to create an Amazon Q Business web experience.


                                                                                                                  diff --git a/sdk/qbusiness/src/client/get_web_experience.rs b/sdk/qbusiness/src/client/get_web_experience.rs index 5f2eb898d38b..ca524fdf515c 100644 --- a/sdk/qbusiness/src/client/get_web_experience.rs +++ b/sdk/qbusiness/src/client/get_web_experience.rs @@ -17,6 +17,7 @@ impl super::Client { /// - [`subtitle(Option)`](crate::operation::get_web_experience::GetWebExperienceOutput::subtitle):

                                                                                                                  The subtitle for your Amazon Q Business web experience.

                                                                                                                  /// - [`welcome_message(Option)`](crate::operation::get_web_experience::GetWebExperienceOutput::welcome_message):

                                                                                                                  The customized welcome message for end users of an Amazon Q Business web experience.

                                                                                                                  /// - [`sample_prompts_control_mode(Option)`](crate::operation::get_web_experience::GetWebExperienceOutput::sample_prompts_control_mode):

                                                                                                                  Determines whether sample prompts are enabled in the web experience for an end user.

                                                                                                                  + /// - [`origins(Option>)`](crate::operation::get_web_experience::GetWebExperienceOutput::origins):

                                                                                                                  Gets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  /// - [`role_arn(Option)`](crate::operation::get_web_experience::GetWebExperienceOutput::role_arn):

                                                                                                                  The Amazon Resource Name (ARN) of the service role attached to your web experience.

                                                                                                                  /// - [`identity_provider_configuration(Option)`](crate::operation::get_web_experience::GetWebExperienceOutput::identity_provider_configuration):

                                                                                                                  Information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.

                                                                                                                  /// - [`authentication_configuration(Option)`](crate::operation::get_web_experience::GetWebExperienceOutput::authentication_configuration):

                                                                                                                  The authentication configuration information for your Amazon Q Business web experience.

                                                                                                                  diff --git a/sdk/qbusiness/src/client/update_web_experience.rs b/sdk/qbusiness/src/client/update_web_experience.rs index a442616eadc3..5af07a1f4bea 100644 --- a/sdk/qbusiness/src/client/update_web_experience.rs +++ b/sdk/qbusiness/src/client/update_web_experience.rs @@ -12,6 +12,7 @@ impl super::Client { /// - [`welcome_message(impl Into)`](crate::operation::update_web_experience::builders::UpdateWebExperienceFluentBuilder::welcome_message) / [`set_welcome_message(Option)`](crate::operation::update_web_experience::builders::UpdateWebExperienceFluentBuilder::set_welcome_message):
                                                                                                                  required: **false**

                                                                                                                  A customized welcome message for an end user in an Amazon Q Business web experience.


                                                                                                                  /// - [`sample_prompts_control_mode(WebExperienceSamplePromptsControlMode)`](crate::operation::update_web_experience::builders::UpdateWebExperienceFluentBuilder::sample_prompts_control_mode) / [`set_sample_prompts_control_mode(Option)`](crate::operation::update_web_experience::builders::UpdateWebExperienceFluentBuilder::set_sample_prompts_control_mode):
                                                                                                                  required: **false**

                                                                                                                  Determines whether sample prompts are enabled in the web experience for an end user.


                                                                                                                  /// - [`identity_provider_configuration(IdentityProviderConfiguration)`](crate::operation::update_web_experience::builders::UpdateWebExperienceFluentBuilder::identity_provider_configuration) / [`set_identity_provider_configuration(Option)`](crate::operation::update_web_experience::builders::UpdateWebExperienceFluentBuilder::set_identity_provider_configuration):
                                                                                                                  required: **false**

                                                                                                                  Information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.


                                                                                                                  + /// - [`origins(impl Into)`](crate::operation::update_web_experience::builders::UpdateWebExperienceFluentBuilder::origins) / [`set_origins(Option>)`](crate::operation::update_web_experience::builders::UpdateWebExperienceFluentBuilder::set_origins):
                                                                                                                  required: **false**

                                                                                                                  Updates the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  • Any values except null submitted as part of this update will replace all previous values.

                                                                                                                  • You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.


                                                                                                                  /// - On success, responds with [`UpdateWebExperienceOutput`](crate::operation::update_web_experience::UpdateWebExperienceOutput) /// - On failure, responds with [`SdkError`](crate::operation::update_web_experience::UpdateWebExperienceError) pub fn update_web_experience(&self) -> crate::operation::update_web_experience::builders::UpdateWebExperienceFluentBuilder { diff --git a/sdk/qbusiness/src/lib.rs b/sdk/qbusiness/src/lib.rs index d3984e58cd10..2b877addd16e 100644 --- a/sdk/qbusiness/src/lib.rs +++ b/sdk/qbusiness/src/lib.rs @@ -40,7 +40,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-qbusiness = "1.48.0" +//! aws-sdk-qbusiness = "1.49.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/qbusiness/src/operation/chat/_chat_input.rs b/sdk/qbusiness/src/operation/chat/_chat_input.rs index a0fe9f5bd64e..9d9d26efe0d6 100644 --- a/sdk/qbusiness/src/operation/chat/_chat_input.rs +++ b/sdk/qbusiness/src/operation/chat/_chat_input.rs @@ -7,7 +7,7 @@ pub struct ChatInput { pub application_id: ::std::option::Option<::std::string::String>, ///

                                                                                                                  The identifier of the user attached to the chat input.

                                                                                                                  pub user_id: ::std::option::Option<::std::string::String>, - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub user_groups: ::std::option::Option<::std::vec::Vec<::std::string::String>>, ///

                                                                                                                  The identifier of the Amazon Q Business conversation.

                                                                                                                  pub conversation_id: ::std::option::Option<::std::string::String>, @@ -27,7 +27,7 @@ impl ChatInput { pub fn user_id(&self) -> ::std::option::Option<&str> { self.user_id.as_deref() } - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.user_groups.is_none()`. pub fn user_groups(&self) -> &[::std::string::String] { @@ -107,19 +107,19 @@ impl ChatInputBuilder { /// /// To override the contents of this collection use [`set_user_groups`](Self::set_user_groups). /// - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub fn user_groups(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { let mut v = self.user_groups.unwrap_or_default(); v.push(input.into()); self.user_groups = ::std::option::Option::Some(v); self } - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub fn set_user_groups(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.user_groups = input; self } - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub fn get_user_groups(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.user_groups } diff --git a/sdk/qbusiness/src/operation/chat/builders.rs b/sdk/qbusiness/src/operation/chat/builders.rs index 9b5e724e0da8..94209b88358f 100644 --- a/sdk/qbusiness/src/operation/chat/builders.rs +++ b/sdk/qbusiness/src/operation/chat/builders.rs @@ -128,17 +128,17 @@ impl ChatFluentBuilder { /// /// To override the contents of this collection use [`set_user_groups`](Self::set_user_groups). /// - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub fn user_groups(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_groups(input.into()); self } - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub fn set_user_groups(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.inner = self.inner.set_user_groups(input); self } - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub fn get_user_groups(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { self.inner.get_user_groups() } diff --git a/sdk/qbusiness/src/operation/chat_sync/_chat_sync_input.rs b/sdk/qbusiness/src/operation/chat_sync/_chat_sync_input.rs index 1f204974b7c0..fa3f225a392e 100644 --- a/sdk/qbusiness/src/operation/chat_sync/_chat_sync_input.rs +++ b/sdk/qbusiness/src/operation/chat_sync/_chat_sync_input.rs @@ -7,7 +7,7 @@ pub struct ChatSyncInput { pub application_id: ::std::option::Option<::std::string::String>, ///

                                                                                                                  The identifier of the user attached to the chat input.

                                                                                                                  pub user_id: ::std::option::Option<::std::string::String>, - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub user_groups: ::std::option::Option<::std::vec::Vec<::std::string::String>>, ///

                                                                                                                  A end user message in a conversation.

                                                                                                                  pub user_message: ::std::option::Option<::std::string::String>, @@ -48,7 +48,7 @@ impl ChatSyncInput { pub fn user_id(&self) -> ::std::option::Option<&str> { self.user_id.as_deref() } - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.user_groups.is_none()`. pub fn user_groups(&self) -> &[::std::string::String] { @@ -165,19 +165,19 @@ impl ChatSyncInputBuilder { /// /// To override the contents of this collection use [`set_user_groups`](Self::set_user_groups). /// - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub fn user_groups(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { let mut v = self.user_groups.unwrap_or_default(); v.push(input.into()); self.user_groups = ::std::option::Option::Some(v); self } - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub fn set_user_groups(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.user_groups = input; self } - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub fn get_user_groups(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.user_groups } diff --git a/sdk/qbusiness/src/operation/chat_sync/builders.rs b/sdk/qbusiness/src/operation/chat_sync/builders.rs index 1f53aad22a78..dab873b17c2e 100644 --- a/sdk/qbusiness/src/operation/chat_sync/builders.rs +++ b/sdk/qbusiness/src/operation/chat_sync/builders.rs @@ -132,17 +132,17 @@ impl ChatSyncFluentBuilder { /// /// To override the contents of this collection use [`set_user_groups`](Self::set_user_groups). /// - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub fn user_groups(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_groups(input.into()); self } - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub fn set_user_groups(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.inner = self.inner.set_user_groups(input); self } - ///

                                                                                                                  The groups that a user associated with the chat input belongs to.

                                                                                                                  + ///

                                                                                                                  The group names that a user associated with the chat input belongs to.

                                                                                                                  pub fn get_user_groups(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { self.inner.get_user_groups() } diff --git a/sdk/qbusiness/src/operation/create_application/_create_application_input.rs b/sdk/qbusiness/src/operation/create_application/_create_application_input.rs index ac5ff64fa66c..54fc2132e50c 100644 --- a/sdk/qbusiness/src/operation/create_application/_create_application_input.rs +++ b/sdk/qbusiness/src/operation/create_application/_create_application_input.rs @@ -5,7 +5,7 @@ pub struct CreateApplicationInput { ///

                                                                                                                  A name for the Amazon Q Business application.

                                                                                                                  pub display_name: ::std::option::Option<::std::string::String>, - ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.

                                                                                                                  + ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics. If this property is not specified, Amazon Q Business will create a service linked role (SLR) and use it as the application's role.

                                                                                                                  pub role_arn: ::std::option::Option<::std::string::String>, ///

                                                                                                                  The authentication type being used by a Amazon Q Business application.

                                                                                                                  pub identity_type: ::std::option::Option, @@ -35,7 +35,7 @@ impl CreateApplicationInput { pub fn display_name(&self) -> ::std::option::Option<&str> { self.display_name.as_deref() } - ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.

                                                                                                                  + ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics. If this property is not specified, Amazon Q Business will create a service linked role (SLR) and use it as the application's role.

                                                                                                                  pub fn role_arn(&self) -> ::std::option::Option<&str> { self.role_arn.as_deref() } @@ -129,17 +129,17 @@ impl CreateApplicationInputBuilder { pub fn get_display_name(&self) -> &::std::option::Option<::std::string::String> { &self.display_name } - ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.

                                                                                                                  + ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics. If this property is not specified, Amazon Q Business will create a service linked role (SLR) and use it as the application's role.

                                                                                                                  pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.role_arn = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.

                                                                                                                  + ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics. If this property is not specified, Amazon Q Business will create a service linked role (SLR) and use it as the application's role.

                                                                                                                  pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.role_arn = input; self } - ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.

                                                                                                                  + ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics. If this property is not specified, Amazon Q Business will create a service linked role (SLR) and use it as the application's role.

                                                                                                                  pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { &self.role_arn } diff --git a/sdk/qbusiness/src/operation/create_application/builders.rs b/sdk/qbusiness/src/operation/create_application/builders.rs index bf69f2dfb2db..ac28e252df61 100644 --- a/sdk/qbusiness/src/operation/create_application/builders.rs +++ b/sdk/qbusiness/src/operation/create_application/builders.rs @@ -124,17 +124,17 @@ impl CreateApplicationFluentBuilder { pub fn get_display_name(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_display_name() } - ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.

                                                                                                                  + ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics. If this property is not specified, Amazon Q Business will create a service linked role (SLR) and use it as the application's role.

                                                                                                                  pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); self } - ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.

                                                                                                                  + ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics. If this property is not specified, Amazon Q Business will create a service linked role (SLR) and use it as the application's role.

                                                                                                                  pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_role_arn(input); self } - ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.

                                                                                                                  + ///

                                                                                                                  The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics. If this property is not specified, Amazon Q Business will create a service linked role (SLR) and use it as the application's role.

                                                                                                                  pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_role_arn() } diff --git a/sdk/qbusiness/src/operation/create_web_experience/_create_web_experience_input.rs b/sdk/qbusiness/src/operation/create_web_experience/_create_web_experience_input.rs index 2400d11cd732..249a30ec8f53 100644 --- a/sdk/qbusiness/src/operation/create_web_experience/_create_web_experience_input.rs +++ b/sdk/qbusiness/src/operation/create_web_experience/_create_web_experience_input.rs @@ -13,6 +13,10 @@ pub struct CreateWebExperienceInput { pub welcome_message: ::std::option::Option<::std::string::String>, ///

                                                                                                                  Determines whether sample prompts are enabled in the web experience for an end user.

                                                                                                                  pub sample_prompts_control_mode: ::std::option::Option, + ///

                                                                                                                  Sets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///

                                                                                                                  You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  + ///
                                                                                                                  + pub origins: ::std::option::Option<::std::vec::Vec<::std::string::String>>, ///

                                                                                                                  The Amazon Resource Name (ARN) of the service role attached to your web experience.

                                                                                                                  ///

                                                                                                                  You must provide this value if you're using IAM Identity Center to manage end user access to your application. If you're using legacy identity management to manage user access, you don't need to provide this value.

                                                                                                                  ///
                                                                                                                  @@ -45,6 +49,14 @@ impl CreateWebExperienceInput { pub fn sample_prompts_control_mode(&self) -> ::std::option::Option<&crate::types::WebExperienceSamplePromptsControlMode> { self.sample_prompts_control_mode.as_ref() } + ///

                                                                                                                  Sets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///

                                                                                                                  You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  + ///
                                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.origins.is_none()`. + pub fn origins(&self) -> &[::std::string::String] { + self.origins.as_deref().unwrap_or_default() + } ///

                                                                                                                  The Amazon Resource Name (ARN) of the service role attached to your web experience.

                                                                                                                  ///

                                                                                                                  You must provide this value if you're using IAM Identity Center to manage end user access to your application. If you're using legacy identity management to manage user access, you don't need to provide this value.

                                                                                                                  ///
                                                                                                                  @@ -82,6 +94,7 @@ pub struct CreateWebExperienceInputBuilder { pub(crate) subtitle: ::std::option::Option<::std::string::String>, pub(crate) welcome_message: ::std::option::Option<::std::string::String>, pub(crate) sample_prompts_control_mode: ::std::option::Option, + pub(crate) origins: ::std::option::Option<::std::vec::Vec<::std::string::String>>, pub(crate) role_arn: ::std::option::Option<::std::string::String>, pub(crate) tags: ::std::option::Option<::std::vec::Vec>, pub(crate) client_token: ::std::option::Option<::std::string::String>, @@ -159,6 +172,32 @@ impl CreateWebExperienceInputBuilder { pub fn get_sample_prompts_control_mode(&self) -> &::std::option::Option { &self.sample_prompts_control_mode } + /// Appends an item to `origins`. + /// + /// To override the contents of this collection use [`set_origins`](Self::set_origins). + /// + ///

                                                                                                                  Sets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///

                                                                                                                  You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  + ///
                                                                                                                  + pub fn origins(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + let mut v = self.origins.unwrap_or_default(); + v.push(input.into()); + self.origins = ::std::option::Option::Some(v); + self + } + ///

                                                                                                                  Sets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///

                                                                                                                  You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  + ///
                                                                                                                  + pub fn set_origins(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { + self.origins = input; + self + } + ///

                                                                                                                  Sets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///

                                                                                                                  You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  + ///
                                                                                                                  + pub fn get_origins(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { + &self.origins + } ///

                                                                                                                  The Amazon Resource Name (ARN) of the service role attached to your web experience.

                                                                                                                  ///

                                                                                                                  You must provide this value if you're using IAM Identity Center to manage end user access to your application. If you're using legacy identity management to manage user access, you don't need to provide this value.

                                                                                                                  ///
                                                                                                                  @@ -238,6 +277,7 @@ impl CreateWebExperienceInputBuilder { subtitle: self.subtitle, welcome_message: self.welcome_message, sample_prompts_control_mode: self.sample_prompts_control_mode, + origins: self.origins, role_arn: self.role_arn, tags: self.tags, client_token: self.client_token, diff --git a/sdk/qbusiness/src/operation/create_web_experience/builders.rs b/sdk/qbusiness/src/operation/create_web_experience/builders.rs index ec2c2149cc0a..61a87d5ad3a1 100644 --- a/sdk/qbusiness/src/operation/create_web_experience/builders.rs +++ b/sdk/qbusiness/src/operation/create_web_experience/builders.rs @@ -178,6 +178,31 @@ impl CreateWebExperienceFluentBuilder { pub fn get_sample_prompts_control_mode(&self) -> &::std::option::Option { self.inner.get_sample_prompts_control_mode() } + /// + /// Appends an item to `origins`. + /// + /// To override the contents of this collection use [`set_origins`](Self::set_origins). + /// + ///

                                                                                                                  Sets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///

                                                                                                                  You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  + ///
                                                                                                                  + pub fn origins(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.origins(input.into()); + self + } + ///

                                                                                                                  Sets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///

                                                                                                                  You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  + ///
                                                                                                                  + pub fn set_origins(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { + self.inner = self.inner.set_origins(input); + self + } + ///

                                                                                                                  Sets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///

                                                                                                                  You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  + ///
                                                                                                                  + pub fn get_origins(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { + self.inner.get_origins() + } ///

                                                                                                                  The Amazon Resource Name (ARN) of the service role attached to your web experience.

                                                                                                                  ///

                                                                                                                  You must provide this value if you're using IAM Identity Center to manage end user access to your application. If you're using legacy identity management to manage user access, you don't need to provide this value.

                                                                                                                  ///
                                                                                                                  diff --git a/sdk/qbusiness/src/operation/get_web_experience/_get_web_experience_output.rs b/sdk/qbusiness/src/operation/get_web_experience/_get_web_experience_output.rs index 419a642dcb7d..2e162a0800a4 100644 --- a/sdk/qbusiness/src/operation/get_web_experience/_get_web_experience_output.rs +++ b/sdk/qbusiness/src/operation/get_web_experience/_get_web_experience_output.rs @@ -25,6 +25,8 @@ pub struct GetWebExperienceOutput { pub welcome_message: ::std::option::Option<::std::string::String>, ///

                                                                                                                  Determines whether sample prompts are enabled in the web experience for an end user.

                                                                                                                  pub sample_prompts_control_mode: ::std::option::Option, + ///

                                                                                                                  Gets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + pub origins: ::std::option::Option<::std::vec::Vec<::std::string::String>>, ///

                                                                                                                  The Amazon Resource Name (ARN) of the service role attached to your web experience.

                                                                                                                  pub role_arn: ::std::option::Option<::std::string::String>, ///

                                                                                                                  Information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.

                                                                                                                  @@ -81,6 +83,12 @@ impl GetWebExperienceOutput { pub fn sample_prompts_control_mode(&self) -> ::std::option::Option<&crate::types::WebExperienceSamplePromptsControlMode> { self.sample_prompts_control_mode.as_ref() } + ///

                                                                                                                  Gets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.origins.is_none()`. + pub fn origins(&self) -> &[::std::string::String] { + self.origins.as_deref().unwrap_or_default() + } ///

                                                                                                                  The Amazon Resource Name (ARN) of the service role attached to your web experience.

                                                                                                                  pub fn role_arn(&self) -> ::std::option::Option<&str> { self.role_arn.as_deref() @@ -126,6 +134,7 @@ pub struct GetWebExperienceOutputBuilder { pub(crate) subtitle: ::std::option::Option<::std::string::String>, pub(crate) welcome_message: ::std::option::Option<::std::string::String>, pub(crate) sample_prompts_control_mode: ::std::option::Option, + pub(crate) origins: ::std::option::Option<::std::vec::Vec<::std::string::String>>, pub(crate) role_arn: ::std::option::Option<::std::string::String>, pub(crate) identity_provider_configuration: ::std::option::Option, pub(crate) authentication_configuration: ::std::option::Option, @@ -287,6 +296,26 @@ impl GetWebExperienceOutputBuilder { pub fn get_sample_prompts_control_mode(&self) -> &::std::option::Option { &self.sample_prompts_control_mode } + /// Appends an item to `origins`. + /// + /// To override the contents of this collection use [`set_origins`](Self::set_origins). + /// + ///

                                                                                                                  Gets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + pub fn origins(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + let mut v = self.origins.unwrap_or_default(); + v.push(input.into()); + self.origins = ::std::option::Option::Some(v); + self + } + ///

                                                                                                                  Gets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + pub fn set_origins(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { + self.origins = input; + self + } + ///

                                                                                                                  Gets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + pub fn get_origins(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { + &self.origins + } ///

                                                                                                                  The Amazon Resource Name (ARN) of the service role attached to your web experience.

                                                                                                                  pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.role_arn = ::std::option::Option::Some(input.into()); @@ -369,6 +398,7 @@ impl GetWebExperienceOutputBuilder { subtitle: self.subtitle, welcome_message: self.welcome_message, sample_prompts_control_mode: self.sample_prompts_control_mode, + origins: self.origins, role_arn: self.role_arn, identity_provider_configuration: self.identity_provider_configuration, authentication_configuration: self.authentication_configuration, diff --git a/sdk/qbusiness/src/operation/update_web_experience/_update_web_experience_input.rs b/sdk/qbusiness/src/operation/update_web_experience/_update_web_experience_input.rs index 045866fe4fac..e41a314bb350 100644 --- a/sdk/qbusiness/src/operation/update_web_experience/_update_web_experience_input.rs +++ b/sdk/qbusiness/src/operation/update_web_experience/_update_web_experience_input.rs @@ -22,6 +22,15 @@ pub struct UpdateWebExperienceInput { pub sample_prompts_control_mode: ::std::option::Option, ///

                                                                                                                  Information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.

                                                                                                                  pub identity_provider_configuration: ::std::option::Option, + ///

                                                                                                                  Updates the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    Any values except null submitted as part of this update will replace all previous values.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  • + ///
                                                                                                                  + ///
                                                                                                                  + pub origins: ::std::option::Option<::std::vec::Vec<::std::string::String>>, } impl UpdateWebExperienceInput { ///

                                                                                                                  The identifier of the Amazon Q Business application attached to the web experience.

                                                                                                                  @@ -61,6 +70,19 @@ impl UpdateWebExperienceInput { pub fn identity_provider_configuration(&self) -> ::std::option::Option<&crate::types::IdentityProviderConfiguration> { self.identity_provider_configuration.as_ref() } + ///

                                                                                                                  Updates the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    Any values except null submitted as part of this update will replace all previous values.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  • + ///
                                                                                                                  + ///
                                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.origins.is_none()`. + pub fn origins(&self) -> &[::std::string::String] { + self.origins.as_deref().unwrap_or_default() + } } impl UpdateWebExperienceInput { /// Creates a new builder-style object to manufacture [`UpdateWebExperienceInput`](crate::operation::update_web_experience::UpdateWebExperienceInput). @@ -82,6 +104,7 @@ pub struct UpdateWebExperienceInputBuilder { pub(crate) welcome_message: ::std::option::Option<::std::string::String>, pub(crate) sample_prompts_control_mode: ::std::option::Option, pub(crate) identity_provider_configuration: ::std::option::Option, + pub(crate) origins: ::std::option::Option<::std::vec::Vec<::std::string::String>>, } impl UpdateWebExperienceInputBuilder { ///

                                                                                                                  The identifier of the Amazon Q Business application attached to the web experience.

                                                                                                                  @@ -215,6 +238,47 @@ impl UpdateWebExperienceInputBuilder { pub fn get_identity_provider_configuration(&self) -> &::std::option::Option { &self.identity_provider_configuration } + /// Appends an item to `origins`. + /// + /// To override the contents of this collection use [`set_origins`](Self::set_origins). + /// + ///

                                                                                                                  Updates the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    Any values except null submitted as part of this update will replace all previous values.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  • + ///
                                                                                                                  + ///
                                                                                                                  + pub fn origins(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + let mut v = self.origins.unwrap_or_default(); + v.push(input.into()); + self.origins = ::std::option::Option::Some(v); + self + } + ///

                                                                                                                  Updates the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    Any values except null submitted as part of this update will replace all previous values.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  • + ///
                                                                                                                  + ///
                                                                                                                  + pub fn set_origins(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { + self.origins = input; + self + } + ///

                                                                                                                  Updates the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    Any values except null submitted as part of this update will replace all previous values.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  • + ///
                                                                                                                  + ///
                                                                                                                  + pub fn get_origins(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { + &self.origins + } /// Consumes the builder and constructs a [`UpdateWebExperienceInput`](crate::operation::update_web_experience::UpdateWebExperienceInput). pub fn build( self, @@ -230,6 +294,7 @@ impl UpdateWebExperienceInputBuilder { welcome_message: self.welcome_message, sample_prompts_control_mode: self.sample_prompts_control_mode, identity_provider_configuration: self.identity_provider_configuration, + origins: self.origins, }) } } diff --git a/sdk/qbusiness/src/operation/update_web_experience/builders.rs b/sdk/qbusiness/src/operation/update_web_experience/builders.rs index 4e673ad25252..c04c2b7aeca5 100644 --- a/sdk/qbusiness/src/operation/update_web_experience/builders.rs +++ b/sdk/qbusiness/src/operation/update_web_experience/builders.rs @@ -237,4 +237,44 @@ impl UpdateWebExperienceFluentBuilder { pub fn get_identity_provider_configuration(&self) -> &::std::option::Option { self.inner.get_identity_provider_configuration() } + /// + /// Appends an item to `origins`. + /// + /// To override the contents of this collection use [`set_origins`](Self::set_origins). + /// + ///

                                                                                                                  Updates the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    Any values except null submitted as part of this update will replace all previous values.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  • + ///
                                                                                                                  + ///
                                                                                                                  + pub fn origins(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.origins(input.into()); + self + } + ///

                                                                                                                  Updates the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    Any values except null submitted as part of this update will replace all previous values.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  • + ///
                                                                                                                  + ///
                                                                                                                  + pub fn set_origins(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { + self.inner = self.inner.set_origins(input); + self + } + ///

                                                                                                                  Updates the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).

                                                                                                                  + ///
                                                                                                                    + ///
                                                                                                                  • + ///

                                                                                                                    Any values except null submitted as part of this update will replace all previous values.

                                                                                                                  • + ///
                                                                                                                  • + ///

                                                                                                                    You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com.

                                                                                                                  • + ///
                                                                                                                  + ///
                                                                                                                  + pub fn get_origins(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { + self.inner.get_origins() + } } diff --git a/sdk/qbusiness/src/protocol_serde.rs b/sdk/qbusiness/src/protocol_serde.rs index 25f3cb389fff..ba6f9af669b1 100644 --- a/sdk/qbusiness/src/protocol_serde.rs +++ b/sdk/qbusiness/src/protocol_serde.rs @@ -335,6 +335,8 @@ pub(crate) mod shape_validation_exception_fields; pub(crate) mod shape_web_experience_auth_configuration; +pub(crate) mod shape_web_experience_origins; + pub(crate) mod shape_web_experiences; pub(crate) mod shape_access_configuration; diff --git a/sdk/qbusiness/src/protocol_serde/shape_create_web_experience_input.rs b/sdk/qbusiness/src/protocol_serde/shape_create_web_experience_input.rs index 1d0b67f4393f..2bad811dd541 100644 --- a/sdk/qbusiness/src/protocol_serde/shape_create_web_experience_input.rs +++ b/sdk/qbusiness/src/protocol_serde/shape_create_web_experience_input.rs @@ -12,32 +12,41 @@ pub fn ser_create_web_experience_input_input( crate::protocol_serde::shape_identity_provider_configuration::ser_identity_provider_configuration(&mut object_3, var_2)?; object_3.finish(); } - if let Some(var_4) = &input.role_arn { - object.key("roleArn").string(var_4.as_str()); + if let Some(var_4) = &input.origins { + let mut array_5 = object.key("origins").start_array(); + for item_6 in var_4 { + { + array_5.value().string(item_6.as_str()); + } + } + array_5.finish(); + } + if let Some(var_7) = &input.role_arn { + object.key("roleArn").string(var_7.as_str()); } - if let Some(var_5) = &input.sample_prompts_control_mode { - object.key("samplePromptsControlMode").string(var_5.as_str()); + if let Some(var_8) = &input.sample_prompts_control_mode { + object.key("samplePromptsControlMode").string(var_8.as_str()); } - if let Some(var_6) = &input.subtitle { - object.key("subtitle").string(var_6.as_str()); + if let Some(var_9) = &input.subtitle { + object.key("subtitle").string(var_9.as_str()); } - if let Some(var_7) = &input.tags { - let mut array_8 = object.key("tags").start_array(); - for item_9 in var_7 { + if let Some(var_10) = &input.tags { + let mut array_11 = object.key("tags").start_array(); + for item_12 in var_10 { { #[allow(unused_mut)] - let mut object_10 = array_8.value().start_object(); - crate::protocol_serde::shape_tag::ser_tag(&mut object_10, item_9)?; - object_10.finish(); + let mut object_13 = array_11.value().start_object(); + crate::protocol_serde::shape_tag::ser_tag(&mut object_13, item_12)?; + object_13.finish(); } } - array_8.finish(); + array_11.finish(); } - if let Some(var_11) = &input.title { - object.key("title").string(var_11.as_str()); + if let Some(var_14) = &input.title { + object.key("title").string(var_14.as_str()); } - if let Some(var_12) = &input.welcome_message { - object.key("welcomeMessage").string(var_12.as_str()); + if let Some(var_15) = &input.welcome_message { + object.key("welcomeMessage").string(var_15.as_str()); } Ok(()) } diff --git a/sdk/qbusiness/src/protocol_serde/shape_get_web_experience.rs b/sdk/qbusiness/src/protocol_serde/shape_get_web_experience.rs index 26fd31167bb3..24fda7b639dd 100644 --- a/sdk/qbusiness/src/protocol_serde/shape_get_web_experience.rs +++ b/sdk/qbusiness/src/protocol_serde/shape_get_web_experience.rs @@ -151,6 +151,9 @@ pub(crate) fn de_get_web_experience( crate::protocol_serde::shape_identity_provider_configuration::de_identity_provider_configuration(tokens)?, ); } + "origins" => { + builder = builder.set_origins(crate::protocol_serde::shape_web_experience_origins::de_web_experience_origins(tokens)?); + } "roleArn" => { builder = builder.set_role_arn( ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? diff --git a/sdk/qbusiness/src/protocol_serde/shape_update_web_experience_input.rs b/sdk/qbusiness/src/protocol_serde/shape_update_web_experience_input.rs index 9872102f3eb4..cc18ac439853 100644 --- a/sdk/qbusiness/src/protocol_serde/shape_update_web_experience_input.rs +++ b/sdk/qbusiness/src/protocol_serde/shape_update_web_experience_input.rs @@ -15,20 +15,29 @@ pub fn ser_update_web_experience_input_input( crate::protocol_serde::shape_identity_provider_configuration::ser_identity_provider_configuration(&mut object_4, var_3)?; object_4.finish(); } - if let Some(var_5) = &input.role_arn { - object.key("roleArn").string(var_5.as_str()); + if let Some(var_5) = &input.origins { + let mut array_6 = object.key("origins").start_array(); + for item_7 in var_5 { + { + array_6.value().string(item_7.as_str()); + } + } + array_6.finish(); } - if let Some(var_6) = &input.sample_prompts_control_mode { - object.key("samplePromptsControlMode").string(var_6.as_str()); + if let Some(var_8) = &input.role_arn { + object.key("roleArn").string(var_8.as_str()); } - if let Some(var_7) = &input.subtitle { - object.key("subtitle").string(var_7.as_str()); + if let Some(var_9) = &input.sample_prompts_control_mode { + object.key("samplePromptsControlMode").string(var_9.as_str()); } - if let Some(var_8) = &input.title { - object.key("title").string(var_8.as_str()); + if let Some(var_10) = &input.subtitle { + object.key("subtitle").string(var_10.as_str()); } - if let Some(var_9) = &input.welcome_message { - object.key("welcomeMessage").string(var_9.as_str()); + if let Some(var_11) = &input.title { + object.key("title").string(var_11.as_str()); + } + if let Some(var_12) = &input.welcome_message { + object.key("welcomeMessage").string(var_12.as_str()); } Ok(()) } diff --git a/sdk/qbusiness/src/protocol_serde/shape_web_experience_origins.rs b/sdk/qbusiness/src/protocol_serde/shape_web_experience_origins.rs new file mode 100644 index 000000000000..35fd0789645a --- /dev/null +++ b/sdk/qbusiness/src/protocol_serde/shape_web_experience_origins.rs @@ -0,0 +1,34 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub(crate) fn de_web_experience_origins<'a, I>( + tokens: &mut ::std::iter::Peekable, +) -> Result>, ::aws_smithy_json::deserialize::error::DeserializeError> +where + I: Iterator, ::aws_smithy_json::deserialize::error::DeserializeError>>, +{ + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None), + Some(::aws_smithy_json::deserialize::Token::StartArray { .. }) => { + let mut items = Vec::new(); + loop { + match tokens.peek() { + Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => { + tokens.next().transpose().unwrap(); + break; + } + _ => { + let value = ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| u.into_owned())) + .transpose()?; + if let Some(value) = value { + items.push(value); + } + } + } + } + Ok(Some(items)) + } + _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom( + "expected start array or null", + )), + } +} diff --git a/sdk/qbusiness/src/types/_q_apps_configuration.rs b/sdk/qbusiness/src/types/_q_apps_configuration.rs index 5ab1c3abc9b3..19326f194c83 100644 --- a/sdk/qbusiness/src/types/_q_apps_configuration.rs +++ b/sdk/qbusiness/src/types/_q_apps_configuration.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

                                                                                                                  Configuration information about Amazon Q Apps. (preview feature)

                                                                                                                  +///

                                                                                                                  Configuration information about Amazon Q Apps.

                                                                                                                  #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct QAppsConfiguration { diff --git a/sdk/qbusiness/src/types/_users_and_groups.rs b/sdk/qbusiness/src/types/_users_and_groups.rs index 091c2de1b9fc..b12f4f516e53 100644 --- a/sdk/qbusiness/src/types/_users_and_groups.rs +++ b/sdk/qbusiness/src/types/_users_and_groups.rs @@ -1,12 +1,12 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

                                                                                                                  Provides information about users and groups associated with a topic control rule.

                                                                                                                  +///

                                                                                                                  Provides information about users and group names associated with a topic control rule.

                                                                                                                  #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct UsersAndGroups { ///

                                                                                                                  The user ids associated with a topic control rule.

                                                                                                                  pub user_ids: ::std::option::Option<::std::vec::Vec<::std::string::String>>, - ///

                                                                                                                  The user groups associated with a topic control rule.

                                                                                                                  + ///

                                                                                                                  The user group names associated with a topic control rule.

                                                                                                                  pub user_groups: ::std::option::Option<::std::vec::Vec<::std::string::String>>, } impl UsersAndGroups { @@ -16,7 +16,7 @@ impl UsersAndGroups { pub fn user_ids(&self) -> &[::std::string::String] { self.user_ids.as_deref().unwrap_or_default() } - ///

                                                                                                                  The user groups associated with a topic control rule.

                                                                                                                  + ///

                                                                                                                  The user group names associated with a topic control rule.

                                                                                                                  /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.user_groups.is_none()`. pub fn user_groups(&self) -> &[::std::string::String] { @@ -62,19 +62,19 @@ impl UsersAndGroupsBuilder { /// /// To override the contents of this collection use [`set_user_groups`](Self::set_user_groups). /// - ///

                                                                                                                  The user groups associated with a topic control rule.

                                                                                                                  + ///

                                                                                                                  The user group names associated with a topic control rule.

                                                                                                                  pub fn user_groups(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { let mut v = self.user_groups.unwrap_or_default(); v.push(input.into()); self.user_groups = ::std::option::Option::Some(v); self } - ///

                                                                                                                  The user groups associated with a topic control rule.

                                                                                                                  + ///

                                                                                                                  The user group names associated with a topic control rule.

                                                                                                                  pub fn set_user_groups(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.user_groups = input; self } - ///

                                                                                                                  The user groups associated with a topic control rule.

                                                                                                                  + ///

                                                                                                                  The user group names associated with a topic control rule.

                                                                                                                  pub fn get_user_groups(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.user_groups } diff --git a/sdk/redshift/Cargo.toml b/sdk/redshift/Cargo.toml index 7b3ad4962298..1ecb0bc56b09 100644 --- a/sdk/redshift/Cargo.toml +++ b/sdk/redshift/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-redshift" -version = "1.48.0" +version = "1.49.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for Amazon Redshift" edition = "2021" diff --git a/sdk/redshift/README.md b/sdk/redshift/README.md index 75b202a6d7e2..05bf63f3472b 100644 --- a/sdk/redshift/README.md +++ b/sdk/redshift/README.md @@ -22,7 +22,7 @@ your project, add the following to your **Cargo.toml** file: ```toml [dependencies] aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -aws-sdk-redshift = "1.48.0" +aws-sdk-redshift = "1.49.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/redshift/src/client.rs b/sdk/redshift/src/client.rs index f4aefcdff41f..4c3e1360852a 100644 --- a/sdk/redshift/src/client.rs +++ b/sdk/redshift/src/client.rs @@ -224,6 +224,8 @@ mod create_hsm_client_certificate; mod create_hsm_configuration; +mod create_integration; + mod create_redshift_idc_application; mod create_scheduled_action; @@ -287,6 +289,8 @@ mod delete_hsm_client_certificate; mod delete_hsm_configuration; +mod delete_integration; + mod delete_partner; mod delete_redshift_idc_application; @@ -351,6 +355,8 @@ mod describe_hsm_configurations; mod describe_inbound_integrations; +mod describe_integrations; + mod describe_logging_status; mod describe_node_configuration_options; @@ -433,6 +439,8 @@ mod modify_endpoint_access; mod modify_event_subscription; +mod modify_integration; + mod modify_redshift_idc_application; mod modify_scheduled_action; diff --git a/sdk/redshift/src/client/create_cluster.rs b/sdk/redshift/src/client/create_cluster.rs index 9e351f1c26d4..727bef110283 100644 --- a/sdk/redshift/src/client/create_cluster.rs +++ b/sdk/redshift/src/client/create_cluster.rs @@ -6,7 +6,7 @@ impl super::Client { /// - [`db_name(impl Into)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::db_name) / [`set_db_name(Option)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::set_db_name):
                                                                                                                  required: **false**

                                                                                                                  The name of the first database to be created when the cluster is created.

                                                                                                                  To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to Create a Database in the Amazon Redshift Database Developer Guide.

                                                                                                                  Default: dev

                                                                                                                  Constraints:

                                                                                                                  • Must contain 1 to 64 alphanumeric characters.

                                                                                                                  • Must contain only lowercase letters.

                                                                                                                  • Cannot be a word that is reserved by the service. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.


                                                                                                                  /// - [`cluster_identifier(impl Into)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::set_cluster_identifier):
                                                                                                                  required: **true**

                                                                                                                  A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. The identifier also appears in the Amazon Redshift console.

                                                                                                                  Constraints:

                                                                                                                  • Must contain from 1 to 63 alphanumeric characters or hyphens.

                                                                                                                  • Alphabetic characters must be lowercase.

                                                                                                                  • First character must be a letter.

                                                                                                                  • Cannot end with a hyphen or contain two consecutive hyphens.

                                                                                                                  • Must be unique for all clusters within an Amazon Web Services account.

                                                                                                                  Example: myexamplecluster


                                                                                                                  /// - [`cluster_type(impl Into)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::cluster_type) / [`set_cluster_type(Option)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::set_cluster_type):
                                                                                                                  required: **false**

                                                                                                                  The type of the cluster. When cluster type is specified as

                                                                                                                  • single-node, the NumberOfNodes parameter is not required.

                                                                                                                  • multi-node, the NumberOfNodes parameter is required.

                                                                                                                  Valid Values: multi-node | single-node

                                                                                                                  Default: multi-node


                                                                                                                  - /// - [`node_type(impl Into)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::node_type) / [`set_node_type(Option)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::set_node_type):
                                                                                                                  required: **true**

                                                                                                                  The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge


                                                                                                                  + /// - [`node_type(impl Into)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::node_type) / [`set_node_type(Option)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::set_node_type):
                                                                                                                  required: **true**

                                                                                                                  The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge


                                                                                                                  /// - [`master_username(impl Into)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::master_username) / [`set_master_username(Option)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::set_master_username):
                                                                                                                  required: **true**

                                                                                                                  The user name associated with the admin user account for the cluster that is being created.

                                                                                                                  Constraints:

                                                                                                                  • Must be 1 - 128 alphanumeric characters or hyphens. The user name can't be PUBLIC.

                                                                                                                  • Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.

                                                                                                                  • The first character must be a letter.

                                                                                                                  • Must not contain a colon (:) or a slash (/).

                                                                                                                  • Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.


                                                                                                                  /// - [`master_user_password(impl Into)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::master_user_password) / [`set_master_user_password(Option)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::set_master_user_password):
                                                                                                                  required: **false**

                                                                                                                  The password associated with the admin user account for the cluster that is being created.

                                                                                                                  You can't use MasterUserPassword if ManageMasterPassword is true.

                                                                                                                  Constraints:

                                                                                                                  • Must be between 8 and 64 characters in length.

                                                                                                                  • Must contain at least one uppercase letter.

                                                                                                                  • Must contain at least one lowercase letter.

                                                                                                                  • Must contain one number.

                                                                                                                  • Can be any printable ASCII character (ASCII code 33-126) except ' (single quote), " (double quote), \, /, or @.


                                                                                                                  /// - [`cluster_security_groups(impl Into)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::cluster_security_groups) / [`set_cluster_security_groups(Option>)`](crate::operation::create_cluster::builders::CreateClusterFluentBuilder::set_cluster_security_groups):
                                                                                                                  required: **false**

                                                                                                                  A list of security groups to be associated with this cluster.

                                                                                                                  Default: The default cluster security group for Amazon Redshift.


                                                                                                                  diff --git a/sdk/redshift/src/client/create_integration.rs b/sdk/redshift/src/client/create_integration.rs new file mode 100644 index 000000000000..a678644c9108 --- /dev/null +++ b/sdk/redshift/src/client/create_integration.rs @@ -0,0 +1,29 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +impl super::Client { + /// Constructs a fluent builder for the [`CreateIntegration`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder) operation. + /// + /// - The fluent builder is configurable: + /// - [`source_arn(impl Into)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::source_arn) / [`set_source_arn(Option)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_source_arn):
                                                                                                                  required: **true**

                                                                                                                  The Amazon Resource Name (ARN) of the database to use as the source for replication.


                                                                                                                  + /// - [`target_arn(impl Into)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::target_arn) / [`set_target_arn(Option)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_target_arn):
                                                                                                                  required: **true**

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.


                                                                                                                  + /// - [`integration_name(impl Into)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::integration_name) / [`set_integration_name(Option)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_integration_name):
                                                                                                                  required: **true**

                                                                                                                  The name of the integration.


                                                                                                                  + /// - [`kms_key_id(impl Into)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::kms_key_id) / [`set_kms_key_id(Option)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_kms_key_id):
                                                                                                                  required: **false**

                                                                                                                  An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.


                                                                                                                  + /// - [`tag_list(Tag)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::tag_list) / [`set_tag_list(Option>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_tag_list):
                                                                                                                  required: **false**

                                                                                                                  A list of tags.


                                                                                                                  + /// - [`additional_encryption_context(impl Into, impl Into)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::additional_encryption_context) / [`set_additional_encryption_context(Option>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_additional_encryption_context):
                                                                                                                  required: **false**

                                                                                                                  An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  You can only include this parameter if you specify the KMSKeyId parameter.


                                                                                                                  + /// - [`description(impl Into)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::description) / [`set_description(Option)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_description):
                                                                                                                  required: **false**

                                                                                                                  A description of the integration.


                                                                                                                  + /// - On success, responds with [`CreateIntegrationOutput`](crate::operation::create_integration::CreateIntegrationOutput) with field(s): + /// - [`integration_arn(Option)`](crate::operation::create_integration::CreateIntegrationOutput::integration_arn):

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + /// - [`integration_name(Option)`](crate::operation::create_integration::CreateIntegrationOutput::integration_name):

                                                                                                                  The name of the integration.

                                                                                                                  + /// - [`source_arn(Option)`](crate::operation::create_integration::CreateIntegrationOutput::source_arn):

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + /// - [`target_arn(Option)`](crate::operation::create_integration::CreateIntegrationOutput::target_arn):

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + /// - [`status(Option)`](crate::operation::create_integration::CreateIntegrationOutput::status):

                                                                                                                  The current status of the integration.

                                                                                                                  + /// - [`errors(Option>)`](crate::operation::create_integration::CreateIntegrationOutput::errors):

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + /// - [`create_time(Option)`](crate::operation::create_integration::CreateIntegrationOutput::create_time):

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + /// - [`description(Option)`](crate::operation::create_integration::CreateIntegrationOutput::description):

                                                                                                                  The description of the integration.

                                                                                                                  + /// - [`kms_key_id(Option)`](crate::operation::create_integration::CreateIntegrationOutput::kms_key_id):

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + /// - [`additional_encryption_context(Option>)`](crate::operation::create_integration::CreateIntegrationOutput::additional_encryption_context):

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + /// - [`tags(Option>)`](crate::operation::create_integration::CreateIntegrationOutput::tags):

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + /// - On failure, responds with [`SdkError`](crate::operation::create_integration::CreateIntegrationError) + pub fn create_integration(&self) -> crate::operation::create_integration::builders::CreateIntegrationFluentBuilder { + crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::new(self.handle.clone()) + } +} diff --git a/sdk/redshift/src/client/delete_integration.rs b/sdk/redshift/src/client/delete_integration.rs new file mode 100644 index 000000000000..6f31a1c3e0bd --- /dev/null +++ b/sdk/redshift/src/client/delete_integration.rs @@ -0,0 +1,23 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +impl super::Client { + /// Constructs a fluent builder for the [`DeleteIntegration`](crate::operation::delete_integration::builders::DeleteIntegrationFluentBuilder) operation. + /// + /// - The fluent builder is configurable: + /// - [`integration_arn(impl Into)`](crate::operation::delete_integration::builders::DeleteIntegrationFluentBuilder::integration_arn) / [`set_integration_arn(Option)`](crate::operation::delete_integration::builders::DeleteIntegrationFluentBuilder::set_integration_arn):
                                                                                                                  required: **true**

                                                                                                                  The unique identifier of the integration to delete.


                                                                                                                  + /// - On success, responds with [`DeleteIntegrationOutput`](crate::operation::delete_integration::DeleteIntegrationOutput) with field(s): + /// - [`integration_arn(Option)`](crate::operation::delete_integration::DeleteIntegrationOutput::integration_arn):

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + /// - [`integration_name(Option)`](crate::operation::delete_integration::DeleteIntegrationOutput::integration_name):

                                                                                                                  The name of the integration.

                                                                                                                  + /// - [`source_arn(Option)`](crate::operation::delete_integration::DeleteIntegrationOutput::source_arn):

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + /// - [`target_arn(Option)`](crate::operation::delete_integration::DeleteIntegrationOutput::target_arn):

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + /// - [`status(Option)`](crate::operation::delete_integration::DeleteIntegrationOutput::status):

                                                                                                                  The current status of the integration.

                                                                                                                  + /// - [`errors(Option>)`](crate::operation::delete_integration::DeleteIntegrationOutput::errors):

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + /// - [`create_time(Option)`](crate::operation::delete_integration::DeleteIntegrationOutput::create_time):

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + /// - [`description(Option)`](crate::operation::delete_integration::DeleteIntegrationOutput::description):

                                                                                                                  The description of the integration.

                                                                                                                  + /// - [`kms_key_id(Option)`](crate::operation::delete_integration::DeleteIntegrationOutput::kms_key_id):

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + /// - [`additional_encryption_context(Option>)`](crate::operation::delete_integration::DeleteIntegrationOutput::additional_encryption_context):

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + /// - [`tags(Option>)`](crate::operation::delete_integration::DeleteIntegrationOutput::tags):

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + /// - On failure, responds with [`SdkError`](crate::operation::delete_integration::DeleteIntegrationError) + pub fn delete_integration(&self) -> crate::operation::delete_integration::builders::DeleteIntegrationFluentBuilder { + crate::operation::delete_integration::builders::DeleteIntegrationFluentBuilder::new(self.handle.clone()) + } +} diff --git a/sdk/redshift/src/client/describe_integrations.rs b/sdk/redshift/src/client/describe_integrations.rs new file mode 100644 index 000000000000..7b5a15700aa9 --- /dev/null +++ b/sdk/redshift/src/client/describe_integrations.rs @@ -0,0 +1,18 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +impl super::Client { + /// Constructs a fluent builder for the [`DescribeIntegrations`](crate::operation::describe_integrations::builders::DescribeIntegrationsFluentBuilder) operation. + /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_integrations::builders::DescribeIntegrationsFluentBuilder::into_paginator). + /// + /// - The fluent builder is configurable: + /// - [`integration_arn(impl Into)`](crate::operation::describe_integrations::builders::DescribeIntegrationsFluentBuilder::integration_arn) / [`set_integration_arn(Option)`](crate::operation::describe_integrations::builders::DescribeIntegrationsFluentBuilder::set_integration_arn):
                                                                                                                  required: **false**

                                                                                                                  The unique identifier of the integration.


                                                                                                                  + /// - [`max_records(i32)`](crate::operation::describe_integrations::builders::DescribeIntegrationsFluentBuilder::max_records) / [`set_max_records(Option)`](crate::operation::describe_integrations::builders::DescribeIntegrationsFluentBuilder::set_max_records):
                                                                                                                  required: **false**

                                                                                                                  The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

                                                                                                                  Default: 100

                                                                                                                  Constraints: minimum 20, maximum 100.


                                                                                                                  + /// - [`marker(impl Into)`](crate::operation::describe_integrations::builders::DescribeIntegrationsFluentBuilder::marker) / [`set_marker(Option)`](crate::operation::describe_integrations::builders::DescribeIntegrationsFluentBuilder::set_marker):
                                                                                                                  required: **false**

                                                                                                                  An optional pagination token provided by a previous DescribeIntegrations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.


                                                                                                                  + /// - [`filters(DescribeIntegrationsFilter)`](crate::operation::describe_integrations::builders::DescribeIntegrationsFluentBuilder::filters) / [`set_filters(Option>)`](crate::operation::describe_integrations::builders::DescribeIntegrationsFluentBuilder::set_filters):
                                                                                                                  required: **false**

                                                                                                                  A filter that specifies one or more resources to return.


                                                                                                                  + /// - On success, responds with [`DescribeIntegrationsOutput`](crate::operation::describe_integrations::DescribeIntegrationsOutput) with field(s): + /// - [`marker(Option)`](crate::operation::describe_integrations::DescribeIntegrationsOutput::marker):

                                                                                                                  A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

                                                                                                                  + /// - [`integrations(Option>)`](crate::operation::describe_integrations::DescribeIntegrationsOutput::integrations):

                                                                                                                  List of integrations that are described.

                                                                                                                  + /// - On failure, responds with [`SdkError`](crate::operation::describe_integrations::DescribeIntegrationsError) + pub fn describe_integrations(&self) -> crate::operation::describe_integrations::builders::DescribeIntegrationsFluentBuilder { + crate::operation::describe_integrations::builders::DescribeIntegrationsFluentBuilder::new(self.handle.clone()) + } +} diff --git a/sdk/redshift/src/client/describe_tags.rs b/sdk/redshift/src/client/describe_tags.rs index ed909e9fdba6..f82920e4366a 100644 --- a/sdk/redshift/src/client/describe_tags.rs +++ b/sdk/redshift/src/client/describe_tags.rs @@ -5,7 +5,7 @@ impl super::Client { /// /// - The fluent builder is configurable: /// - [`resource_name(impl Into)`](crate::operation::describe_tags::builders::DescribeTagsFluentBuilder::resource_name) / [`set_resource_name(Option)`](crate::operation::describe_tags::builders::DescribeTagsFluentBuilder::set_resource_name):
                                                                                                                  required: **false**

                                                                                                                  The Amazon Resource Name (ARN) for which you want to describe the tag or tags. For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.


                                                                                                                  - /// - [`resource_type(impl Into)`](crate::operation::describe_tags::builders::DescribeTagsFluentBuilder::resource_type) / [`set_resource_type(Option)`](crate::operation::describe_tags::builders::DescribeTagsFluentBuilder::set_resource_type):
                                                                                                                  required: **false**

                                                                                                                  The type of resource with which you want to view tags. Valid resource types are:

                                                                                                                  • Cluster

                                                                                                                  • CIDR/IP

                                                                                                                  • EC2 security group

                                                                                                                  • Snapshot

                                                                                                                  • Cluster security group

                                                                                                                  • Subnet group

                                                                                                                  • HSM connection

                                                                                                                  • HSM certificate

                                                                                                                  • Parameter group

                                                                                                                  • Snapshot copy grant

                                                                                                                  For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.


                                                                                                                  + /// - [`resource_type(impl Into)`](crate::operation::describe_tags::builders::DescribeTagsFluentBuilder::resource_type) / [`set_resource_type(Option)`](crate::operation::describe_tags::builders::DescribeTagsFluentBuilder::set_resource_type):
                                                                                                                  required: **false**

                                                                                                                  The type of resource with which you want to view tags. Valid resource types are:

                                                                                                                  • Cluster

                                                                                                                  • CIDR/IP

                                                                                                                  • EC2 security group

                                                                                                                  • Snapshot

                                                                                                                  • Cluster security group

                                                                                                                  • Subnet group

                                                                                                                  • HSM connection

                                                                                                                  • HSM certificate

                                                                                                                  • Parameter group

                                                                                                                  • Snapshot copy grant

                                                                                                                  • Integration (zero-ETL integration)

                                                                                                                    To describe the tags associated with an integration, don't specify ResourceType, instead specify the ResourceName of the integration.

                                                                                                                  For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.


                                                                                                                  /// - [`max_records(i32)`](crate::operation::describe_tags::builders::DescribeTagsFluentBuilder::max_records) / [`set_max_records(Option)`](crate::operation::describe_tags::builders::DescribeTagsFluentBuilder::set_max_records):
                                                                                                                  required: **false**

                                                                                                                  The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.


                                                                                                                  /// - [`marker(impl Into)`](crate::operation::describe_tags::builders::DescribeTagsFluentBuilder::marker) / [`set_marker(Option)`](crate::operation::describe_tags::builders::DescribeTagsFluentBuilder::set_marker):
                                                                                                                  required: **false**

                                                                                                                  A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command. If the marker field is empty, all response records have been retrieved for the request.


                                                                                                                  /// - [`tag_keys(impl Into)`](crate::operation::describe_tags::builders::DescribeTagsFluentBuilder::tag_keys) / [`set_tag_keys(Option>)`](crate::operation::describe_tags::builders::DescribeTagsFluentBuilder::set_tag_keys):
                                                                                                                  required: **false**

                                                                                                                  A tag key or keys for which you want to return all matching resources that are associated with the specified key or keys. For example, suppose that you have resources tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with all resources that have either or both of these tag keys associated with them.


                                                                                                                  diff --git a/sdk/redshift/src/client/modify_cluster.rs b/sdk/redshift/src/client/modify_cluster.rs index ff445e63ef96..c1ce6db1bee5 100644 --- a/sdk/redshift/src/client/modify_cluster.rs +++ b/sdk/redshift/src/client/modify_cluster.rs @@ -5,7 +5,7 @@ impl super::Client { /// - The fluent builder is configurable: /// - [`cluster_identifier(impl Into)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::set_cluster_identifier):
                                                                                                                  required: **true**

                                                                                                                  The unique identifier of the cluster to be modified.

                                                                                                                  Example: examplecluster


                                                                                                                  /// - [`cluster_type(impl Into)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::cluster_type) / [`set_cluster_type(Option)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::set_cluster_type):
                                                                                                                  required: **false**

                                                                                                                  The new cluster type.

                                                                                                                  When you submit your cluster resize request, your existing cluster goes into a read-only mode. After Amazon Redshift provisions a new cluster based on your resize requirements, there will be outage for a period while the old cluster is deleted and your connection is switched to the new cluster. You can use DescribeResize to track the progress of the resize request.

                                                                                                                  Valid Values: multi-node | single-node


                                                                                                                  - /// - [`node_type(impl Into)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::node_type) / [`set_node_type(Option)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::set_node_type):
                                                                                                                  required: **false**

                                                                                                                  The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.

                                                                                                                  For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge


                                                                                                                  + /// - [`node_type(impl Into)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::node_type) / [`set_node_type(Option)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::set_node_type):
                                                                                                                  required: **false**

                                                                                                                  The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.

                                                                                                                  For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge


                                                                                                                  /// - [`number_of_nodes(i32)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::number_of_nodes) / [`set_number_of_nodes(Option)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::set_number_of_nodes):
                                                                                                                  required: **false**

                                                                                                                  The new number of nodes of the cluster. If you specify a new number of nodes, you must also specify the node type parameter.

                                                                                                                  For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

                                                                                                                  Valid Values: Integer greater than 0.


                                                                                                                  /// - [`cluster_security_groups(impl Into)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::cluster_security_groups) / [`set_cluster_security_groups(Option>)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::set_cluster_security_groups):
                                                                                                                  required: **false**

                                                                                                                  A list of cluster security groups to be authorized on this cluster. This change is asynchronously applied as soon as possible.

                                                                                                                  Security groups currently associated with the cluster, and not in the list of groups to apply, will be revoked from the cluster.

                                                                                                                  Constraints:

                                                                                                                  • Must be 1 to 255 alphanumeric characters or hyphens

                                                                                                                  • First character must be a letter

                                                                                                                  • Cannot end with a hyphen or contain two consecutive hyphens


                                                                                                                  /// - [`vpc_security_group_ids(impl Into)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::vpc_security_group_ids) / [`set_vpc_security_group_ids(Option>)`](crate::operation::modify_cluster::builders::ModifyClusterFluentBuilder::set_vpc_security_group_ids):
                                                                                                                  required: **false**

                                                                                                                  A list of virtual private cloud (VPC) security groups to be associated with the cluster. This change is asynchronously applied as soon as possible.


                                                                                                                  diff --git a/sdk/redshift/src/client/modify_integration.rs b/sdk/redshift/src/client/modify_integration.rs new file mode 100644 index 000000000000..c32e24b33318 --- /dev/null +++ b/sdk/redshift/src/client/modify_integration.rs @@ -0,0 +1,25 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +impl super::Client { + /// Constructs a fluent builder for the [`ModifyIntegration`](crate::operation::modify_integration::builders::ModifyIntegrationFluentBuilder) operation. + /// + /// - The fluent builder is configurable: + /// - [`integration_arn(impl Into)`](crate::operation::modify_integration::builders::ModifyIntegrationFluentBuilder::integration_arn) / [`set_integration_arn(Option)`](crate::operation::modify_integration::builders::ModifyIntegrationFluentBuilder::set_integration_arn):
                                                                                                                  required: **true**

                                                                                                                  The unique identifier of the integration to modify.


                                                                                                                  + /// - [`description(impl Into)`](crate::operation::modify_integration::builders::ModifyIntegrationFluentBuilder::description) / [`set_description(Option)`](crate::operation::modify_integration::builders::ModifyIntegrationFluentBuilder::set_description):
                                                                                                                  required: **false**

                                                                                                                  A new description for the integration.


                                                                                                                  + /// - [`integration_name(impl Into)`](crate::operation::modify_integration::builders::ModifyIntegrationFluentBuilder::integration_name) / [`set_integration_name(Option)`](crate::operation::modify_integration::builders::ModifyIntegrationFluentBuilder::set_integration_name):
                                                                                                                  required: **false**

                                                                                                                  A new name for the integration.


                                                                                                                  + /// - On success, responds with [`ModifyIntegrationOutput`](crate::operation::modify_integration::ModifyIntegrationOutput) with field(s): + /// - [`integration_arn(Option)`](crate::operation::modify_integration::ModifyIntegrationOutput::integration_arn):

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + /// - [`integration_name(Option)`](crate::operation::modify_integration::ModifyIntegrationOutput::integration_name):

                                                                                                                  The name of the integration.

                                                                                                                  + /// - [`source_arn(Option)`](crate::operation::modify_integration::ModifyIntegrationOutput::source_arn):

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + /// - [`target_arn(Option)`](crate::operation::modify_integration::ModifyIntegrationOutput::target_arn):

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + /// - [`status(Option)`](crate::operation::modify_integration::ModifyIntegrationOutput::status):

                                                                                                                  The current status of the integration.

                                                                                                                  + /// - [`errors(Option>)`](crate::operation::modify_integration::ModifyIntegrationOutput::errors):

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + /// - [`create_time(Option)`](crate::operation::modify_integration::ModifyIntegrationOutput::create_time):

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + /// - [`description(Option)`](crate::operation::modify_integration::ModifyIntegrationOutput::description):

                                                                                                                  The description of the integration.

                                                                                                                  + /// - [`kms_key_id(Option)`](crate::operation::modify_integration::ModifyIntegrationOutput::kms_key_id):

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + /// - [`additional_encryption_context(Option>)`](crate::operation::modify_integration::ModifyIntegrationOutput::additional_encryption_context):

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + /// - [`tags(Option>)`](crate::operation::modify_integration::ModifyIntegrationOutput::tags):

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + /// - On failure, responds with [`SdkError`](crate::operation::modify_integration::ModifyIntegrationError) + pub fn modify_integration(&self) -> crate::operation::modify_integration::builders::ModifyIntegrationFluentBuilder { + crate::operation::modify_integration::builders::ModifyIntegrationFluentBuilder::new(self.handle.clone()) + } +} diff --git a/sdk/redshift/src/error_meta.rs b/sdk/redshift/src/error_meta.rs index 0480d962f61c..ff71d4550bb7 100644 --- a/sdk/redshift/src/error_meta.rs +++ b/sdk/redshift/src/error_meta.rs @@ -109,8 +109,20 @@ pub enum Error { InsufficientClusterCapacityFault(crate::types::error::InsufficientClusterCapacityFault), ///

                                                                                                                  The cluster does not have read bucket or put object permissions on the S3 bucket specified when enabling logging.

                                                                                                                  InsufficientS3BucketPolicyFault(crate::types::error::InsufficientS3BucketPolicyFault), + ///

                                                                                                                  The integration you are trying to create already exists.

                                                                                                                  + IntegrationAlreadyExistsFault(crate::types::error::IntegrationAlreadyExistsFault), + ///

                                                                                                                  A conflicting conditional operation is currently in progress against this resource. This typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.

                                                                                                                  + IntegrationConflictOperationFault(crate::types::error::IntegrationConflictOperationFault), + ///

                                                                                                                  The integration is in an invalid state and can't perform the requested operation.

                                                                                                                  + IntegrationConflictStateFault(crate::types::error::IntegrationConflictStateFault), ///

                                                                                                                  The integration can't be found.

                                                                                                                  IntegrationNotFoundFault(crate::types::error::IntegrationNotFoundFault), + ///

                                                                                                                  You can't create any more zero-ETL integrations because the quota has been reached.

                                                                                                                  + IntegrationQuotaExceededFault(crate::types::error::IntegrationQuotaExceededFault), + ///

                                                                                                                  The specified integration source can't be found.

                                                                                                                  + IntegrationSourceNotFoundFault(crate::types::error::IntegrationSourceNotFoundFault), + ///

                                                                                                                  The specified integration target can't be found.

                                                                                                                  + IntegrationTargetNotFoundFault(crate::types::error::IntegrationTargetNotFoundFault), ///

                                                                                                                  The authentication profile request is not valid. The profile name can't be null or empty. The authentication profile API operation must be available in the Amazon Web Services Region.

                                                                                                                  InvalidAuthenticationProfileRequestFault(crate::types::error::InvalidAuthenticationProfileRequestFault), ///

                                                                                                                  The status of the authorization is not valid.

                                                                                                                  @@ -341,7 +353,13 @@ impl ::std::fmt::Display for Error { Error::IncompatibleOrderableOptions(inner) => inner.fmt(f), Error::InsufficientClusterCapacityFault(inner) => inner.fmt(f), Error::InsufficientS3BucketPolicyFault(inner) => inner.fmt(f), + Error::IntegrationAlreadyExistsFault(inner) => inner.fmt(f), + Error::IntegrationConflictOperationFault(inner) => inner.fmt(f), + Error::IntegrationConflictStateFault(inner) => inner.fmt(f), Error::IntegrationNotFoundFault(inner) => inner.fmt(f), + Error::IntegrationQuotaExceededFault(inner) => inner.fmt(f), + Error::IntegrationSourceNotFoundFault(inner) => inner.fmt(f), + Error::IntegrationTargetNotFoundFault(inner) => inner.fmt(f), Error::InvalidAuthenticationProfileRequestFault(inner) => inner.fmt(f), Error::InvalidAuthorizationStateFault(inner) => inner.fmt(f), Error::InvalidClusterParameterGroupStateFault(inner) => inner.fmt(f), @@ -498,7 +516,13 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error { Self::IncompatibleOrderableOptions(inner) => inner.meta(), Self::InsufficientClusterCapacityFault(inner) => inner.meta(), Self::InsufficientS3BucketPolicyFault(inner) => inner.meta(), + Self::IntegrationAlreadyExistsFault(inner) => inner.meta(), + Self::IntegrationConflictOperationFault(inner) => inner.meta(), + Self::IntegrationConflictStateFault(inner) => inner.meta(), Self::IntegrationNotFoundFault(inner) => inner.meta(), + Self::IntegrationQuotaExceededFault(inner) => inner.meta(), + Self::IntegrationSourceNotFoundFault(inner) => inner.meta(), + Self::IntegrationTargetNotFoundFault(inner) => inner.meta(), Self::InvalidAuthenticationProfileRequestFault(inner) => inner.meta(), Self::InvalidAuthorizationStateFault(inner) => inner.meta(), Self::InvalidClusterParameterGroupStateFault(inner) => inner.meta(), @@ -1421,6 +1445,46 @@ impl From From<::aws_smithy_runtime_api::client::result::SdkError> for Error +where + R: Send + Sync + std::fmt::Debug + 'static, +{ + fn from(err: ::aws_smithy_runtime_api::client::result::SdkError) -> Self { + match err { + ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()), + _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled { + meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(), + source: err.into(), + }), + } + } +} +impl From for Error { + fn from(err: crate::operation::create_integration::CreateIntegrationError) -> Self { + match err { + crate::operation::create_integration::CreateIntegrationError::IntegrationAlreadyExistsFault(inner) => { + Error::IntegrationAlreadyExistsFault(inner) + } + crate::operation::create_integration::CreateIntegrationError::IntegrationConflictOperationFault(inner) => { + Error::IntegrationConflictOperationFault(inner) + } + crate::operation::create_integration::CreateIntegrationError::IntegrationQuotaExceededFault(inner) => { + Error::IntegrationQuotaExceededFault(inner) + } + crate::operation::create_integration::CreateIntegrationError::IntegrationSourceNotFoundFault(inner) => { + Error::IntegrationSourceNotFoundFault(inner) + } + crate::operation::create_integration::CreateIntegrationError::IntegrationTargetNotFoundFault(inner) => { + Error::IntegrationTargetNotFoundFault(inner) + } + crate::operation::create_integration::CreateIntegrationError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner), + crate::operation::create_integration::CreateIntegrationError::InvalidTagFault(inner) => Error::InvalidTagFault(inner), + crate::operation::create_integration::CreateIntegrationError::TagLimitExceededFault(inner) => Error::TagLimitExceededFault(inner), + crate::operation::create_integration::CreateIntegrationError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner), + crate::operation::create_integration::CreateIntegrationError::Unhandled(inner) => Error::Unhandled(inner), + } + } +} impl From<::aws_smithy_runtime_api::client::result::SdkError> for Error @@ -2009,6 +2073,35 @@ impl From From<::aws_smithy_runtime_api::client::result::SdkError> for Error +where + R: Send + Sync + std::fmt::Debug + 'static, +{ + fn from(err: ::aws_smithy_runtime_api::client::result::SdkError) -> Self { + match err { + ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()), + _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled { + meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(), + source: err.into(), + }), + } + } +} +impl From for Error { + fn from(err: crate::operation::delete_integration::DeleteIntegrationError) -> Self { + match err { + crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictOperationFault(inner) => { + Error::IntegrationConflictOperationFault(inner) + } + crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictStateFault(inner) => { + Error::IntegrationConflictStateFault(inner) + } + crate::operation::delete_integration::DeleteIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner), + crate::operation::delete_integration::DeleteIntegrationError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner), + crate::operation::delete_integration::DeleteIntegrationError::Unhandled(inner) => Error::Unhandled(inner), + } + } +} impl From<::aws_smithy_runtime_api::client::result::SdkError> for Error where R: Send + Sync + std::fmt::Debug + 'static, @@ -2968,6 +3061,33 @@ impl From From<::aws_smithy_runtime_api::client::result::SdkError> for Error +where + R: Send + Sync + std::fmt::Debug + 'static, +{ + fn from(err: ::aws_smithy_runtime_api::client::result::SdkError) -> Self { + match err { + ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()), + _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled { + meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(), + source: err.into(), + }), + } + } +} +impl From for Error { + fn from(err: crate::operation::describe_integrations::DescribeIntegrationsError) -> Self { + match err { + crate::operation::describe_integrations::DescribeIntegrationsError::IntegrationNotFoundFault(inner) => { + Error::IntegrationNotFoundFault(inner) + } + crate::operation::describe_integrations::DescribeIntegrationsError::UnsupportedOperationFault(inner) => { + Error::UnsupportedOperationFault(inner) + } + crate::operation::describe_integrations::DescribeIntegrationsError::Unhandled(inner) => Error::Unhandled(inner), + } + } +} impl From<::aws_smithy_runtime_api::client::result::SdkError> for Error where R: Send + Sync + std::fmt::Debug + 'static, @@ -4354,6 +4474,38 @@ impl From From<::aws_smithy_runtime_api::client::result::SdkError> for Error +where + R: Send + Sync + std::fmt::Debug + 'static, +{ + fn from(err: ::aws_smithy_runtime_api::client::result::SdkError) -> Self { + match err { + ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()), + _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled { + meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(), + source: err.into(), + }), + } + } +} +impl From for Error { + fn from(err: crate::operation::modify_integration::ModifyIntegrationError) -> Self { + match err { + crate::operation::modify_integration::ModifyIntegrationError::IntegrationAlreadyExistsFault(inner) => { + Error::IntegrationAlreadyExistsFault(inner) + } + crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictOperationFault(inner) => { + Error::IntegrationConflictOperationFault(inner) + } + crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictStateFault(inner) => { + Error::IntegrationConflictStateFault(inner) + } + crate::operation::modify_integration::ModifyIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner), + crate::operation::modify_integration::ModifyIntegrationError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner), + crate::operation::modify_integration::ModifyIntegrationError::Unhandled(inner) => Error::Unhandled(inner), + } + } +} impl From<::aws_smithy_runtime_api::client::result::SdkError> for Error @@ -5190,7 +5342,13 @@ impl ::std::error::Error for Error { Error::IncompatibleOrderableOptions(inner) => inner.source(), Error::InsufficientClusterCapacityFault(inner) => inner.source(), Error::InsufficientS3BucketPolicyFault(inner) => inner.source(), + Error::IntegrationAlreadyExistsFault(inner) => inner.source(), + Error::IntegrationConflictOperationFault(inner) => inner.source(), + Error::IntegrationConflictStateFault(inner) => inner.source(), Error::IntegrationNotFoundFault(inner) => inner.source(), + Error::IntegrationQuotaExceededFault(inner) => inner.source(), + Error::IntegrationSourceNotFoundFault(inner) => inner.source(), + Error::IntegrationTargetNotFoundFault(inner) => inner.source(), Error::InvalidAuthenticationProfileRequestFault(inner) => inner.source(), Error::InvalidAuthorizationStateFault(inner) => inner.source(), Error::InvalidClusterParameterGroupStateFault(inner) => inner.source(), @@ -5333,7 +5491,13 @@ impl ::aws_types::request_id::RequestId for Error { Self::IncompatibleOrderableOptions(e) => e.request_id(), Self::InsufficientClusterCapacityFault(e) => e.request_id(), Self::InsufficientS3BucketPolicyFault(e) => e.request_id(), + Self::IntegrationAlreadyExistsFault(e) => e.request_id(), + Self::IntegrationConflictOperationFault(e) => e.request_id(), + Self::IntegrationConflictStateFault(e) => e.request_id(), Self::IntegrationNotFoundFault(e) => e.request_id(), + Self::IntegrationQuotaExceededFault(e) => e.request_id(), + Self::IntegrationSourceNotFoundFault(e) => e.request_id(), + Self::IntegrationTargetNotFoundFault(e) => e.request_id(), Self::InvalidAuthenticationProfileRequestFault(e) => e.request_id(), Self::InvalidAuthorizationStateFault(e) => e.request_id(), Self::InvalidClusterParameterGroupStateFault(e) => e.request_id(), diff --git a/sdk/redshift/src/lens.rs b/sdk/redshift/src/lens.rs index 13ad8202b2df..9c6e26c4794d 100644 --- a/sdk/redshift/src/lens.rs +++ b/sdk/redshift/src/lens.rs @@ -213,6 +213,16 @@ pub(crate) fn reflens_describe_inbound_integrations_output_output_marker( ::std::option::Option::Some(input) } +pub(crate) fn reflens_describe_integrations_output_output_marker( + input: &crate::operation::describe_integrations::DescribeIntegrationsOutput, +) -> ::std::option::Option<&::std::string::String> { + let input = match &input.marker { + ::std::option::Option::None => return ::std::option::Option::None, + ::std::option::Option::Some(t) => t, + }; + ::std::option::Option::Some(input) +} + pub(crate) fn reflens_describe_node_configuration_options_output_output_marker( input: &crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsOutput, ) -> ::std::option::Option<&::std::string::String> { @@ -577,6 +587,16 @@ pub(crate) fn lens_describe_inbound_integrations_output_output_inbound_integrati ::std::option::Option::Some(input) } +pub(crate) fn lens_describe_integrations_output_output_integrations( + input: crate::operation::describe_integrations::DescribeIntegrationsOutput, +) -> ::std::option::Option<::std::vec::Vec> { + let input = match input.integrations { + ::std::option::Option::None => return ::std::option::Option::None, + ::std::option::Option::Some(t) => t, + }; + ::std::option::Option::Some(input) +} + pub(crate) fn lens_describe_node_configuration_options_output_output_node_configuration_option_list( input: crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsOutput, ) -> ::std::option::Option<::std::vec::Vec> { diff --git a/sdk/redshift/src/lib.rs b/sdk/redshift/src/lib.rs index 1fd160256332..6bd3f996ac3c 100644 --- a/sdk/redshift/src/lib.rs +++ b/sdk/redshift/src/lib.rs @@ -39,7 +39,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-redshift = "1.48.0" +//! aws-sdk-redshift = "1.49.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/redshift/src/operation.rs b/sdk/redshift/src/operation.rs index 8f23a52b75d9..fc0d631a7235 100644 --- a/sdk/redshift/src/operation.rs +++ b/sdk/redshift/src/operation.rs @@ -67,6 +67,9 @@ pub mod create_hsm_client_certificate; /// Types for the `CreateHsmConfiguration` operation. pub mod create_hsm_configuration; +/// Types for the `CreateIntegration` operation. +pub mod create_integration; + /// Types for the `CreateRedshiftIdcApplication` operation. pub mod create_redshift_idc_application; @@ -121,6 +124,9 @@ pub mod delete_hsm_client_certificate; /// Types for the `DeleteHsmConfiguration` operation. pub mod delete_hsm_configuration; +/// Types for the `DeleteIntegration` operation. +pub mod delete_integration; + /// Types for the `DeletePartner` operation. pub mod delete_partner; @@ -217,6 +223,9 @@ pub mod describe_hsm_configurations; /// Types for the `DescribeInboundIntegrations` operation. pub mod describe_inbound_integrations; +/// Types for the `DescribeIntegrations` operation. +pub mod describe_integrations; + /// Types for the `DescribeLoggingStatus` operation. pub mod describe_logging_status; @@ -340,6 +349,9 @@ pub mod modify_endpoint_access; /// Types for the `ModifyEventSubscription` operation. pub mod modify_event_subscription; +/// Types for the `ModifyIntegration` operation. +pub mod modify_integration; + /// Types for the `ModifyRedshiftIdcApplication` operation. pub mod modify_redshift_idc_application; diff --git a/sdk/redshift/src/operation/create_cluster/_create_cluster_input.rs b/sdk/redshift/src/operation/create_cluster/_create_cluster_input.rs index b350e5f7c553..33b0051e66ea 100644 --- a/sdk/redshift/src/operation/create_cluster/_create_cluster_input.rs +++ b/sdk/redshift/src/operation/create_cluster/_create_cluster_input.rs @@ -44,7 +44,7 @@ pub struct CreateClusterInput { ///

                                                                                                                  Default: multi-node

                                                                                                                  pub cluster_type: ::std::option::Option<::std::string::String>, ///

                                                                                                                  The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

                                                                                                                  - ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  + ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  pub node_type: ::std::option::Option<::std::string::String>, ///

                                                                                                                  The user name associated with the admin user account for the cluster that is being created.

                                                                                                                  ///

                                                                                                                  Constraints:

                                                                                                                  @@ -238,7 +238,7 @@ impl CreateClusterInput { self.cluster_type.as_deref() } ///

                                                                                                                  The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

                                                                                                                  - ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  + ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  pub fn node_type(&self) -> ::std::option::Option<&str> { self.node_type.as_deref() } @@ -705,20 +705,20 @@ impl CreateClusterInputBuilder { &self.cluster_type } ///

                                                                                                                  The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

                                                                                                                  - ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  + ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  /// This field is required. pub fn node_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.node_type = ::std::option::Option::Some(input.into()); self } ///

                                                                                                                  The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

                                                                                                                  - ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  + ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  pub fn set_node_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.node_type = input; self } ///

                                                                                                                  The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

                                                                                                                  - ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  + ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  pub fn get_node_type(&self) -> &::std::option::Option<::std::string::String> { &self.node_type } diff --git a/sdk/redshift/src/operation/create_cluster/builders.rs b/sdk/redshift/src/operation/create_cluster/builders.rs index a988b1cc3cf0..d9060da1fadb 100644 --- a/sdk/redshift/src/operation/create_cluster/builders.rs +++ b/sdk/redshift/src/operation/create_cluster/builders.rs @@ -251,19 +251,19 @@ impl CreateClusterFluentBuilder { self.inner.get_cluster_type() } ///

                                                                                                                  The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

                                                                                                                  - ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  + ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  pub fn node_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.node_type(input.into()); self } ///

                                                                                                                  The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

                                                                                                                  - ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  + ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  pub fn set_node_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_node_type(input); self } ///

                                                                                                                  The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

                                                                                                                  - ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  + ///

                                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                                  pub fn get_node_type(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_node_type() } diff --git a/sdk/redshift/src/operation/create_integration.rs b/sdk/redshift/src/operation/create_integration.rs new file mode 100644 index 000000000000..185c1fb7259d --- /dev/null +++ b/sdk/redshift/src/operation/create_integration.rs @@ -0,0 +1,435 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +/// Orchestration and serialization glue logic for `CreateIntegration`. +#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct CreateIntegration; +impl CreateIntegration { + /// Creates a new `CreateIntegration` + pub fn new() -> Self { + Self + } + pub(crate) async fn orchestrate( + runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins, + input: crate::operation::create_integration::CreateIntegrationInput, + ) -> ::std::result::Result< + crate::operation::create_integration::CreateIntegrationOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::create_integration::CreateIntegrationError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let map_err = |err: ::aws_smithy_runtime_api::client::result::SdkError< + ::aws_smithy_runtime_api::client::interceptors::context::Error, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >| { + err.map_service_error(|err| { + err.downcast::() + .expect("correct error type") + }) + }; + let context = Self::orchestrate_with_stop_point(runtime_plugins, input, ::aws_smithy_runtime::client::orchestrator::StopPoint::None) + .await + .map_err(map_err)?; + let output = context.finalize().map_err(map_err)?; + ::std::result::Result::Ok( + output + .downcast::() + .expect("correct output type"), + ) + } + + pub(crate) async fn orchestrate_with_stop_point( + runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins, + input: crate::operation::create_integration::CreateIntegrationInput, + stop_point: ::aws_smithy_runtime::client::orchestrator::StopPoint, + ) -> ::std::result::Result< + ::aws_smithy_runtime_api::client::interceptors::context::InterceptorContext, + ::aws_smithy_runtime_api::client::result::SdkError< + ::aws_smithy_runtime_api::client::interceptors::context::Error, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let input = ::aws_smithy_runtime_api::client::interceptors::context::Input::erase(input); + ::aws_smithy_runtime::client::orchestrator::invoke_with_stop_point("redshift", "CreateIntegration", input, runtime_plugins, stop_point).await + } + + pub(crate) fn operation_runtime_plugins( + client_runtime_plugins: ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins, + client_config: &crate::config::Config, + config_override: ::std::option::Option, + ) -> ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins { + let mut runtime_plugins = client_runtime_plugins.with_operation_plugin(Self::new()); + runtime_plugins = runtime_plugins.with_client_plugin(crate::auth_plugin::DefaultAuthOptionsPlugin::new(vec![ + ::aws_runtime::auth::sigv4::SCHEME_ID, + ])); + if let ::std::option::Option::Some(config_override) = config_override { + for plugin in config_override.runtime_plugins.iter().cloned() { + runtime_plugins = runtime_plugins.with_operation_plugin(plugin); + } + runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new( + config_override, + client_config.config.clone(), + &client_config.runtime_components, + )); + } + runtime_plugins + } +} +impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for CreateIntegration { + fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> { + let mut cfg = ::aws_smithy_types::config_bag::Layer::new("CreateIntegration"); + + cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new( + CreateIntegrationRequestSerializer, + )); + cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new( + CreateIntegrationResponseDeserializer, + )); + + cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new( + ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(), + )); + + cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new( + "CreateIntegration", + "redshift", + )); + let mut signing_options = ::aws_runtime::auth::SigningOptions::default(); + signing_options.double_uri_encode = true; + signing_options.content_sha256_header = false; + signing_options.normalize_uri_path = true; + signing_options.payload_override = None; + + cfg.store_put(::aws_runtime::auth::SigV4OperationSigningConfig { + signing_options, + ..::std::default::Default::default() + }); + + ::std::option::Option::Some(cfg.freeze()) + } + + fn runtime_components( + &self, + _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder, + ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> { + #[allow(unused_mut)] + let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("CreateIntegration") + .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default()) + .with_interceptor(CreateIntegrationEndpointParamsInterceptor) + .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< + crate::operation::create_integration::CreateIntegrationError, + >::new()) + .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::< + crate::operation::create_integration::CreateIntegrationError, + >::new()) + .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::< + crate::operation::create_integration::CreateIntegrationError, + >::new()); + + ::std::borrow::Cow::Owned(rcb) + } +} + +#[derive(Debug)] +struct CreateIntegrationResponseDeserializer; +impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for CreateIntegrationResponseDeserializer { + fn deserialize_nonstreaming( + &self, + response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError { + let (success, status) = (response.status().is_success(), response.status().as_u16()); + let headers = response.headers(); + let body = response.body().bytes().expect("body loaded"); + #[allow(unused_mut)] + let mut force_error = false; + ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response)); + let parse_result = if !success && status != 200 || force_error { + crate::protocol_serde::shape_create_integration::de_create_integration_http_error(status, headers, body) + } else { + crate::protocol_serde::shape_create_integration::de_create_integration_http_response(status, headers, body) + }; + crate::protocol_serde::type_erase_result(parse_result) + } +} +#[derive(Debug)] +struct CreateIntegrationRequestSerializer; +impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for CreateIntegrationRequestSerializer { + #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)] + fn serialize_input( + &self, + input: ::aws_smithy_runtime_api::client::interceptors::context::Input, + _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag, + ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> { + let input = input + .downcast::() + .expect("correct type"); + let _header_serialization_settings = _cfg + .load::() + .cloned() + .unwrap_or_default(); + let mut request_builder = { + fn uri_base( + _input: &crate::operation::create_integration::CreateIntegrationInput, + output: &mut ::std::string::String, + ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { + use ::std::fmt::Write as _; + ::std::write!(output, "/").expect("formatting should succeed"); + ::std::result::Result::Ok(()) + } + #[allow(clippy::unnecessary_wraps)] + fn update_http_builder( + input: &crate::operation::create_integration::CreateIntegrationInput, + builder: ::http::request::Builder, + ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> { + let mut uri = ::std::string::String::new(); + uri_base(input, &mut uri)?; + ::std::result::Result::Ok(builder.method("POST").uri(uri)) + } + let mut builder = update_http_builder(&input, ::http::request::Builder::new())?; + builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-www-form-urlencoded"); + builder + }; + let body = ::aws_smithy_types::body::SdkBody::from( + crate::protocol_serde::shape_create_integration_input::ser_create_integration_input_input_input(&input)?, + ); + if let Some(content_length) = body.content_length() { + let content_length = content_length.to_string(); + request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length); + } + ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap()) + } +} +#[derive(Debug)] +struct CreateIntegrationEndpointParamsInterceptor; + +impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CreateIntegrationEndpointParamsInterceptor { + fn name(&self) -> &'static str { + "CreateIntegrationEndpointParamsInterceptor" + } + + fn read_before_execution( + &self, + context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef< + '_, + ::aws_smithy_runtime_api::client::interceptors::context::Input, + ::aws_smithy_runtime_api::client::interceptors::context::Output, + ::aws_smithy_runtime_api::client::interceptors::context::Error, + >, + cfg: &mut ::aws_smithy_types::config_bag::ConfigBag, + ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> { + let _input = context + .input() + .downcast_ref::() + .ok_or("failed to downcast to CreateIntegrationInput")?; + + let params = crate::config::endpoint::Params::builder() + .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned())) + .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0)) + .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0)) + .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone())) + .build() + .map_err(|err| { + ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err) + })?; + cfg.interceptor_state() + .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params)); + ::std::result::Result::Ok(()) + } +} + +// The get_* functions below are generated from JMESPath expressions in the +// operationContextParams trait. They target the operation's input shape. + +/// Error type for the `CreateIntegrationError` operation. +#[non_exhaustive] +#[derive(::std::fmt::Debug)] +pub enum CreateIntegrationError { + ///

                                                                                                                  The integration you are trying to create already exists.

                                                                                                                  + IntegrationAlreadyExistsFault(crate::types::error::IntegrationAlreadyExistsFault), + ///

                                                                                                                  A conflicting conditional operation is currently in progress against this resource. This typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.

                                                                                                                  + IntegrationConflictOperationFault(crate::types::error::IntegrationConflictOperationFault), + ///

                                                                                                                  You can't create any more zero-ETL integrations because the quota has been reached.

                                                                                                                  + IntegrationQuotaExceededFault(crate::types::error::IntegrationQuotaExceededFault), + ///

                                                                                                                  The specified integration source can't be found.

                                                                                                                  + IntegrationSourceNotFoundFault(crate::types::error::IntegrationSourceNotFoundFault), + ///

                                                                                                                  The specified integration target can't be found.

                                                                                                                  + IntegrationTargetNotFoundFault(crate::types::error::IntegrationTargetNotFoundFault), + ///

                                                                                                                  The specified cluster is not in the available state.

                                                                                                                  + InvalidClusterStateFault(crate::types::error::InvalidClusterStateFault), + ///

                                                                                                                  The tag is invalid.

                                                                                                                  + InvalidTagFault(crate::types::error::InvalidTagFault), + ///

                                                                                                                  You have exceeded the number of tags allowed.

                                                                                                                  + TagLimitExceededFault(crate::types::error::TagLimitExceededFault), + ///

                                                                                                                  The requested operation isn't supported.

                                                                                                                  + UnsupportedOperationFault(crate::types::error::UnsupportedOperationFault), + /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). + #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \ + variable wildcard pattern and check `.code()`: + \ +    `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }` + \ + See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-CreateIntegrationError) for what information is available for the error.")] + Unhandled(crate::error::sealed_unhandled::Unhandled), +} +impl CreateIntegrationError { + /// Creates the `CreateIntegrationError::Unhandled` variant from any error type. + pub fn unhandled( + err: impl ::std::convert::Into<::std::boxed::Box>, + ) -> Self { + Self::Unhandled(crate::error::sealed_unhandled::Unhandled { + source: err.into(), + meta: ::std::default::Default::default(), + }) + } + + /// Creates the `CreateIntegrationError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata). + pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self { + Self::Unhandled(crate::error::sealed_unhandled::Unhandled { + source: err.clone().into(), + meta: err, + }) + } + /// + /// Returns error metadata, which includes the error code, message, + /// request ID, and potentially additional information. + /// + pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + match self { + Self::IntegrationAlreadyExistsFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::IntegrationConflictOperationFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::IntegrationQuotaExceededFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::IntegrationSourceNotFoundFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::IntegrationTargetNotFoundFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::InvalidClusterStateFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::InvalidTagFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::TagLimitExceededFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::UnsupportedOperationFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::Unhandled(e) => &e.meta, + } + } + /// Returns `true` if the error kind is `CreateIntegrationError::IntegrationAlreadyExistsFault`. + pub fn is_integration_already_exists_fault(&self) -> bool { + matches!(self, Self::IntegrationAlreadyExistsFault(_)) + } + /// Returns `true` if the error kind is `CreateIntegrationError::IntegrationConflictOperationFault`. + pub fn is_integration_conflict_operation_fault(&self) -> bool { + matches!(self, Self::IntegrationConflictOperationFault(_)) + } + /// Returns `true` if the error kind is `CreateIntegrationError::IntegrationQuotaExceededFault`. + pub fn is_integration_quota_exceeded_fault(&self) -> bool { + matches!(self, Self::IntegrationQuotaExceededFault(_)) + } + /// Returns `true` if the error kind is `CreateIntegrationError::IntegrationSourceNotFoundFault`. + pub fn is_integration_source_not_found_fault(&self) -> bool { + matches!(self, Self::IntegrationSourceNotFoundFault(_)) + } + /// Returns `true` if the error kind is `CreateIntegrationError::IntegrationTargetNotFoundFault`. + pub fn is_integration_target_not_found_fault(&self) -> bool { + matches!(self, Self::IntegrationTargetNotFoundFault(_)) + } + /// Returns `true` if the error kind is `CreateIntegrationError::InvalidClusterStateFault`. + pub fn is_invalid_cluster_state_fault(&self) -> bool { + matches!(self, Self::InvalidClusterStateFault(_)) + } + /// Returns `true` if the error kind is `CreateIntegrationError::InvalidTagFault`. + pub fn is_invalid_tag_fault(&self) -> bool { + matches!(self, Self::InvalidTagFault(_)) + } + /// Returns `true` if the error kind is `CreateIntegrationError::TagLimitExceededFault`. + pub fn is_tag_limit_exceeded_fault(&self) -> bool { + matches!(self, Self::TagLimitExceededFault(_)) + } + /// Returns `true` if the error kind is `CreateIntegrationError::UnsupportedOperationFault`. + pub fn is_unsupported_operation_fault(&self) -> bool { + matches!(self, Self::UnsupportedOperationFault(_)) + } +} +impl ::std::error::Error for CreateIntegrationError { + fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> { + match self { + Self::IntegrationAlreadyExistsFault(_inner) => ::std::option::Option::Some(_inner), + Self::IntegrationConflictOperationFault(_inner) => ::std::option::Option::Some(_inner), + Self::IntegrationQuotaExceededFault(_inner) => ::std::option::Option::Some(_inner), + Self::IntegrationSourceNotFoundFault(_inner) => ::std::option::Option::Some(_inner), + Self::IntegrationTargetNotFoundFault(_inner) => ::std::option::Option::Some(_inner), + Self::InvalidClusterStateFault(_inner) => ::std::option::Option::Some(_inner), + Self::InvalidTagFault(_inner) => ::std::option::Option::Some(_inner), + Self::TagLimitExceededFault(_inner) => ::std::option::Option::Some(_inner), + Self::UnsupportedOperationFault(_inner) => ::std::option::Option::Some(_inner), + Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source), + } + } +} +impl ::std::fmt::Display for CreateIntegrationError { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + match self { + Self::IntegrationAlreadyExistsFault(_inner) => _inner.fmt(f), + Self::IntegrationConflictOperationFault(_inner) => _inner.fmt(f), + Self::IntegrationQuotaExceededFault(_inner) => _inner.fmt(f), + Self::IntegrationSourceNotFoundFault(_inner) => _inner.fmt(f), + Self::IntegrationTargetNotFoundFault(_inner) => _inner.fmt(f), + Self::InvalidClusterStateFault(_inner) => _inner.fmt(f), + Self::InvalidTagFault(_inner) => _inner.fmt(f), + Self::TagLimitExceededFault(_inner) => _inner.fmt(f), + Self::UnsupportedOperationFault(_inner) => _inner.fmt(f), + Self::Unhandled(_inner) => { + if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) { + write!(f, "unhandled error ({code})") + } else { + f.write_str("unhandled error") + } + } + } + } +} +impl ::aws_smithy_types::retry::ProvideErrorKind for CreateIntegrationError { + fn code(&self) -> ::std::option::Option<&str> { + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) + } + fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> { + ::std::option::Option::None + } +} +impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for CreateIntegrationError { + fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + match self { + Self::IntegrationAlreadyExistsFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::IntegrationConflictOperationFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::IntegrationQuotaExceededFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::IntegrationSourceNotFoundFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::IntegrationTargetNotFoundFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::InvalidClusterStateFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::InvalidTagFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::TagLimitExceededFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::UnsupportedOperationFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::Unhandled(_inner) => &_inner.meta, + } + } +} +impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for CreateIntegrationError { + fn create_unhandled_error( + source: ::std::boxed::Box, + meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>, + ) -> Self { + Self::Unhandled(crate::error::sealed_unhandled::Unhandled { + source, + meta: meta.unwrap_or_default(), + }) + } +} +impl ::aws_types::request_id::RequestId for crate::operation::create_integration::CreateIntegrationError { + fn request_id(&self) -> Option<&str> { + self.meta().request_id() + } +} + +pub use crate::operation::create_integration::_create_integration_output::CreateIntegrationOutput; + +pub use crate::operation::create_integration::_create_integration_input::CreateIntegrationInput; + +mod _create_integration_input; + +mod _create_integration_output; + +/// Builders +pub mod builders; diff --git a/sdk/redshift/src/operation/create_integration/_create_integration_input.rs b/sdk/redshift/src/operation/create_integration/_create_integration_input.rs new file mode 100644 index 000000000000..aa639ca1f987 --- /dev/null +++ b/sdk/redshift/src/operation/create_integration/_create_integration_input.rs @@ -0,0 +1,214 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct CreateIntegrationInput { + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database to use as the source for replication.

                                                                                                                  + pub source_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub target_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub integration_name: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.

                                                                                                                  + pub kms_key_id: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  A list of tags.

                                                                                                                  + pub tag_list: ::std::option::Option<::std::vec::Vec>, + ///

                                                                                                                  An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + ///

                                                                                                                  You can only include this parameter if you specify the KMSKeyId parameter.

                                                                                                                  + pub additional_encryption_context: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + ///

                                                                                                                  A description of the integration.

                                                                                                                  + pub description: ::std::option::Option<::std::string::String>, +} +impl CreateIntegrationInput { + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database to use as the source for replication.

                                                                                                                  + pub fn source_arn(&self) -> ::std::option::Option<&str> { + self.source_arn.as_deref() + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn target_arn(&self) -> ::std::option::Option<&str> { + self.target_arn.as_deref() + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn integration_name(&self) -> ::std::option::Option<&str> { + self.integration_name.as_deref() + } + ///

                                                                                                                  An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.

                                                                                                                  + pub fn kms_key_id(&self) -> ::std::option::Option<&str> { + self.kms_key_id.as_deref() + } + ///

                                                                                                                  A list of tags.

                                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.tag_list.is_none()`. + pub fn tag_list(&self) -> &[crate::types::Tag] { + self.tag_list.as_deref().unwrap_or_default() + } + ///

                                                                                                                  An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + ///

                                                                                                                  You can only include this parameter if you specify the KMSKeyId parameter.

                                                                                                                  + pub fn additional_encryption_context(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> { + self.additional_encryption_context.as_ref() + } + ///

                                                                                                                  A description of the integration.

                                                                                                                  + pub fn description(&self) -> ::std::option::Option<&str> { + self.description.as_deref() + } +} +impl CreateIntegrationInput { + /// Creates a new builder-style object to manufacture [`CreateIntegrationInput`](crate::operation::create_integration::CreateIntegrationInput). + pub fn builder() -> crate::operation::create_integration::builders::CreateIntegrationInputBuilder { + crate::operation::create_integration::builders::CreateIntegrationInputBuilder::default() + } +} + +/// A builder for [`CreateIntegrationInput`](crate::operation::create_integration::CreateIntegrationInput). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct CreateIntegrationInputBuilder { + pub(crate) source_arn: ::std::option::Option<::std::string::String>, + pub(crate) target_arn: ::std::option::Option<::std::string::String>, + pub(crate) integration_name: ::std::option::Option<::std::string::String>, + pub(crate) kms_key_id: ::std::option::Option<::std::string::String>, + pub(crate) tag_list: ::std::option::Option<::std::vec::Vec>, + pub(crate) additional_encryption_context: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + pub(crate) description: ::std::option::Option<::std::string::String>, +} +impl CreateIntegrationInputBuilder { + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database to use as the source for replication.

                                                                                                                  + /// This field is required. + pub fn source_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.source_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database to use as the source for replication.

                                                                                                                  + pub fn set_source_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.source_arn = input; + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database to use as the source for replication.

                                                                                                                  + pub fn get_source_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.source_arn + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + /// This field is required. + pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.target_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn set_target_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.target_arn = input; + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn get_target_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.target_arn + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + /// This field is required. + pub fn integration_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_name = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn set_integration_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_name = input; + self + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn get_integration_name(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_name + } + ///

                                                                                                                  An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.

                                                                                                                  + pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.kms_key_id = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.

                                                                                                                  + pub fn set_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.kms_key_id = input; + self + } + ///

                                                                                                                  An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.

                                                                                                                  + pub fn get_kms_key_id(&self) -> &::std::option::Option<::std::string::String> { + &self.kms_key_id + } + /// Appends an item to `tag_list`. + /// + /// To override the contents of this collection use [`set_tag_list`](Self::set_tag_list). + /// + ///

                                                                                                                  A list of tags.

                                                                                                                  + pub fn tag_list(mut self, input: crate::types::Tag) -> Self { + let mut v = self.tag_list.unwrap_or_default(); + v.push(input); + self.tag_list = ::std::option::Option::Some(v); + self + } + ///

                                                                                                                  A list of tags.

                                                                                                                  + pub fn set_tag_list(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.tag_list = input; + self + } + ///

                                                                                                                  A list of tags.

                                                                                                                  + pub fn get_tag_list(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.tag_list + } + /// Adds a key-value pair to `additional_encryption_context`. + /// + /// To override the contents of this collection use [`set_additional_encryption_context`](Self::set_additional_encryption_context). + /// + ///

                                                                                                                  An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + ///

                                                                                                                  You can only include this parameter if you specify the KMSKeyId parameter.

                                                                                                                  + pub fn additional_encryption_context( + mut self, + k: impl ::std::convert::Into<::std::string::String>, + v: impl ::std::convert::Into<::std::string::String>, + ) -> Self { + let mut hash_map = self.additional_encryption_context.unwrap_or_default(); + hash_map.insert(k.into(), v.into()); + self.additional_encryption_context = ::std::option::Option::Some(hash_map); + self + } + ///

                                                                                                                  An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + ///

                                                                                                                  You can only include this parameter if you specify the KMSKeyId parameter.

                                                                                                                  + pub fn set_additional_encryption_context( + mut self, + input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + ) -> Self { + self.additional_encryption_context = input; + self + } + ///

                                                                                                                  An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + ///

                                                                                                                  You can only include this parameter if you specify the KMSKeyId parameter.

                                                                                                                  + pub fn get_additional_encryption_context( + &self, + ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> { + &self.additional_encryption_context + } + ///

                                                                                                                  A description of the integration.

                                                                                                                  + pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.description = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  A description of the integration.

                                                                                                                  + pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.description = input; + self + } + ///

                                                                                                                  A description of the integration.

                                                                                                                  + pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { + &self.description + } + /// Consumes the builder and constructs a [`CreateIntegrationInput`](crate::operation::create_integration::CreateIntegrationInput). + pub fn build( + self, + ) -> ::std::result::Result { + ::std::result::Result::Ok(crate::operation::create_integration::CreateIntegrationInput { + source_arn: self.source_arn, + target_arn: self.target_arn, + integration_name: self.integration_name, + kms_key_id: self.kms_key_id, + tag_list: self.tag_list, + additional_encryption_context: self.additional_encryption_context, + description: self.description, + }) + } +} diff --git a/sdk/redshift/src/operation/create_integration/_create_integration_output.rs b/sdk/redshift/src/operation/create_integration/_create_integration_output.rs new file mode 100644 index 000000000000..b1db8bc7404d --- /dev/null +++ b/sdk/redshift/src/operation/create_integration/_create_integration_output.rs @@ -0,0 +1,317 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct CreateIntegrationOutput { + ///

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + pub integration_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub integration_name: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + pub source_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub target_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The current status of the integration.

                                                                                                                  + pub status: ::std::option::Option, + ///

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + pub errors: ::std::option::Option<::std::vec::Vec>, + ///

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + pub create_time: ::std::option::Option<::aws_smithy_types::DateTime>, + ///

                                                                                                                  The description of the integration.

                                                                                                                  + pub description: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + pub kms_key_id: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + pub additional_encryption_context: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + ///

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + pub tags: ::std::option::Option<::std::vec::Vec>, + _request_id: Option, +} +impl CreateIntegrationOutput { + ///

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + pub fn integration_arn(&self) -> ::std::option::Option<&str> { + self.integration_arn.as_deref() + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn integration_name(&self) -> ::std::option::Option<&str> { + self.integration_name.as_deref() + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + pub fn source_arn(&self) -> ::std::option::Option<&str> { + self.source_arn.as_deref() + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn target_arn(&self) -> ::std::option::Option<&str> { + self.target_arn.as_deref() + } + ///

                                                                                                                  The current status of the integration.

                                                                                                                  + pub fn status(&self) -> ::std::option::Option<&crate::types::ZeroEtlIntegrationStatus> { + self.status.as_ref() + } + ///

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.errors.is_none()`. + pub fn errors(&self) -> &[crate::types::IntegrationError] { + self.errors.as_deref().unwrap_or_default() + } + ///

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + pub fn create_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> { + self.create_time.as_ref() + } + ///

                                                                                                                  The description of the integration.

                                                                                                                  + pub fn description(&self) -> ::std::option::Option<&str> { + self.description.as_deref() + } + ///

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + pub fn kms_key_id(&self) -> ::std::option::Option<&str> { + self.kms_key_id.as_deref() + } + ///

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + pub fn additional_encryption_context(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> { + self.additional_encryption_context.as_ref() + } + ///

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.tags.is_none()`. + pub fn tags(&self) -> &[crate::types::Tag] { + self.tags.as_deref().unwrap_or_default() + } +} +impl ::aws_types::request_id::RequestId for CreateIntegrationOutput { + fn request_id(&self) -> Option<&str> { + self._request_id.as_deref() + } +} +impl CreateIntegrationOutput { + /// Creates a new builder-style object to manufacture [`CreateIntegrationOutput`](crate::operation::create_integration::CreateIntegrationOutput). + pub fn builder() -> crate::operation::create_integration::builders::CreateIntegrationOutputBuilder { + crate::operation::create_integration::builders::CreateIntegrationOutputBuilder::default() + } +} + +/// A builder for [`CreateIntegrationOutput`](crate::operation::create_integration::CreateIntegrationOutput). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct CreateIntegrationOutputBuilder { + pub(crate) integration_arn: ::std::option::Option<::std::string::String>, + pub(crate) integration_name: ::std::option::Option<::std::string::String>, + pub(crate) source_arn: ::std::option::Option<::std::string::String>, + pub(crate) target_arn: ::std::option::Option<::std::string::String>, + pub(crate) status: ::std::option::Option, + pub(crate) errors: ::std::option::Option<::std::vec::Vec>, + pub(crate) create_time: ::std::option::Option<::aws_smithy_types::DateTime>, + pub(crate) description: ::std::option::Option<::std::string::String>, + pub(crate) kms_key_id: ::std::option::Option<::std::string::String>, + pub(crate) additional_encryption_context: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + pub(crate) tags: ::std::option::Option<::std::vec::Vec>, + _request_id: Option, +} +impl CreateIntegrationOutputBuilder { + ///

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + pub fn integration_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + pub fn set_integration_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_arn = input; + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + pub fn get_integration_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_arn + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn integration_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_name = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn set_integration_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_name = input; + self + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn get_integration_name(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_name + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + pub fn source_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.source_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + pub fn set_source_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.source_arn = input; + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + pub fn get_source_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.source_arn + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.target_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn set_target_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.target_arn = input; + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn get_target_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.target_arn + } + ///

                                                                                                                  The current status of the integration.

                                                                                                                  + pub fn status(mut self, input: crate::types::ZeroEtlIntegrationStatus) -> Self { + self.status = ::std::option::Option::Some(input); + self + } + ///

                                                                                                                  The current status of the integration.

                                                                                                                  + pub fn set_status(mut self, input: ::std::option::Option) -> Self { + self.status = input; + self + } + ///

                                                                                                                  The current status of the integration.

                                                                                                                  + pub fn get_status(&self) -> &::std::option::Option { + &self.status + } + /// Appends an item to `errors`. + /// + /// To override the contents of this collection use [`set_errors`](Self::set_errors). + /// + ///

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + pub fn errors(mut self, input: crate::types::IntegrationError) -> Self { + let mut v = self.errors.unwrap_or_default(); + v.push(input); + self.errors = ::std::option::Option::Some(v); + self + } + ///

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + pub fn set_errors(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.errors = input; + self + } + ///

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + pub fn get_errors(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.errors + } + ///

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + pub fn create_time(mut self, input: ::aws_smithy_types::DateTime) -> Self { + self.create_time = ::std::option::Option::Some(input); + self + } + ///

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + pub fn set_create_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self { + self.create_time = input; + self + } + ///

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + pub fn get_create_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> { + &self.create_time + } + ///

                                                                                                                  The description of the integration.

                                                                                                                  + pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.description = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The description of the integration.

                                                                                                                  + pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.description = input; + self + } + ///

                                                                                                                  The description of the integration.

                                                                                                                  + pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { + &self.description + } + ///

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.kms_key_id = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + pub fn set_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.kms_key_id = input; + self + } + ///

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + pub fn get_kms_key_id(&self) -> &::std::option::Option<::std::string::String> { + &self.kms_key_id + } + /// Adds a key-value pair to `additional_encryption_context`. + /// + /// To override the contents of this collection use [`set_additional_encryption_context`](Self::set_additional_encryption_context). + /// + ///

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + pub fn additional_encryption_context( + mut self, + k: impl ::std::convert::Into<::std::string::String>, + v: impl ::std::convert::Into<::std::string::String>, + ) -> Self { + let mut hash_map = self.additional_encryption_context.unwrap_or_default(); + hash_map.insert(k.into(), v.into()); + self.additional_encryption_context = ::std::option::Option::Some(hash_map); + self + } + ///

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + pub fn set_additional_encryption_context( + mut self, + input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + ) -> Self { + self.additional_encryption_context = input; + self + } + ///

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + pub fn get_additional_encryption_context( + &self, + ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> { + &self.additional_encryption_context + } + /// Appends an item to `tags`. + /// + /// To override the contents of this collection use [`set_tags`](Self::set_tags). + /// + ///

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + pub fn tags(mut self, input: crate::types::Tag) -> Self { + let mut v = self.tags.unwrap_or_default(); + v.push(input); + self.tags = ::std::option::Option::Some(v); + self + } + ///

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + pub fn set_tags(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.tags = input; + self + } + ///

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + pub fn get_tags(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.tags + } + pub(crate) fn _request_id(mut self, request_id: impl Into) -> Self { + self._request_id = Some(request_id.into()); + self + } + + pub(crate) fn _set_request_id(&mut self, request_id: Option) -> &mut Self { + self._request_id = request_id; + self + } + /// Consumes the builder and constructs a [`CreateIntegrationOutput`](crate::operation::create_integration::CreateIntegrationOutput). + pub fn build(self) -> crate::operation::create_integration::CreateIntegrationOutput { + crate::operation::create_integration::CreateIntegrationOutput { + integration_arn: self.integration_arn, + integration_name: self.integration_name, + source_arn: self.source_arn, + target_arn: self.target_arn, + status: self.status, + errors: self.errors, + create_time: self.create_time, + description: self.description, + kms_key_id: self.kms_key_id, + additional_encryption_context: self.additional_encryption_context, + tags: self.tags, + _request_id: self._request_id, + } + } +} diff --git a/sdk/redshift/src/operation/create_integration/builders.rs b/sdk/redshift/src/operation/create_integration/builders.rs new file mode 100644 index 000000000000..834054d8c324 --- /dev/null +++ b/sdk/redshift/src/operation/create_integration/builders.rs @@ -0,0 +1,231 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub use crate::operation::create_integration::_create_integration_output::CreateIntegrationOutputBuilder; + +pub use crate::operation::create_integration::_create_integration_input::CreateIntegrationInputBuilder; + +impl crate::operation::create_integration::builders::CreateIntegrationInputBuilder { + /// Sends a request with this input using the given client. + pub async fn send_with( + self, + client: &crate::Client, + ) -> ::std::result::Result< + crate::operation::create_integration::CreateIntegrationOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::create_integration::CreateIntegrationError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let mut fluent_builder = client.create_integration(); + fluent_builder.inner = self; + fluent_builder.send().await + } +} +/// Fluent builder constructing a request to `CreateIntegration`. +/// +///

                                                                                                                  Creates a zero-ETL integration with Amazon Redshift.

                                                                                                                  +#[derive(::std::clone::Clone, ::std::fmt::Debug)] +pub struct CreateIntegrationFluentBuilder { + handle: ::std::sync::Arc, + inner: crate::operation::create_integration::builders::CreateIntegrationInputBuilder, + config_override: ::std::option::Option, +} +impl + crate::client::customize::internal::CustomizableSend< + crate::operation::create_integration::CreateIntegrationOutput, + crate::operation::create_integration::CreateIntegrationError, + > for CreateIntegrationFluentBuilder +{ + fn send( + self, + config_override: crate::config::Builder, + ) -> crate::client::customize::internal::BoxFuture< + crate::client::customize::internal::SendResult< + crate::operation::create_integration::CreateIntegrationOutput, + crate::operation::create_integration::CreateIntegrationError, + >, + > { + ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await }) + } +} +impl CreateIntegrationFluentBuilder { + /// Creates a new `CreateIntegrationFluentBuilder`. + pub(crate) fn new(handle: ::std::sync::Arc) -> Self { + Self { + handle, + inner: ::std::default::Default::default(), + config_override: ::std::option::Option::None, + } + } + /// Access the CreateIntegration as a reference. + pub fn as_input(&self) -> &crate::operation::create_integration::builders::CreateIntegrationInputBuilder { + &self.inner + } + /// Sends the request and returns the response. + /// + /// If an error occurs, an `SdkError` will be returned with additional details that + /// can be matched against. + /// + /// By default, any retryable failures will be retried twice. Retry behavior + /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be + /// set when configuring the client. + pub async fn send( + self, + ) -> ::std::result::Result< + crate::operation::create_integration::CreateIntegrationOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::create_integration::CreateIntegrationError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let input = self + .inner + .build() + .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?; + let runtime_plugins = crate::operation::create_integration::CreateIntegration::operation_runtime_plugins( + self.handle.runtime_plugins.clone(), + &self.handle.conf, + self.config_override, + ); + crate::operation::create_integration::CreateIntegration::orchestrate(&runtime_plugins, input).await + } + + /// Consumes this builder, creating a customizable operation that can be modified before being sent. + pub fn customize( + self, + ) -> crate::client::customize::CustomizableOperation< + crate::operation::create_integration::CreateIntegrationOutput, + crate::operation::create_integration::CreateIntegrationError, + Self, + > { + crate::client::customize::CustomizableOperation::new(self) + } + pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into) -> Self { + self.set_config_override(::std::option::Option::Some(config_override.into())); + self + } + + pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option) -> &mut Self { + self.config_override = config_override; + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database to use as the source for replication.

                                                                                                                  + pub fn source_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.source_arn(input.into()); + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database to use as the source for replication.

                                                                                                                  + pub fn set_source_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_source_arn(input); + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database to use as the source for replication.

                                                                                                                  + pub fn get_source_arn(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_source_arn() + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.target_arn(input.into()); + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn set_target_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_target_arn(input); + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn get_target_arn(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_target_arn() + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn integration_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.integration_name(input.into()); + self + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn set_integration_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_integration_name(input); + self + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn get_integration_name(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_integration_name() + } + ///

                                                                                                                  An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.

                                                                                                                  + pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.kms_key_id(input.into()); + self + } + ///

                                                                                                                  An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.

                                                                                                                  + pub fn set_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_kms_key_id(input); + self + } + ///

                                                                                                                  An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.

                                                                                                                  + pub fn get_kms_key_id(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_kms_key_id() + } + /// + /// Appends an item to `TagList`. + /// + /// To override the contents of this collection use [`set_tag_list`](Self::set_tag_list). + /// + ///

                                                                                                                  A list of tags.

                                                                                                                  + pub fn tag_list(mut self, input: crate::types::Tag) -> Self { + self.inner = self.inner.tag_list(input); + self + } + ///

                                                                                                                  A list of tags.

                                                                                                                  + pub fn set_tag_list(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.inner = self.inner.set_tag_list(input); + self + } + ///

                                                                                                                  A list of tags.

                                                                                                                  + pub fn get_tag_list(&self) -> &::std::option::Option<::std::vec::Vec> { + self.inner.get_tag_list() + } + /// + /// Adds a key-value pair to `AdditionalEncryptionContext`. + /// + /// To override the contents of this collection use [`set_additional_encryption_context`](Self::set_additional_encryption_context). + /// + ///

                                                                                                                  An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + ///

                                                                                                                  You can only include this parameter if you specify the KMSKeyId parameter.

                                                                                                                  + pub fn additional_encryption_context( + mut self, + k: impl ::std::convert::Into<::std::string::String>, + v: impl ::std::convert::Into<::std::string::String>, + ) -> Self { + self.inner = self.inner.additional_encryption_context(k.into(), v.into()); + self + } + ///

                                                                                                                  An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + ///

                                                                                                                  You can only include this parameter if you specify the KMSKeyId parameter.

                                                                                                                  + pub fn set_additional_encryption_context( + mut self, + input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + ) -> Self { + self.inner = self.inner.set_additional_encryption_context(input); + self + } + ///

                                                                                                                  An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + ///

                                                                                                                  You can only include this parameter if you specify the KMSKeyId parameter.

                                                                                                                  + pub fn get_additional_encryption_context( + &self, + ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> { + self.inner.get_additional_encryption_context() + } + ///

                                                                                                                  A description of the integration.

                                                                                                                  + pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.description(input.into()); + self + } + ///

                                                                                                                  A description of the integration.

                                                                                                                  + pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_description(input); + self + } + ///

                                                                                                                  A description of the integration.

                                                                                                                  + pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_description() + } +} diff --git a/sdk/redshift/src/operation/delete_integration.rs b/sdk/redshift/src/operation/delete_integration.rs new file mode 100644 index 000000000000..42920c289750 --- /dev/null +++ b/sdk/redshift/src/operation/delete_integration.rs @@ -0,0 +1,385 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +/// Orchestration and serialization glue logic for `DeleteIntegration`. +#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct DeleteIntegration; +impl DeleteIntegration { + /// Creates a new `DeleteIntegration` + pub fn new() -> Self { + Self + } + pub(crate) async fn orchestrate( + runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins, + input: crate::operation::delete_integration::DeleteIntegrationInput, + ) -> ::std::result::Result< + crate::operation::delete_integration::DeleteIntegrationOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::delete_integration::DeleteIntegrationError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let map_err = |err: ::aws_smithy_runtime_api::client::result::SdkError< + ::aws_smithy_runtime_api::client::interceptors::context::Error, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >| { + err.map_service_error(|err| { + err.downcast::() + .expect("correct error type") + }) + }; + let context = Self::orchestrate_with_stop_point(runtime_plugins, input, ::aws_smithy_runtime::client::orchestrator::StopPoint::None) + .await + .map_err(map_err)?; + let output = context.finalize().map_err(map_err)?; + ::std::result::Result::Ok( + output + .downcast::() + .expect("correct output type"), + ) + } + + pub(crate) async fn orchestrate_with_stop_point( + runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins, + input: crate::operation::delete_integration::DeleteIntegrationInput, + stop_point: ::aws_smithy_runtime::client::orchestrator::StopPoint, + ) -> ::std::result::Result< + ::aws_smithy_runtime_api::client::interceptors::context::InterceptorContext, + ::aws_smithy_runtime_api::client::result::SdkError< + ::aws_smithy_runtime_api::client::interceptors::context::Error, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let input = ::aws_smithy_runtime_api::client::interceptors::context::Input::erase(input); + ::aws_smithy_runtime::client::orchestrator::invoke_with_stop_point("redshift", "DeleteIntegration", input, runtime_plugins, stop_point).await + } + + pub(crate) fn operation_runtime_plugins( + client_runtime_plugins: ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins, + client_config: &crate::config::Config, + config_override: ::std::option::Option, + ) -> ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins { + let mut runtime_plugins = client_runtime_plugins.with_operation_plugin(Self::new()); + runtime_plugins = runtime_plugins.with_client_plugin(crate::auth_plugin::DefaultAuthOptionsPlugin::new(vec![ + ::aws_runtime::auth::sigv4::SCHEME_ID, + ])); + if let ::std::option::Option::Some(config_override) = config_override { + for plugin in config_override.runtime_plugins.iter().cloned() { + runtime_plugins = runtime_plugins.with_operation_plugin(plugin); + } + runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new( + config_override, + client_config.config.clone(), + &client_config.runtime_components, + )); + } + runtime_plugins + } +} +impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for DeleteIntegration { + fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> { + let mut cfg = ::aws_smithy_types::config_bag::Layer::new("DeleteIntegration"); + + cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new( + DeleteIntegrationRequestSerializer, + )); + cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new( + DeleteIntegrationResponseDeserializer, + )); + + cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new( + ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(), + )); + + cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new( + "DeleteIntegration", + "redshift", + )); + let mut signing_options = ::aws_runtime::auth::SigningOptions::default(); + signing_options.double_uri_encode = true; + signing_options.content_sha256_header = false; + signing_options.normalize_uri_path = true; + signing_options.payload_override = None; + + cfg.store_put(::aws_runtime::auth::SigV4OperationSigningConfig { + signing_options, + ..::std::default::Default::default() + }); + + ::std::option::Option::Some(cfg.freeze()) + } + + fn runtime_components( + &self, + _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder, + ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> { + #[allow(unused_mut)] + let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("DeleteIntegration") + .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default()) + .with_interceptor(DeleteIntegrationEndpointParamsInterceptor) + .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< + crate::operation::delete_integration::DeleteIntegrationError, + >::new()) + .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::< + crate::operation::delete_integration::DeleteIntegrationError, + >::new()) + .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::< + crate::operation::delete_integration::DeleteIntegrationError, + >::new()); + + ::std::borrow::Cow::Owned(rcb) + } +} + +#[derive(Debug)] +struct DeleteIntegrationResponseDeserializer; +impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteIntegrationResponseDeserializer { + fn deserialize_nonstreaming( + &self, + response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError { + let (success, status) = (response.status().is_success(), response.status().as_u16()); + let headers = response.headers(); + let body = response.body().bytes().expect("body loaded"); + #[allow(unused_mut)] + let mut force_error = false; + ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response)); + let parse_result = if !success && status != 200 || force_error { + crate::protocol_serde::shape_delete_integration::de_delete_integration_http_error(status, headers, body) + } else { + crate::protocol_serde::shape_delete_integration::de_delete_integration_http_response(status, headers, body) + }; + crate::protocol_serde::type_erase_result(parse_result) + } +} +#[derive(Debug)] +struct DeleteIntegrationRequestSerializer; +impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for DeleteIntegrationRequestSerializer { + #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)] + fn serialize_input( + &self, + input: ::aws_smithy_runtime_api::client::interceptors::context::Input, + _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag, + ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> { + let input = input + .downcast::() + .expect("correct type"); + let _header_serialization_settings = _cfg + .load::() + .cloned() + .unwrap_or_default(); + let mut request_builder = { + fn uri_base( + _input: &crate::operation::delete_integration::DeleteIntegrationInput, + output: &mut ::std::string::String, + ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { + use ::std::fmt::Write as _; + ::std::write!(output, "/").expect("formatting should succeed"); + ::std::result::Result::Ok(()) + } + #[allow(clippy::unnecessary_wraps)] + fn update_http_builder( + input: &crate::operation::delete_integration::DeleteIntegrationInput, + builder: ::http::request::Builder, + ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> { + let mut uri = ::std::string::String::new(); + uri_base(input, &mut uri)?; + ::std::result::Result::Ok(builder.method("POST").uri(uri)) + } + let mut builder = update_http_builder(&input, ::http::request::Builder::new())?; + builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-www-form-urlencoded"); + builder + }; + let body = ::aws_smithy_types::body::SdkBody::from( + crate::protocol_serde::shape_delete_integration_input::ser_delete_integration_input_input_input(&input)?, + ); + if let Some(content_length) = body.content_length() { + let content_length = content_length.to_string(); + request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length); + } + ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap()) + } +} +#[derive(Debug)] +struct DeleteIntegrationEndpointParamsInterceptor; + +impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DeleteIntegrationEndpointParamsInterceptor { + fn name(&self) -> &'static str { + "DeleteIntegrationEndpointParamsInterceptor" + } + + fn read_before_execution( + &self, + context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef< + '_, + ::aws_smithy_runtime_api::client::interceptors::context::Input, + ::aws_smithy_runtime_api::client::interceptors::context::Output, + ::aws_smithy_runtime_api::client::interceptors::context::Error, + >, + cfg: &mut ::aws_smithy_types::config_bag::ConfigBag, + ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> { + let _input = context + .input() + .downcast_ref::() + .ok_or("failed to downcast to DeleteIntegrationInput")?; + + let params = crate::config::endpoint::Params::builder() + .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned())) + .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0)) + .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0)) + .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone())) + .build() + .map_err(|err| { + ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err) + })?; + cfg.interceptor_state() + .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params)); + ::std::result::Result::Ok(()) + } +} + +// The get_* functions below are generated from JMESPath expressions in the +// operationContextParams trait. They target the operation's input shape. + +/// Error type for the `DeleteIntegrationError` operation. +#[non_exhaustive] +#[derive(::std::fmt::Debug)] +pub enum DeleteIntegrationError { + ///

                                                                                                                  A conflicting conditional operation is currently in progress against this resource. This typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.

                                                                                                                  + IntegrationConflictOperationFault(crate::types::error::IntegrationConflictOperationFault), + ///

                                                                                                                  The integration is in an invalid state and can't perform the requested operation.

                                                                                                                  + IntegrationConflictStateFault(crate::types::error::IntegrationConflictStateFault), + ///

                                                                                                                  The integration can't be found.

                                                                                                                  + IntegrationNotFoundFault(crate::types::error::IntegrationNotFoundFault), + ///

                                                                                                                  The requested operation isn't supported.

                                                                                                                  + UnsupportedOperationFault(crate::types::error::UnsupportedOperationFault), + /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). + #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \ + variable wildcard pattern and check `.code()`: + \ +    `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }` + \ + See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-DeleteIntegrationError) for what information is available for the error.")] + Unhandled(crate::error::sealed_unhandled::Unhandled), +} +impl DeleteIntegrationError { + /// Creates the `DeleteIntegrationError::Unhandled` variant from any error type. + pub fn unhandled( + err: impl ::std::convert::Into<::std::boxed::Box>, + ) -> Self { + Self::Unhandled(crate::error::sealed_unhandled::Unhandled { + source: err.into(), + meta: ::std::default::Default::default(), + }) + } + + /// Creates the `DeleteIntegrationError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata). + pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self { + Self::Unhandled(crate::error::sealed_unhandled::Unhandled { + source: err.clone().into(), + meta: err, + }) + } + /// + /// Returns error metadata, which includes the error code, message, + /// request ID, and potentially additional information. + /// + pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + match self { + Self::IntegrationConflictOperationFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::IntegrationConflictStateFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::IntegrationNotFoundFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::UnsupportedOperationFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::Unhandled(e) => &e.meta, + } + } + /// Returns `true` if the error kind is `DeleteIntegrationError::IntegrationConflictOperationFault`. + pub fn is_integration_conflict_operation_fault(&self) -> bool { + matches!(self, Self::IntegrationConflictOperationFault(_)) + } + /// Returns `true` if the error kind is `DeleteIntegrationError::IntegrationConflictStateFault`. + pub fn is_integration_conflict_state_fault(&self) -> bool { + matches!(self, Self::IntegrationConflictStateFault(_)) + } + /// Returns `true` if the error kind is `DeleteIntegrationError::IntegrationNotFoundFault`. + pub fn is_integration_not_found_fault(&self) -> bool { + matches!(self, Self::IntegrationNotFoundFault(_)) + } + /// Returns `true` if the error kind is `DeleteIntegrationError::UnsupportedOperationFault`. + pub fn is_unsupported_operation_fault(&self) -> bool { + matches!(self, Self::UnsupportedOperationFault(_)) + } +} +impl ::std::error::Error for DeleteIntegrationError { + fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> { + match self { + Self::IntegrationConflictOperationFault(_inner) => ::std::option::Option::Some(_inner), + Self::IntegrationConflictStateFault(_inner) => ::std::option::Option::Some(_inner), + Self::IntegrationNotFoundFault(_inner) => ::std::option::Option::Some(_inner), + Self::UnsupportedOperationFault(_inner) => ::std::option::Option::Some(_inner), + Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source), + } + } +} +impl ::std::fmt::Display for DeleteIntegrationError { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + match self { + Self::IntegrationConflictOperationFault(_inner) => _inner.fmt(f), + Self::IntegrationConflictStateFault(_inner) => _inner.fmt(f), + Self::IntegrationNotFoundFault(_inner) => _inner.fmt(f), + Self::UnsupportedOperationFault(_inner) => _inner.fmt(f), + Self::Unhandled(_inner) => { + if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) { + write!(f, "unhandled error ({code})") + } else { + f.write_str("unhandled error") + } + } + } + } +} +impl ::aws_smithy_types::retry::ProvideErrorKind for DeleteIntegrationError { + fn code(&self) -> ::std::option::Option<&str> { + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) + } + fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> { + ::std::option::Option::None + } +} +impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for DeleteIntegrationError { + fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + match self { + Self::IntegrationConflictOperationFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::IntegrationConflictStateFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::IntegrationNotFoundFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::UnsupportedOperationFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::Unhandled(_inner) => &_inner.meta, + } + } +} +impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for DeleteIntegrationError { + fn create_unhandled_error( + source: ::std::boxed::Box, + meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>, + ) -> Self { + Self::Unhandled(crate::error::sealed_unhandled::Unhandled { + source, + meta: meta.unwrap_or_default(), + }) + } +} +impl ::aws_types::request_id::RequestId for crate::operation::delete_integration::DeleteIntegrationError { + fn request_id(&self) -> Option<&str> { + self.meta().request_id() + } +} + +pub use crate::operation::delete_integration::_delete_integration_output::DeleteIntegrationOutput; + +pub use crate::operation::delete_integration::_delete_integration_input::DeleteIntegrationInput; + +mod _delete_integration_input; + +mod _delete_integration_output; + +/// Builders +pub mod builders; diff --git a/sdk/redshift/src/operation/delete_integration/_delete_integration_input.rs b/sdk/redshift/src/operation/delete_integration/_delete_integration_input.rs new file mode 100644 index 000000000000..5dc70fa47116 --- /dev/null +++ b/sdk/redshift/src/operation/delete_integration/_delete_integration_input.rs @@ -0,0 +1,52 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct DeleteIntegrationInput { + ///

                                                                                                                  The unique identifier of the integration to delete.

                                                                                                                  + pub integration_arn: ::std::option::Option<::std::string::String>, +} +impl DeleteIntegrationInput { + ///

                                                                                                                  The unique identifier of the integration to delete.

                                                                                                                  + pub fn integration_arn(&self) -> ::std::option::Option<&str> { + self.integration_arn.as_deref() + } +} +impl DeleteIntegrationInput { + /// Creates a new builder-style object to manufacture [`DeleteIntegrationInput`](crate::operation::delete_integration::DeleteIntegrationInput). + pub fn builder() -> crate::operation::delete_integration::builders::DeleteIntegrationInputBuilder { + crate::operation::delete_integration::builders::DeleteIntegrationInputBuilder::default() + } +} + +/// A builder for [`DeleteIntegrationInput`](crate::operation::delete_integration::DeleteIntegrationInput). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct DeleteIntegrationInputBuilder { + pub(crate) integration_arn: ::std::option::Option<::std::string::String>, +} +impl DeleteIntegrationInputBuilder { + ///

                                                                                                                  The unique identifier of the integration to delete.

                                                                                                                  + /// This field is required. + pub fn integration_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The unique identifier of the integration to delete.

                                                                                                                  + pub fn set_integration_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_arn = input; + self + } + ///

                                                                                                                  The unique identifier of the integration to delete.

                                                                                                                  + pub fn get_integration_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_arn + } + /// Consumes the builder and constructs a [`DeleteIntegrationInput`](crate::operation::delete_integration::DeleteIntegrationInput). + pub fn build( + self, + ) -> ::std::result::Result { + ::std::result::Result::Ok(crate::operation::delete_integration::DeleteIntegrationInput { + integration_arn: self.integration_arn, + }) + } +} diff --git a/sdk/redshift/src/operation/delete_integration/_delete_integration_output.rs b/sdk/redshift/src/operation/delete_integration/_delete_integration_output.rs new file mode 100644 index 000000000000..2f9287ed7bac --- /dev/null +++ b/sdk/redshift/src/operation/delete_integration/_delete_integration_output.rs @@ -0,0 +1,317 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct DeleteIntegrationOutput { + ///

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + pub integration_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub integration_name: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + pub source_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub target_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The current status of the integration.

                                                                                                                  + pub status: ::std::option::Option, + ///

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + pub errors: ::std::option::Option<::std::vec::Vec>, + ///

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + pub create_time: ::std::option::Option<::aws_smithy_types::DateTime>, + ///

                                                                                                                  The description of the integration.

                                                                                                                  + pub description: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + pub kms_key_id: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + pub additional_encryption_context: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + ///

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + pub tags: ::std::option::Option<::std::vec::Vec>, + _request_id: Option, +} +impl DeleteIntegrationOutput { + ///

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + pub fn integration_arn(&self) -> ::std::option::Option<&str> { + self.integration_arn.as_deref() + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn integration_name(&self) -> ::std::option::Option<&str> { + self.integration_name.as_deref() + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + pub fn source_arn(&self) -> ::std::option::Option<&str> { + self.source_arn.as_deref() + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn target_arn(&self) -> ::std::option::Option<&str> { + self.target_arn.as_deref() + } + ///

                                                                                                                  The current status of the integration.

                                                                                                                  + pub fn status(&self) -> ::std::option::Option<&crate::types::ZeroEtlIntegrationStatus> { + self.status.as_ref() + } + ///

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.errors.is_none()`. + pub fn errors(&self) -> &[crate::types::IntegrationError] { + self.errors.as_deref().unwrap_or_default() + } + ///

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + pub fn create_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> { + self.create_time.as_ref() + } + ///

                                                                                                                  The description of the integration.

                                                                                                                  + pub fn description(&self) -> ::std::option::Option<&str> { + self.description.as_deref() + } + ///

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + pub fn kms_key_id(&self) -> ::std::option::Option<&str> { + self.kms_key_id.as_deref() + } + ///

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + pub fn additional_encryption_context(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> { + self.additional_encryption_context.as_ref() + } + ///

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.tags.is_none()`. + pub fn tags(&self) -> &[crate::types::Tag] { + self.tags.as_deref().unwrap_or_default() + } +} +impl ::aws_types::request_id::RequestId for DeleteIntegrationOutput { + fn request_id(&self) -> Option<&str> { + self._request_id.as_deref() + } +} +impl DeleteIntegrationOutput { + /// Creates a new builder-style object to manufacture [`DeleteIntegrationOutput`](crate::operation::delete_integration::DeleteIntegrationOutput). + pub fn builder() -> crate::operation::delete_integration::builders::DeleteIntegrationOutputBuilder { + crate::operation::delete_integration::builders::DeleteIntegrationOutputBuilder::default() + } +} + +/// A builder for [`DeleteIntegrationOutput`](crate::operation::delete_integration::DeleteIntegrationOutput). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct DeleteIntegrationOutputBuilder { + pub(crate) integration_arn: ::std::option::Option<::std::string::String>, + pub(crate) integration_name: ::std::option::Option<::std::string::String>, + pub(crate) source_arn: ::std::option::Option<::std::string::String>, + pub(crate) target_arn: ::std::option::Option<::std::string::String>, + pub(crate) status: ::std::option::Option, + pub(crate) errors: ::std::option::Option<::std::vec::Vec>, + pub(crate) create_time: ::std::option::Option<::aws_smithy_types::DateTime>, + pub(crate) description: ::std::option::Option<::std::string::String>, + pub(crate) kms_key_id: ::std::option::Option<::std::string::String>, + pub(crate) additional_encryption_context: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + pub(crate) tags: ::std::option::Option<::std::vec::Vec>, + _request_id: Option, +} +impl DeleteIntegrationOutputBuilder { + ///

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + pub fn integration_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + pub fn set_integration_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_arn = input; + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                                  + pub fn get_integration_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_arn + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn integration_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_name = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn set_integration_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_name = input; + self + } + ///

                                                                                                                  The name of the integration.

                                                                                                                  + pub fn get_integration_name(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_name + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + pub fn source_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.source_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + pub fn set_source_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.source_arn = input; + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                                  + pub fn get_source_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.source_arn + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.target_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn set_target_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.target_arn = input; + self + } + ///

                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                                  + pub fn get_target_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.target_arn + } + ///

                                                                                                                  The current status of the integration.

                                                                                                                  + pub fn status(mut self, input: crate::types::ZeroEtlIntegrationStatus) -> Self { + self.status = ::std::option::Option::Some(input); + self + } + ///

                                                                                                                  The current status of the integration.

                                                                                                                  + pub fn set_status(mut self, input: ::std::option::Option) -> Self { + self.status = input; + self + } + ///

                                                                                                                  The current status of the integration.

                                                                                                                  + pub fn get_status(&self) -> &::std::option::Option { + &self.status + } + /// Appends an item to `errors`. + /// + /// To override the contents of this collection use [`set_errors`](Self::set_errors). + /// + ///

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + pub fn errors(mut self, input: crate::types::IntegrationError) -> Self { + let mut v = self.errors.unwrap_or_default(); + v.push(input); + self.errors = ::std::option::Option::Some(v); + self + } + ///

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + pub fn set_errors(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.errors = input; + self + } + ///

                                                                                                                  Any errors associated with the integration.

                                                                                                                  + pub fn get_errors(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.errors + } + ///

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + pub fn create_time(mut self, input: ::aws_smithy_types::DateTime) -> Self { + self.create_time = ::std::option::Option::Some(input); + self + } + ///

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + pub fn set_create_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self { + self.create_time = input; + self + } + ///

                                                                                                                  The time (UTC) when the integration was created.

                                                                                                                  + pub fn get_create_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> { + &self.create_time + } + ///

                                                                                                                  The description of the integration.

                                                                                                                  + pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.description = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The description of the integration.

                                                                                                                  + pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.description = input; + self + } + ///

                                                                                                                  The description of the integration.

                                                                                                                  + pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { + &self.description + } + ///

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.kms_key_id = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + pub fn set_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.kms_key_id = input; + self + } + ///

                                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                                  + pub fn get_kms_key_id(&self) -> &::std::option::Option<::std::string::String> { + &self.kms_key_id + } + /// Adds a key-value pair to `additional_encryption_context`. + /// + /// To override the contents of this collection use [`set_additional_encryption_context`](Self::set_additional_encryption_context). + /// + ///

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + pub fn additional_encryption_context( + mut self, + k: impl ::std::convert::Into<::std::string::String>, + v: impl ::std::convert::Into<::std::string::String>, + ) -> Self { + let mut hash_map = self.additional_encryption_context.unwrap_or_default(); + hash_map.insert(k.into(), v.into()); + self.additional_encryption_context = ::std::option::Option::Some(hash_map); + self + } + ///

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + pub fn set_additional_encryption_context( + mut self, + input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + ) -> Self { + self.additional_encryption_context = input; + self + } + ///

                                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                                  + pub fn get_additional_encryption_context( + &self, + ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> { + &self.additional_encryption_context + } + /// Appends an item to `tags`. + /// + /// To override the contents of this collection use [`set_tags`](Self::set_tags). + /// + ///

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + pub fn tags(mut self, input: crate::types::Tag) -> Self { + let mut v = self.tags.unwrap_or_default(); + v.push(input); + self.tags = ::std::option::Option::Some(v); + self + } + ///

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + pub fn set_tags(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.tags = input; + self + } + ///

                                                                                                                  The list of tags associated with the integration.

                                                                                                                  + pub fn get_tags(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.tags + } + pub(crate) fn _request_id(mut self, request_id: impl Into) -> Self { + self._request_id = Some(request_id.into()); + self + } + + pub(crate) fn _set_request_id(&mut self, request_id: Option) -> &mut Self { + self._request_id = request_id; + self + } + /// Consumes the builder and constructs a [`DeleteIntegrationOutput`](crate::operation::delete_integration::DeleteIntegrationOutput). + pub fn build(self) -> crate::operation::delete_integration::DeleteIntegrationOutput { + crate::operation::delete_integration::DeleteIntegrationOutput { + integration_arn: self.integration_arn, + integration_name: self.integration_name, + source_arn: self.source_arn, + target_arn: self.target_arn, + status: self.status, + errors: self.errors, + create_time: self.create_time, + description: self.description, + kms_key_id: self.kms_key_id, + additional_encryption_context: self.additional_encryption_context, + tags: self.tags, + _request_id: self._request_id, + } + } +} diff --git a/sdk/redshift/src/operation/delete_integration/builders.rs b/sdk/redshift/src/operation/delete_integration/builders.rs new file mode 100644 index 000000000000..a9c5429ec3ea --- /dev/null +++ b/sdk/redshift/src/operation/delete_integration/builders.rs @@ -0,0 +1,125 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub use crate::operation::delete_integration::_delete_integration_output::DeleteIntegrationOutputBuilder; + +pub use crate::operation::delete_integration::_delete_integration_input::DeleteIntegrationInputBuilder; + +impl crate::operation::delete_integration::builders::DeleteIntegrationInputBuilder { + /// Sends a request with this input using the given client. + pub async fn send_with( + self, + client: &crate::Client, + ) -> ::std::result::Result< + crate::operation::delete_integration::DeleteIntegrationOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::delete_integration::DeleteIntegrationError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let mut fluent_builder = client.delete_integration(); + fluent_builder.inner = self; + fluent_builder.send().await + } +} +/// Fluent builder constructing a request to `DeleteIntegration`. +/// +///

                                                                                                                  Deletes a zero-ETL integration with Amazon Redshift.

                                                                                                                  +#[derive(::std::clone::Clone, ::std::fmt::Debug)] +pub struct DeleteIntegrationFluentBuilder { + handle: ::std::sync::Arc, + inner: crate::operation::delete_integration::builders::DeleteIntegrationInputBuilder, + config_override: ::std::option::Option, +} +impl + crate::client::customize::internal::CustomizableSend< + crate::operation::delete_integration::DeleteIntegrationOutput, + crate::operation::delete_integration::DeleteIntegrationError, + > for DeleteIntegrationFluentBuilder +{ + fn send( + self, + config_override: crate::config::Builder, + ) -> crate::client::customize::internal::BoxFuture< + crate::client::customize::internal::SendResult< + crate::operation::delete_integration::DeleteIntegrationOutput, + crate::operation::delete_integration::DeleteIntegrationError, + >, + > { + ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await }) + } +} +impl DeleteIntegrationFluentBuilder { + /// Creates a new `DeleteIntegrationFluentBuilder`. + pub(crate) fn new(handle: ::std::sync::Arc) -> Self { + Self { + handle, + inner: ::std::default::Default::default(), + config_override: ::std::option::Option::None, + } + } + /// Access the DeleteIntegration as a reference. + pub fn as_input(&self) -> &crate::operation::delete_integration::builders::DeleteIntegrationInputBuilder { + &self.inner + } + /// Sends the request and returns the response. + /// + /// If an error occurs, an `SdkError` will be returned with additional details that + /// can be matched against. + /// + /// By default, any retryable failures will be retried twice. Retry behavior + /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be + /// set when configuring the client. + pub async fn send( + self, + ) -> ::std::result::Result< + crate::operation::delete_integration::DeleteIntegrationOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::delete_integration::DeleteIntegrationError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let input = self + .inner + .build() + .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?; + let runtime_plugins = crate::operation::delete_integration::DeleteIntegration::operation_runtime_plugins( + self.handle.runtime_plugins.clone(), + &self.handle.conf, + self.config_override, + ); + crate::operation::delete_integration::DeleteIntegration::orchestrate(&runtime_plugins, input).await + } + + /// Consumes this builder, creating a customizable operation that can be modified before being sent. + pub fn customize( + self, + ) -> crate::client::customize::CustomizableOperation< + crate::operation::delete_integration::DeleteIntegrationOutput, + crate::operation::delete_integration::DeleteIntegrationError, + Self, + > { + crate::client::customize::CustomizableOperation::new(self) + } + pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into) -> Self { + self.set_config_override(::std::option::Option::Some(config_override.into())); + self + } + + pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option) -> &mut Self { + self.config_override = config_override; + self + } + ///

                                                                                                                  The unique identifier of the integration to delete.

                                                                                                                  + pub fn integration_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.integration_arn(input.into()); + self + } + ///

                                                                                                                  The unique identifier of the integration to delete.

                                                                                                                  + pub fn set_integration_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_integration_arn(input); + self + } + ///

                                                                                                                  The unique identifier of the integration to delete.

                                                                                                                  + pub fn get_integration_arn(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_integration_arn() + } +} diff --git a/sdk/redshift/src/operation/describe_integrations.rs b/sdk/redshift/src/operation/describe_integrations.rs new file mode 100644 index 000000000000..700c13f1c915 --- /dev/null +++ b/sdk/redshift/src/operation/describe_integrations.rs @@ -0,0 +1,369 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +/// Orchestration and serialization glue logic for `DescribeIntegrations`. +#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct DescribeIntegrations; +impl DescribeIntegrations { + /// Creates a new `DescribeIntegrations` + pub fn new() -> Self { + Self + } + pub(crate) async fn orchestrate( + runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins, + input: crate::operation::describe_integrations::DescribeIntegrationsInput, + ) -> ::std::result::Result< + crate::operation::describe_integrations::DescribeIntegrationsOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::describe_integrations::DescribeIntegrationsError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let map_err = |err: ::aws_smithy_runtime_api::client::result::SdkError< + ::aws_smithy_runtime_api::client::interceptors::context::Error, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >| { + err.map_service_error(|err| { + err.downcast::() + .expect("correct error type") + }) + }; + let context = Self::orchestrate_with_stop_point(runtime_plugins, input, ::aws_smithy_runtime::client::orchestrator::StopPoint::None) + .await + .map_err(map_err)?; + let output = context.finalize().map_err(map_err)?; + ::std::result::Result::Ok( + output + .downcast::() + .expect("correct output type"), + ) + } + + pub(crate) async fn orchestrate_with_stop_point( + runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins, + input: crate::operation::describe_integrations::DescribeIntegrationsInput, + stop_point: ::aws_smithy_runtime::client::orchestrator::StopPoint, + ) -> ::std::result::Result< + ::aws_smithy_runtime_api::client::interceptors::context::InterceptorContext, + ::aws_smithy_runtime_api::client::result::SdkError< + ::aws_smithy_runtime_api::client::interceptors::context::Error, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let input = ::aws_smithy_runtime_api::client::interceptors::context::Input::erase(input); + ::aws_smithy_runtime::client::orchestrator::invoke_with_stop_point("redshift", "DescribeIntegrations", input, runtime_plugins, stop_point) + .await + } + + pub(crate) fn operation_runtime_plugins( + client_runtime_plugins: ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins, + client_config: &crate::config::Config, + config_override: ::std::option::Option, + ) -> ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins { + let mut runtime_plugins = client_runtime_plugins.with_operation_plugin(Self::new()); + runtime_plugins = runtime_plugins.with_client_plugin(crate::auth_plugin::DefaultAuthOptionsPlugin::new(vec![ + ::aws_runtime::auth::sigv4::SCHEME_ID, + ])); + if let ::std::option::Option::Some(config_override) = config_override { + for plugin in config_override.runtime_plugins.iter().cloned() { + runtime_plugins = runtime_plugins.with_operation_plugin(plugin); + } + runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new( + config_override, + client_config.config.clone(), + &client_config.runtime_components, + )); + } + runtime_plugins + } +} +impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for DescribeIntegrations { + fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> { + let mut cfg = ::aws_smithy_types::config_bag::Layer::new("DescribeIntegrations"); + + cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new( + DescribeIntegrationsRequestSerializer, + )); + cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new( + DescribeIntegrationsResponseDeserializer, + )); + + cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new( + ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(), + )); + + cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new( + "DescribeIntegrations", + "redshift", + )); + let mut signing_options = ::aws_runtime::auth::SigningOptions::default(); + signing_options.double_uri_encode = true; + signing_options.content_sha256_header = false; + signing_options.normalize_uri_path = true; + signing_options.payload_override = None; + + cfg.store_put(::aws_runtime::auth::SigV4OperationSigningConfig { + signing_options, + ..::std::default::Default::default() + }); + + ::std::option::Option::Some(cfg.freeze()) + } + + fn runtime_components( + &self, + _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder, + ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> { + #[allow(unused_mut)] + let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("DescribeIntegrations") + .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default()) + .with_interceptor(DescribeIntegrationsEndpointParamsInterceptor) + .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< + crate::operation::describe_integrations::DescribeIntegrationsError, + >::new()) + .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::< + crate::operation::describe_integrations::DescribeIntegrationsError, + >::new()) + .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::< + crate::operation::describe_integrations::DescribeIntegrationsError, + >::new()); + + ::std::borrow::Cow::Owned(rcb) + } +} + +#[derive(Debug)] +struct DescribeIntegrationsResponseDeserializer; +impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DescribeIntegrationsResponseDeserializer { + fn deserialize_nonstreaming( + &self, + response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError { + let (success, status) = (response.status().is_success(), response.status().as_u16()); + let headers = response.headers(); + let body = response.body().bytes().expect("body loaded"); + #[allow(unused_mut)] + let mut force_error = false; + ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response)); + let parse_result = if !success && status != 200 || force_error { + crate::protocol_serde::shape_describe_integrations::de_describe_integrations_http_error(status, headers, body) + } else { + crate::protocol_serde::shape_describe_integrations::de_describe_integrations_http_response(status, headers, body) + }; + crate::protocol_serde::type_erase_result(parse_result) + } +} +#[derive(Debug)] +struct DescribeIntegrationsRequestSerializer; +impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for DescribeIntegrationsRequestSerializer { + #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)] + fn serialize_input( + &self, + input: ::aws_smithy_runtime_api::client::interceptors::context::Input, + _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag, + ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> { + let input = input + .downcast::() + .expect("correct type"); + let _header_serialization_settings = _cfg + .load::() + .cloned() + .unwrap_or_default(); + let mut request_builder = { + fn uri_base( + _input: &crate::operation::describe_integrations::DescribeIntegrationsInput, + output: &mut ::std::string::String, + ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { + use ::std::fmt::Write as _; + ::std::write!(output, "/").expect("formatting should succeed"); + ::std::result::Result::Ok(()) + } + #[allow(clippy::unnecessary_wraps)] + fn update_http_builder( + input: &crate::operation::describe_integrations::DescribeIntegrationsInput, + builder: ::http::request::Builder, + ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> { + let mut uri = ::std::string::String::new(); + uri_base(input, &mut uri)?; + ::std::result::Result::Ok(builder.method("POST").uri(uri)) + } + let mut builder = update_http_builder(&input, ::http::request::Builder::new())?; + builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-www-form-urlencoded"); + builder + }; + let body = ::aws_smithy_types::body::SdkBody::from( + crate::protocol_serde::shape_describe_integrations_input::ser_describe_integrations_input_input_input(&input)?, + ); + if let Some(content_length) = body.content_length() { + let content_length = content_length.to_string(); + request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length); + } + ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap()) + } +} +#[derive(Debug)] +struct DescribeIntegrationsEndpointParamsInterceptor; + +impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeIntegrationsEndpointParamsInterceptor { + fn name(&self) -> &'static str { + "DescribeIntegrationsEndpointParamsInterceptor" + } + + fn read_before_execution( + &self, + context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef< + '_, + ::aws_smithy_runtime_api::client::interceptors::context::Input, + ::aws_smithy_runtime_api::client::interceptors::context::Output, + ::aws_smithy_runtime_api::client::interceptors::context::Error, + >, + cfg: &mut ::aws_smithy_types::config_bag::ConfigBag, + ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> { + let _input = context + .input() + .downcast_ref::() + .ok_or("failed to downcast to DescribeIntegrationsInput")?; + + let params = crate::config::endpoint::Params::builder() + .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned())) + .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0)) + .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0)) + .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone())) + .build() + .map_err(|err| { + ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err) + })?; + cfg.interceptor_state() + .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params)); + ::std::result::Result::Ok(()) + } +} + +// The get_* functions below are generated from JMESPath expressions in the +// operationContextParams trait. They target the operation's input shape. + +/// Error type for the `DescribeIntegrationsError` operation. +#[non_exhaustive] +#[derive(::std::fmt::Debug)] +pub enum DescribeIntegrationsError { + ///

                                                                                                                  The integration can't be found.

                                                                                                                  + IntegrationNotFoundFault(crate::types::error::IntegrationNotFoundFault), + ///

                                                                                                                  The requested operation isn't supported.

                                                                                                                  + UnsupportedOperationFault(crate::types::error::UnsupportedOperationFault), + /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). + #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \ + variable wildcard pattern and check `.code()`: + \ +    `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }` + \ + See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-DescribeIntegrationsError) for what information is available for the error.")] + Unhandled(crate::error::sealed_unhandled::Unhandled), +} +impl DescribeIntegrationsError { + /// Creates the `DescribeIntegrationsError::Unhandled` variant from any error type. + pub fn unhandled( + err: impl ::std::convert::Into<::std::boxed::Box>, + ) -> Self { + Self::Unhandled(crate::error::sealed_unhandled::Unhandled { + source: err.into(), + meta: ::std::default::Default::default(), + }) + } + + /// Creates the `DescribeIntegrationsError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata). + pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self { + Self::Unhandled(crate::error::sealed_unhandled::Unhandled { + source: err.clone().into(), + meta: err, + }) + } + /// + /// Returns error metadata, which includes the error code, message, + /// request ID, and potentially additional information. + /// + pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + match self { + Self::IntegrationNotFoundFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::UnsupportedOperationFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::Unhandled(e) => &e.meta, + } + } + /// Returns `true` if the error kind is `DescribeIntegrationsError::IntegrationNotFoundFault`. + pub fn is_integration_not_found_fault(&self) -> bool { + matches!(self, Self::IntegrationNotFoundFault(_)) + } + /// Returns `true` if the error kind is `DescribeIntegrationsError::UnsupportedOperationFault`. + pub fn is_unsupported_operation_fault(&self) -> bool { + matches!(self, Self::UnsupportedOperationFault(_)) + } +} +impl ::std::error::Error for DescribeIntegrationsError { + fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> { + match self { + Self::IntegrationNotFoundFault(_inner) => ::std::option::Option::Some(_inner), + Self::UnsupportedOperationFault(_inner) => ::std::option::Option::Some(_inner), + Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source), + } + } +} +impl ::std::fmt::Display for DescribeIntegrationsError { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + match self { + Self::IntegrationNotFoundFault(_inner) => _inner.fmt(f), + Self::UnsupportedOperationFault(_inner) => _inner.fmt(f), + Self::Unhandled(_inner) => { + if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) { + write!(f, "unhandled error ({code})") + } else { + f.write_str("unhandled error") + } + } + } + } +} +impl ::aws_smithy_types::retry::ProvideErrorKind for DescribeIntegrationsError { + fn code(&self) -> ::std::option::Option<&str> { + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) + } + fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> { + ::std::option::Option::None + } +} +impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for DescribeIntegrationsError { + fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + match self { + Self::IntegrationNotFoundFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::UnsupportedOperationFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::Unhandled(_inner) => &_inner.meta, + } + } +} +impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for DescribeIntegrationsError { + fn create_unhandled_error( + source: ::std::boxed::Box, + meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>, + ) -> Self { + Self::Unhandled(crate::error::sealed_unhandled::Unhandled { + source, + meta: meta.unwrap_or_default(), + }) + } +} +impl ::aws_types::request_id::RequestId for crate::operation::describe_integrations::DescribeIntegrationsError { + fn request_id(&self) -> Option<&str> { + self.meta().request_id() + } +} + +pub use crate::operation::describe_integrations::_describe_integrations_output::DescribeIntegrationsOutput; + +pub use crate::operation::describe_integrations::_describe_integrations_input::DescribeIntegrationsInput; + +mod _describe_integrations_input; + +mod _describe_integrations_output; + +/// Builders +pub mod builders; + +/// Paginator for this operation +pub mod paginator; diff --git a/sdk/redshift/src/operation/describe_integrations/_describe_integrations_input.rs b/sdk/redshift/src/operation/describe_integrations/_describe_integrations_input.rs new file mode 100644 index 000000000000..cf2d37b326ce --- /dev/null +++ b/sdk/redshift/src/operation/describe_integrations/_describe_integrations_input.rs @@ -0,0 +1,136 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct DescribeIntegrationsInput { + ///

                                                                                                                  The unique identifier of the integration.

                                                                                                                  + pub integration_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

                                                                                                                  + ///

                                                                                                                  Default: 100

                                                                                                                  + ///

                                                                                                                  Constraints: minimum 20, maximum 100.

                                                                                                                  + pub max_records: ::std::option::Option, + ///

                                                                                                                  An optional pagination token provided by a previous DescribeIntegrations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

                                                                                                                  + pub marker: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  A filter that specifies one or more resources to return.

                                                                                                                  + pub filters: ::std::option::Option<::std::vec::Vec>, +} +impl DescribeIntegrationsInput { + ///

                                                                                                                  The unique identifier of the integration.

                                                                                                                  + pub fn integration_arn(&self) -> ::std::option::Option<&str> { + self.integration_arn.as_deref() + } + ///

                                                                                                                  The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

                                                                                                                  + ///

                                                                                                                  Default: 100

                                                                                                                  + ///

                                                                                                                  Constraints: minimum 20, maximum 100.

                                                                                                                  + pub fn max_records(&self) -> ::std::option::Option { + self.max_records + } + ///

                                                                                                                  An optional pagination token provided by a previous DescribeIntegrations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

                                                                                                                  + pub fn marker(&self) -> ::std::option::Option<&str> { + self.marker.as_deref() + } + ///

                                                                                                                  A filter that specifies one or more resources to return.

                                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.filters.is_none()`. + pub fn filters(&self) -> &[crate::types::DescribeIntegrationsFilter] { + self.filters.as_deref().unwrap_or_default() + } +} +impl DescribeIntegrationsInput { + /// Creates a new builder-style object to manufacture [`DescribeIntegrationsInput`](crate::operation::describe_integrations::DescribeIntegrationsInput). + pub fn builder() -> crate::operation::describe_integrations::builders::DescribeIntegrationsInputBuilder { + crate::operation::describe_integrations::builders::DescribeIntegrationsInputBuilder::default() + } +} + +/// A builder for [`DescribeIntegrationsInput`](crate::operation::describe_integrations::DescribeIntegrationsInput). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct DescribeIntegrationsInputBuilder { + pub(crate) integration_arn: ::std::option::Option<::std::string::String>, + pub(crate) max_records: ::std::option::Option, + pub(crate) marker: ::std::option::Option<::std::string::String>, + pub(crate) filters: ::std::option::Option<::std::vec::Vec>, +} +impl DescribeIntegrationsInputBuilder { + ///

                                                                                                                  The unique identifier of the integration.

                                                                                                                  + pub fn integration_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  The unique identifier of the integration.

                                                                                                                  + pub fn set_integration_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_arn = input; + self + } + ///

                                                                                                                  The unique identifier of the integration.

                                                                                                                  + pub fn get_integration_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_arn + } + ///

                                                                                                                  The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

                                                                                                                  + ///

                                                                                                                  Default: 100

                                                                                                                  + ///

                                                                                                                  Constraints: minimum 20, maximum 100.

                                                                                                                  + pub fn max_records(mut self, input: i32) -> Self { + self.max_records = ::std::option::Option::Some(input); + self + } + ///

                                                                                                                  The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

                                                                                                                  + ///

                                                                                                                  Default: 100

                                                                                                                  + ///

                                                                                                                  Constraints: minimum 20, maximum 100.

                                                                                                                  + pub fn set_max_records(mut self, input: ::std::option::Option) -> Self { + self.max_records = input; + self + } + ///

                                                                                                                  The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

                                                                                                                  + ///

                                                                                                                  Default: 100

                                                                                                                  + ///

                                                                                                                  Constraints: minimum 20, maximum 100.

                                                                                                                  + pub fn get_max_records(&self) -> &::std::option::Option { + &self.max_records + } + ///

                                                                                                                  An optional pagination token provided by a previous DescribeIntegrations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

                                                                                                                  + pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.marker = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  An optional pagination token provided by a previous DescribeIntegrations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

                                                                                                                  + pub fn set_marker(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.marker = input; + self + } + ///

                                                                                                                  An optional pagination token provided by a previous DescribeIntegrations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

                                                                                                                  + pub fn get_marker(&self) -> &::std::option::Option<::std::string::String> { + &self.marker + } + /// Appends an item to `filters`. + /// + /// To override the contents of this collection use [`set_filters`](Self::set_filters). + /// + ///

                                                                                                                  A filter that specifies one or more resources to return.

                                                                                                                  + pub fn filters(mut self, input: crate::types::DescribeIntegrationsFilter) -> Self { + let mut v = self.filters.unwrap_or_default(); + v.push(input); + self.filters = ::std::option::Option::Some(v); + self + } + ///

                                                                                                                  A filter that specifies one or more resources to return.

                                                                                                                  + pub fn set_filters(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.filters = input; + self + } + ///

                                                                                                                  A filter that specifies one or more resources to return.

                                                                                                                  + pub fn get_filters(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.filters + } + /// Consumes the builder and constructs a [`DescribeIntegrationsInput`](crate::operation::describe_integrations::DescribeIntegrationsInput). + pub fn build( + self, + ) -> ::std::result::Result + { + ::std::result::Result::Ok(crate::operation::describe_integrations::DescribeIntegrationsInput { + integration_arn: self.integration_arn, + max_records: self.max_records, + marker: self.marker, + filters: self.filters, + }) + } +} diff --git a/sdk/redshift/src/operation/describe_integrations/_describe_integrations_output.rs b/sdk/redshift/src/operation/describe_integrations/_describe_integrations_output.rs new file mode 100644 index 000000000000..35d1c2220d1e --- /dev/null +++ b/sdk/redshift/src/operation/describe_integrations/_describe_integrations_output.rs @@ -0,0 +1,96 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct DescribeIntegrationsOutput { + ///

                                                                                                                  A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

                                                                                                                  + pub marker: ::std::option::Option<::std::string::String>, + ///

                                                                                                                  List of integrations that are described.

                                                                                                                  + pub integrations: ::std::option::Option<::std::vec::Vec>, + _request_id: Option, +} +impl DescribeIntegrationsOutput { + ///

                                                                                                                  A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

                                                                                                                  + pub fn marker(&self) -> ::std::option::Option<&str> { + self.marker.as_deref() + } + ///

                                                                                                                  List of integrations that are described.

                                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.integrations.is_none()`. + pub fn integrations(&self) -> &[crate::types::Integration] { + self.integrations.as_deref().unwrap_or_default() + } +} +impl ::aws_types::request_id::RequestId for DescribeIntegrationsOutput { + fn request_id(&self) -> Option<&str> { + self._request_id.as_deref() + } +} +impl DescribeIntegrationsOutput { + /// Creates a new builder-style object to manufacture [`DescribeIntegrationsOutput`](crate::operation::describe_integrations::DescribeIntegrationsOutput). + pub fn builder() -> crate::operation::describe_integrations::builders::DescribeIntegrationsOutputBuilder { + crate::operation::describe_integrations::builders::DescribeIntegrationsOutputBuilder::default() + } +} + +/// A builder for [`DescribeIntegrationsOutput`](crate::operation::describe_integrations::DescribeIntegrationsOutput). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct DescribeIntegrationsOutputBuilder { + pub(crate) marker: ::std::option::Option<::std::string::String>, + pub(crate) integrations: ::std::option::Option<::std::vec::Vec>, + _request_id: Option, +} +impl DescribeIntegrationsOutputBuilder { + ///

                                                                                                                  A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

                                                                                                                  + pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.marker = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                                  A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

                                                                                                                  + pub fn set_marker(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.marker = input; + self + } + ///

                                                                                                                  A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

                                                                                                                  + pub fn get_marker(&self) -> &::std::option::Option<::std::string::String> { + &self.marker + } + /// Appends an item to `integrations`. + /// + /// To override the contents of this collection use [`set_integrations`](Self::set_integrations). + /// + ///

                                                                                                                  List of integrations that are described.

                                                                                                                  + pub fn integrations(mut self, input: crate::types::Integration) -> Self { + let mut v = self.integrations.unwrap_or_default(); + v.push(input); + self.integrations = ::std::option::Option::Some(v); + self + } + ///

                                                                                                                  List of integrations that are described.

                                                                                                                  + pub fn set_integrations(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.integrations = input; + self + } + ///

                                                                                                                  List of integrations that are described.

                                                                                                                  + pub fn get_integrations(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.integrations + } + pub(crate) fn _request_id(mut self, request_id: impl Into) -> Self { + self._request_id = Some(request_id.into()); + self + } + + pub(crate) fn _set_request_id(&mut self, request_id: Option) -> &mut Self { + self._request_id = request_id; + self + } + /// Consumes the builder and constructs a [`DescribeIntegrationsOutput`](crate::operation::describe_integrations::DescribeIntegrationsOutput). + pub fn build(self) -> crate::operation::describe_integrations::DescribeIntegrationsOutput { + crate::operation::describe_integrations::DescribeIntegrationsOutput { + marker: self.marker, + integrations: self.integrations, + _request_id: self._request_id, + } + } +} diff --git a/sdk/redshift/src/operation/describe_integrations/builders.rs b/sdk/redshift/src/operation/describe_integrations/builders.rs new file mode 100644 index 000000000000..e02210499ec6 --- /dev/null +++ b/sdk/redshift/src/operation/describe_integrations/builders.rs @@ -0,0 +1,184 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub use crate::operation::describe_integrations::_describe_integrations_output::DescribeIntegrationsOutputBuilder; + +pub use crate::operation::describe_integrations::_describe_integrations_input::DescribeIntegrationsInputBuilder; + +impl crate::operation::describe_integrations::builders::DescribeIntegrationsInputBuilder { + /// Sends a request with this input using the given client. + pub async fn send_with( + self, + client: &crate::Client, + ) -> ::std::result::Result< + crate::operation::describe_integrations::DescribeIntegrationsOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::describe_integrations::DescribeIntegrationsError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let mut fluent_builder = client.describe_integrations(); + fluent_builder.inner = self; + fluent_builder.send().await + } +} +/// Fluent builder constructing a request to `DescribeIntegrations`. +/// +///

                                                                                                                  Describes one or more zero-ETL integrations with Amazon Redshift.

                                                                                                                  +#[derive(::std::clone::Clone, ::std::fmt::Debug)] +pub struct DescribeIntegrationsFluentBuilder { + handle: ::std::sync::Arc, + inner: crate::operation::describe_integrations::builders::DescribeIntegrationsInputBuilder, + config_override: ::std::option::Option, +} +impl + crate::client::customize::internal::CustomizableSend< + crate::operation::describe_integrations::DescribeIntegrationsOutput, + crate::operation::describe_integrations::DescribeIntegrationsError, + > for DescribeIntegrationsFluentBuilder +{ + fn send( + self, + config_override: crate::config::Builder, + ) -> crate::client::customize::internal::BoxFuture< + crate::client::customize::internal::SendResult< + crate::operation::describe_integrations::DescribeIntegrationsOutput, + crate::operation::describe_integrations::DescribeIntegrationsError, + >, + > { + ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await }) + } +} +impl DescribeIntegrationsFluentBuilder { + /// Creates a new `DescribeIntegrationsFluentBuilder`. + pub(crate) fn new(handle: ::std::sync::Arc) -> Self { + Self { + handle, + inner: ::std::default::Default::default(), + config_override: ::std::option::Option::None, + } + } + /// Access the DescribeIntegrations as a reference. + pub fn as_input(&self) -> &crate::operation::describe_integrations::builders::DescribeIntegrationsInputBuilder { + &self.inner + } + /// Sends the request and returns the response. + /// + /// If an error occurs, an `SdkError` will be returned with additional details that + /// can be matched against. + /// + /// By default, any retryable failures will be retried twice. Retry behavior + /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be + /// set when configuring the client. + pub async fn send( + self, + ) -> ::std::result::Result< + crate::operation::describe_integrations::DescribeIntegrationsOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::describe_integrations::DescribeIntegrationsError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let input = self + .inner + .build() + .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?; + let runtime_plugins = crate::operation::describe_integrations::DescribeIntegrations::operation_runtime_plugins( + self.handle.runtime_plugins.clone(), + &self.handle.conf, + self.config_override, + ); + crate::operation::describe_integrations::DescribeIntegrations::orchestrate(&runtime_plugins, input).await + } + + /// Consumes this builder, creating a customizable operation that can be modified before being sent. + pub fn customize( + self, + ) -> crate::client::customize::CustomizableOperation< + crate::operation::describe_integrations::DescribeIntegrationsOutput, + crate::operation::describe_integrations::DescribeIntegrationsError, + Self, + > { + crate::client::customize::CustomizableOperation::new(self) + } + pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into) -> Self { + self.set_config_override(::std::option::Option::Some(config_override.into())); + self + } + + pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option) -> &mut Self { + self.config_override = config_override; + self + } + /// Create a paginator for this request + /// + /// Paginators are used by calling [`send().await`](crate::operation::describe_integrations::paginator::DescribeIntegrationsPaginator::send) which returns a [`PaginationStream`](aws_smithy_async::future::pagination_stream::PaginationStream). + pub fn into_paginator(self) -> crate::operation::describe_integrations::paginator::DescribeIntegrationsPaginator { + crate::operation::describe_integrations::paginator::DescribeIntegrationsPaginator::new(self.handle, self.inner) + } + ///

                                                                                                                  The unique identifier of the integration.

                                                                                                                  + pub fn integration_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.integration_arn(input.into()); + self + } + ///

                                                                                                                  The unique identifier of the integration.

                                                                                                                  + pub fn set_integration_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_integration_arn(input); + self + } + ///

                                                                                                                  The unique identifier of the integration.

                                                                                                                  + pub fn get_integration_arn(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_integration_arn() + } + ///

                                                                                                                  The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

                                                                                                                  + ///

                                                                                                                  Default: 100

                                                                                                                  + ///

                                                                                                                  Constraints: minimum 20, maximum 100.

                                                                                                                  + pub fn max_records(mut self, input: i32) -> Self { + self.inner = self.inner.max_records(input); + self + } + ///

                                                                                                                  The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

                                                                                                                  + ///

                                                                                                                  Default: 100

                                                                                                                  + ///

                                                                                                                  Constraints: minimum 20, maximum 100.

                                                                                                                  + pub fn set_max_records(mut self, input: ::std::option::Option) -> Self { + self.inner = self.inner.set_max_records(input); + self + } + ///

                                                                                                                  The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

                                                                                                                  + ///

                                                                                                                  Default: 100

                                                                                                                  + ///

                                                                                                                  Constraints: minimum 20, maximum 100.

                                                                                                                  + pub fn get_max_records(&self) -> &::std::option::Option { + self.inner.get_max_records() + } + ///

                                                                                                                  An optional pagination token provided by a previous DescribeIntegrations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

                                                                                                                  + pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.marker(input.into()); + self + } + ///

                                                                                                                  An optional pagination token provided by a previous DescribeIntegrations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

                                                                                                                  + pub fn set_marker(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_marker(input); + self + } + ///

                                                                                                                  An optional pagination token provided by a previous DescribeIntegrations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

                                                                                                                  + pub fn get_marker(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_marker() + } + /// + /// Appends an item to `Filters`. + /// + /// To override the contents of this collection use [`set_filters`](Self::set_filters). + /// + ///

                                                                                                                  A filter that specifies one or more resources to return.

                                                                                                                  + pub fn filters(mut self, input: crate::types::DescribeIntegrationsFilter) -> Self { + self.inner = self.inner.filters(input); + self + } + ///

                                                                                                                  A filter that specifies one or more resources to return.

                                                                                                                  + pub fn set_filters(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.inner = self.inner.set_filters(input); + self + } + ///

                                                                                                                  A filter that specifies one or more resources to return.

                                                                                                                  + pub fn get_filters(&self) -> &::std::option::Option<::std::vec::Vec> { + self.inner.get_filters() + } +} diff --git a/sdk/redshift/src/operation/describe_integrations/paginator.rs b/sdk/redshift/src/operation/describe_integrations/paginator.rs new file mode 100644 index 000000000000..7e27e451b5a2 --- /dev/null +++ b/sdk/redshift/src/operation/describe_integrations/paginator.rs @@ -0,0 +1,148 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +/// Paginator for [`DescribeIntegrations`](crate::operation::describe_integrations::DescribeIntegrations) +pub struct DescribeIntegrationsPaginator { + handle: std::sync::Arc, + builder: crate::operation::describe_integrations::builders::DescribeIntegrationsInputBuilder, + stop_on_duplicate_token: bool, +} + +impl DescribeIntegrationsPaginator { + /// Create a new paginator-wrapper + pub(crate) fn new( + handle: std::sync::Arc, + builder: crate::operation::describe_integrations::builders::DescribeIntegrationsInputBuilder, + ) -> Self { + Self { + handle, + builder, + stop_on_duplicate_token: true, + } + } + + /// Set the page size + /// + /// _Note: this method will override any previously set value for `max_records`_ + pub fn page_size(mut self, limit: i32) -> Self { + self.builder.max_records = ::std::option::Option::Some(limit); + self + } + + /// Create a flattened paginator + /// + /// This paginator automatically flattens results using `integrations`. Queries to the underlying service + /// are dispatched lazily. + pub fn items(self) -> crate::operation::describe_integrations::paginator::DescribeIntegrationsPaginatorItems { + crate::operation::describe_integrations::paginator::DescribeIntegrationsPaginatorItems(self) + } + + /// Stop paginating when the service returns the same pagination token twice in a row. + /// + /// Defaults to true. + /// + /// For certain operations, it may be useful to continue on duplicate token. For example, + /// if an operation is for tailing a log file in real-time, then continuing may be desired. + /// This option can be set to `false` to accommodate these use cases. + pub fn stop_on_duplicate_token(mut self, stop_on_duplicate_token: bool) -> Self { + self.stop_on_duplicate_token = stop_on_duplicate_token; + self + } + + /// Create the pagination stream + /// + /// _Note:_ No requests will be dispatched until the stream is used + /// (e.g. with the [`.next().await`](aws_smithy_async::future::pagination_stream::PaginationStream::next) method). + pub fn send( + self, + ) -> ::aws_smithy_async::future::pagination_stream::PaginationStream< + ::std::result::Result< + crate::operation::describe_integrations::DescribeIntegrationsOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::describe_integrations::DescribeIntegrationsError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + >, + > { + // Move individual fields out of self for the borrow checker + let builder = self.builder; + let handle = self.handle; + let runtime_plugins = crate::operation::describe_integrations::DescribeIntegrations::operation_runtime_plugins( + handle.runtime_plugins.clone(), + &handle.conf, + ::std::option::Option::None, + ) + .with_operation_plugin(crate::sdk_feature_tracker::paginator::PaginatorFeatureTrackerRuntimePlugin::new()); + ::aws_smithy_async::future::pagination_stream::PaginationStream::new(::aws_smithy_async::future::pagination_stream::fn_stream::FnStream::new( + move |tx| { + ::std::boxed::Box::pin(async move { + // Build the input for the first time. If required fields are missing, this is where we'll produce an early error. + let mut input = match builder + .build() + .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure) + { + ::std::result::Result::Ok(input) => input, + ::std::result::Result::Err(e) => { + let _ = tx.send(::std::result::Result::Err(e)).await; + return; + } + }; + loop { + let resp = crate::operation::describe_integrations::DescribeIntegrations::orchestrate(&runtime_plugins, input.clone()).await; + // If the input member is None or it was an error + let done = match resp { + ::std::result::Result::Ok(ref resp) => { + let new_token = crate::lens::reflens_describe_integrations_output_output_marker(resp); + // Pagination is exhausted when the next token is an empty string + let is_empty = new_token.map(|token| token.is_empty()).unwrap_or(true); + if !is_empty && new_token == input.marker.as_ref() && self.stop_on_duplicate_token { + true + } else { + input.marker = new_token.cloned(); + is_empty + } + } + ::std::result::Result::Err(_) => true, + }; + if tx.send(resp).await.is_err() { + // receiving end was dropped + return; + } + if done { + return; + } + } + }) + }, + )) + } +} + +/// Flattened paginator for `DescribeIntegrationsPaginator` +/// +/// This is created with [`.items()`](DescribeIntegrationsPaginator::items) +pub struct DescribeIntegrationsPaginatorItems(DescribeIntegrationsPaginator); + +impl DescribeIntegrationsPaginatorItems { + /// Create the pagination stream + /// + /// _Note_: No requests will be dispatched until the stream is used + /// (e.g. with the [`.next().await`](aws_smithy_async::future::pagination_stream::PaginationStream::next) method). + /// + /// To read the entirety of the paginator, use [`.collect::, _>()`](aws_smithy_async::future::pagination_stream::PaginationStream::collect). + pub fn send( + self, + ) -> ::aws_smithy_async::future::pagination_stream::PaginationStream< + ::std::result::Result< + crate::types::Integration, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::describe_integrations::DescribeIntegrationsError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + >, + > { + ::aws_smithy_async::future::pagination_stream::TryFlatMap::new(self.0.send()).flat_map(|page| { + crate::lens::lens_describe_integrations_output_output_integrations(page) + .unwrap_or_default() + .into_iter() + }) + } +} diff --git a/sdk/redshift/src/operation/describe_tags/_describe_tags_input.rs b/sdk/redshift/src/operation/describe_tags/_describe_tags_input.rs index a9db057c5b98..723130cc2077 100644 --- a/sdk/redshift/src/operation/describe_tags/_describe_tags_input.rs +++ b/sdk/redshift/src/operation/describe_tags/_describe_tags_input.rs @@ -28,6 +28,10 @@ pub struct DescribeTagsInput { ///

                                                                                                                  Parameter group

                                                                                                                  ///
                                                                                                                • ///

                                                                                                                  Snapshot copy grant

                                                                                                                • + ///
                                                                                                                • + ///

                                                                                                                  Integration (zero-ETL integration)

                                                                                                                  + ///

                                                                                                                  To describe the tags associated with an integration, don't specify ResourceType, instead specify the ResourceName of the integration.

                                                                                                                  + ///
                                                                                                                • ///
                                                                                                                ///

                                                                                                                For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.

                                                                                                                pub resource_type: ::std::option::Option<::std::string::String>, @@ -67,6 +71,10 @@ impl DescribeTagsInput { ///

                                                                                                                Parameter group

                                                                                                                ///
                                                                                                              • ///

                                                                                                                Snapshot copy grant

                                                                                                              • + ///
                                                                                                              • + ///

                                                                                                                Integration (zero-ETL integration)

                                                                                                                + ///

                                                                                                                To describe the tags associated with an integration, don't specify ResourceType, instead specify the ResourceName of the integration.

                                                                                                                + ///
                                                                                                              • ///
                                                                                                              ///

                                                                                                              For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.

                                                                                                              pub fn resource_type(&self) -> ::std::option::Option<&str> { @@ -148,6 +156,10 @@ impl DescribeTagsInputBuilder { ///

                                                                                                              Parameter group

                                                                                                              ///
                                                                                                            • ///

                                                                                                              Snapshot copy grant

                                                                                                            • + ///
                                                                                                            • + ///

                                                                                                              Integration (zero-ETL integration)

                                                                                                              + ///

                                                                                                              To describe the tags associated with an integration, don't specify ResourceType, instead specify the ResourceName of the integration.

                                                                                                              + ///
                                                                                                            • ///
                                                                                                            ///

                                                                                                            For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.

                                                                                                            pub fn resource_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { @@ -176,6 +188,10 @@ impl DescribeTagsInputBuilder { ///

                                                                                                            Parameter group

                                                                                                            ///
                                                                                                          • ///

                                                                                                            Snapshot copy grant

                                                                                                          • + ///
                                                                                                          • + ///

                                                                                                            Integration (zero-ETL integration)

                                                                                                            + ///

                                                                                                            To describe the tags associated with an integration, don't specify ResourceType, instead specify the ResourceName of the integration.

                                                                                                            + ///
                                                                                                          • ///
                                                                                                          ///

                                                                                                          For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.

                                                                                                          pub fn set_resource_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { @@ -204,6 +220,10 @@ impl DescribeTagsInputBuilder { ///

                                                                                                          Parameter group

                                                                                                          ///
                                                                                                        • ///

                                                                                                          Snapshot copy grant

                                                                                                        • + ///
                                                                                                        • + ///

                                                                                                          Integration (zero-ETL integration)

                                                                                                          + ///

                                                                                                          To describe the tags associated with an integration, don't specify ResourceType, instead specify the ResourceName of the integration.

                                                                                                          + ///
                                                                                                        • ///
                                                                                                        ///

                                                                                                        For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.

                                                                                                        pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { diff --git a/sdk/redshift/src/operation/describe_tags/builders.rs b/sdk/redshift/src/operation/describe_tags/builders.rs index c8987c5a022f..58f052fc1ded 100644 --- a/sdk/redshift/src/operation/describe_tags/builders.rs +++ b/sdk/redshift/src/operation/describe_tags/builders.rs @@ -161,6 +161,10 @@ impl DescribeTagsFluentBuilder { ///

                                                                                                        Parameter group

                                                                                                      • ///
                                                                                                      • ///

                                                                                                        Snapshot copy grant

                                                                                                      • + ///
                                                                                                      • + ///

                                                                                                        Integration (zero-ETL integration)

                                                                                                        + ///

                                                                                                        To describe the tags associated with an integration, don't specify ResourceType, instead specify the ResourceName of the integration.

                                                                                                        + ///
                                                                                                      • ///
                                                                                                      ///

                                                                                                      For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.

                                                                                                      pub fn resource_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { @@ -189,6 +193,10 @@ impl DescribeTagsFluentBuilder { ///

                                                                                                      Parameter group

                                                                                                    • ///
                                                                                                    • ///

                                                                                                      Snapshot copy grant

                                                                                                    • + ///
                                                                                                    • + ///

                                                                                                      Integration (zero-ETL integration)

                                                                                                      + ///

                                                                                                      To describe the tags associated with an integration, don't specify ResourceType, instead specify the ResourceName of the integration.

                                                                                                      + ///
                                                                                                    • ///
                                                                                                    ///

                                                                                                    For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.

                                                                                                    pub fn set_resource_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { @@ -217,6 +225,10 @@ impl DescribeTagsFluentBuilder { ///

                                                                                                    Parameter group

                                                                                                  • ///
                                                                                                  • ///

                                                                                                    Snapshot copy grant

                                                                                                  • + ///
                                                                                                  • + ///

                                                                                                    Integration (zero-ETL integration)

                                                                                                    + ///

                                                                                                    To describe the tags associated with an integration, don't specify ResourceType, instead specify the ResourceName of the integration.

                                                                                                    + ///
                                                                                                  • ///
                                                                                                  ///

                                                                                                  For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.

                                                                                                  pub fn get_resource_type(&self) -> &::std::option::Option<::std::string::String> { diff --git a/sdk/redshift/src/operation/modify_cluster/_modify_cluster_input.rs b/sdk/redshift/src/operation/modify_cluster/_modify_cluster_input.rs index b6e9d3a4da33..50d741e83d01 100644 --- a/sdk/redshift/src/operation/modify_cluster/_modify_cluster_input.rs +++ b/sdk/redshift/src/operation/modify_cluster/_modify_cluster_input.rs @@ -13,7 +13,7 @@ pub struct ModifyClusterInput { pub cluster_type: ::std::option::Option<::std::string::String>, ///

                                                                                                  The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.

                                                                                                  ///

                                                                                                  For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

                                                                                                  - ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  + ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  pub node_type: ::std::option::Option<::std::string::String>, ///

                                                                                                  The new number of nodes of the cluster. If you specify a new number of nodes, you must also specify the node type parameter.

                                                                                                  ///

                                                                                                  For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

                                                                                                  @@ -152,7 +152,7 @@ impl ModifyClusterInput { } ///

                                                                                                  The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.

                                                                                                  ///

                                                                                                  For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

                                                                                                  - ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  + ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  pub fn node_type(&self) -> ::std::option::Option<&str> { self.node_type.as_deref() } @@ -452,21 +452,21 @@ impl ModifyClusterInputBuilder { } ///

                                                                                                  The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.

                                                                                                  ///

                                                                                                  For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

                                                                                                  - ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  + ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  pub fn node_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.node_type = ::std::option::Option::Some(input.into()); self } ///

                                                                                                  The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.

                                                                                                  ///

                                                                                                  For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

                                                                                                  - ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  + ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  pub fn set_node_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.node_type = input; self } ///

                                                                                                  The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.

                                                                                                  ///

                                                                                                  For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

                                                                                                  - ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  + ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  pub fn get_node_type(&self) -> &::std::option::Option<::std::string::String> { &self.node_type } diff --git a/sdk/redshift/src/operation/modify_cluster/builders.rs b/sdk/redshift/src/operation/modify_cluster/builders.rs index 8a2de28b72f4..5690997d6f57 100644 --- a/sdk/redshift/src/operation/modify_cluster/builders.rs +++ b/sdk/redshift/src/operation/modify_cluster/builders.rs @@ -149,21 +149,21 @@ impl ModifyClusterFluentBuilder { } ///

                                                                                                  The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.

                                                                                                  ///

                                                                                                  For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

                                                                                                  - ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  + ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  pub fn node_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.node_type(input.into()); self } ///

                                                                                                  The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.

                                                                                                  ///

                                                                                                  For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

                                                                                                  - ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  + ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  pub fn set_node_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_node_type(input); self } ///

                                                                                                  The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.

                                                                                                  ///

                                                                                                  For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

                                                                                                  - ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  + ///

                                                                                                  Valid Values: dc2.large | dc2.8xlarge | ra3.large | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

                                                                                                  pub fn get_node_type(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_node_type() } diff --git a/sdk/redshift/src/operation/modify_integration.rs b/sdk/redshift/src/operation/modify_integration.rs new file mode 100644 index 000000000000..568b82005efe --- /dev/null +++ b/sdk/redshift/src/operation/modify_integration.rs @@ -0,0 +1,395 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +/// Orchestration and serialization glue logic for `ModifyIntegration`. +#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct ModifyIntegration; +impl ModifyIntegration { + /// Creates a new `ModifyIntegration` + pub fn new() -> Self { + Self + } + pub(crate) async fn orchestrate( + runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins, + input: crate::operation::modify_integration::ModifyIntegrationInput, + ) -> ::std::result::Result< + crate::operation::modify_integration::ModifyIntegrationOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::modify_integration::ModifyIntegrationError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let map_err = |err: ::aws_smithy_runtime_api::client::result::SdkError< + ::aws_smithy_runtime_api::client::interceptors::context::Error, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >| { + err.map_service_error(|err| { + err.downcast::() + .expect("correct error type") + }) + }; + let context = Self::orchestrate_with_stop_point(runtime_plugins, input, ::aws_smithy_runtime::client::orchestrator::StopPoint::None) + .await + .map_err(map_err)?; + let output = context.finalize().map_err(map_err)?; + ::std::result::Result::Ok( + output + .downcast::() + .expect("correct output type"), + ) + } + + pub(crate) async fn orchestrate_with_stop_point( + runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins, + input: crate::operation::modify_integration::ModifyIntegrationInput, + stop_point: ::aws_smithy_runtime::client::orchestrator::StopPoint, + ) -> ::std::result::Result< + ::aws_smithy_runtime_api::client::interceptors::context::InterceptorContext, + ::aws_smithy_runtime_api::client::result::SdkError< + ::aws_smithy_runtime_api::client::interceptors::context::Error, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let input = ::aws_smithy_runtime_api::client::interceptors::context::Input::erase(input); + ::aws_smithy_runtime::client::orchestrator::invoke_with_stop_point("redshift", "ModifyIntegration", input, runtime_plugins, stop_point).await + } + + pub(crate) fn operation_runtime_plugins( + client_runtime_plugins: ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins, + client_config: &crate::config::Config, + config_override: ::std::option::Option, + ) -> ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins { + let mut runtime_plugins = client_runtime_plugins.with_operation_plugin(Self::new()); + runtime_plugins = runtime_plugins.with_client_plugin(crate::auth_plugin::DefaultAuthOptionsPlugin::new(vec![ + ::aws_runtime::auth::sigv4::SCHEME_ID, + ])); + if let ::std::option::Option::Some(config_override) = config_override { + for plugin in config_override.runtime_plugins.iter().cloned() { + runtime_plugins = runtime_plugins.with_operation_plugin(plugin); + } + runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new( + config_override, + client_config.config.clone(), + &client_config.runtime_components, + )); + } + runtime_plugins + } +} +impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ModifyIntegration { + fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> { + let mut cfg = ::aws_smithy_types::config_bag::Layer::new("ModifyIntegration"); + + cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new( + ModifyIntegrationRequestSerializer, + )); + cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new( + ModifyIntegrationResponseDeserializer, + )); + + cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new( + ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(), + )); + + cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new( + "ModifyIntegration", + "redshift", + )); + let mut signing_options = ::aws_runtime::auth::SigningOptions::default(); + signing_options.double_uri_encode = true; + signing_options.content_sha256_header = false; + signing_options.normalize_uri_path = true; + signing_options.payload_override = None; + + cfg.store_put(::aws_runtime::auth::SigV4OperationSigningConfig { + signing_options, + ..::std::default::Default::default() + }); + + ::std::option::Option::Some(cfg.freeze()) + } + + fn runtime_components( + &self, + _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder, + ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> { + #[allow(unused_mut)] + let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("ModifyIntegration") + .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default()) + .with_interceptor(ModifyIntegrationEndpointParamsInterceptor) + .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< + crate::operation::modify_integration::ModifyIntegrationError, + >::new()) + .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::< + crate::operation::modify_integration::ModifyIntegrationError, + >::new()) + .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::< + crate::operation::modify_integration::ModifyIntegrationError, + >::new()); + + ::std::borrow::Cow::Owned(rcb) + } +} + +#[derive(Debug)] +struct ModifyIntegrationResponseDeserializer; +impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for ModifyIntegrationResponseDeserializer { + fn deserialize_nonstreaming( + &self, + response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError { + let (success, status) = (response.status().is_success(), response.status().as_u16()); + let headers = response.headers(); + let body = response.body().bytes().expect("body loaded"); + #[allow(unused_mut)] + let mut force_error = false; + ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response)); + let parse_result = if !success && status != 200 || force_error { + crate::protocol_serde::shape_modify_integration::de_modify_integration_http_error(status, headers, body) + } else { + crate::protocol_serde::shape_modify_integration::de_modify_integration_http_response(status, headers, body) + }; + crate::protocol_serde::type_erase_result(parse_result) + } +} +#[derive(Debug)] +struct ModifyIntegrationRequestSerializer; +impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for ModifyIntegrationRequestSerializer { + #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)] + fn serialize_input( + &self, + input: ::aws_smithy_runtime_api::client::interceptors::context::Input, + _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag, + ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> { + let input = input + .downcast::() + .expect("correct type"); + let _header_serialization_settings = _cfg + .load::() + .cloned() + .unwrap_or_default(); + let mut request_builder = { + fn uri_base( + _input: &crate::operation::modify_integration::ModifyIntegrationInput, + output: &mut ::std::string::String, + ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { + use ::std::fmt::Write as _; + ::std::write!(output, "/").expect("formatting should succeed"); + ::std::result::Result::Ok(()) + } + #[allow(clippy::unnecessary_wraps)] + fn update_http_builder( + input: &crate::operation::modify_integration::ModifyIntegrationInput, + builder: ::http::request::Builder, + ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> { + let mut uri = ::std::string::String::new(); + uri_base(input, &mut uri)?; + ::std::result::Result::Ok(builder.method("POST").uri(uri)) + } + let mut builder = update_http_builder(&input, ::http::request::Builder::new())?; + builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-www-form-urlencoded"); + builder + }; + let body = ::aws_smithy_types::body::SdkBody::from( + crate::protocol_serde::shape_modify_integration_input::ser_modify_integration_input_input_input(&input)?, + ); + if let Some(content_length) = body.content_length() { + let content_length = content_length.to_string(); + request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length); + } + ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap()) + } +} +#[derive(Debug)] +struct ModifyIntegrationEndpointParamsInterceptor; + +impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ModifyIntegrationEndpointParamsInterceptor { + fn name(&self) -> &'static str { + "ModifyIntegrationEndpointParamsInterceptor" + } + + fn read_before_execution( + &self, + context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef< + '_, + ::aws_smithy_runtime_api::client::interceptors::context::Input, + ::aws_smithy_runtime_api::client::interceptors::context::Output, + ::aws_smithy_runtime_api::client::interceptors::context::Error, + >, + cfg: &mut ::aws_smithy_types::config_bag::ConfigBag, + ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> { + let _input = context + .input() + .downcast_ref::() + .ok_or("failed to downcast to ModifyIntegrationInput")?; + + let params = crate::config::endpoint::Params::builder() + .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned())) + .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0)) + .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0)) + .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone())) + .build() + .map_err(|err| { + ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err) + })?; + cfg.interceptor_state() + .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params)); + ::std::result::Result::Ok(()) + } +} + +// The get_* functions below are generated from JMESPath expressions in the +// operationContextParams trait. They target the operation's input shape. + +/// Error type for the `ModifyIntegrationError` operation. +#[non_exhaustive] +#[derive(::std::fmt::Debug)] +pub enum ModifyIntegrationError { + ///

                                                                                                  The integration you are trying to create already exists.

                                                                                                  + IntegrationAlreadyExistsFault(crate::types::error::IntegrationAlreadyExistsFault), + ///

                                                                                                  A conflicting conditional operation is currently in progress against this resource. This typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.

                                                                                                  + IntegrationConflictOperationFault(crate::types::error::IntegrationConflictOperationFault), + ///

                                                                                                  The integration is in an invalid state and can't perform the requested operation.

                                                                                                  + IntegrationConflictStateFault(crate::types::error::IntegrationConflictStateFault), + ///

                                                                                                  The integration can't be found.

                                                                                                  + IntegrationNotFoundFault(crate::types::error::IntegrationNotFoundFault), + ///

                                                                                                  The requested operation isn't supported.

                                                                                                  + UnsupportedOperationFault(crate::types::error::UnsupportedOperationFault), + /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). + #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \ + variable wildcard pattern and check `.code()`: + \ +    `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }` + \ + See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-ModifyIntegrationError) for what information is available for the error.")] + Unhandled(crate::error::sealed_unhandled::Unhandled), +} +impl ModifyIntegrationError { + /// Creates the `ModifyIntegrationError::Unhandled` variant from any error type. + pub fn unhandled( + err: impl ::std::convert::Into<::std::boxed::Box>, + ) -> Self { + Self::Unhandled(crate::error::sealed_unhandled::Unhandled { + source: err.into(), + meta: ::std::default::Default::default(), + }) + } + + /// Creates the `ModifyIntegrationError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata). + pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self { + Self::Unhandled(crate::error::sealed_unhandled::Unhandled { + source: err.clone().into(), + meta: err, + }) + } + /// + /// Returns error metadata, which includes the error code, message, + /// request ID, and potentially additional information. + /// + pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + match self { + Self::IntegrationAlreadyExistsFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::IntegrationConflictOperationFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::IntegrationConflictStateFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::IntegrationNotFoundFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::UnsupportedOperationFault(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::Unhandled(e) => &e.meta, + } + } + /// Returns `true` if the error kind is `ModifyIntegrationError::IntegrationAlreadyExistsFault`. + pub fn is_integration_already_exists_fault(&self) -> bool { + matches!(self, Self::IntegrationAlreadyExistsFault(_)) + } + /// Returns `true` if the error kind is `ModifyIntegrationError::IntegrationConflictOperationFault`. + pub fn is_integration_conflict_operation_fault(&self) -> bool { + matches!(self, Self::IntegrationConflictOperationFault(_)) + } + /// Returns `true` if the error kind is `ModifyIntegrationError::IntegrationConflictStateFault`. + pub fn is_integration_conflict_state_fault(&self) -> bool { + matches!(self, Self::IntegrationConflictStateFault(_)) + } + /// Returns `true` if the error kind is `ModifyIntegrationError::IntegrationNotFoundFault`. + pub fn is_integration_not_found_fault(&self) -> bool { + matches!(self, Self::IntegrationNotFoundFault(_)) + } + /// Returns `true` if the error kind is `ModifyIntegrationError::UnsupportedOperationFault`. + pub fn is_unsupported_operation_fault(&self) -> bool { + matches!(self, Self::UnsupportedOperationFault(_)) + } +} +impl ::std::error::Error for ModifyIntegrationError { + fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> { + match self { + Self::IntegrationAlreadyExistsFault(_inner) => ::std::option::Option::Some(_inner), + Self::IntegrationConflictOperationFault(_inner) => ::std::option::Option::Some(_inner), + Self::IntegrationConflictStateFault(_inner) => ::std::option::Option::Some(_inner), + Self::IntegrationNotFoundFault(_inner) => ::std::option::Option::Some(_inner), + Self::UnsupportedOperationFault(_inner) => ::std::option::Option::Some(_inner), + Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source), + } + } +} +impl ::std::fmt::Display for ModifyIntegrationError { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + match self { + Self::IntegrationAlreadyExistsFault(_inner) => _inner.fmt(f), + Self::IntegrationConflictOperationFault(_inner) => _inner.fmt(f), + Self::IntegrationConflictStateFault(_inner) => _inner.fmt(f), + Self::IntegrationNotFoundFault(_inner) => _inner.fmt(f), + Self::UnsupportedOperationFault(_inner) => _inner.fmt(f), + Self::Unhandled(_inner) => { + if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) { + write!(f, "unhandled error ({code})") + } else { + f.write_str("unhandled error") + } + } + } + } +} +impl ::aws_smithy_types::retry::ProvideErrorKind for ModifyIntegrationError { + fn code(&self) -> ::std::option::Option<&str> { + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) + } + fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> { + ::std::option::Option::None + } +} +impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for ModifyIntegrationError { + fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + match self { + Self::IntegrationAlreadyExistsFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::IntegrationConflictOperationFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::IntegrationConflictStateFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::IntegrationNotFoundFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::UnsupportedOperationFault(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner), + Self::Unhandled(_inner) => &_inner.meta, + } + } +} +impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for ModifyIntegrationError { + fn create_unhandled_error( + source: ::std::boxed::Box, + meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>, + ) -> Self { + Self::Unhandled(crate::error::sealed_unhandled::Unhandled { + source, + meta: meta.unwrap_or_default(), + }) + } +} +impl ::aws_types::request_id::RequestId for crate::operation::modify_integration::ModifyIntegrationError { + fn request_id(&self) -> Option<&str> { + self.meta().request_id() + } +} + +pub use crate::operation::modify_integration::_modify_integration_output::ModifyIntegrationOutput; + +pub use crate::operation::modify_integration::_modify_integration_input::ModifyIntegrationInput; + +mod _modify_integration_input; + +mod _modify_integration_output; + +/// Builders +pub mod builders; diff --git a/sdk/redshift/src/operation/modify_integration/_modify_integration_input.rs b/sdk/redshift/src/operation/modify_integration/_modify_integration_input.rs new file mode 100644 index 000000000000..616710f558fe --- /dev/null +++ b/sdk/redshift/src/operation/modify_integration/_modify_integration_input.rs @@ -0,0 +1,96 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct ModifyIntegrationInput { + ///

                                                                                                  The unique identifier of the integration to modify.

                                                                                                  + pub integration_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                  A new description for the integration.

                                                                                                  + pub description: ::std::option::Option<::std::string::String>, + ///

                                                                                                  A new name for the integration.

                                                                                                  + pub integration_name: ::std::option::Option<::std::string::String>, +} +impl ModifyIntegrationInput { + ///

                                                                                                  The unique identifier of the integration to modify.

                                                                                                  + pub fn integration_arn(&self) -> ::std::option::Option<&str> { + self.integration_arn.as_deref() + } + ///

                                                                                                  A new description for the integration.

                                                                                                  + pub fn description(&self) -> ::std::option::Option<&str> { + self.description.as_deref() + } + ///

                                                                                                  A new name for the integration.

                                                                                                  + pub fn integration_name(&self) -> ::std::option::Option<&str> { + self.integration_name.as_deref() + } +} +impl ModifyIntegrationInput { + /// Creates a new builder-style object to manufacture [`ModifyIntegrationInput`](crate::operation::modify_integration::ModifyIntegrationInput). + pub fn builder() -> crate::operation::modify_integration::builders::ModifyIntegrationInputBuilder { + crate::operation::modify_integration::builders::ModifyIntegrationInputBuilder::default() + } +} + +/// A builder for [`ModifyIntegrationInput`](crate::operation::modify_integration::ModifyIntegrationInput). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct ModifyIntegrationInputBuilder { + pub(crate) integration_arn: ::std::option::Option<::std::string::String>, + pub(crate) description: ::std::option::Option<::std::string::String>, + pub(crate) integration_name: ::std::option::Option<::std::string::String>, +} +impl ModifyIntegrationInputBuilder { + ///

                                                                                                  The unique identifier of the integration to modify.

                                                                                                  + /// This field is required. + pub fn integration_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The unique identifier of the integration to modify.

                                                                                                  + pub fn set_integration_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_arn = input; + self + } + ///

                                                                                                  The unique identifier of the integration to modify.

                                                                                                  + pub fn get_integration_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_arn + } + ///

                                                                                                  A new description for the integration.

                                                                                                  + pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.description = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  A new description for the integration.

                                                                                                  + pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.description = input; + self + } + ///

                                                                                                  A new description for the integration.

                                                                                                  + pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { + &self.description + } + ///

                                                                                                  A new name for the integration.

                                                                                                  + pub fn integration_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_name = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  A new name for the integration.

                                                                                                  + pub fn set_integration_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_name = input; + self + } + ///

                                                                                                  A new name for the integration.

                                                                                                  + pub fn get_integration_name(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_name + } + /// Consumes the builder and constructs a [`ModifyIntegrationInput`](crate::operation::modify_integration::ModifyIntegrationInput). + pub fn build( + self, + ) -> ::std::result::Result { + ::std::result::Result::Ok(crate::operation::modify_integration::ModifyIntegrationInput { + integration_arn: self.integration_arn, + description: self.description, + integration_name: self.integration_name, + }) + } +} diff --git a/sdk/redshift/src/operation/modify_integration/_modify_integration_output.rs b/sdk/redshift/src/operation/modify_integration/_modify_integration_output.rs new file mode 100644 index 000000000000..0f735d3fe6ee --- /dev/null +++ b/sdk/redshift/src/operation/modify_integration/_modify_integration_output.rs @@ -0,0 +1,317 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct ModifyIntegrationOutput { + ///

                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                  + pub integration_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The name of the integration.

                                                                                                  + pub integration_name: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                  + pub source_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                  + pub target_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The current status of the integration.

                                                                                                  + pub status: ::std::option::Option, + ///

                                                                                                  Any errors associated with the integration.

                                                                                                  + pub errors: ::std::option::Option<::std::vec::Vec>, + ///

                                                                                                  The time (UTC) when the integration was created.

                                                                                                  + pub create_time: ::std::option::Option<::aws_smithy_types::DateTime>, + ///

                                                                                                  The description of the integration.

                                                                                                  + pub description: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                  + pub kms_key_id: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                  + pub additional_encryption_context: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + ///

                                                                                                  The list of tags associated with the integration.

                                                                                                  + pub tags: ::std::option::Option<::std::vec::Vec>, + _request_id: Option, +} +impl ModifyIntegrationOutput { + ///

                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                  + pub fn integration_arn(&self) -> ::std::option::Option<&str> { + self.integration_arn.as_deref() + } + ///

                                                                                                  The name of the integration.

                                                                                                  + pub fn integration_name(&self) -> ::std::option::Option<&str> { + self.integration_name.as_deref() + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                  + pub fn source_arn(&self) -> ::std::option::Option<&str> { + self.source_arn.as_deref() + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                  + pub fn target_arn(&self) -> ::std::option::Option<&str> { + self.target_arn.as_deref() + } + ///

                                                                                                  The current status of the integration.

                                                                                                  + pub fn status(&self) -> ::std::option::Option<&crate::types::ZeroEtlIntegrationStatus> { + self.status.as_ref() + } + ///

                                                                                                  Any errors associated with the integration.

                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.errors.is_none()`. + pub fn errors(&self) -> &[crate::types::IntegrationError] { + self.errors.as_deref().unwrap_or_default() + } + ///

                                                                                                  The time (UTC) when the integration was created.

                                                                                                  + pub fn create_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> { + self.create_time.as_ref() + } + ///

                                                                                                  The description of the integration.

                                                                                                  + pub fn description(&self) -> ::std::option::Option<&str> { + self.description.as_deref() + } + ///

                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                  + pub fn kms_key_id(&self) -> ::std::option::Option<&str> { + self.kms_key_id.as_deref() + } + ///

                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                  + pub fn additional_encryption_context(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> { + self.additional_encryption_context.as_ref() + } + ///

                                                                                                  The list of tags associated with the integration.

                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.tags.is_none()`. + pub fn tags(&self) -> &[crate::types::Tag] { + self.tags.as_deref().unwrap_or_default() + } +} +impl ::aws_types::request_id::RequestId for ModifyIntegrationOutput { + fn request_id(&self) -> Option<&str> { + self._request_id.as_deref() + } +} +impl ModifyIntegrationOutput { + /// Creates a new builder-style object to manufacture [`ModifyIntegrationOutput`](crate::operation::modify_integration::ModifyIntegrationOutput). + pub fn builder() -> crate::operation::modify_integration::builders::ModifyIntegrationOutputBuilder { + crate::operation::modify_integration::builders::ModifyIntegrationOutputBuilder::default() + } +} + +/// A builder for [`ModifyIntegrationOutput`](crate::operation::modify_integration::ModifyIntegrationOutput). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct ModifyIntegrationOutputBuilder { + pub(crate) integration_arn: ::std::option::Option<::std::string::String>, + pub(crate) integration_name: ::std::option::Option<::std::string::String>, + pub(crate) source_arn: ::std::option::Option<::std::string::String>, + pub(crate) target_arn: ::std::option::Option<::std::string::String>, + pub(crate) status: ::std::option::Option, + pub(crate) errors: ::std::option::Option<::std::vec::Vec>, + pub(crate) create_time: ::std::option::Option<::aws_smithy_types::DateTime>, + pub(crate) description: ::std::option::Option<::std::string::String>, + pub(crate) kms_key_id: ::std::option::Option<::std::string::String>, + pub(crate) additional_encryption_context: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + pub(crate) tags: ::std::option::Option<::std::vec::Vec>, + _request_id: Option, +} +impl ModifyIntegrationOutputBuilder { + ///

                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                  + pub fn integration_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                  + pub fn set_integration_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_arn = input; + self + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                  + pub fn get_integration_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_arn + } + ///

                                                                                                  The name of the integration.

                                                                                                  + pub fn integration_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_name = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The name of the integration.

                                                                                                  + pub fn set_integration_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_name = input; + self + } + ///

                                                                                                  The name of the integration.

                                                                                                  + pub fn get_integration_name(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_name + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                  + pub fn source_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.source_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                  + pub fn set_source_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.source_arn = input; + self + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                  + pub fn get_source_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.source_arn + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                  + pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.target_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                  + pub fn set_target_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.target_arn = input; + self + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                  + pub fn get_target_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.target_arn + } + ///

                                                                                                  The current status of the integration.

                                                                                                  + pub fn status(mut self, input: crate::types::ZeroEtlIntegrationStatus) -> Self { + self.status = ::std::option::Option::Some(input); + self + } + ///

                                                                                                  The current status of the integration.

                                                                                                  + pub fn set_status(mut self, input: ::std::option::Option) -> Self { + self.status = input; + self + } + ///

                                                                                                  The current status of the integration.

                                                                                                  + pub fn get_status(&self) -> &::std::option::Option { + &self.status + } + /// Appends an item to `errors`. + /// + /// To override the contents of this collection use [`set_errors`](Self::set_errors). + /// + ///

                                                                                                  Any errors associated with the integration.

                                                                                                  + pub fn errors(mut self, input: crate::types::IntegrationError) -> Self { + let mut v = self.errors.unwrap_or_default(); + v.push(input); + self.errors = ::std::option::Option::Some(v); + self + } + ///

                                                                                                  Any errors associated with the integration.

                                                                                                  + pub fn set_errors(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.errors = input; + self + } + ///

                                                                                                  Any errors associated with the integration.

                                                                                                  + pub fn get_errors(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.errors + } + ///

                                                                                                  The time (UTC) when the integration was created.

                                                                                                  + pub fn create_time(mut self, input: ::aws_smithy_types::DateTime) -> Self { + self.create_time = ::std::option::Option::Some(input); + self + } + ///

                                                                                                  The time (UTC) when the integration was created.

                                                                                                  + pub fn set_create_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self { + self.create_time = input; + self + } + ///

                                                                                                  The time (UTC) when the integration was created.

                                                                                                  + pub fn get_create_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> { + &self.create_time + } + ///

                                                                                                  The description of the integration.

                                                                                                  + pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.description = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The description of the integration.

                                                                                                  + pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.description = input; + self + } + ///

                                                                                                  The description of the integration.

                                                                                                  + pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { + &self.description + } + ///

                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                  + pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.kms_key_id = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                  + pub fn set_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.kms_key_id = input; + self + } + ///

                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                  + pub fn get_kms_key_id(&self) -> &::std::option::Option<::std::string::String> { + &self.kms_key_id + } + /// Adds a key-value pair to `additional_encryption_context`. + /// + /// To override the contents of this collection use [`set_additional_encryption_context`](Self::set_additional_encryption_context). + /// + ///

                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                  + pub fn additional_encryption_context( + mut self, + k: impl ::std::convert::Into<::std::string::String>, + v: impl ::std::convert::Into<::std::string::String>, + ) -> Self { + let mut hash_map = self.additional_encryption_context.unwrap_or_default(); + hash_map.insert(k.into(), v.into()); + self.additional_encryption_context = ::std::option::Option::Some(hash_map); + self + } + ///

                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                  + pub fn set_additional_encryption_context( + mut self, + input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + ) -> Self { + self.additional_encryption_context = input; + self + } + ///

                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                  + pub fn get_additional_encryption_context( + &self, + ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> { + &self.additional_encryption_context + } + /// Appends an item to `tags`. + /// + /// To override the contents of this collection use [`set_tags`](Self::set_tags). + /// + ///

                                                                                                  The list of tags associated with the integration.

                                                                                                  + pub fn tags(mut self, input: crate::types::Tag) -> Self { + let mut v = self.tags.unwrap_or_default(); + v.push(input); + self.tags = ::std::option::Option::Some(v); + self + } + ///

                                                                                                  The list of tags associated with the integration.

                                                                                                  + pub fn set_tags(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.tags = input; + self + } + ///

                                                                                                  The list of tags associated with the integration.

                                                                                                  + pub fn get_tags(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.tags + } + pub(crate) fn _request_id(mut self, request_id: impl Into) -> Self { + self._request_id = Some(request_id.into()); + self + } + + pub(crate) fn _set_request_id(&mut self, request_id: Option) -> &mut Self { + self._request_id = request_id; + self + } + /// Consumes the builder and constructs a [`ModifyIntegrationOutput`](crate::operation::modify_integration::ModifyIntegrationOutput). + pub fn build(self) -> crate::operation::modify_integration::ModifyIntegrationOutput { + crate::operation::modify_integration::ModifyIntegrationOutput { + integration_arn: self.integration_arn, + integration_name: self.integration_name, + source_arn: self.source_arn, + target_arn: self.target_arn, + status: self.status, + errors: self.errors, + create_time: self.create_time, + description: self.description, + kms_key_id: self.kms_key_id, + additional_encryption_context: self.additional_encryption_context, + tags: self.tags, + _request_id: self._request_id, + } + } +} diff --git a/sdk/redshift/src/operation/modify_integration/builders.rs b/sdk/redshift/src/operation/modify_integration/builders.rs new file mode 100644 index 000000000000..2db360c27d25 --- /dev/null +++ b/sdk/redshift/src/operation/modify_integration/builders.rs @@ -0,0 +1,153 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub use crate::operation::modify_integration::_modify_integration_output::ModifyIntegrationOutputBuilder; + +pub use crate::operation::modify_integration::_modify_integration_input::ModifyIntegrationInputBuilder; + +impl crate::operation::modify_integration::builders::ModifyIntegrationInputBuilder { + /// Sends a request with this input using the given client. + pub async fn send_with( + self, + client: &crate::Client, + ) -> ::std::result::Result< + crate::operation::modify_integration::ModifyIntegrationOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::modify_integration::ModifyIntegrationError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let mut fluent_builder = client.modify_integration(); + fluent_builder.inner = self; + fluent_builder.send().await + } +} +/// Fluent builder constructing a request to `ModifyIntegration`. +/// +///

                                                                                                  Modifies a zero-ETL integration with Amazon Redshift.

                                                                                                  +#[derive(::std::clone::Clone, ::std::fmt::Debug)] +pub struct ModifyIntegrationFluentBuilder { + handle: ::std::sync::Arc, + inner: crate::operation::modify_integration::builders::ModifyIntegrationInputBuilder, + config_override: ::std::option::Option, +} +impl + crate::client::customize::internal::CustomizableSend< + crate::operation::modify_integration::ModifyIntegrationOutput, + crate::operation::modify_integration::ModifyIntegrationError, + > for ModifyIntegrationFluentBuilder +{ + fn send( + self, + config_override: crate::config::Builder, + ) -> crate::client::customize::internal::BoxFuture< + crate::client::customize::internal::SendResult< + crate::operation::modify_integration::ModifyIntegrationOutput, + crate::operation::modify_integration::ModifyIntegrationError, + >, + > { + ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await }) + } +} +impl ModifyIntegrationFluentBuilder { + /// Creates a new `ModifyIntegrationFluentBuilder`. + pub(crate) fn new(handle: ::std::sync::Arc) -> Self { + Self { + handle, + inner: ::std::default::Default::default(), + config_override: ::std::option::Option::None, + } + } + /// Access the ModifyIntegration as a reference. + pub fn as_input(&self) -> &crate::operation::modify_integration::builders::ModifyIntegrationInputBuilder { + &self.inner + } + /// Sends the request and returns the response. + /// + /// If an error occurs, an `SdkError` will be returned with additional details that + /// can be matched against. + /// + /// By default, any retryable failures will be retried twice. Retry behavior + /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be + /// set when configuring the client. + pub async fn send( + self, + ) -> ::std::result::Result< + crate::operation::modify_integration::ModifyIntegrationOutput, + ::aws_smithy_runtime_api::client::result::SdkError< + crate::operation::modify_integration::ModifyIntegrationError, + ::aws_smithy_runtime_api::client::orchestrator::HttpResponse, + >, + > { + let input = self + .inner + .build() + .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?; + let runtime_plugins = crate::operation::modify_integration::ModifyIntegration::operation_runtime_plugins( + self.handle.runtime_plugins.clone(), + &self.handle.conf, + self.config_override, + ); + crate::operation::modify_integration::ModifyIntegration::orchestrate(&runtime_plugins, input).await + } + + /// Consumes this builder, creating a customizable operation that can be modified before being sent. + pub fn customize( + self, + ) -> crate::client::customize::CustomizableOperation< + crate::operation::modify_integration::ModifyIntegrationOutput, + crate::operation::modify_integration::ModifyIntegrationError, + Self, + > { + crate::client::customize::CustomizableOperation::new(self) + } + pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into) -> Self { + self.set_config_override(::std::option::Option::Some(config_override.into())); + self + } + + pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option) -> &mut Self { + self.config_override = config_override; + self + } + ///

                                                                                                  The unique identifier of the integration to modify.

                                                                                                  + pub fn integration_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.integration_arn(input.into()); + self + } + ///

                                                                                                  The unique identifier of the integration to modify.

                                                                                                  + pub fn set_integration_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_integration_arn(input); + self + } + ///

                                                                                                  The unique identifier of the integration to modify.

                                                                                                  + pub fn get_integration_arn(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_integration_arn() + } + ///

                                                                                                  A new description for the integration.

                                                                                                  + pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.description(input.into()); + self + } + ///

                                                                                                  A new description for the integration.

                                                                                                  + pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_description(input); + self + } + ///

                                                                                                  A new description for the integration.

                                                                                                  + pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_description() + } + ///

                                                                                                  A new name for the integration.

                                                                                                  + pub fn integration_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.integration_name(input.into()); + self + } + ///

                                                                                                  A new name for the integration.

                                                                                                  + pub fn set_integration_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_integration_name(input); + self + } + ///

                                                                                                  A new name for the integration.

                                                                                                  + pub fn get_integration_name(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_integration_name() + } +} diff --git a/sdk/redshift/src/operation/resize_cluster/builders.rs b/sdk/redshift/src/operation/resize_cluster/builders.rs index 4f048ddba673..e727594c87f5 100644 --- a/sdk/redshift/src/operation/resize_cluster/builders.rs +++ b/sdk/redshift/src/operation/resize_cluster/builders.rs @@ -33,6 +33,8 @@ impl crate::operation::resize_cluster::builders::ResizeClusterInputBuilder { ///
                                                                                                • ///

                                                                                                  dc2.8xlarge

                                                                                                • ///
                                                                                                • +///

                                                                                                  ra3.large

                                                                                                • +///
                                                                                                • ///

                                                                                                  ra3.xlplus

                                                                                                • ///
                                                                                                • ///

                                                                                                  ra3.4xlarge

                                                                                                • diff --git a/sdk/redshift/src/protocol_serde.rs b/sdk/redshift/src/protocol_serde.rs index a6a390c6f901..7d39c1fc5a20 100644 --- a/sdk/redshift/src/protocol_serde.rs +++ b/sdk/redshift/src/protocol_serde.rs @@ -111,6 +111,10 @@ pub(crate) mod shape_create_hsm_configuration; pub(crate) mod shape_create_hsm_configuration_input; +pub(crate) mod shape_create_integration; + +pub(crate) mod shape_create_integration_input; + pub(crate) mod shape_create_redshift_idc_application; pub(crate) mod shape_create_redshift_idc_application_input; @@ -183,6 +187,10 @@ pub(crate) mod shape_delete_hsm_configuration; pub(crate) mod shape_delete_hsm_configuration_input; +pub(crate) mod shape_delete_integration; + +pub(crate) mod shape_delete_integration_input; + pub(crate) mod shape_delete_partner; pub(crate) mod shape_delete_partner_input; @@ -311,6 +319,10 @@ pub(crate) mod shape_describe_inbound_integrations; pub(crate) mod shape_describe_inbound_integrations_input; +pub(crate) mod shape_describe_integrations; + +pub(crate) mod shape_describe_integrations_input; + pub(crate) mod shape_describe_logging_status; pub(crate) mod shape_describe_logging_status_input; @@ -475,6 +487,10 @@ pub(crate) mod shape_modify_event_subscription; pub(crate) mod shape_modify_event_subscription_input; +pub(crate) mod shape_modify_integration; + +pub(crate) mod shape_modify_integration_input; + pub(crate) mod shape_modify_redshift_idc_application; pub(crate) mod shape_modify_redshift_idc_application_input; @@ -629,6 +645,8 @@ pub(crate) mod shape_dependent_service_request_throttling_fault; pub(crate) mod shape_dependent_service_unavailable_fault; +pub(crate) mod shape_describe_integrations_filter; + pub(crate) mod shape_endpoint_already_exists_fault; pub(crate) mod shape_endpoint_authorization_already_exists_fault; @@ -665,8 +683,20 @@ pub(crate) mod shape_insufficient_cluster_capacity_fault; pub(crate) mod shape_insufficient_s3_bucket_policy_fault; +pub(crate) mod shape_integration_already_exists_fault; + +pub(crate) mod shape_integration_conflict_operation_fault; + +pub(crate) mod shape_integration_conflict_state_fault; + pub(crate) mod shape_integration_not_found_fault; +pub(crate) mod shape_integration_quota_exceeded_fault; + +pub(crate) mod shape_integration_source_not_found_fault; + +pub(crate) mod shape_integration_target_not_found_fault; + pub(crate) mod shape_invalid_authentication_profile_request_fault; pub(crate) mod shape_invalid_authorization_state_fault; @@ -883,6 +913,8 @@ pub(crate) mod shape_data_share_list; pub(crate) mod shape_default_cluster_parameters; +pub(crate) mod shape_encryption_context_map; + pub(crate) mod shape_endpoint_accesses; pub(crate) mod shape_endpoint_authorizations; @@ -911,6 +943,10 @@ pub(crate) mod shape_import_tables_not_started; pub(crate) mod shape_inbound_integration_list; +pub(crate) mod shape_integration_error_list; + +pub(crate) mod shape_integration_list; + pub(crate) mod shape_lake_formation_scope_union; pub(crate) mod shape_log_type_list; @@ -1041,6 +1077,10 @@ pub(crate) mod shape_hsm_status; pub(crate) mod shape_inbound_integration; +pub(crate) mod shape_integration; + +pub(crate) mod shape_integration_error; + pub(crate) mod shape_ip_range_list; pub(crate) mod shape_lake_formation_query; @@ -1121,8 +1161,6 @@ pub(crate) mod shape_eligible_tracks_to_update_list; pub(crate) mod shape_event_info_map_list; -pub(crate) mod shape_integration_error_list; - pub(crate) mod shape_ip_range; pub(crate) mod shape_network_interface; @@ -1151,8 +1189,6 @@ pub(crate) mod shape_cluster_parameter_status_list; pub(crate) mod shape_event_info_map; -pub(crate) mod shape_integration_error; - pub(crate) mod shape_lake_formation_service_integrations; pub(crate) mod shape_recommended_action; diff --git a/sdk/redshift/src/protocol_serde/shape_create_integration.rs b/sdk/redshift/src/protocol_serde/shape_create_integration.rs new file mode 100644 index 000000000000..887b5102a462 --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_create_integration.rs @@ -0,0 +1,362 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(clippy::unnecessary_wraps)] +pub fn de_create_integration_http_error( + _response_status: u16, + _response_headers: &::aws_smithy_runtime_api::http::Headers, + _response_body: &[u8], +) -> std::result::Result +{ + #[allow(unused_mut)] + let mut generic_builder = crate::protocol_serde::parse_http_error_metadata(_response_status, _response_headers, _response_body) + .map_err(crate::operation::create_integration::CreateIntegrationError::unhandled)?; + generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, _response_headers); + let generic = generic_builder.build(); + let error_code = match generic.code() { + Some(code) => code, + None => return Err(crate::operation::create_integration::CreateIntegrationError::unhandled(generic)), + }; + + let _error_message = generic.message().map(|msg| msg.to_owned()); + Err(match error_code { + "IntegrationAlreadyExistsFault" => crate::operation::create_integration::CreateIntegrationError::IntegrationAlreadyExistsFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationAlreadyExistsFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_already_exists_fault::de_integration_already_exists_fault_xml_err( + _response_body, + output, + ) + .map_err(crate::operation::create_integration::CreateIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "IntegrationConflictOperationFault" => crate::operation::create_integration::CreateIntegrationError::IntegrationConflictOperationFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationConflictOperationFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_conflict_operation_fault::de_integration_conflict_operation_fault_xml_err( + _response_body, + output, + ) + .map_err(crate::operation::create_integration::CreateIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "IntegrationQuotaExceededFault" => crate::operation::create_integration::CreateIntegrationError::IntegrationQuotaExceededFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationQuotaExceededFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_quota_exceeded_fault::de_integration_quota_exceeded_fault_xml_err( + _response_body, + output, + ) + .map_err(crate::operation::create_integration::CreateIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "IntegrationSourceNotFoundFault" => crate::operation::create_integration::CreateIntegrationError::IntegrationSourceNotFoundFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationSourceNotFoundFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_source_not_found_fault::de_integration_source_not_found_fault_xml_err( + _response_body, + output, + ) + .map_err(crate::operation::create_integration::CreateIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "IntegrationTargetNotFoundFault" => crate::operation::create_integration::CreateIntegrationError::IntegrationTargetNotFoundFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationTargetNotFoundFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_target_not_found_fault::de_integration_target_not_found_fault_xml_err( + _response_body, + output, + ) + .map_err(crate::operation::create_integration::CreateIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "InvalidClusterState" => crate::operation::create_integration::CreateIntegrationError::InvalidClusterStateFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::InvalidClusterStateFaultBuilder::default(); + output = crate::protocol_serde::shape_invalid_cluster_state_fault::de_invalid_cluster_state_fault_xml_err(_response_body, output) + .map_err(crate::operation::create_integration::CreateIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "InvalidTagFault" => crate::operation::create_integration::CreateIntegrationError::InvalidTagFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::InvalidTagFaultBuilder::default(); + output = crate::protocol_serde::shape_invalid_tag_fault::de_invalid_tag_fault_xml_err(_response_body, output) + .map_err(crate::operation::create_integration::CreateIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "TagLimitExceededFault" => crate::operation::create_integration::CreateIntegrationError::TagLimitExceededFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::TagLimitExceededFaultBuilder::default(); + output = crate::protocol_serde::shape_tag_limit_exceeded_fault::de_tag_limit_exceeded_fault_xml_err(_response_body, output) + .map_err(crate::operation::create_integration::CreateIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "UnsupportedOperation" => crate::operation::create_integration::CreateIntegrationError::UnsupportedOperationFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::UnsupportedOperationFaultBuilder::default(); + output = crate::protocol_serde::shape_unsupported_operation_fault::de_unsupported_operation_fault_xml_err(_response_body, output) + .map_err(crate::operation::create_integration::CreateIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + _ => crate::operation::create_integration::CreateIntegrationError::generic(generic), + }) +} + +#[allow(clippy::unnecessary_wraps)] +pub fn de_create_integration_http_response( + _response_status: u16, + _response_headers: &::aws_smithy_runtime_api::http::Headers, + _response_body: &[u8], +) -> std::result::Result +{ + Ok({ + #[allow(unused_mut)] + let mut output = crate::operation::create_integration::builders::CreateIntegrationOutputBuilder::default(); + output = crate::protocol_serde::shape_create_integration::de_create_integration(_response_body, output) + .map_err(crate::operation::create_integration::CreateIntegrationError::unhandled)?; + output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string)); + output.build() + }) +} + +#[allow(unused_mut)] +pub fn de_create_integration( + inp: &[u8], + mut builder: crate::operation::create_integration::builders::CreateIntegrationOutputBuilder, +) -> Result { + let mut doc = ::aws_smithy_xml::decode::Document::try_from(inp)?; + + #[allow(unused_mut)] + let mut decoder = doc.root_element()?; + #[allow(unused_variables)] + let start_el = decoder.start_el(); + if !(start_el.matches("CreateIntegrationResponse")) { + return Err(::aws_smithy_xml::decode::XmlDecodeError::custom(format!( + "invalid root, expected CreateIntegrationResponse got {:?}", + start_el + ))); + } + if let Some(mut result_tag) = decoder.next_tag() { + let start_el = result_tag.start_el(); + if !(start_el.matches("CreateIntegrationResult")) { + return Err(::aws_smithy_xml::decode::XmlDecodeError::custom(format!( + "invalid result, expected CreateIntegrationResult got {:?}", + start_el + ))); + } + while let Some(mut tag) = result_tag.next_tag() { + match tag.start_el() { + s if s.matches("IntegrationArn") /* IntegrationArn com.amazonaws.redshift.synthetic#CreateIntegrationOutput$IntegrationArn */ => { + let var_1 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_integration_arn(var_1); + } + , + s if s.matches("IntegrationName") /* IntegrationName com.amazonaws.redshift.synthetic#CreateIntegrationOutput$IntegrationName */ => { + let var_2 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_integration_name(var_2); + } + , + s if s.matches("SourceArn") /* SourceArn com.amazonaws.redshift.synthetic#CreateIntegrationOutput$SourceArn */ => { + let var_3 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_source_arn(var_3); + } + , + s if s.matches("TargetArn") /* TargetArn com.amazonaws.redshift.synthetic#CreateIntegrationOutput$TargetArn */ => { + let var_4 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_target_arn(var_4); + } + , + s if s.matches("Status") /* Status com.amazonaws.redshift.synthetic#CreateIntegrationOutput$Status */ => { + let var_5 = + Some( + Result::::Ok( + crate::types::ZeroEtlIntegrationStatus::from( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + ) + ) + ? + ) + ; + builder = builder.set_status(var_5); + } + , + s if s.matches("Errors") /* Errors com.amazonaws.redshift.synthetic#CreateIntegrationOutput$Errors */ => { + let var_6 = + Some( + crate::protocol_serde::shape_integration_error_list::de_integration_error_list(&mut tag) + ? + ) + ; + builder = builder.set_errors(var_6); + } + , + s if s.matches("CreateTime") /* CreateTime com.amazonaws.redshift.synthetic#CreateIntegrationOutput$CreateTime */ => { + let var_7 = + Some( + ::aws_smithy_types::DateTime::from_str( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + , ::aws_smithy_types::date_time::Format::DateTimeWithOffset + ) + .map_err(|_|::aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.redshift#TStamp`)")) + ? + ) + ; + builder = builder.set_create_time(var_7); + } + , + s if s.matches("Description") /* Description com.amazonaws.redshift.synthetic#CreateIntegrationOutput$Description */ => { + let var_8 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_description(var_8); + } + , + s if s.matches("KMSKeyId") /* KMSKeyId com.amazonaws.redshift.synthetic#CreateIntegrationOutput$KMSKeyId */ => { + let var_9 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_kms_key_id(var_9); + } + , + s if s.matches("AdditionalEncryptionContext") /* AdditionalEncryptionContext com.amazonaws.redshift.synthetic#CreateIntegrationOutput$AdditionalEncryptionContext */ => { + let var_10 = + Some( + crate::protocol_serde::shape_encryption_context_map::de_encryption_context_map(&mut tag) + ? + ) + ; + builder = builder.set_additional_encryption_context(var_10); + } + , + s if s.matches("Tags") /* Tags com.amazonaws.redshift.synthetic#CreateIntegrationOutput$Tags */ => { + let var_11 = + Some( + crate::protocol_serde::shape_tag_list::de_tag_list(&mut tag) + ? + ) + ; + builder = builder.set_tags(var_11); + } + , + _ => {} + } + } + } else { + return Err(::aws_smithy_xml::decode::XmlDecodeError::custom("expected CreateIntegrationResult tag")); + }; + Ok(builder) +} diff --git a/sdk/redshift/src/protocol_serde/shape_create_integration_input.rs b/sdk/redshift/src/protocol_serde/shape_create_integration_input.rs new file mode 100644 index 000000000000..0283126db604 --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_create_integration_input.rs @@ -0,0 +1,59 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub fn ser_create_integration_input_input_input( + input: &crate::operation::create_integration::CreateIntegrationInput, +) -> Result<::aws_smithy_types::body::SdkBody, ::aws_smithy_types::error::operation::SerializationError> { + let mut out = String::new(); + #[allow(unused_mut)] + let mut writer = ::aws_smithy_query::QueryWriter::new(&mut out, "CreateIntegration", "2012-12-01"); + #[allow(unused_mut)] + let mut scope_1 = writer.prefix("SourceArn"); + if let Some(var_2) = &input.source_arn { + scope_1.string(var_2); + } + #[allow(unused_mut)] + let mut scope_3 = writer.prefix("TargetArn"); + if let Some(var_4) = &input.target_arn { + scope_3.string(var_4); + } + #[allow(unused_mut)] + let mut scope_5 = writer.prefix("IntegrationName"); + if let Some(var_6) = &input.integration_name { + scope_5.string(var_6); + } + #[allow(unused_mut)] + let mut scope_7 = writer.prefix("KMSKeyId"); + if let Some(var_8) = &input.kms_key_id { + scope_7.string(var_8); + } + #[allow(unused_mut)] + let mut scope_9 = writer.prefix("TagList"); + if let Some(var_10) = &input.tag_list { + let mut list_12 = scope_9.start_list(false, Some("Tag")); + for item_11 in var_10 { + #[allow(unused_mut)] + let mut entry_13 = list_12.entry(); + crate::protocol_serde::shape_tag::ser_tag(entry_13, item_11)?; + } + list_12.finish(); + } + #[allow(unused_mut)] + let mut scope_14 = writer.prefix("AdditionalEncryptionContext"); + if let Some(var_15) = &input.additional_encryption_context { + let mut map_16 = scope_14.start_map(false, "key", "value"); + for (key_17, value_18) in var_15 { + #[allow(unused_mut)] + let mut entry_19 = map_16.entry(key_17); + { + entry_19.string(value_18); + } + } + map_16.finish(); + } + #[allow(unused_mut)] + let mut scope_20 = writer.prefix("Description"); + if let Some(var_21) = &input.description { + scope_20.string(var_21); + } + writer.finish(); + Ok(::aws_smithy_types::body::SdkBody::from(out)) +} diff --git a/sdk/redshift/src/protocol_serde/shape_delete_integration.rs b/sdk/redshift/src/protocol_serde/shape_delete_integration.rs new file mode 100644 index 000000000000..402f5d9b21bc --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_delete_integration.rs @@ -0,0 +1,278 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(clippy::unnecessary_wraps)] +pub fn de_delete_integration_http_error( + _response_status: u16, + _response_headers: &::aws_smithy_runtime_api::http::Headers, + _response_body: &[u8], +) -> std::result::Result +{ + #[allow(unused_mut)] + let mut generic_builder = crate::protocol_serde::parse_http_error_metadata(_response_status, _response_headers, _response_body) + .map_err(crate::operation::delete_integration::DeleteIntegrationError::unhandled)?; + generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, _response_headers); + let generic = generic_builder.build(); + let error_code = match generic.code() { + Some(code) => code, + None => return Err(crate::operation::delete_integration::DeleteIntegrationError::unhandled(generic)), + }; + + let _error_message = generic.message().map(|msg| msg.to_owned()); + Err(match error_code { + "IntegrationConflictOperationFault" => crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictOperationFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationConflictOperationFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_conflict_operation_fault::de_integration_conflict_operation_fault_xml_err( + _response_body, + output, + ) + .map_err(crate::operation::delete_integration::DeleteIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "IntegrationConflictStateFault" => crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictStateFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationConflictStateFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_conflict_state_fault::de_integration_conflict_state_fault_xml_err( + _response_body, + output, + ) + .map_err(crate::operation::delete_integration::DeleteIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "IntegrationNotFoundFault" => crate::operation::delete_integration::DeleteIntegrationError::IntegrationNotFoundFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationNotFoundFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_not_found_fault::de_integration_not_found_fault_xml_err(_response_body, output) + .map_err(crate::operation::delete_integration::DeleteIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "UnsupportedOperation" => crate::operation::delete_integration::DeleteIntegrationError::UnsupportedOperationFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::UnsupportedOperationFaultBuilder::default(); + output = crate::protocol_serde::shape_unsupported_operation_fault::de_unsupported_operation_fault_xml_err(_response_body, output) + .map_err(crate::operation::delete_integration::DeleteIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + _ => crate::operation::delete_integration::DeleteIntegrationError::generic(generic), + }) +} + +#[allow(clippy::unnecessary_wraps)] +pub fn de_delete_integration_http_response( + _response_status: u16, + _response_headers: &::aws_smithy_runtime_api::http::Headers, + _response_body: &[u8], +) -> std::result::Result +{ + Ok({ + #[allow(unused_mut)] + let mut output = crate::operation::delete_integration::builders::DeleteIntegrationOutputBuilder::default(); + output = crate::protocol_serde::shape_delete_integration::de_delete_integration(_response_body, output) + .map_err(crate::operation::delete_integration::DeleteIntegrationError::unhandled)?; + output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string)); + output.build() + }) +} + +#[allow(unused_mut)] +pub fn de_delete_integration( + inp: &[u8], + mut builder: crate::operation::delete_integration::builders::DeleteIntegrationOutputBuilder, +) -> Result { + let mut doc = ::aws_smithy_xml::decode::Document::try_from(inp)?; + + #[allow(unused_mut)] + let mut decoder = doc.root_element()?; + #[allow(unused_variables)] + let start_el = decoder.start_el(); + if !(start_el.matches("DeleteIntegrationResponse")) { + return Err(::aws_smithy_xml::decode::XmlDecodeError::custom(format!( + "invalid root, expected DeleteIntegrationResponse got {:?}", + start_el + ))); + } + if let Some(mut result_tag) = decoder.next_tag() { + let start_el = result_tag.start_el(); + if !(start_el.matches("DeleteIntegrationResult")) { + return Err(::aws_smithy_xml::decode::XmlDecodeError::custom(format!( + "invalid result, expected DeleteIntegrationResult got {:?}", + start_el + ))); + } + while let Some(mut tag) = result_tag.next_tag() { + match tag.start_el() { + s if s.matches("IntegrationArn") /* IntegrationArn com.amazonaws.redshift.synthetic#DeleteIntegrationOutput$IntegrationArn */ => { + let var_1 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_integration_arn(var_1); + } + , + s if s.matches("IntegrationName") /* IntegrationName com.amazonaws.redshift.synthetic#DeleteIntegrationOutput$IntegrationName */ => { + let var_2 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_integration_name(var_2); + } + , + s if s.matches("SourceArn") /* SourceArn com.amazonaws.redshift.synthetic#DeleteIntegrationOutput$SourceArn */ => { + let var_3 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_source_arn(var_3); + } + , + s if s.matches("TargetArn") /* TargetArn com.amazonaws.redshift.synthetic#DeleteIntegrationOutput$TargetArn */ => { + let var_4 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_target_arn(var_4); + } + , + s if s.matches("Status") /* Status com.amazonaws.redshift.synthetic#DeleteIntegrationOutput$Status */ => { + let var_5 = + Some( + Result::::Ok( + crate::types::ZeroEtlIntegrationStatus::from( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + ) + ) + ? + ) + ; + builder = builder.set_status(var_5); + } + , + s if s.matches("Errors") /* Errors com.amazonaws.redshift.synthetic#DeleteIntegrationOutput$Errors */ => { + let var_6 = + Some( + crate::protocol_serde::shape_integration_error_list::de_integration_error_list(&mut tag) + ? + ) + ; + builder = builder.set_errors(var_6); + } + , + s if s.matches("CreateTime") /* CreateTime com.amazonaws.redshift.synthetic#DeleteIntegrationOutput$CreateTime */ => { + let var_7 = + Some( + ::aws_smithy_types::DateTime::from_str( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + , ::aws_smithy_types::date_time::Format::DateTimeWithOffset + ) + .map_err(|_|::aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.redshift#TStamp`)")) + ? + ) + ; + builder = builder.set_create_time(var_7); + } + , + s if s.matches("Description") /* Description com.amazonaws.redshift.synthetic#DeleteIntegrationOutput$Description */ => { + let var_8 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_description(var_8); + } + , + s if s.matches("KMSKeyId") /* KMSKeyId com.amazonaws.redshift.synthetic#DeleteIntegrationOutput$KMSKeyId */ => { + let var_9 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_kms_key_id(var_9); + } + , + s if s.matches("AdditionalEncryptionContext") /* AdditionalEncryptionContext com.amazonaws.redshift.synthetic#DeleteIntegrationOutput$AdditionalEncryptionContext */ => { + let var_10 = + Some( + crate::protocol_serde::shape_encryption_context_map::de_encryption_context_map(&mut tag) + ? + ) + ; + builder = builder.set_additional_encryption_context(var_10); + } + , + s if s.matches("Tags") /* Tags com.amazonaws.redshift.synthetic#DeleteIntegrationOutput$Tags */ => { + let var_11 = + Some( + crate::protocol_serde::shape_tag_list::de_tag_list(&mut tag) + ? + ) + ; + builder = builder.set_tags(var_11); + } + , + _ => {} + } + } + } else { + return Err(::aws_smithy_xml::decode::XmlDecodeError::custom("expected DeleteIntegrationResult tag")); + }; + Ok(builder) +} diff --git a/sdk/redshift/src/protocol_serde/shape_delete_integration_input.rs b/sdk/redshift/src/protocol_serde/shape_delete_integration_input.rs new file mode 100644 index 000000000000..ed8e3027e9ae --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_delete_integration_input.rs @@ -0,0 +1,15 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub fn ser_delete_integration_input_input_input( + input: &crate::operation::delete_integration::DeleteIntegrationInput, +) -> Result<::aws_smithy_types::body::SdkBody, ::aws_smithy_types::error::operation::SerializationError> { + let mut out = String::new(); + #[allow(unused_mut)] + let mut writer = ::aws_smithy_query::QueryWriter::new(&mut out, "DeleteIntegration", "2012-12-01"); + #[allow(unused_mut)] + let mut scope_1 = writer.prefix("IntegrationArn"); + if let Some(var_2) = &input.integration_arn { + scope_1.string(var_2); + } + writer.finish(); + Ok(::aws_smithy_types::body::SdkBody::from(out)) +} diff --git a/sdk/redshift/src/protocol_serde/shape_describe_integrations.rs b/sdk/redshift/src/protocol_serde/shape_describe_integrations.rs new file mode 100644 index 000000000000..68ba3c5bd77b --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_describe_integrations.rs @@ -0,0 +1,135 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(clippy::unnecessary_wraps)] +pub fn de_describe_integrations_http_error( + _response_status: u16, + _response_headers: &::aws_smithy_runtime_api::http::Headers, + _response_body: &[u8], +) -> std::result::Result< + crate::operation::describe_integrations::DescribeIntegrationsOutput, + crate::operation::describe_integrations::DescribeIntegrationsError, +> { + #[allow(unused_mut)] + let mut generic_builder = crate::protocol_serde::parse_http_error_metadata(_response_status, _response_headers, _response_body) + .map_err(crate::operation::describe_integrations::DescribeIntegrationsError::unhandled)?; + generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, _response_headers); + let generic = generic_builder.build(); + let error_code = match generic.code() { + Some(code) => code, + None => return Err(crate::operation::describe_integrations::DescribeIntegrationsError::unhandled(generic)), + }; + + let _error_message = generic.message().map(|msg| msg.to_owned()); + Err(match error_code { + "IntegrationNotFoundFault" => crate::operation::describe_integrations::DescribeIntegrationsError::IntegrationNotFoundFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationNotFoundFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_not_found_fault::de_integration_not_found_fault_xml_err(_response_body, output) + .map_err(crate::operation::describe_integrations::DescribeIntegrationsError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "UnsupportedOperation" => crate::operation::describe_integrations::DescribeIntegrationsError::UnsupportedOperationFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::UnsupportedOperationFaultBuilder::default(); + output = crate::protocol_serde::shape_unsupported_operation_fault::de_unsupported_operation_fault_xml_err(_response_body, output) + .map_err(crate::operation::describe_integrations::DescribeIntegrationsError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + _ => crate::operation::describe_integrations::DescribeIntegrationsError::generic(generic), + }) +} + +#[allow(clippy::unnecessary_wraps)] +pub fn de_describe_integrations_http_response( + _response_status: u16, + _response_headers: &::aws_smithy_runtime_api::http::Headers, + _response_body: &[u8], +) -> std::result::Result< + crate::operation::describe_integrations::DescribeIntegrationsOutput, + crate::operation::describe_integrations::DescribeIntegrationsError, +> { + Ok({ + #[allow(unused_mut)] + let mut output = crate::operation::describe_integrations::builders::DescribeIntegrationsOutputBuilder::default(); + output = crate::protocol_serde::shape_describe_integrations::de_describe_integrations(_response_body, output) + .map_err(crate::operation::describe_integrations::DescribeIntegrationsError::unhandled)?; + output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string)); + output.build() + }) +} + +#[allow(unused_mut)] +pub fn de_describe_integrations( + inp: &[u8], + mut builder: crate::operation::describe_integrations::builders::DescribeIntegrationsOutputBuilder, +) -> Result { + let mut doc = ::aws_smithy_xml::decode::Document::try_from(inp)?; + + #[allow(unused_mut)] + let mut decoder = doc.root_element()?; + #[allow(unused_variables)] + let start_el = decoder.start_el(); + if !(start_el.matches("DescribeIntegrationsResponse")) { + return Err(::aws_smithy_xml::decode::XmlDecodeError::custom(format!( + "invalid root, expected DescribeIntegrationsResponse got {:?}", + start_el + ))); + } + if let Some(mut result_tag) = decoder.next_tag() { + let start_el = result_tag.start_el(); + if !(start_el.matches("DescribeIntegrationsResult")) { + return Err(::aws_smithy_xml::decode::XmlDecodeError::custom(format!( + "invalid result, expected DescribeIntegrationsResult got {:?}", + start_el + ))); + } + while let Some(mut tag) = result_tag.next_tag() { + match tag.start_el() { + s if s.matches("Marker") /* Marker com.amazonaws.redshift.synthetic#DescribeIntegrationsOutput$Marker */ => { + let var_1 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_marker(var_1); + } + , + s if s.matches("Integrations") /* Integrations com.amazonaws.redshift.synthetic#DescribeIntegrationsOutput$Integrations */ => { + let var_2 = + Some( + crate::protocol_serde::shape_integration_list::de_integration_list(&mut tag) + ? + ) + ; + builder = builder.set_integrations(var_2); + } + , + _ => {} + } + } + } else { + return Err(::aws_smithy_xml::decode::XmlDecodeError::custom( + "expected DescribeIntegrationsResult tag", + )); + }; + Ok(builder) +} diff --git a/sdk/redshift/src/protocol_serde/shape_describe_integrations_filter.rs b/sdk/redshift/src/protocol_serde/shape_describe_integrations_filter.rs new file mode 100644 index 000000000000..97c3211d984b --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_describe_integrations_filter.rs @@ -0,0 +1,24 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(unused_mut)] +pub fn ser_describe_integrations_filter( + mut writer: ::aws_smithy_query::QueryValueWriter, + input: &crate::types::DescribeIntegrationsFilter, +) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> { + #[allow(unused_mut)] + let mut scope_1 = writer.prefix("Name"); + if let Some(var_2) = &input.name { + scope_1.string(var_2.as_str()); + } + #[allow(unused_mut)] + let mut scope_3 = writer.prefix("Values"); + if let Some(var_4) = &input.values { + let mut list_6 = scope_3.start_list(false, Some("Value")); + for item_5 in var_4 { + #[allow(unused_mut)] + let mut entry_7 = list_6.entry(); + entry_7.string(item_5); + } + list_6.finish(); + } + Ok(()) +} diff --git a/sdk/redshift/src/protocol_serde/shape_describe_integrations_input.rs b/sdk/redshift/src/protocol_serde/shape_describe_integrations_input.rs new file mode 100644 index 000000000000..ff26b47a3a4a --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_describe_integrations_input.rs @@ -0,0 +1,39 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub fn ser_describe_integrations_input_input_input( + input: &crate::operation::describe_integrations::DescribeIntegrationsInput, +) -> Result<::aws_smithy_types::body::SdkBody, ::aws_smithy_types::error::operation::SerializationError> { + let mut out = String::new(); + #[allow(unused_mut)] + let mut writer = ::aws_smithy_query::QueryWriter::new(&mut out, "DescribeIntegrations", "2012-12-01"); + #[allow(unused_mut)] + let mut scope_1 = writer.prefix("IntegrationArn"); + if let Some(var_2) = &input.integration_arn { + scope_1.string(var_2); + } + #[allow(unused_mut)] + let mut scope_3 = writer.prefix("MaxRecords"); + if let Some(var_4) = &input.max_records { + scope_3.number( + #[allow(clippy::useless_conversion)] + ::aws_smithy_types::Number::NegInt((*var_4).into()), + ); + } + #[allow(unused_mut)] + let mut scope_5 = writer.prefix("Marker"); + if let Some(var_6) = &input.marker { + scope_5.string(var_6); + } + #[allow(unused_mut)] + let mut scope_7 = writer.prefix("Filters"); + if let Some(var_8) = &input.filters { + let mut list_10 = scope_7.start_list(false, Some("DescribeIntegrationsFilter")); + for item_9 in var_8 { + #[allow(unused_mut)] + let mut entry_11 = list_10.entry(); + crate::protocol_serde::shape_describe_integrations_filter::ser_describe_integrations_filter(entry_11, item_9)?; + } + list_10.finish(); + } + writer.finish(); + Ok(::aws_smithy_types::body::SdkBody::from(out)) +} diff --git a/sdk/redshift/src/protocol_serde/shape_encryption_context_map.rs b/sdk/redshift/src/protocol_serde/shape_encryption_context_map.rs new file mode 100644 index 000000000000..93e9cbdbd9e6 --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_encryption_context_map.rs @@ -0,0 +1,52 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub fn de_encryption_context_map( + decoder: &mut ::aws_smithy_xml::decode::ScopedDecoder, +) -> Result<::std::collections::HashMap<::std::string::String, ::std::string::String>, ::aws_smithy_xml::decode::XmlDecodeError> { + let mut out = ::std::collections::HashMap::new(); + while let Some(mut tag) = decoder.next_tag() { + match tag.start_el() { + s if s.matches("entry") => { + crate::protocol_serde::shape_encryption_context_map::de_encryption_context_map_entry(&mut tag, &mut out)?; + } + _ => {} + } + } + Ok(out) +} + +pub fn de_encryption_context_map_entry( + decoder: &mut ::aws_smithy_xml::decode::ScopedDecoder, + out: &mut ::std::collections::HashMap<::std::string::String, ::std::string::String>, +) -> Result<(), ::aws_smithy_xml::decode::XmlDecodeError> { + let mut k: Option<::std::string::String> = None; + let mut v: Option<::std::string::String> = None; + while let Some(mut tag) = decoder.next_tag() { + match tag.start_el() { + s if s.matches("key") /* key com.amazonaws.redshift#EncryptionContextMap$key */ => { + k = Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + } + , + s if s.matches("value") /* value com.amazonaws.redshift#EncryptionContextMap$value */ => { + v = Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + } + , + _ => {} + } + } + let k = k.ok_or_else(|| ::aws_smithy_xml::decode::XmlDecodeError::custom("missing key map entry"))?; + let v = v.ok_or_else(|| ::aws_smithy_xml::decode::XmlDecodeError::custom("missing value map entry"))?; + out.insert(k, v); + Ok(()) +} diff --git a/sdk/redshift/src/protocol_serde/shape_integration.rs b/sdk/redshift/src/protocol_serde/shape_integration.rs new file mode 100644 index 000000000000..f472b1f37090 --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_integration.rs @@ -0,0 +1,150 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(clippy::needless_question_mark)] +pub fn de_integration( + decoder: &mut ::aws_smithy_xml::decode::ScopedDecoder, +) -> Result { + #[allow(unused_mut)] + let mut builder = crate::types::Integration::builder(); + while let Some(mut tag) = decoder.next_tag() { + match tag.start_el() { + s if s.matches("IntegrationArn") /* IntegrationArn com.amazonaws.redshift#Integration$IntegrationArn */ => { + let var_1 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_integration_arn(var_1); + } + , + s if s.matches("IntegrationName") /* IntegrationName com.amazonaws.redshift#Integration$IntegrationName */ => { + let var_2 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_integration_name(var_2); + } + , + s if s.matches("SourceArn") /* SourceArn com.amazonaws.redshift#Integration$SourceArn */ => { + let var_3 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_source_arn(var_3); + } + , + s if s.matches("TargetArn") /* TargetArn com.amazonaws.redshift#Integration$TargetArn */ => { + let var_4 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_target_arn(var_4); + } + , + s if s.matches("Status") /* Status com.amazonaws.redshift#Integration$Status */ => { + let var_5 = + Some( + Result::::Ok( + crate::types::ZeroEtlIntegrationStatus::from( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + ) + ) + ? + ) + ; + builder = builder.set_status(var_5); + } + , + s if s.matches("Errors") /* Errors com.amazonaws.redshift#Integration$Errors */ => { + let var_6 = + Some( + crate::protocol_serde::shape_integration_error_list::de_integration_error_list(&mut tag) + ? + ) + ; + builder = builder.set_errors(var_6); + } + , + s if s.matches("CreateTime") /* CreateTime com.amazonaws.redshift#Integration$CreateTime */ => { + let var_7 = + Some( + ::aws_smithy_types::DateTime::from_str( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + , ::aws_smithy_types::date_time::Format::DateTimeWithOffset + ) + .map_err(|_|::aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.redshift#TStamp`)")) + ? + ) + ; + builder = builder.set_create_time(var_7); + } + , + s if s.matches("Description") /* Description com.amazonaws.redshift#Integration$Description */ => { + let var_8 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_description(var_8); + } + , + s if s.matches("KMSKeyId") /* KMSKeyId com.amazonaws.redshift#Integration$KMSKeyId */ => { + let var_9 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_kms_key_id(var_9); + } + , + s if s.matches("AdditionalEncryptionContext") /* AdditionalEncryptionContext com.amazonaws.redshift#Integration$AdditionalEncryptionContext */ => { + let var_10 = + Some( + crate::protocol_serde::shape_encryption_context_map::de_encryption_context_map(&mut tag) + ? + ) + ; + builder = builder.set_additional_encryption_context(var_10); + } + , + s if s.matches("Tags") /* Tags com.amazonaws.redshift#Integration$Tags */ => { + let var_11 = + Some( + crate::protocol_serde::shape_tag_list::de_tag_list(&mut tag) + ? + ) + ; + builder = builder.set_tags(var_11); + } + , + _ => {} + } + } + Ok(builder.build()) +} diff --git a/sdk/redshift/src/protocol_serde/shape_integration_already_exists_fault.rs b/sdk/redshift/src/protocol_serde/shape_integration_already_exists_fault.rs new file mode 100644 index 000000000000..3834a6e3a082 --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_integration_already_exists_fault.rs @@ -0,0 +1,32 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(unused_mut)] +pub fn de_integration_already_exists_fault_xml_err( + inp: &[u8], + mut builder: crate::types::error::builders::IntegrationAlreadyExistsFaultBuilder, +) -> Result { + if inp.is_empty() { + return Ok(builder); + } + let mut document = ::aws_smithy_xml::decode::Document::try_from(inp)?; + #[allow(unused_mut)] + let mut error_decoder = crate::rest_xml_wrapped_errors::error_scope(&mut document)?; + while let Some(mut tag) = error_decoder.next_tag() { + match tag.start_el() { + s if s.matches("message") /* message com.amazonaws.redshift#IntegrationAlreadyExistsFault$message */ => { + let var_1 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_message(var_1); + } + , + _ => {} + } + } + Ok(builder) +} diff --git a/sdk/redshift/src/protocol_serde/shape_integration_conflict_operation_fault.rs b/sdk/redshift/src/protocol_serde/shape_integration_conflict_operation_fault.rs new file mode 100644 index 000000000000..3bc3046eedac --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_integration_conflict_operation_fault.rs @@ -0,0 +1,32 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(unused_mut)] +pub fn de_integration_conflict_operation_fault_xml_err( + inp: &[u8], + mut builder: crate::types::error::builders::IntegrationConflictOperationFaultBuilder, +) -> Result { + if inp.is_empty() { + return Ok(builder); + } + let mut document = ::aws_smithy_xml::decode::Document::try_from(inp)?; + #[allow(unused_mut)] + let mut error_decoder = crate::rest_xml_wrapped_errors::error_scope(&mut document)?; + while let Some(mut tag) = error_decoder.next_tag() { + match tag.start_el() { + s if s.matches("message") /* message com.amazonaws.redshift#IntegrationConflictOperationFault$message */ => { + let var_1 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_message(var_1); + } + , + _ => {} + } + } + Ok(builder) +} diff --git a/sdk/redshift/src/protocol_serde/shape_integration_conflict_state_fault.rs b/sdk/redshift/src/protocol_serde/shape_integration_conflict_state_fault.rs new file mode 100644 index 000000000000..2415f068f699 --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_integration_conflict_state_fault.rs @@ -0,0 +1,32 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(unused_mut)] +pub fn de_integration_conflict_state_fault_xml_err( + inp: &[u8], + mut builder: crate::types::error::builders::IntegrationConflictStateFaultBuilder, +) -> Result { + if inp.is_empty() { + return Ok(builder); + } + let mut document = ::aws_smithy_xml::decode::Document::try_from(inp)?; + #[allow(unused_mut)] + let mut error_decoder = crate::rest_xml_wrapped_errors::error_scope(&mut document)?; + while let Some(mut tag) = error_decoder.next_tag() { + match tag.start_el() { + s if s.matches("message") /* message com.amazonaws.redshift#IntegrationConflictStateFault$message */ => { + let var_1 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_message(var_1); + } + , + _ => {} + } + } + Ok(builder) +} diff --git a/sdk/redshift/src/protocol_serde/shape_integration_list.rs b/sdk/redshift/src/protocol_serde/shape_integration_list.rs new file mode 100644 index 000000000000..d3e6e5fb104f --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_integration_list.rs @@ -0,0 +1,19 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub fn de_integration_list( + decoder: &mut ::aws_smithy_xml::decode::ScopedDecoder, +) -> Result<::std::vec::Vec, ::aws_smithy_xml::decode::XmlDecodeError> { + let mut out = std::vec::Vec::new(); + while let Some(mut tag) = decoder.next_tag() { + match tag.start_el() { + s if s.matches("Integration") /* member com.amazonaws.redshift#IntegrationList$member */ => { + out.push( + crate::protocol_serde::shape_integration::de_integration(&mut tag) + ? + ); + } + , + _ => {} + } + } + Ok(out) +} diff --git a/sdk/redshift/src/protocol_serde/shape_integration_quota_exceeded_fault.rs b/sdk/redshift/src/protocol_serde/shape_integration_quota_exceeded_fault.rs new file mode 100644 index 000000000000..d100b8a8036a --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_integration_quota_exceeded_fault.rs @@ -0,0 +1,32 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(unused_mut)] +pub fn de_integration_quota_exceeded_fault_xml_err( + inp: &[u8], + mut builder: crate::types::error::builders::IntegrationQuotaExceededFaultBuilder, +) -> Result { + if inp.is_empty() { + return Ok(builder); + } + let mut document = ::aws_smithy_xml::decode::Document::try_from(inp)?; + #[allow(unused_mut)] + let mut error_decoder = crate::rest_xml_wrapped_errors::error_scope(&mut document)?; + while let Some(mut tag) = error_decoder.next_tag() { + match tag.start_el() { + s if s.matches("message") /* message com.amazonaws.redshift#IntegrationQuotaExceededFault$message */ => { + let var_1 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_message(var_1); + } + , + _ => {} + } + } + Ok(builder) +} diff --git a/sdk/redshift/src/protocol_serde/shape_integration_source_not_found_fault.rs b/sdk/redshift/src/protocol_serde/shape_integration_source_not_found_fault.rs new file mode 100644 index 000000000000..6dc1731e4950 --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_integration_source_not_found_fault.rs @@ -0,0 +1,32 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(unused_mut)] +pub fn de_integration_source_not_found_fault_xml_err( + inp: &[u8], + mut builder: crate::types::error::builders::IntegrationSourceNotFoundFaultBuilder, +) -> Result { + if inp.is_empty() { + return Ok(builder); + } + let mut document = ::aws_smithy_xml::decode::Document::try_from(inp)?; + #[allow(unused_mut)] + let mut error_decoder = crate::rest_xml_wrapped_errors::error_scope(&mut document)?; + while let Some(mut tag) = error_decoder.next_tag() { + match tag.start_el() { + s if s.matches("message") /* message com.amazonaws.redshift#IntegrationSourceNotFoundFault$message */ => { + let var_1 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_message(var_1); + } + , + _ => {} + } + } + Ok(builder) +} diff --git a/sdk/redshift/src/protocol_serde/shape_integration_target_not_found_fault.rs b/sdk/redshift/src/protocol_serde/shape_integration_target_not_found_fault.rs new file mode 100644 index 000000000000..a060cdf0e823 --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_integration_target_not_found_fault.rs @@ -0,0 +1,32 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(unused_mut)] +pub fn de_integration_target_not_found_fault_xml_err( + inp: &[u8], + mut builder: crate::types::error::builders::IntegrationTargetNotFoundFaultBuilder, +) -> Result { + if inp.is_empty() { + return Ok(builder); + } + let mut document = ::aws_smithy_xml::decode::Document::try_from(inp)?; + #[allow(unused_mut)] + let mut error_decoder = crate::rest_xml_wrapped_errors::error_scope(&mut document)?; + while let Some(mut tag) = error_decoder.next_tag() { + match tag.start_el() { + s if s.matches("message") /* message com.amazonaws.redshift#IntegrationTargetNotFoundFault$message */ => { + let var_1 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_message(var_1); + } + , + _ => {} + } + } + Ok(builder) +} diff --git a/sdk/redshift/src/protocol_serde/shape_modify_integration.rs b/sdk/redshift/src/protocol_serde/shape_modify_integration.rs new file mode 100644 index 000000000000..bfe8f517eecc --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_modify_integration.rs @@ -0,0 +1,296 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(clippy::unnecessary_wraps)] +pub fn de_modify_integration_http_error( + _response_status: u16, + _response_headers: &::aws_smithy_runtime_api::http::Headers, + _response_body: &[u8], +) -> std::result::Result +{ + #[allow(unused_mut)] + let mut generic_builder = crate::protocol_serde::parse_http_error_metadata(_response_status, _response_headers, _response_body) + .map_err(crate::operation::modify_integration::ModifyIntegrationError::unhandled)?; + generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, _response_headers); + let generic = generic_builder.build(); + let error_code = match generic.code() { + Some(code) => code, + None => return Err(crate::operation::modify_integration::ModifyIntegrationError::unhandled(generic)), + }; + + let _error_message = generic.message().map(|msg| msg.to_owned()); + Err(match error_code { + "IntegrationAlreadyExistsFault" => crate::operation::modify_integration::ModifyIntegrationError::IntegrationAlreadyExistsFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationAlreadyExistsFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_already_exists_fault::de_integration_already_exists_fault_xml_err( + _response_body, + output, + ) + .map_err(crate::operation::modify_integration::ModifyIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "IntegrationConflictOperationFault" => crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictOperationFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationConflictOperationFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_conflict_operation_fault::de_integration_conflict_operation_fault_xml_err( + _response_body, + output, + ) + .map_err(crate::operation::modify_integration::ModifyIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "IntegrationConflictStateFault" => crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictStateFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationConflictStateFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_conflict_state_fault::de_integration_conflict_state_fault_xml_err( + _response_body, + output, + ) + .map_err(crate::operation::modify_integration::ModifyIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "IntegrationNotFoundFault" => crate::operation::modify_integration::ModifyIntegrationError::IntegrationNotFoundFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::IntegrationNotFoundFaultBuilder::default(); + output = crate::protocol_serde::shape_integration_not_found_fault::de_integration_not_found_fault_xml_err(_response_body, output) + .map_err(crate::operation::modify_integration::ModifyIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + "UnsupportedOperation" => crate::operation::modify_integration::ModifyIntegrationError::UnsupportedOperationFault({ + #[allow(unused_mut)] + let mut tmp = { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::UnsupportedOperationFaultBuilder::default(); + output = crate::protocol_serde::shape_unsupported_operation_fault::de_unsupported_operation_fault_xml_err(_response_body, output) + .map_err(crate::operation::modify_integration::ModifyIntegrationError::unhandled)?; + let output = output.meta(generic); + output.build() + }; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), + _ => crate::operation::modify_integration::ModifyIntegrationError::generic(generic), + }) +} + +#[allow(clippy::unnecessary_wraps)] +pub fn de_modify_integration_http_response( + _response_status: u16, + _response_headers: &::aws_smithy_runtime_api::http::Headers, + _response_body: &[u8], +) -> std::result::Result +{ + Ok({ + #[allow(unused_mut)] + let mut output = crate::operation::modify_integration::builders::ModifyIntegrationOutputBuilder::default(); + output = crate::protocol_serde::shape_modify_integration::de_modify_integration(_response_body, output) + .map_err(crate::operation::modify_integration::ModifyIntegrationError::unhandled)?; + output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string)); + output.build() + }) +} + +#[allow(unused_mut)] +pub fn de_modify_integration( + inp: &[u8], + mut builder: crate::operation::modify_integration::builders::ModifyIntegrationOutputBuilder, +) -> Result { + let mut doc = ::aws_smithy_xml::decode::Document::try_from(inp)?; + + #[allow(unused_mut)] + let mut decoder = doc.root_element()?; + #[allow(unused_variables)] + let start_el = decoder.start_el(); + if !(start_el.matches("ModifyIntegrationResponse")) { + return Err(::aws_smithy_xml::decode::XmlDecodeError::custom(format!( + "invalid root, expected ModifyIntegrationResponse got {:?}", + start_el + ))); + } + if let Some(mut result_tag) = decoder.next_tag() { + let start_el = result_tag.start_el(); + if !(start_el.matches("ModifyIntegrationResult")) { + return Err(::aws_smithy_xml::decode::XmlDecodeError::custom(format!( + "invalid result, expected ModifyIntegrationResult got {:?}", + start_el + ))); + } + while let Some(mut tag) = result_tag.next_tag() { + match tag.start_el() { + s if s.matches("IntegrationArn") /* IntegrationArn com.amazonaws.redshift.synthetic#ModifyIntegrationOutput$IntegrationArn */ => { + let var_1 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_integration_arn(var_1); + } + , + s if s.matches("IntegrationName") /* IntegrationName com.amazonaws.redshift.synthetic#ModifyIntegrationOutput$IntegrationName */ => { + let var_2 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_integration_name(var_2); + } + , + s if s.matches("SourceArn") /* SourceArn com.amazonaws.redshift.synthetic#ModifyIntegrationOutput$SourceArn */ => { + let var_3 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_source_arn(var_3); + } + , + s if s.matches("TargetArn") /* TargetArn com.amazonaws.redshift.synthetic#ModifyIntegrationOutput$TargetArn */ => { + let var_4 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_target_arn(var_4); + } + , + s if s.matches("Status") /* Status com.amazonaws.redshift.synthetic#ModifyIntegrationOutput$Status */ => { + let var_5 = + Some( + Result::::Ok( + crate::types::ZeroEtlIntegrationStatus::from( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + ) + ) + ? + ) + ; + builder = builder.set_status(var_5); + } + , + s if s.matches("Errors") /* Errors com.amazonaws.redshift.synthetic#ModifyIntegrationOutput$Errors */ => { + let var_6 = + Some( + crate::protocol_serde::shape_integration_error_list::de_integration_error_list(&mut tag) + ? + ) + ; + builder = builder.set_errors(var_6); + } + , + s if s.matches("CreateTime") /* CreateTime com.amazonaws.redshift.synthetic#ModifyIntegrationOutput$CreateTime */ => { + let var_7 = + Some( + ::aws_smithy_types::DateTime::from_str( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + , ::aws_smithy_types::date_time::Format::DateTimeWithOffset + ) + .map_err(|_|::aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.redshift#TStamp`)")) + ? + ) + ; + builder = builder.set_create_time(var_7); + } + , + s if s.matches("Description") /* Description com.amazonaws.redshift.synthetic#ModifyIntegrationOutput$Description */ => { + let var_8 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_description(var_8); + } + , + s if s.matches("KMSKeyId") /* KMSKeyId com.amazonaws.redshift.synthetic#ModifyIntegrationOutput$KMSKeyId */ => { + let var_9 = + Some( + Result::<::std::string::String, ::aws_smithy_xml::decode::XmlDecodeError>::Ok( + ::aws_smithy_xml::decode::try_data(&mut tag)?.as_ref() + .into() + ) + ? + ) + ; + builder = builder.set_kms_key_id(var_9); + } + , + s if s.matches("AdditionalEncryptionContext") /* AdditionalEncryptionContext com.amazonaws.redshift.synthetic#ModifyIntegrationOutput$AdditionalEncryptionContext */ => { + let var_10 = + Some( + crate::protocol_serde::shape_encryption_context_map::de_encryption_context_map(&mut tag) + ? + ) + ; + builder = builder.set_additional_encryption_context(var_10); + } + , + s if s.matches("Tags") /* Tags com.amazonaws.redshift.synthetic#ModifyIntegrationOutput$Tags */ => { + let var_11 = + Some( + crate::protocol_serde::shape_tag_list::de_tag_list(&mut tag) + ? + ) + ; + builder = builder.set_tags(var_11); + } + , + _ => {} + } + } + } else { + return Err(::aws_smithy_xml::decode::XmlDecodeError::custom("expected ModifyIntegrationResult tag")); + }; + Ok(builder) +} diff --git a/sdk/redshift/src/protocol_serde/shape_modify_integration_input.rs b/sdk/redshift/src/protocol_serde/shape_modify_integration_input.rs new file mode 100644 index 000000000000..7a59bd0074f4 --- /dev/null +++ b/sdk/redshift/src/protocol_serde/shape_modify_integration_input.rs @@ -0,0 +1,25 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub fn ser_modify_integration_input_input_input( + input: &crate::operation::modify_integration::ModifyIntegrationInput, +) -> Result<::aws_smithy_types::body::SdkBody, ::aws_smithy_types::error::operation::SerializationError> { + let mut out = String::new(); + #[allow(unused_mut)] + let mut writer = ::aws_smithy_query::QueryWriter::new(&mut out, "ModifyIntegration", "2012-12-01"); + #[allow(unused_mut)] + let mut scope_1 = writer.prefix("IntegrationArn"); + if let Some(var_2) = &input.integration_arn { + scope_1.string(var_2); + } + #[allow(unused_mut)] + let mut scope_3 = writer.prefix("Description"); + if let Some(var_4) = &input.description { + scope_3.string(var_4); + } + #[allow(unused_mut)] + let mut scope_5 = writer.prefix("IntegrationName"); + if let Some(var_6) = &input.integration_name { + scope_5.string(var_6); + } + writer.finish(); + Ok(::aws_smithy_types::body::SdkBody::from(out)) +} diff --git a/sdk/redshift/src/serde_util.rs b/sdk/redshift/src/serde_util.rs index 0d91d9e91e95..237f26619a36 100644 --- a/sdk/redshift/src/serde_util.rs +++ b/sdk/redshift/src/serde_util.rs @@ -1,4 +1,13 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub(crate) fn integration_error_correct_errors( + mut builder: crate::types::builders::IntegrationErrorBuilder, +) -> crate::types::builders::IntegrationErrorBuilder { + if builder.error_code.is_none() { + builder.error_code = Some(Default::default()) + } + builder +} + pub(crate) fn pause_cluster_message_correct_errors( mut builder: crate::types::builders::PauseClusterMessageBuilder, ) -> crate::types::builders::PauseClusterMessageBuilder { @@ -26,15 +35,6 @@ pub(crate) fn resume_cluster_message_correct_errors( builder } -pub(crate) fn integration_error_correct_errors( - mut builder: crate::types::builders::IntegrationErrorBuilder, -) -> crate::types::builders::IntegrationErrorBuilder { - if builder.error_code.is_none() { - builder.error_code = Some(Default::default()) - } - builder -} - pub(crate) fn lake_formation_query_correct_errors( mut builder: crate::types::builders::LakeFormationQueryBuilder, ) -> crate::types::builders::LakeFormationQueryBuilder { diff --git a/sdk/redshift/src/types.rs b/sdk/redshift/src/types.rs index 6383a26f7610..d1cdccd08ed4 100644 --- a/sdk/redshift/src/types.rs +++ b/sdk/redshift/src/types.rs @@ -117,6 +117,10 @@ pub use crate::types::_service_authorization::ServiceAuthorization; pub use crate::types::_authorized_token_issuer::AuthorizedTokenIssuer; +pub use crate::types::_integration_error::IntegrationError; + +pub use crate::types::_zero_etl_integration_status::ZeroEtlIntegrationStatus; + pub use crate::types::_event_subscription::EventSubscription; pub use crate::types::_cluster_subnet_group::ClusterSubnetGroup; @@ -177,11 +181,13 @@ pub use crate::types::_node_configuration_options_filter_name::NodeConfiguration pub use crate::types::_action_type::ActionType; -pub use crate::types::_inbound_integration::InboundIntegration; +pub use crate::types::_integration::Integration; -pub use crate::types::_integration_error::IntegrationError; +pub use crate::types::_describe_integrations_filter::DescribeIntegrationsFilter; -pub use crate::types::_zero_etl_integration_status::ZeroEtlIntegrationStatus; +pub use crate::types::_describe_integrations_filter_name::DescribeIntegrationsFilterName; + +pub use crate::types::_inbound_integration::InboundIntegration; pub use crate::types::_hsm_configuration::HsmConfiguration; @@ -311,6 +317,10 @@ mod _deferred_maintenance_window; mod _delete_cluster_snapshot_message; +mod _describe_integrations_filter; + +mod _describe_integrations_filter_name; + mod _ec2_security_group; mod _elastic_ip_status; @@ -339,6 +349,8 @@ mod _impact_ranking_type; mod _inbound_integration; +mod _integration; + mod _integration_error; mod _ip_range; diff --git a/sdk/redshift/src/types/_describe_integrations_filter.rs b/sdk/redshift/src/types/_describe_integrations_filter.rs new file mode 100644 index 000000000000..799f1d1c22ca --- /dev/null +++ b/sdk/redshift/src/types/_describe_integrations_filter.rs @@ -0,0 +1,81 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

                                                                                                  A set of elements to filter the returned integrations.

                                                                                                  +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct DescribeIntegrationsFilter { + ///

                                                                                                  Specifies the type of integration filter.

                                                                                                  + pub name: ::std::option::Option, + ///

                                                                                                  Specifies the values to filter on.

                                                                                                  + pub values: ::std::option::Option<::std::vec::Vec<::std::string::String>>, +} +impl DescribeIntegrationsFilter { + ///

                                                                                                  Specifies the type of integration filter.

                                                                                                  + pub fn name(&self) -> ::std::option::Option<&crate::types::DescribeIntegrationsFilterName> { + self.name.as_ref() + } + ///

                                                                                                  Specifies the values to filter on.

                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.values.is_none()`. + pub fn values(&self) -> &[::std::string::String] { + self.values.as_deref().unwrap_or_default() + } +} +impl DescribeIntegrationsFilter { + /// Creates a new builder-style object to manufacture [`DescribeIntegrationsFilter`](crate::types::DescribeIntegrationsFilter). + pub fn builder() -> crate::types::builders::DescribeIntegrationsFilterBuilder { + crate::types::builders::DescribeIntegrationsFilterBuilder::default() + } +} + +/// A builder for [`DescribeIntegrationsFilter`](crate::types::DescribeIntegrationsFilter). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct DescribeIntegrationsFilterBuilder { + pub(crate) name: ::std::option::Option, + pub(crate) values: ::std::option::Option<::std::vec::Vec<::std::string::String>>, +} +impl DescribeIntegrationsFilterBuilder { + ///

                                                                                                  Specifies the type of integration filter.

                                                                                                  + /// This field is required. + pub fn name(mut self, input: crate::types::DescribeIntegrationsFilterName) -> Self { + self.name = ::std::option::Option::Some(input); + self + } + ///

                                                                                                  Specifies the type of integration filter.

                                                                                                  + pub fn set_name(mut self, input: ::std::option::Option) -> Self { + self.name = input; + self + } + ///

                                                                                                  Specifies the type of integration filter.

                                                                                                  + pub fn get_name(&self) -> &::std::option::Option { + &self.name + } + /// Appends an item to `values`. + /// + /// To override the contents of this collection use [`set_values`](Self::set_values). + /// + ///

                                                                                                  Specifies the values to filter on.

                                                                                                  + pub fn values(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + let mut v = self.values.unwrap_or_default(); + v.push(input.into()); + self.values = ::std::option::Option::Some(v); + self + } + ///

                                                                                                  Specifies the values to filter on.

                                                                                                  + pub fn set_values(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { + self.values = input; + self + } + ///

                                                                                                  Specifies the values to filter on.

                                                                                                  + pub fn get_values(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { + &self.values + } + /// Consumes the builder and constructs a [`DescribeIntegrationsFilter`](crate::types::DescribeIntegrationsFilter). + pub fn build(self) -> crate::types::DescribeIntegrationsFilter { + crate::types::DescribeIntegrationsFilter { + name: self.name, + values: self.values, + } + } +} diff --git a/sdk/redshift/src/types/_describe_integrations_filter_name.rs b/sdk/redshift/src/types/_describe_integrations_filter_name.rs new file mode 100644 index 000000000000..ac126f42e55a --- /dev/null +++ b/sdk/redshift/src/types/_describe_integrations_filter_name.rs @@ -0,0 +1,119 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +/// When writing a match expression against `DescribeIntegrationsFilterName`, it is important to ensure +/// your code is forward-compatible. That is, if a match arm handles a case for a +/// feature that is supported by the service but has not been represented as an enum +/// variant in a current version of SDK, your code should continue to work when you +/// upgrade SDK to a future version in which the enum does include a variant for that +/// feature. +/// +/// Here is an example of how you can make a match expression forward-compatible: +/// +/// ```text +/// # let describeintegrationsfiltername = unimplemented!(); +/// match describeintegrationsfiltername { +/// DescribeIntegrationsFilterName::IntegrationArn => { /* ... */ }, +/// DescribeIntegrationsFilterName::SourceArn => { /* ... */ }, +/// DescribeIntegrationsFilterName::SourceTypes => { /* ... */ }, +/// DescribeIntegrationsFilterName::Status => { /* ... */ }, +/// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ }, +/// _ => { /* ... */ }, +/// } +/// ``` +/// The above code demonstrates that when `describeintegrationsfiltername` represents +/// `NewFeature`, the execution path will lead to the second last match arm, +/// even though the enum does not contain a variant `DescribeIntegrationsFilterName::NewFeature` +/// in the current version of SDK. The reason is that the variable `other`, +/// created by the `@` operator, is bound to +/// `DescribeIntegrationsFilterName::Unknown(UnknownVariantValue("NewFeature".to_owned()))` +/// and calling `as_str` on it yields `"NewFeature"`. +/// This match expression is forward-compatible when executed with a newer +/// version of SDK where the variant `DescribeIntegrationsFilterName::NewFeature` is defined. +/// Specifically, when `describeintegrationsfiltername` represents `NewFeature`, +/// the execution path will hit the second last match arm as before by virtue of +/// calling `as_str` on `DescribeIntegrationsFilterName::NewFeature` also yielding `"NewFeature"`. +/// +/// Explicitly matching on the `Unknown` variant should +/// be avoided for two reasons: +/// - The inner data `UnknownVariantValue` is opaque, and no further information can be extracted. +/// - It might inadvertently shadow other intended match arms. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive( + ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::Ord, ::std::cmp::PartialEq, ::std::cmp::PartialOrd, ::std::fmt::Debug, ::std::hash::Hash, +)] +pub enum DescribeIntegrationsFilterName { + #[allow(missing_docs)] // documentation missing in model + IntegrationArn, + #[allow(missing_docs)] // documentation missing in model + SourceArn, + #[allow(missing_docs)] // documentation missing in model + SourceTypes, + #[allow(missing_docs)] // documentation missing in model + Status, + /// `Unknown` contains new variants that have been added since this code was generated. + #[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")] + Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue), +} +impl ::std::convert::From<&str> for DescribeIntegrationsFilterName { + fn from(s: &str) -> Self { + match s { + "integration-arn" => DescribeIntegrationsFilterName::IntegrationArn, + "source-arn" => DescribeIntegrationsFilterName::SourceArn, + "source-types" => DescribeIntegrationsFilterName::SourceTypes, + "status" => DescribeIntegrationsFilterName::Status, + other => DescribeIntegrationsFilterName::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())), + } + } +} +impl ::std::str::FromStr for DescribeIntegrationsFilterName { + type Err = ::std::convert::Infallible; + + fn from_str(s: &str) -> ::std::result::Result::Err> { + ::std::result::Result::Ok(DescribeIntegrationsFilterName::from(s)) + } +} +impl DescribeIntegrationsFilterName { + /// Returns the `&str` value of the enum member. + pub fn as_str(&self) -> &str { + match self { + DescribeIntegrationsFilterName::IntegrationArn => "integration-arn", + DescribeIntegrationsFilterName::SourceArn => "source-arn", + DescribeIntegrationsFilterName::SourceTypes => "source-types", + DescribeIntegrationsFilterName::Status => "status", + DescribeIntegrationsFilterName::Unknown(value) => value.as_str(), + } + } + /// Returns all the `&str` representations of the enum members. + pub const fn values() -> &'static [&'static str] { + &["integration-arn", "source-arn", "source-types", "status"] + } +} +impl ::std::convert::AsRef for DescribeIntegrationsFilterName { + fn as_ref(&self) -> &str { + self.as_str() + } +} +impl DescribeIntegrationsFilterName { + /// Parses the enum value while disallowing unknown variants. + /// + /// Unknown variants will result in an error. + pub fn try_parse(value: &str) -> ::std::result::Result { + match Self::from(value) { + #[allow(deprecated)] + Self::Unknown(_) => ::std::result::Result::Err(crate::error::UnknownVariantError::new(value)), + known => Ok(known), + } + } +} +impl ::std::fmt::Display for DescribeIntegrationsFilterName { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + match self { + DescribeIntegrationsFilterName::IntegrationArn => write!(f, "integration-arn"), + DescribeIntegrationsFilterName::SourceArn => write!(f, "source-arn"), + DescribeIntegrationsFilterName::SourceTypes => write!(f, "source-types"), + DescribeIntegrationsFilterName::Status => write!(f, "status"), + DescribeIntegrationsFilterName::Unknown(value) => write!(f, "{}", value), + } + } +} diff --git a/sdk/redshift/src/types/_integration.rs b/sdk/redshift/src/types/_integration.rs new file mode 100644 index 000000000000..25c8e02f7e9d --- /dev/null +++ b/sdk/redshift/src/types/_integration.rs @@ -0,0 +1,300 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct Integration { + ///

                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                  + pub integration_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The name of the integration.

                                                                                                  + pub integration_name: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                  + pub source_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                  + pub target_arn: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The current status of the integration.

                                                                                                  + pub status: ::std::option::Option, + ///

                                                                                                  Any errors associated with the integration.

                                                                                                  + pub errors: ::std::option::Option<::std::vec::Vec>, + ///

                                                                                                  The time (UTC) when the integration was created.

                                                                                                  + pub create_time: ::std::option::Option<::aws_smithy_types::DateTime>, + ///

                                                                                                  The description of the integration.

                                                                                                  + pub description: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                  + pub kms_key_id: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                  + pub additional_encryption_context: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + ///

                                                                                                  The list of tags associated with the integration.

                                                                                                  + pub tags: ::std::option::Option<::std::vec::Vec>, +} +impl Integration { + ///

                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                  + pub fn integration_arn(&self) -> ::std::option::Option<&str> { + self.integration_arn.as_deref() + } + ///

                                                                                                  The name of the integration.

                                                                                                  + pub fn integration_name(&self) -> ::std::option::Option<&str> { + self.integration_name.as_deref() + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                  + pub fn source_arn(&self) -> ::std::option::Option<&str> { + self.source_arn.as_deref() + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                  + pub fn target_arn(&self) -> ::std::option::Option<&str> { + self.target_arn.as_deref() + } + ///

                                                                                                  The current status of the integration.

                                                                                                  + pub fn status(&self) -> ::std::option::Option<&crate::types::ZeroEtlIntegrationStatus> { + self.status.as_ref() + } + ///

                                                                                                  Any errors associated with the integration.

                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.errors.is_none()`. + pub fn errors(&self) -> &[crate::types::IntegrationError] { + self.errors.as_deref().unwrap_or_default() + } + ///

                                                                                                  The time (UTC) when the integration was created.

                                                                                                  + pub fn create_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> { + self.create_time.as_ref() + } + ///

                                                                                                  The description of the integration.

                                                                                                  + pub fn description(&self) -> ::std::option::Option<&str> { + self.description.as_deref() + } + ///

                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                  + pub fn kms_key_id(&self) -> ::std::option::Option<&str> { + self.kms_key_id.as_deref() + } + ///

                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                  + pub fn additional_encryption_context(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> { + self.additional_encryption_context.as_ref() + } + ///

                                                                                                  The list of tags associated with the integration.

                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.tags.is_none()`. + pub fn tags(&self) -> &[crate::types::Tag] { + self.tags.as_deref().unwrap_or_default() + } +} +impl Integration { + /// Creates a new builder-style object to manufacture [`Integration`](crate::types::Integration). + pub fn builder() -> crate::types::builders::IntegrationBuilder { + crate::types::builders::IntegrationBuilder::default() + } +} + +/// A builder for [`Integration`](crate::types::Integration). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct IntegrationBuilder { + pub(crate) integration_arn: ::std::option::Option<::std::string::String>, + pub(crate) integration_name: ::std::option::Option<::std::string::String>, + pub(crate) source_arn: ::std::option::Option<::std::string::String>, + pub(crate) target_arn: ::std::option::Option<::std::string::String>, + pub(crate) status: ::std::option::Option, + pub(crate) errors: ::std::option::Option<::std::vec::Vec>, + pub(crate) create_time: ::std::option::Option<::aws_smithy_types::DateTime>, + pub(crate) description: ::std::option::Option<::std::string::String>, + pub(crate) kms_key_id: ::std::option::Option<::std::string::String>, + pub(crate) additional_encryption_context: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + pub(crate) tags: ::std::option::Option<::std::vec::Vec>, +} +impl IntegrationBuilder { + ///

                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                  + pub fn integration_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                  + pub fn set_integration_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_arn = input; + self + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the integration.

                                                                                                  + pub fn get_integration_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_arn + } + ///

                                                                                                  The name of the integration.

                                                                                                  + pub fn integration_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.integration_name = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The name of the integration.

                                                                                                  + pub fn set_integration_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.integration_name = input; + self + } + ///

                                                                                                  The name of the integration.

                                                                                                  + pub fn get_integration_name(&self) -> &::std::option::Option<::std::string::String> { + &self.integration_name + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                  + pub fn source_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.source_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                  + pub fn set_source_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.source_arn = input; + self + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the database used as the source for replication.

                                                                                                  + pub fn get_source_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.source_arn + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                  + pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.target_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                  + pub fn set_target_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.target_arn = input; + self + } + ///

                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.

                                                                                                  + pub fn get_target_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.target_arn + } + ///

                                                                                                  The current status of the integration.

                                                                                                  + pub fn status(mut self, input: crate::types::ZeroEtlIntegrationStatus) -> Self { + self.status = ::std::option::Option::Some(input); + self + } + ///

                                                                                                  The current status of the integration.

                                                                                                  + pub fn set_status(mut self, input: ::std::option::Option) -> Self { + self.status = input; + self + } + ///

                                                                                                  The current status of the integration.

                                                                                                  + pub fn get_status(&self) -> &::std::option::Option { + &self.status + } + /// Appends an item to `errors`. + /// + /// To override the contents of this collection use [`set_errors`](Self::set_errors). + /// + ///

                                                                                                  Any errors associated with the integration.

                                                                                                  + pub fn errors(mut self, input: crate::types::IntegrationError) -> Self { + let mut v = self.errors.unwrap_or_default(); + v.push(input); + self.errors = ::std::option::Option::Some(v); + self + } + ///

                                                                                                  Any errors associated with the integration.

                                                                                                  + pub fn set_errors(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.errors = input; + self + } + ///

                                                                                                  Any errors associated with the integration.

                                                                                                  + pub fn get_errors(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.errors + } + ///

                                                                                                  The time (UTC) when the integration was created.

                                                                                                  + pub fn create_time(mut self, input: ::aws_smithy_types::DateTime) -> Self { + self.create_time = ::std::option::Option::Some(input); + self + } + ///

                                                                                                  The time (UTC) when the integration was created.

                                                                                                  + pub fn set_create_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self { + self.create_time = input; + self + } + ///

                                                                                                  The time (UTC) when the integration was created.

                                                                                                  + pub fn get_create_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> { + &self.create_time + } + ///

                                                                                                  The description of the integration.

                                                                                                  + pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.description = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The description of the integration.

                                                                                                  + pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.description = input; + self + } + ///

                                                                                                  The description of the integration.

                                                                                                  + pub fn get_description(&self) -> &::std::option::Option<::std::string::String> { + &self.description + } + ///

                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                  + pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.kms_key_id = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                  + pub fn set_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.kms_key_id = input; + self + } + ///

                                                                                                  The Key Management Service (KMS) key identifier for the key used to encrypt the integration.

                                                                                                  + pub fn get_kms_key_id(&self) -> &::std::option::Option<::std::string::String> { + &self.kms_key_id + } + /// Adds a key-value pair to `additional_encryption_context`. + /// + /// To override the contents of this collection use [`set_additional_encryption_context`](Self::set_additional_encryption_context). + /// + ///

                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                  + pub fn additional_encryption_context( + mut self, + k: impl ::std::convert::Into<::std::string::String>, + v: impl ::std::convert::Into<::std::string::String>, + ) -> Self { + let mut hash_map = self.additional_encryption_context.unwrap_or_default(); + hash_map.insert(k.into(), v.into()); + self.additional_encryption_context = ::std::option::Option::Some(hash_map); + self + } + ///

                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                  + pub fn set_additional_encryption_context( + mut self, + input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, + ) -> Self { + self.additional_encryption_context = input; + self + } + ///

                                                                                                  The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.

                                                                                                  + pub fn get_additional_encryption_context( + &self, + ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> { + &self.additional_encryption_context + } + /// Appends an item to `tags`. + /// + /// To override the contents of this collection use [`set_tags`](Self::set_tags). + /// + ///

                                                                                                  The list of tags associated with the integration.

                                                                                                  + pub fn tags(mut self, input: crate::types::Tag) -> Self { + let mut v = self.tags.unwrap_or_default(); + v.push(input); + self.tags = ::std::option::Option::Some(v); + self + } + ///

                                                                                                  The list of tags associated with the integration.

                                                                                                  + pub fn set_tags(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.tags = input; + self + } + ///

                                                                                                  The list of tags associated with the integration.

                                                                                                  + pub fn get_tags(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.tags + } + /// Consumes the builder and constructs a [`Integration`](crate::types::Integration). + pub fn build(self) -> crate::types::Integration { + crate::types::Integration { + integration_arn: self.integration_arn, + integration_name: self.integration_name, + source_arn: self.source_arn, + target_arn: self.target_arn, + status: self.status, + errors: self.errors, + create_time: self.create_time, + description: self.description, + kms_key_id: self.kms_key_id, + additional_encryption_context: self.additional_encryption_context, + tags: self.tags, + } + } +} diff --git a/sdk/redshift/src/types/builders.rs b/sdk/redshift/src/types/builders.rs index 432c75539c01..cadae2d71be4 100644 --- a/sdk/redshift/src/types/builders.rs +++ b/sdk/redshift/src/types/builders.rs @@ -81,6 +81,8 @@ pub use crate::types::_lake_formation_query::LakeFormationQueryBuilder; pub use crate::types::_authorized_token_issuer::AuthorizedTokenIssuerBuilder; +pub use crate::types::_integration_error::IntegrationErrorBuilder; + pub use crate::types::_event_subscription::EventSubscriptionBuilder; pub use crate::types::_cluster_subnet_group::ClusterSubnetGroupBuilder; @@ -121,9 +123,11 @@ pub use crate::types::_node_configuration_option::NodeConfigurationOptionBuilder pub use crate::types::_node_configuration_options_filter::NodeConfigurationOptionsFilterBuilder; -pub use crate::types::_inbound_integration::InboundIntegrationBuilder; +pub use crate::types::_integration::IntegrationBuilder; -pub use crate::types::_integration_error::IntegrationErrorBuilder; +pub use crate::types::_describe_integrations_filter::DescribeIntegrationsFilterBuilder; + +pub use crate::types::_inbound_integration::InboundIntegrationBuilder; pub use crate::types::_hsm_configuration::HsmConfigurationBuilder; diff --git a/sdk/redshift/src/types/error.rs b/sdk/redshift/src/types/error.rs index a59cac43cc97..ee92ee364871 100644 --- a/sdk/redshift/src/types/error.rs +++ b/sdk/redshift/src/types/error.rs @@ -125,6 +125,14 @@ pub use crate::types::error::_redshift_idc_application_not_exists_fault::Redshif pub use crate::types::error::_dependent_service_access_denied_fault::DependentServiceAccessDeniedFault; +pub use crate::types::error::_integration_not_found_fault::IntegrationNotFoundFault; + +pub use crate::types::error::_integration_conflict_state_fault::IntegrationConflictStateFault; + +pub use crate::types::error::_integration_conflict_operation_fault::IntegrationConflictOperationFault; + +pub use crate::types::error::_integration_already_exists_fault::IntegrationAlreadyExistsFault; + pub use crate::types::error::_subscription_severity_not_found_fault::SubscriptionSeverityNotFoundFault; pub use crate::types::error::_subscription_not_found_fault::SubscriptionNotFoundFault; @@ -191,8 +199,6 @@ pub use crate::types::error::_resize_not_found_fault::ResizeNotFoundFault; pub use crate::types::error::_reserved_node_exchange_not_found_fault::ReservedNodeExchangeNotFoundFault; -pub use crate::types::error::_integration_not_found_fault::IntegrationNotFoundFault; - pub use crate::types::error::_invalid_snapshot_copy_grant_state_fault::InvalidSnapshotCopyGrantStateFault; pub use crate::types::error::_invalid_hsm_configuration_state_fault::InvalidHsmConfigurationStateFault; @@ -225,6 +231,12 @@ pub use crate::types::error::_redshift_idc_application_quota_exceeded_fault::Red pub use crate::types::error::_redshift_idc_application_already_exists_fault::RedshiftIdcApplicationAlreadyExistsFault; +pub use crate::types::error::_integration_target_not_found_fault::IntegrationTargetNotFoundFault; + +pub use crate::types::error::_integration_source_not_found_fault::IntegrationSourceNotFoundFault; + +pub use crate::types::error::_integration_quota_exceeded_fault::IntegrationQuotaExceededFault; + pub use crate::types::error::_hsm_configuration_quota_exceeded_fault::HsmConfigurationQuotaExceededFault; pub use crate::types::error::_hsm_configuration_already_exists_fault::HsmConfigurationAlreadyExistsFault; @@ -377,8 +389,20 @@ mod _insufficient_cluster_capacity_fault; mod _insufficient_s3_bucket_policy_fault; +mod _integration_already_exists_fault; + +mod _integration_conflict_operation_fault; + +mod _integration_conflict_state_fault; + mod _integration_not_found_fault; +mod _integration_quota_exceeded_fault; + +mod _integration_source_not_found_fault; + +mod _integration_target_not_found_fault; + mod _invalid_authentication_profile_request_fault; mod _invalid_authorization_state_fault; diff --git a/sdk/redshift/src/types/error/_integration_already_exists_fault.rs b/sdk/redshift/src/types/error/_integration_already_exists_fault.rs new file mode 100644 index 000000000000..00370acd3b4c --- /dev/null +++ b/sdk/redshift/src/types/error/_integration_already_exists_fault.rs @@ -0,0 +1,87 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

                                                                                                  The integration you are trying to create already exists.

                                                                                                  +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct IntegrationAlreadyExistsFault { + #[allow(missing_docs)] // documentation missing in model + pub message: ::std::option::Option<::std::string::String>, + pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata, +} +impl IntegrationAlreadyExistsFault { + /// Returns the error message. + pub fn message(&self) -> ::std::option::Option<&str> { + self.message.as_deref() + } +} +impl ::std::fmt::Display for IntegrationAlreadyExistsFault { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + ::std::write!(f, "IntegrationAlreadyExistsFault")?; + if let ::std::option::Option::Some(inner_1) = &self.message { + { + ::std::write!(f, ": {}", inner_1)?; + } + } + Ok(()) + } +} +impl ::std::error::Error for IntegrationAlreadyExistsFault {} +impl ::aws_types::request_id::RequestId for crate::types::error::IntegrationAlreadyExistsFault { + fn request_id(&self) -> Option<&str> { + use ::aws_smithy_types::error::metadata::ProvideErrorMetadata; + self.meta().request_id() + } +} +impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for IntegrationAlreadyExistsFault { + fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + &self.meta + } +} +impl IntegrationAlreadyExistsFault { + /// Creates a new builder-style object to manufacture [`IntegrationAlreadyExistsFault`](crate::types::error::IntegrationAlreadyExistsFault). + pub fn builder() -> crate::types::error::builders::IntegrationAlreadyExistsFaultBuilder { + crate::types::error::builders::IntegrationAlreadyExistsFaultBuilder::default() + } +} + +/// A builder for [`IntegrationAlreadyExistsFault`](crate::types::error::IntegrationAlreadyExistsFault). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct IntegrationAlreadyExistsFaultBuilder { + pub(crate) message: ::std::option::Option<::std::string::String>, + meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>, +} +impl IntegrationAlreadyExistsFaultBuilder { + #[allow(missing_docs)] // documentation missing in model + pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.message = ::std::option::Option::Some(input.into()); + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.message = input; + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn get_message(&self) -> &::std::option::Option<::std::string::String> { + &self.message + } + /// Sets error metadata + pub fn meta(mut self, meta: ::aws_smithy_types::error::ErrorMetadata) -> Self { + self.meta = Some(meta); + self + } + + /// Sets error metadata + pub fn set_meta(&mut self, meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>) -> &mut Self { + self.meta = meta; + self + } + /// Consumes the builder and constructs a [`IntegrationAlreadyExistsFault`](crate::types::error::IntegrationAlreadyExistsFault). + pub fn build(self) -> crate::types::error::IntegrationAlreadyExistsFault { + crate::types::error::IntegrationAlreadyExistsFault { + message: self.message, + meta: self.meta.unwrap_or_default(), + } + } +} diff --git a/sdk/redshift/src/types/error/_integration_conflict_operation_fault.rs b/sdk/redshift/src/types/error/_integration_conflict_operation_fault.rs new file mode 100644 index 000000000000..70f418c57548 --- /dev/null +++ b/sdk/redshift/src/types/error/_integration_conflict_operation_fault.rs @@ -0,0 +1,87 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

                                                                                                  A conflicting conditional operation is currently in progress against this resource. This typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.

                                                                                                  +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct IntegrationConflictOperationFault { + #[allow(missing_docs)] // documentation missing in model + pub message: ::std::option::Option<::std::string::String>, + pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata, +} +impl IntegrationConflictOperationFault { + /// Returns the error message. + pub fn message(&self) -> ::std::option::Option<&str> { + self.message.as_deref() + } +} +impl ::std::fmt::Display for IntegrationConflictOperationFault { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + ::std::write!(f, "IntegrationConflictOperationFault")?; + if let ::std::option::Option::Some(inner_1) = &self.message { + { + ::std::write!(f, ": {}", inner_1)?; + } + } + Ok(()) + } +} +impl ::std::error::Error for IntegrationConflictOperationFault {} +impl ::aws_types::request_id::RequestId for crate::types::error::IntegrationConflictOperationFault { + fn request_id(&self) -> Option<&str> { + use ::aws_smithy_types::error::metadata::ProvideErrorMetadata; + self.meta().request_id() + } +} +impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for IntegrationConflictOperationFault { + fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + &self.meta + } +} +impl IntegrationConflictOperationFault { + /// Creates a new builder-style object to manufacture [`IntegrationConflictOperationFault`](crate::types::error::IntegrationConflictOperationFault). + pub fn builder() -> crate::types::error::builders::IntegrationConflictOperationFaultBuilder { + crate::types::error::builders::IntegrationConflictOperationFaultBuilder::default() + } +} + +/// A builder for [`IntegrationConflictOperationFault`](crate::types::error::IntegrationConflictOperationFault). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct IntegrationConflictOperationFaultBuilder { + pub(crate) message: ::std::option::Option<::std::string::String>, + meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>, +} +impl IntegrationConflictOperationFaultBuilder { + #[allow(missing_docs)] // documentation missing in model + pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.message = ::std::option::Option::Some(input.into()); + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.message = input; + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn get_message(&self) -> &::std::option::Option<::std::string::String> { + &self.message + } + /// Sets error metadata + pub fn meta(mut self, meta: ::aws_smithy_types::error::ErrorMetadata) -> Self { + self.meta = Some(meta); + self + } + + /// Sets error metadata + pub fn set_meta(&mut self, meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>) -> &mut Self { + self.meta = meta; + self + } + /// Consumes the builder and constructs a [`IntegrationConflictOperationFault`](crate::types::error::IntegrationConflictOperationFault). + pub fn build(self) -> crate::types::error::IntegrationConflictOperationFault { + crate::types::error::IntegrationConflictOperationFault { + message: self.message, + meta: self.meta.unwrap_or_default(), + } + } +} diff --git a/sdk/redshift/src/types/error/_integration_conflict_state_fault.rs b/sdk/redshift/src/types/error/_integration_conflict_state_fault.rs new file mode 100644 index 000000000000..2a6ec8a72da4 --- /dev/null +++ b/sdk/redshift/src/types/error/_integration_conflict_state_fault.rs @@ -0,0 +1,87 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

                                                                                                  The integration is in an invalid state and can't perform the requested operation.

                                                                                                  +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct IntegrationConflictStateFault { + #[allow(missing_docs)] // documentation missing in model + pub message: ::std::option::Option<::std::string::String>, + pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata, +} +impl IntegrationConflictStateFault { + /// Returns the error message. + pub fn message(&self) -> ::std::option::Option<&str> { + self.message.as_deref() + } +} +impl ::std::fmt::Display for IntegrationConflictStateFault { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + ::std::write!(f, "IntegrationConflictStateFault")?; + if let ::std::option::Option::Some(inner_1) = &self.message { + { + ::std::write!(f, ": {}", inner_1)?; + } + } + Ok(()) + } +} +impl ::std::error::Error for IntegrationConflictStateFault {} +impl ::aws_types::request_id::RequestId for crate::types::error::IntegrationConflictStateFault { + fn request_id(&self) -> Option<&str> { + use ::aws_smithy_types::error::metadata::ProvideErrorMetadata; + self.meta().request_id() + } +} +impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for IntegrationConflictStateFault { + fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + &self.meta + } +} +impl IntegrationConflictStateFault { + /// Creates a new builder-style object to manufacture [`IntegrationConflictStateFault`](crate::types::error::IntegrationConflictStateFault). + pub fn builder() -> crate::types::error::builders::IntegrationConflictStateFaultBuilder { + crate::types::error::builders::IntegrationConflictStateFaultBuilder::default() + } +} + +/// A builder for [`IntegrationConflictStateFault`](crate::types::error::IntegrationConflictStateFault). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct IntegrationConflictStateFaultBuilder { + pub(crate) message: ::std::option::Option<::std::string::String>, + meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>, +} +impl IntegrationConflictStateFaultBuilder { + #[allow(missing_docs)] // documentation missing in model + pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.message = ::std::option::Option::Some(input.into()); + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.message = input; + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn get_message(&self) -> &::std::option::Option<::std::string::String> { + &self.message + } + /// Sets error metadata + pub fn meta(mut self, meta: ::aws_smithy_types::error::ErrorMetadata) -> Self { + self.meta = Some(meta); + self + } + + /// Sets error metadata + pub fn set_meta(&mut self, meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>) -> &mut Self { + self.meta = meta; + self + } + /// Consumes the builder and constructs a [`IntegrationConflictStateFault`](crate::types::error::IntegrationConflictStateFault). + pub fn build(self) -> crate::types::error::IntegrationConflictStateFault { + crate::types::error::IntegrationConflictStateFault { + message: self.message, + meta: self.meta.unwrap_or_default(), + } + } +} diff --git a/sdk/redshift/src/types/error/_integration_quota_exceeded_fault.rs b/sdk/redshift/src/types/error/_integration_quota_exceeded_fault.rs new file mode 100644 index 000000000000..9ba1dbcb5b68 --- /dev/null +++ b/sdk/redshift/src/types/error/_integration_quota_exceeded_fault.rs @@ -0,0 +1,87 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

                                                                                                  You can't create any more zero-ETL integrations because the quota has been reached.

                                                                                                  +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct IntegrationQuotaExceededFault { + #[allow(missing_docs)] // documentation missing in model + pub message: ::std::option::Option<::std::string::String>, + pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata, +} +impl IntegrationQuotaExceededFault { + /// Returns the error message. + pub fn message(&self) -> ::std::option::Option<&str> { + self.message.as_deref() + } +} +impl ::std::fmt::Display for IntegrationQuotaExceededFault { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + ::std::write!(f, "IntegrationQuotaExceededFault")?; + if let ::std::option::Option::Some(inner_1) = &self.message { + { + ::std::write!(f, ": {}", inner_1)?; + } + } + Ok(()) + } +} +impl ::std::error::Error for IntegrationQuotaExceededFault {} +impl ::aws_types::request_id::RequestId for crate::types::error::IntegrationQuotaExceededFault { + fn request_id(&self) -> Option<&str> { + use ::aws_smithy_types::error::metadata::ProvideErrorMetadata; + self.meta().request_id() + } +} +impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for IntegrationQuotaExceededFault { + fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + &self.meta + } +} +impl IntegrationQuotaExceededFault { + /// Creates a new builder-style object to manufacture [`IntegrationQuotaExceededFault`](crate::types::error::IntegrationQuotaExceededFault). + pub fn builder() -> crate::types::error::builders::IntegrationQuotaExceededFaultBuilder { + crate::types::error::builders::IntegrationQuotaExceededFaultBuilder::default() + } +} + +/// A builder for [`IntegrationQuotaExceededFault`](crate::types::error::IntegrationQuotaExceededFault). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct IntegrationQuotaExceededFaultBuilder { + pub(crate) message: ::std::option::Option<::std::string::String>, + meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>, +} +impl IntegrationQuotaExceededFaultBuilder { + #[allow(missing_docs)] // documentation missing in model + pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.message = ::std::option::Option::Some(input.into()); + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.message = input; + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn get_message(&self) -> &::std::option::Option<::std::string::String> { + &self.message + } + /// Sets error metadata + pub fn meta(mut self, meta: ::aws_smithy_types::error::ErrorMetadata) -> Self { + self.meta = Some(meta); + self + } + + /// Sets error metadata + pub fn set_meta(&mut self, meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>) -> &mut Self { + self.meta = meta; + self + } + /// Consumes the builder and constructs a [`IntegrationQuotaExceededFault`](crate::types::error::IntegrationQuotaExceededFault). + pub fn build(self) -> crate::types::error::IntegrationQuotaExceededFault { + crate::types::error::IntegrationQuotaExceededFault { + message: self.message, + meta: self.meta.unwrap_or_default(), + } + } +} diff --git a/sdk/redshift/src/types/error/_integration_source_not_found_fault.rs b/sdk/redshift/src/types/error/_integration_source_not_found_fault.rs new file mode 100644 index 000000000000..0e9c1b47784f --- /dev/null +++ b/sdk/redshift/src/types/error/_integration_source_not_found_fault.rs @@ -0,0 +1,87 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

                                                                                                  The specified integration source can't be found.

                                                                                                  +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct IntegrationSourceNotFoundFault { + #[allow(missing_docs)] // documentation missing in model + pub message: ::std::option::Option<::std::string::String>, + pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata, +} +impl IntegrationSourceNotFoundFault { + /// Returns the error message. + pub fn message(&self) -> ::std::option::Option<&str> { + self.message.as_deref() + } +} +impl ::std::fmt::Display for IntegrationSourceNotFoundFault { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + ::std::write!(f, "IntegrationSourceNotFoundFault")?; + if let ::std::option::Option::Some(inner_1) = &self.message { + { + ::std::write!(f, ": {}", inner_1)?; + } + } + Ok(()) + } +} +impl ::std::error::Error for IntegrationSourceNotFoundFault {} +impl ::aws_types::request_id::RequestId for crate::types::error::IntegrationSourceNotFoundFault { + fn request_id(&self) -> Option<&str> { + use ::aws_smithy_types::error::metadata::ProvideErrorMetadata; + self.meta().request_id() + } +} +impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for IntegrationSourceNotFoundFault { + fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + &self.meta + } +} +impl IntegrationSourceNotFoundFault { + /// Creates a new builder-style object to manufacture [`IntegrationSourceNotFoundFault`](crate::types::error::IntegrationSourceNotFoundFault). + pub fn builder() -> crate::types::error::builders::IntegrationSourceNotFoundFaultBuilder { + crate::types::error::builders::IntegrationSourceNotFoundFaultBuilder::default() + } +} + +/// A builder for [`IntegrationSourceNotFoundFault`](crate::types::error::IntegrationSourceNotFoundFault). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct IntegrationSourceNotFoundFaultBuilder { + pub(crate) message: ::std::option::Option<::std::string::String>, + meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>, +} +impl IntegrationSourceNotFoundFaultBuilder { + #[allow(missing_docs)] // documentation missing in model + pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.message = ::std::option::Option::Some(input.into()); + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.message = input; + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn get_message(&self) -> &::std::option::Option<::std::string::String> { + &self.message + } + /// Sets error metadata + pub fn meta(mut self, meta: ::aws_smithy_types::error::ErrorMetadata) -> Self { + self.meta = Some(meta); + self + } + + /// Sets error metadata + pub fn set_meta(&mut self, meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>) -> &mut Self { + self.meta = meta; + self + } + /// Consumes the builder and constructs a [`IntegrationSourceNotFoundFault`](crate::types::error::IntegrationSourceNotFoundFault). + pub fn build(self) -> crate::types::error::IntegrationSourceNotFoundFault { + crate::types::error::IntegrationSourceNotFoundFault { + message: self.message, + meta: self.meta.unwrap_or_default(), + } + } +} diff --git a/sdk/redshift/src/types/error/_integration_target_not_found_fault.rs b/sdk/redshift/src/types/error/_integration_target_not_found_fault.rs new file mode 100644 index 000000000000..9dd40a1143af --- /dev/null +++ b/sdk/redshift/src/types/error/_integration_target_not_found_fault.rs @@ -0,0 +1,87 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

                                                                                                  The specified integration target can't be found.

                                                                                                  +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct IntegrationTargetNotFoundFault { + #[allow(missing_docs)] // documentation missing in model + pub message: ::std::option::Option<::std::string::String>, + pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata, +} +impl IntegrationTargetNotFoundFault { + /// Returns the error message. + pub fn message(&self) -> ::std::option::Option<&str> { + self.message.as_deref() + } +} +impl ::std::fmt::Display for IntegrationTargetNotFoundFault { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + ::std::write!(f, "IntegrationTargetNotFoundFault")?; + if let ::std::option::Option::Some(inner_1) = &self.message { + { + ::std::write!(f, ": {}", inner_1)?; + } + } + Ok(()) + } +} +impl ::std::error::Error for IntegrationTargetNotFoundFault {} +impl ::aws_types::request_id::RequestId for crate::types::error::IntegrationTargetNotFoundFault { + fn request_id(&self) -> Option<&str> { + use ::aws_smithy_types::error::metadata::ProvideErrorMetadata; + self.meta().request_id() + } +} +impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for IntegrationTargetNotFoundFault { + fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { + &self.meta + } +} +impl IntegrationTargetNotFoundFault { + /// Creates a new builder-style object to manufacture [`IntegrationTargetNotFoundFault`](crate::types::error::IntegrationTargetNotFoundFault). + pub fn builder() -> crate::types::error::builders::IntegrationTargetNotFoundFaultBuilder { + crate::types::error::builders::IntegrationTargetNotFoundFaultBuilder::default() + } +} + +/// A builder for [`IntegrationTargetNotFoundFault`](crate::types::error::IntegrationTargetNotFoundFault). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct IntegrationTargetNotFoundFaultBuilder { + pub(crate) message: ::std::option::Option<::std::string::String>, + meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>, +} +impl IntegrationTargetNotFoundFaultBuilder { + #[allow(missing_docs)] // documentation missing in model + pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.message = ::std::option::Option::Some(input.into()); + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.message = input; + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn get_message(&self) -> &::std::option::Option<::std::string::String> { + &self.message + } + /// Sets error metadata + pub fn meta(mut self, meta: ::aws_smithy_types::error::ErrorMetadata) -> Self { + self.meta = Some(meta); + self + } + + /// Sets error metadata + pub fn set_meta(&mut self, meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>) -> &mut Self { + self.meta = meta; + self + } + /// Consumes the builder and constructs a [`IntegrationTargetNotFoundFault`](crate::types::error::IntegrationTargetNotFoundFault). + pub fn build(self) -> crate::types::error::IntegrationTargetNotFoundFault { + crate::types::error::IntegrationTargetNotFoundFault { + message: self.message, + meta: self.meta.unwrap_or_default(), + } + } +} diff --git a/sdk/redshift/src/types/error/builders.rs b/sdk/redshift/src/types/error/builders.rs index 5cb761c9bb49..52717777fd29 100644 --- a/sdk/redshift/src/types/error/builders.rs +++ b/sdk/redshift/src/types/error/builders.rs @@ -125,6 +125,14 @@ pub use crate::types::error::_redshift_idc_application_not_exists_fault::Redshif pub use crate::types::error::_dependent_service_access_denied_fault::DependentServiceAccessDeniedFaultBuilder; +pub use crate::types::error::_integration_not_found_fault::IntegrationNotFoundFaultBuilder; + +pub use crate::types::error::_integration_conflict_state_fault::IntegrationConflictStateFaultBuilder; + +pub use crate::types::error::_integration_conflict_operation_fault::IntegrationConflictOperationFaultBuilder; + +pub use crate::types::error::_integration_already_exists_fault::IntegrationAlreadyExistsFaultBuilder; + pub use crate::types::error::_subscription_severity_not_found_fault::SubscriptionSeverityNotFoundFaultBuilder; pub use crate::types::error::_subscription_not_found_fault::SubscriptionNotFoundFaultBuilder; @@ -191,8 +199,6 @@ pub use crate::types::error::_resize_not_found_fault::ResizeNotFoundFaultBuilder pub use crate::types::error::_reserved_node_exchange_not_found_fault::ReservedNodeExchangeNotFoundFaultBuilder; -pub use crate::types::error::_integration_not_found_fault::IntegrationNotFoundFaultBuilder; - pub use crate::types::error::_invalid_snapshot_copy_grant_state_fault::InvalidSnapshotCopyGrantStateFaultBuilder; pub use crate::types::error::_invalid_hsm_configuration_state_fault::InvalidHsmConfigurationStateFaultBuilder; @@ -225,6 +231,12 @@ pub use crate::types::error::_redshift_idc_application_quota_exceeded_fault::Red pub use crate::types::error::_redshift_idc_application_already_exists_fault::RedshiftIdcApplicationAlreadyExistsFaultBuilder; +pub use crate::types::error::_integration_target_not_found_fault::IntegrationTargetNotFoundFaultBuilder; + +pub use crate::types::error::_integration_source_not_found_fault::IntegrationSourceNotFoundFaultBuilder; + +pub use crate::types::error::_integration_quota_exceeded_fault::IntegrationQuotaExceededFaultBuilder; + pub use crate::types::error::_hsm_configuration_quota_exceeded_fault::HsmConfigurationQuotaExceededFaultBuilder; pub use crate::types::error::_hsm_configuration_already_exists_fault::HsmConfigurationAlreadyExistsFaultBuilder; diff --git a/sdk/resiliencehub/Cargo.toml b/sdk/resiliencehub/Cargo.toml index 9a56ef8e6250..e11000207151 100644 --- a/sdk/resiliencehub/Cargo.toml +++ b/sdk/resiliencehub/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-resiliencehub" -version = "1.47.0" +version = "1.48.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for AWS Resilience Hub" edition = "2021" diff --git a/sdk/resiliencehub/README.md b/sdk/resiliencehub/README.md index 4239507c36b2..2cab01374a5f 100644 --- a/sdk/resiliencehub/README.md +++ b/sdk/resiliencehub/README.md @@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file: ```toml [dependencies] aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -aws-sdk-resiliencehub = "1.47.0" +aws-sdk-resiliencehub = "1.48.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/resiliencehub/src/client/create_app.rs b/sdk/resiliencehub/src/client/create_app.rs index 8971f951a231..221b370a322e 100644 --- a/sdk/resiliencehub/src/client/create_app.rs +++ b/sdk/resiliencehub/src/client/create_app.rs @@ -11,6 +11,7 @@ impl super::Client { /// - [`assessment_schedule(AppAssessmentScheduleType)`](crate::operation::create_app::builders::CreateAppFluentBuilder::assessment_schedule) / [`set_assessment_schedule(Option)`](crate::operation::create_app::builders::CreateAppFluentBuilder::set_assessment_schedule):
                                                                                                  required: **false**

                                                                                                  Assessment execution schedule with 'Daily' or 'Disabled' values.


                                                                                                  /// - [`permission_model(PermissionModel)`](crate::operation::create_app::builders::CreateAppFluentBuilder::permission_model) / [`set_permission_model(Option)`](crate::operation::create_app::builders::CreateAppFluentBuilder::set_permission_model):
                                                                                                  required: **false**

                                                                                                  Defines the roles and credentials that Resilience Hub would use while creating the application, importing its resources, and running an assessment.


                                                                                                  /// - [`event_subscriptions(EventSubscription)`](crate::operation::create_app::builders::CreateAppFluentBuilder::event_subscriptions) / [`set_event_subscriptions(Option>)`](crate::operation::create_app::builders::CreateAppFluentBuilder::set_event_subscriptions):
                                                                                                  required: **false**

                                                                                                  The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports only Drift detected and Scheduled assessment failure events notification.


                                                                                                  + /// - [`aws_application_arn(impl Into)`](crate::operation::create_app::builders::CreateAppFluentBuilder::aws_application_arn) / [`set_aws_application_arn(Option)`](crate::operation::create_app::builders::CreateAppFluentBuilder::set_aws_application_arn):
                                                                                                  required: **false**

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.


                                                                                                  /// - On success, responds with [`CreateAppOutput`](crate::operation::create_app::CreateAppOutput) with field(s): /// - [`app(Option)`](crate::operation::create_app::CreateAppOutput::app):

                                                                                                  The created application returned as an object with details including compliance status, creation time, description, resiliency score, and more.

                                                                                                  /// - On failure, responds with [`SdkError`](crate::operation::create_app::CreateAppError) diff --git a/sdk/resiliencehub/src/client/describe_draft_app_version_resources_import_status.rs b/sdk/resiliencehub/src/client/describe_draft_app_version_resources_import_status.rs index db753ea7e9ac..010c72417aa5 100644 --- a/sdk/resiliencehub/src/client/describe_draft_app_version_resources_import_status.rs +++ b/sdk/resiliencehub/src/client/describe_draft_app_version_resources_import_status.rs @@ -9,7 +9,8 @@ impl super::Client { /// - [`app_version(String)`](crate::operation::describe_draft_app_version_resources_import_status::DescribeDraftAppVersionResourcesImportStatusOutput::app_version):

                                                                                                  The version of the application.

                                                                                                  /// - [`status(ResourceImportStatusType)`](crate::operation::describe_draft_app_version_resources_import_status::DescribeDraftAppVersionResourcesImportStatusOutput::status):

                                                                                                  Status of the action.

                                                                                                  /// - [`status_change_time(DateTime)`](crate::operation::describe_draft_app_version_resources_import_status::DescribeDraftAppVersionResourcesImportStatusOutput::status_change_time):

                                                                                                  The time when the status last changed.

                                                                                                  - /// - [`error_message(Option)`](crate::operation::describe_draft_app_version_resources_import_status::DescribeDraftAppVersionResourcesImportStatusOutput::error_message):

                                                                                                  The returned error message for the request.

                                                                                                  + /// - [`error_message(Option)`](crate::operation::describe_draft_app_version_resources_import_status::DescribeDraftAppVersionResourcesImportStatusOutput::error_message):

                                                                                                  The error message returned for the resource request.

                                                                                                  + /// - [`error_details(Option>)`](crate::operation::describe_draft_app_version_resources_import_status::DescribeDraftAppVersionResourcesImportStatusOutput::error_details):

                                                                                                  List of errors that were encountered while importing resources.

                                                                                                  /// - On failure, responds with [`SdkError`](crate::operation::describe_draft_app_version_resources_import_status::DescribeDraftAppVersionResourcesImportStatusError) pub fn describe_draft_app_version_resources_import_status( &self, diff --git a/sdk/resiliencehub/src/client/list_apps.rs b/sdk/resiliencehub/src/client/list_apps.rs index 1aa96415c3a8..7bb7cff3da43 100644 --- a/sdk/resiliencehub/src/client/list_apps.rs +++ b/sdk/resiliencehub/src/client/list_apps.rs @@ -11,6 +11,7 @@ impl super::Client { /// - [`from_last_assessment_time(DateTime)`](crate::operation::list_apps::builders::ListAppsFluentBuilder::from_last_assessment_time) / [`set_from_last_assessment_time(Option)`](crate::operation::list_apps::builders::ListAppsFluentBuilder::set_from_last_assessment_time):
                                                                                                  required: **false**

                                                                                                  Indicates the lower limit of the range that is used to filter applications based on their last assessment times.


                                                                                                  /// - [`to_last_assessment_time(DateTime)`](crate::operation::list_apps::builders::ListAppsFluentBuilder::to_last_assessment_time) / [`set_to_last_assessment_time(Option)`](crate::operation::list_apps::builders::ListAppsFluentBuilder::set_to_last_assessment_time):
                                                                                                  required: **false**

                                                                                                  Indicates the upper limit of the range that is used to filter the applications based on their last assessment times.


                                                                                                  /// - [`reverse_order(bool)`](crate::operation::list_apps::builders::ListAppsFluentBuilder::reverse_order) / [`set_reverse_order(Option)`](crate::operation::list_apps::builders::ListAppsFluentBuilder::set_reverse_order):
                                                                                                  required: **false**

                                                                                                  The application list is sorted based on the values of lastAppComplianceEvaluationTime field. By default, application list is sorted in ascending order. To sort the application list in descending order, set this field to True.


                                                                                                  + /// - [`aws_application_arn(impl Into)`](crate::operation::list_apps::builders::ListAppsFluentBuilder::aws_application_arn) / [`set_aws_application_arn(Option)`](crate::operation::list_apps::builders::ListAppsFluentBuilder::set_aws_application_arn):
                                                                                                  required: **false**

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.


                                                                                                  /// - On success, responds with [`ListAppsOutput`](crate::operation::list_apps::ListAppsOutput) with field(s): /// - [`app_summaries(Vec::)`](crate::operation::list_apps::ListAppsOutput::app_summaries):

                                                                                                  Summaries for the Resilience Hub application.

                                                                                                  /// - [`next_token(Option)`](crate::operation::list_apps::ListAppsOutput::next_token):

                                                                                                  Token for the next set of results, or null if there are no more results.

                                                                                                  diff --git a/sdk/resiliencehub/src/lib.rs b/sdk/resiliencehub/src/lib.rs index 7ebb7670124d..1701cff41408 100644 --- a/sdk/resiliencehub/src/lib.rs +++ b/sdk/resiliencehub/src/lib.rs @@ -31,7 +31,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-resiliencehub = "1.47.0" +//! aws-sdk-resiliencehub = "1.48.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/resiliencehub/src/operation/create_app/_create_app_input.rs b/sdk/resiliencehub/src/operation/create_app/_create_app_input.rs index b65ba496776c..37e3122a7c7c 100644 --- a/sdk/resiliencehub/src/operation/create_app/_create_app_input.rs +++ b/sdk/resiliencehub/src/operation/create_app/_create_app_input.rs @@ -19,6 +19,8 @@ pub struct CreateAppInput { pub permission_model: ::std::option::Option, ///

                                                                                                  The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports only Drift detected and Scheduled assessment failure events notification.

                                                                                                  pub event_subscriptions: ::std::option::Option<::std::vec::Vec>, + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub aws_application_arn: ::std::option::Option<::std::string::String>, } impl CreateAppInput { ///

                                                                                                  Name of the application.

                                                                                                  @@ -55,6 +57,10 @@ impl CreateAppInput { pub fn event_subscriptions(&self) -> &[crate::types::EventSubscription] { self.event_subscriptions.as_deref().unwrap_or_default() } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn aws_application_arn(&self) -> ::std::option::Option<&str> { + self.aws_application_arn.as_deref() + } } impl ::std::fmt::Debug for CreateAppInput { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { @@ -67,6 +73,7 @@ impl ::std::fmt::Debug for CreateAppInput { formatter.field("assessment_schedule", &self.assessment_schedule); formatter.field("permission_model", &self.permission_model); formatter.field("event_subscriptions", &self.event_subscriptions); + formatter.field("aws_application_arn", &self.aws_application_arn); formatter.finish() } } @@ -89,6 +96,7 @@ pub struct CreateAppInputBuilder { pub(crate) assessment_schedule: ::std::option::Option, pub(crate) permission_model: ::std::option::Option, pub(crate) event_subscriptions: ::std::option::Option<::std::vec::Vec>, + pub(crate) aws_application_arn: ::std::option::Option<::std::string::String>, } impl CreateAppInputBuilder { ///

                                                                                                  Name of the application.

                                                                                                  @@ -216,6 +224,20 @@ impl CreateAppInputBuilder { pub fn get_event_subscriptions(&self) -> &::std::option::Option<::std::vec::Vec> { &self.event_subscriptions } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn aws_application_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.aws_application_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn set_aws_application_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.aws_application_arn = input; + self + } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn get_aws_application_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.aws_application_arn + } /// Consumes the builder and constructs a [`CreateAppInput`](crate::operation::create_app::CreateAppInput). pub fn build(self) -> ::std::result::Result { ::std::result::Result::Ok(crate::operation::create_app::CreateAppInput { @@ -227,6 +249,7 @@ impl CreateAppInputBuilder { assessment_schedule: self.assessment_schedule, permission_model: self.permission_model, event_subscriptions: self.event_subscriptions, + aws_application_arn: self.aws_application_arn, }) } } @@ -241,6 +264,7 @@ impl ::std::fmt::Debug for CreateAppInputBuilder { formatter.field("assessment_schedule", &self.assessment_schedule); formatter.field("permission_model", &self.permission_model); formatter.field("event_subscriptions", &self.event_subscriptions); + formatter.field("aws_application_arn", &self.aws_application_arn); formatter.finish() } } diff --git a/sdk/resiliencehub/src/operation/create_app/builders.rs b/sdk/resiliencehub/src/operation/create_app/builders.rs index ae9f784fbf84..9191247517bc 100644 --- a/sdk/resiliencehub/src/operation/create_app/builders.rs +++ b/sdk/resiliencehub/src/operation/create_app/builders.rs @@ -225,4 +225,18 @@ impl CreateAppFluentBuilder { pub fn get_event_subscriptions(&self) -> &::std::option::Option<::std::vec::Vec> { self.inner.get_event_subscriptions() } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn aws_application_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.aws_application_arn(input.into()); + self + } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn set_aws_application_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_aws_application_arn(input); + self + } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn get_aws_application_arn(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_aws_application_arn() + } } diff --git a/sdk/resiliencehub/src/operation/describe_draft_app_version_resources_import_status/_describe_draft_app_version_resources_import_status_output.rs b/sdk/resiliencehub/src/operation/describe_draft_app_version_resources_import_status/_describe_draft_app_version_resources_import_status_output.rs index 764445df86ba..dd7b910871fe 100644 --- a/sdk/resiliencehub/src/operation/describe_draft_app_version_resources_import_status/_describe_draft_app_version_resources_import_status_output.rs +++ b/sdk/resiliencehub/src/operation/describe_draft_app_version_resources_import_status/_describe_draft_app_version_resources_import_status_output.rs @@ -11,8 +11,10 @@ pub struct DescribeDraftAppVersionResourcesImportStatusOutput { pub status: crate::types::ResourceImportStatusType, ///

                                                                                                  The time when the status last changed.

                                                                                                  pub status_change_time: ::aws_smithy_types::DateTime, - ///

                                                                                                  The returned error message for the request.

                                                                                                  + ///

                                                                                                  The error message returned for the resource request.

                                                                                                  pub error_message: ::std::option::Option<::std::string::String>, + ///

                                                                                                  List of errors that were encountered while importing resources.

                                                                                                  + pub error_details: ::std::option::Option<::std::vec::Vec>, _request_id: Option, } impl DescribeDraftAppVersionResourcesImportStatusOutput { @@ -34,10 +36,16 @@ impl DescribeDraftAppVersionResourcesImportStatusOutput { pub fn status_change_time(&self) -> &::aws_smithy_types::DateTime { &self.status_change_time } - ///

                                                                                                  The returned error message for the request.

                                                                                                  + ///

                                                                                                  The error message returned for the resource request.

                                                                                                  pub fn error_message(&self) -> ::std::option::Option<&str> { self.error_message.as_deref() } + ///

                                                                                                  List of errors that were encountered while importing resources.

                                                                                                  + /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.error_details.is_none()`. + pub fn error_details(&self) -> &[crate::types::ErrorDetail] { + self.error_details.as_deref().unwrap_or_default() + } } impl ::aws_types::request_id::RequestId for DescribeDraftAppVersionResourcesImportStatusOutput { fn request_id(&self) -> Option<&str> { @@ -62,6 +70,7 @@ pub struct DescribeDraftAppVersionResourcesImportStatusOutputBuilder { pub(crate) status: ::std::option::Option, pub(crate) status_change_time: ::std::option::Option<::aws_smithy_types::DateTime>, pub(crate) error_message: ::std::option::Option<::std::string::String>, + pub(crate) error_details: ::std::option::Option<::std::vec::Vec>, _request_id: Option, } impl DescribeDraftAppVersionResourcesImportStatusOutputBuilder { @@ -125,20 +134,40 @@ impl DescribeDraftAppVersionResourcesImportStatusOutputBuilder { pub fn get_status_change_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> { &self.status_change_time } - ///

                                                                                                  The returned error message for the request.

                                                                                                  + ///

                                                                                                  The error message returned for the resource request.

                                                                                                  pub fn error_message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.error_message = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                  The returned error message for the request.

                                                                                                  + ///

                                                                                                  The error message returned for the resource request.

                                                                                                  pub fn set_error_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.error_message = input; self } - ///

                                                                                                  The returned error message for the request.

                                                                                                  + ///

                                                                                                  The error message returned for the resource request.

                                                                                                  pub fn get_error_message(&self) -> &::std::option::Option<::std::string::String> { &self.error_message } + /// Appends an item to `error_details`. + /// + /// To override the contents of this collection use [`set_error_details`](Self::set_error_details). + /// + ///

                                                                                                  List of errors that were encountered while importing resources.

                                                                                                  + pub fn error_details(mut self, input: crate::types::ErrorDetail) -> Self { + let mut v = self.error_details.unwrap_or_default(); + v.push(input); + self.error_details = ::std::option::Option::Some(v); + self + } + ///

                                                                                                  List of errors that were encountered while importing resources.

                                                                                                  + pub fn set_error_details(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.error_details = input; + self + } + ///

                                                                                                  List of errors that were encountered while importing resources.

                                                                                                  + pub fn get_error_details(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.error_details + } pub(crate) fn _request_id(mut self, request_id: impl Into) -> Self { self._request_id = Some(request_id.into()); self @@ -187,6 +216,7 @@ impl DescribeDraftAppVersionResourcesImportStatusOutputBuilder { ) })?, error_message: self.error_message, + error_details: self.error_details, _request_id: self._request_id, }, ) diff --git a/sdk/resiliencehub/src/operation/list_app_assessment_compliance_drifts/builders.rs b/sdk/resiliencehub/src/operation/list_app_assessment_compliance_drifts/builders.rs index 53daf103af83..dabc93f6772a 100644 --- a/sdk/resiliencehub/src/operation/list_app_assessment_compliance_drifts/builders.rs +++ b/sdk/resiliencehub/src/operation/list_app_assessment_compliance_drifts/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::list_app_assessment_compliance_drifts::builders::ListAppA } /// Fluent builder constructing a request to `ListAppAssessmentComplianceDrifts`. /// -///

                                                                                                  List of compliance drifts that were detected while running an assessment.

                                                                                                  +///

                                                                                                  Indicates the list of compliance drifts that were detected while running an assessment.

                                                                                                  #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct ListAppAssessmentComplianceDriftsFluentBuilder { handle: ::std::sync::Arc, diff --git a/sdk/resiliencehub/src/operation/list_apps.rs b/sdk/resiliencehub/src/operation/list_apps.rs index f62e30084a89..b5f7bcb717bd 100644 --- a/sdk/resiliencehub/src/operation/list_apps.rs +++ b/sdk/resiliencehub/src/operation/list_apps.rs @@ -213,6 +213,11 @@ impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for ListAppsRequ query.push_kv("reverseOrder", ::aws_smithy_types::primitive::Encoder::from(*inner_7).encode()); } } + if let ::std::option::Option::Some(inner_8) = &_input.aws_application_arn { + { + query.push_kv("awsApplicationArn", &::aws_smithy_http::query::fmt_string(inner_8)); + } + } ::std::result::Result::Ok(()) } #[allow(clippy::unnecessary_wraps)] diff --git a/sdk/resiliencehub/src/operation/list_apps/_list_apps_input.rs b/sdk/resiliencehub/src/operation/list_apps/_list_apps_input.rs index b94ebbed7fc2..a6811639b9f6 100644 --- a/sdk/resiliencehub/src/operation/list_apps/_list_apps_input.rs +++ b/sdk/resiliencehub/src/operation/list_apps/_list_apps_input.rs @@ -17,6 +17,8 @@ pub struct ListAppsInput { pub to_last_assessment_time: ::std::option::Option<::aws_smithy_types::DateTime>, ///

                                                                                                  The application list is sorted based on the values of lastAppComplianceEvaluationTime field. By default, application list is sorted in ascending order. To sort the application list in descending order, set this field to True.

                                                                                                  pub reverse_order: ::std::option::Option, + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub aws_application_arn: ::std::option::Option<::std::string::String>, } impl ListAppsInput { ///

                                                                                                  Null, or the token from a previous call to get the next set of results.

                                                                                                  @@ -47,6 +49,10 @@ impl ListAppsInput { pub fn reverse_order(&self) -> ::std::option::Option { self.reverse_order } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn aws_application_arn(&self) -> ::std::option::Option<&str> { + self.aws_application_arn.as_deref() + } } impl ListAppsInput { /// Creates a new builder-style object to manufacture [`ListAppsInput`](crate::operation::list_apps::ListAppsInput). @@ -66,6 +72,7 @@ pub struct ListAppsInputBuilder { pub(crate) from_last_assessment_time: ::std::option::Option<::aws_smithy_types::DateTime>, pub(crate) to_last_assessment_time: ::std::option::Option<::aws_smithy_types::DateTime>, pub(crate) reverse_order: ::std::option::Option, + pub(crate) aws_application_arn: ::std::option::Option<::std::string::String>, } impl ListAppsInputBuilder { ///

                                                                                                  Null, or the token from a previous call to get the next set of results.

                                                                                                  @@ -166,6 +173,20 @@ impl ListAppsInputBuilder { pub fn get_reverse_order(&self) -> &::std::option::Option { &self.reverse_order } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn aws_application_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.aws_application_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn set_aws_application_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.aws_application_arn = input; + self + } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn get_aws_application_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.aws_application_arn + } /// Consumes the builder and constructs a [`ListAppsInput`](crate::operation::list_apps::ListAppsInput). pub fn build(self) -> ::std::result::Result { ::std::result::Result::Ok(crate::operation::list_apps::ListAppsInput { @@ -176,6 +197,7 @@ impl ListAppsInputBuilder { from_last_assessment_time: self.from_last_assessment_time, to_last_assessment_time: self.to_last_assessment_time, reverse_order: self.reverse_order, + aws_application_arn: self.aws_application_arn, }) } } diff --git a/sdk/resiliencehub/src/operation/list_apps/builders.rs b/sdk/resiliencehub/src/operation/list_apps/builders.rs index 8f87ae97f5ac..ff357890218a 100644 --- a/sdk/resiliencehub/src/operation/list_apps/builders.rs +++ b/sdk/resiliencehub/src/operation/list_apps/builders.rs @@ -206,4 +206,18 @@ impl ListAppsFluentBuilder { pub fn get_reverse_order(&self) -> &::std::option::Option { self.inner.get_reverse_order() } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn aws_application_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.inner = self.inner.aws_application_arn(input.into()); + self + } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn set_aws_application_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.inner = self.inner.set_aws_application_arn(input); + self + } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn get_aws_application_arn(&self) -> &::std::option::Option<::std::string::String> { + self.inner.get_aws_application_arn() + } } diff --git a/sdk/resiliencehub/src/protocol_serde.rs b/sdk/resiliencehub/src/protocol_serde.rs index ffa9c84f77aa..b41fc43cc455 100644 --- a/sdk/resiliencehub/src/protocol_serde.rs +++ b/sdk/resiliencehub/src/protocol_serde.rs @@ -311,6 +311,8 @@ pub(crate) mod shape_eks_source_cluster_namespace; pub(crate) mod shape_eks_source_list; +pub(crate) mod shape_error_detail_list; + pub(crate) mod shape_event_subscription; pub(crate) mod shape_failed_grouping_recommendation_entries; @@ -385,6 +387,8 @@ pub(crate) mod shape_cost; pub(crate) mod shape_disruption_policy; +pub(crate) mod shape_error_detail; + pub(crate) mod shape_event_subscription_list; pub(crate) mod shape_failed_grouping_recommendation_entry; diff --git a/sdk/resiliencehub/src/protocol_serde/shape_app.rs b/sdk/resiliencehub/src/protocol_serde/shape_app.rs index 1d7061b18ea9..6dc7aee321b1 100644 --- a/sdk/resiliencehub/src/protocol_serde/shape_app.rs +++ b/sdk/resiliencehub/src/protocol_serde/shape_app.rs @@ -125,6 +125,13 @@ where .transpose()?, ); } + "awsApplicationArn" => { + builder = builder.set_aws_application_arn( + ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| u.into_owned())) + .transpose()?, + ); + } _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?, }, other => { diff --git a/sdk/resiliencehub/src/protocol_serde/shape_app_summary.rs b/sdk/resiliencehub/src/protocol_serde/shape_app_summary.rs index 4f8809718bb2..2251a3c730c3 100644 --- a/sdk/resiliencehub/src/protocol_serde/shape_app_summary.rs +++ b/sdk/resiliencehub/src/protocol_serde/shape_app_summary.rs @@ -95,6 +95,13 @@ where .transpose()?, ); } + "awsApplicationArn" => { + builder = builder.set_aws_application_arn( + ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| u.into_owned())) + .transpose()?, + ); + } _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?, }, other => { diff --git a/sdk/resiliencehub/src/protocol_serde/shape_create_app_input.rs b/sdk/resiliencehub/src/protocol_serde/shape_create_app_input.rs index c44271356f35..dc1db2b8abaa 100644 --- a/sdk/resiliencehub/src/protocol_serde/shape_create_app_input.rs +++ b/sdk/resiliencehub/src/protocol_serde/shape_create_app_input.rs @@ -6,45 +6,48 @@ pub fn ser_create_app_input_input( if let Some(var_1) = &input.assessment_schedule { object.key("assessmentSchedule").string(var_1.as_str()); } - if let Some(var_2) = &input.client_token { - object.key("clientToken").string(var_2.as_str()); + if let Some(var_2) = &input.aws_application_arn { + object.key("awsApplicationArn").string(var_2.as_str()); } - if let Some(var_3) = &input.description { - object.key("description").string(var_3.as_str()); + if let Some(var_3) = &input.client_token { + object.key("clientToken").string(var_3.as_str()); } - if let Some(var_4) = &input.event_subscriptions { - let mut array_5 = object.key("eventSubscriptions").start_array(); - for item_6 in var_4 { + if let Some(var_4) = &input.description { + object.key("description").string(var_4.as_str()); + } + if let Some(var_5) = &input.event_subscriptions { + let mut array_6 = object.key("eventSubscriptions").start_array(); + for item_7 in var_5 { { #[allow(unused_mut)] - let mut object_7 = array_5.value().start_object(); - crate::protocol_serde::shape_event_subscription::ser_event_subscription(&mut object_7, item_6)?; - object_7.finish(); + let mut object_8 = array_6.value().start_object(); + crate::protocol_serde::shape_event_subscription::ser_event_subscription(&mut object_8, item_7)?; + object_8.finish(); } } - array_5.finish(); + array_6.finish(); } - if let Some(var_8) = &input.name { - object.key("name").string(var_8.as_str()); + if let Some(var_9) = &input.name { + object.key("name").string(var_9.as_str()); } - if let Some(var_9) = &input.permission_model { + if let Some(var_10) = &input.permission_model { #[allow(unused_mut)] - let mut object_10 = object.key("permissionModel").start_object(); - crate::protocol_serde::shape_permission_model::ser_permission_model(&mut object_10, var_9)?; - object_10.finish(); + let mut object_11 = object.key("permissionModel").start_object(); + crate::protocol_serde::shape_permission_model::ser_permission_model(&mut object_11, var_10)?; + object_11.finish(); } - if let Some(var_11) = &input.policy_arn { - object.key("policyArn").string(var_11.as_str()); + if let Some(var_12) = &input.policy_arn { + object.key("policyArn").string(var_12.as_str()); } - if let Some(var_12) = &input.tags { + if let Some(var_13) = &input.tags { #[allow(unused_mut)] - let mut object_13 = object.key("tags").start_object(); - for (key_14, value_15) in var_12 { + let mut object_14 = object.key("tags").start_object(); + for (key_15, value_16) in var_13 { { - object_13.key(key_14.as_str()).string(value_15.as_str()); + object_14.key(key_15.as_str()).string(value_16.as_str()); } } - object_13.finish(); + object_14.finish(); } Ok(()) } diff --git a/sdk/resiliencehub/src/protocol_serde/shape_describe_draft_app_version_resources_import_status.rs b/sdk/resiliencehub/src/protocol_serde/shape_describe_draft_app_version_resources_import_status.rs index afc37d56938e..9d4230cc8f4e 100644 --- a/sdk/resiliencehub/src/protocol_serde/shape_describe_draft_app_version_resources_import_status.rs +++ b/sdk/resiliencehub/src/protocol_serde/shape_describe_draft_app_version_resources_import_status.rs @@ -177,6 +177,9 @@ pub(crate) fn de_describe_draft_app_version_resources_import_status( .transpose()?, ); } + "errorDetails" => { + builder = builder.set_error_details(crate::protocol_serde::shape_error_detail_list::de_error_detail_list(tokens)?); + } "errorMessage" => { builder = builder.set_error_message( ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? diff --git a/sdk/resiliencehub/src/protocol_serde/shape_error_detail.rs b/sdk/resiliencehub/src/protocol_serde/shape_error_detail.rs new file mode 100644 index 000000000000..2bf5a0d3d146 --- /dev/null +++ b/sdk/resiliencehub/src/protocol_serde/shape_error_detail.rs @@ -0,0 +1,40 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub(crate) fn de_error_detail<'a, I>( + tokens: &mut ::std::iter::Peekable, +) -> Result, ::aws_smithy_json::deserialize::error::DeserializeError> +where + I: Iterator, ::aws_smithy_json::deserialize::error::DeserializeError>>, +{ + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None), + Some(::aws_smithy_json::deserialize::Token::StartObject { .. }) => { + #[allow(unused_mut)] + let mut builder = crate::types::builders::ErrorDetailBuilder::default(); + loop { + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::EndObject { .. }) => break, + Some(::aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => match key.to_unescaped()?.as_ref() { + "errorMessage" => { + builder = builder.set_error_message( + ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| u.into_owned())) + .transpose()?, + ); + } + _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?, + }, + other => { + return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(format!( + "expected object key or end object, found: {:?}", + other + ))) + } + } + } + Ok(Some(builder.build())) + } + _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom( + "expected start object or null", + )), + } +} diff --git a/sdk/resiliencehub/src/protocol_serde/shape_error_detail_list.rs b/sdk/resiliencehub/src/protocol_serde/shape_error_detail_list.rs new file mode 100644 index 000000000000..595fb14ccbc3 --- /dev/null +++ b/sdk/resiliencehub/src/protocol_serde/shape_error_detail_list.rs @@ -0,0 +1,32 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub(crate) fn de_error_detail_list<'a, I>( + tokens: &mut ::std::iter::Peekable, +) -> Result>, ::aws_smithy_json::deserialize::error::DeserializeError> +where + I: Iterator, ::aws_smithy_json::deserialize::error::DeserializeError>>, +{ + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None), + Some(::aws_smithy_json::deserialize::Token::StartArray { .. }) => { + let mut items = Vec::new(); + loop { + match tokens.peek() { + Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => { + tokens.next().transpose().unwrap(); + break; + } + _ => { + let value = crate::protocol_serde::shape_error_detail::de_error_detail(tokens)?; + if let Some(value) = value { + items.push(value); + } + } + } + } + Ok(Some(items)) + } + _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom( + "expected start array or null", + )), + } +} diff --git a/sdk/resiliencehub/src/serde_util.rs b/sdk/resiliencehub/src/serde_util.rs index 7b7573438afe..253242f254d4 100644 --- a/sdk/resiliencehub/src/serde_util.rs +++ b/sdk/resiliencehub/src/serde_util.rs @@ -767,12 +767,6 @@ pub(crate) fn batch_update_recommendation_status_successful_entry_correct_errors if builder.reference_id.is_none() { builder.reference_id = Some(Default::default()) } - if builder.item.is_none() { - builder.item = { - let builder = crate::types::builders::UpdateRecommendationStatusItemBuilder::default(); - Some(builder.build()) - } - } if builder.excluded.is_none() { builder.excluded = Some(Default::default()) } diff --git a/sdk/resiliencehub/src/types.rs b/sdk/resiliencehub/src/types.rs index f774cb06b128..90918176dfd6 100644 --- a/sdk/resiliencehub/src/types.rs +++ b/sdk/resiliencehub/src/types.rs @@ -169,6 +169,8 @@ pub use crate::types::_resource_import_status_type::ResourceImportStatusType; pub use crate::types::_resource_import_strategy_type::ResourceImportStrategyType; +pub use crate::types::_error_detail::ErrorDetail; + pub use crate::types::_batch_update_recommendation_status_failed_entry::BatchUpdateRecommendationStatusFailedEntry; pub use crate::types::_batch_update_recommendation_status_successful_entry::BatchUpdateRecommendationStatusSuccessfulEntry; @@ -251,6 +253,8 @@ mod _eks_source; mod _eks_source_cluster_namespace; +mod _error_detail; + mod _estimated_cost_tier; mod _event_subscription; diff --git a/sdk/resiliencehub/src/types/_app.rs b/sdk/resiliencehub/src/types/_app.rs index 7c8e1b5d457c..2b4dc94a41ad 100644 --- a/sdk/resiliencehub/src/types/_app.rs +++ b/sdk/resiliencehub/src/types/_app.rs @@ -40,6 +40,8 @@ pub struct App { pub rto_in_secs: ::std::option::Option, ///

                                                                                                  Recovery Point Objective (RPO) in seconds.

                                                                                                  pub rpo_in_secs: ::std::option::Option, + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub aws_application_arn: ::std::option::Option<::std::string::String>, } impl App { ///

                                                                                                  Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  @@ -118,6 +120,10 @@ impl App { pub fn rpo_in_secs(&self) -> ::std::option::Option { self.rpo_in_secs } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn aws_application_arn(&self) -> ::std::option::Option<&str> { + self.aws_application_arn.as_deref() + } } impl ::std::fmt::Debug for App { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { @@ -140,6 +146,7 @@ impl ::std::fmt::Debug for App { formatter.field("last_drift_evaluation_time", &self.last_drift_evaluation_time); formatter.field("rto_in_secs", &self.rto_in_secs); formatter.field("rpo_in_secs", &self.rpo_in_secs); + formatter.field("aws_application_arn", &self.aws_application_arn); formatter.finish() } } @@ -172,6 +179,7 @@ pub struct AppBuilder { pub(crate) last_drift_evaluation_time: ::std::option::Option<::aws_smithy_types::DateTime>, pub(crate) rto_in_secs: ::std::option::Option, pub(crate) rpo_in_secs: ::std::option::Option, + pub(crate) aws_application_arn: ::std::option::Option<::std::string::String>, } impl AppBuilder { ///

                                                                                                  Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  @@ -441,6 +449,20 @@ impl AppBuilder { pub fn get_rpo_in_secs(&self) -> &::std::option::Option { &self.rpo_in_secs } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn aws_application_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.aws_application_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn set_aws_application_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.aws_application_arn = input; + self + } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn get_aws_application_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.aws_application_arn + } /// Consumes the builder and constructs a [`App`](crate::types::App). /// This method will fail if any of the following fields are not set: /// - [`app_arn`](crate::types::builders::AppBuilder::app_arn) @@ -478,6 +500,7 @@ impl AppBuilder { last_drift_evaluation_time: self.last_drift_evaluation_time, rto_in_secs: self.rto_in_secs, rpo_in_secs: self.rpo_in_secs, + aws_application_arn: self.aws_application_arn, }) } } @@ -502,6 +525,7 @@ impl ::std::fmt::Debug for AppBuilder { formatter.field("last_drift_evaluation_time", &self.last_drift_evaluation_time); formatter.field("rto_in_secs", &self.rto_in_secs); formatter.field("rpo_in_secs", &self.rpo_in_secs); + formatter.field("aws_application_arn", &self.aws_application_arn); formatter.finish() } } diff --git a/sdk/resiliencehub/src/types/_app_assessment.rs b/sdk/resiliencehub/src/types/_app_assessment.rs index 9776fdf37a38..21564d6fcb03 100644 --- a/sdk/resiliencehub/src/types/_app_assessment.rs +++ b/sdk/resiliencehub/src/types/_app_assessment.rs @@ -40,7 +40,9 @@ pub struct AppAssessment { pub version_name: ::std::option::Option<::std::string::String>, ///

                                                                                                  Indicates if compliance drifts (deviations) were detected while running an assessment for your application.

                                                                                                  pub drift_status: ::std::option::Option, - ///

                                                                                                  Indicates a concise summary that provides an overview of the Resilience Hub assessment.

                                                                                                  + ///

                                                                                                  Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.

                                                                                                  + ///

                                                                                                  This property is available only in the US East (N. Virginia) Region.

                                                                                                  + ///
                                                                                                  pub summary: ::std::option::Option, } impl AppAssessment { @@ -119,7 +121,9 @@ impl AppAssessment { pub fn drift_status(&self) -> ::std::option::Option<&crate::types::DriftStatus> { self.drift_status.as_ref() } - ///

                                                                                                  Indicates a concise summary that provides an overview of the Resilience Hub assessment.

                                                                                                  + ///

                                                                                                  Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.

                                                                                                  + ///

                                                                                                  This property is available only in the US East (N. Virginia) Region.

                                                                                                  + ///
                                                                                                  pub fn summary(&self) -> ::std::option::Option<&crate::types::AssessmentSummary> { self.summary.as_ref() } @@ -453,17 +457,23 @@ impl AppAssessmentBuilder { pub fn get_drift_status(&self) -> &::std::option::Option { &self.drift_status } - ///

                                                                                                  Indicates a concise summary that provides an overview of the Resilience Hub assessment.

                                                                                                  + ///

                                                                                                  Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.

                                                                                                  + ///

                                                                                                  This property is available only in the US East (N. Virginia) Region.

                                                                                                  + ///
                                                                                                  pub fn summary(mut self, input: crate::types::AssessmentSummary) -> Self { self.summary = ::std::option::Option::Some(input); self } - ///

                                                                                                  Indicates a concise summary that provides an overview of the Resilience Hub assessment.

                                                                                                  + ///

                                                                                                  Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.

                                                                                                  + ///

                                                                                                  This property is available only in the US East (N. Virginia) Region.

                                                                                                  + ///
                                                                                                  pub fn set_summary(mut self, input: ::std::option::Option) -> Self { self.summary = input; self } - ///

                                                                                                  Indicates a concise summary that provides an overview of the Resilience Hub assessment.

                                                                                                  + ///

                                                                                                  Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.

                                                                                                  + ///

                                                                                                  This property is available only in the US East (N. Virginia) Region.

                                                                                                  + ///
                                                                                                  pub fn get_summary(&self) -> &::std::option::Option { &self.summary } diff --git a/sdk/resiliencehub/src/types/_app_summary.rs b/sdk/resiliencehub/src/types/_app_summary.rs index 0b3f22734358..4eb56c233239 100644 --- a/sdk/resiliencehub/src/types/_app_summary.rs +++ b/sdk/resiliencehub/src/types/_app_summary.rs @@ -28,6 +28,8 @@ pub struct AppSummary { pub rto_in_secs: ::std::option::Option, ///

                                                                                                  Recovery Point Objective (RPO) in seconds.

                                                                                                  pub rpo_in_secs: ::std::option::Option, + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub aws_application_arn: ::std::option::Option<::std::string::String>, } impl AppSummary { ///

                                                                                                  Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  @@ -80,6 +82,10 @@ impl AppSummary { pub fn rpo_in_secs(&self) -> ::std::option::Option { self.rpo_in_secs } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn aws_application_arn(&self) -> ::std::option::Option<&str> { + self.aws_application_arn.as_deref() + } } impl AppSummary { /// Creates a new builder-style object to manufacture [`AppSummary`](crate::types::AppSummary). @@ -104,6 +110,7 @@ pub struct AppSummaryBuilder { pub(crate) last_app_compliance_evaluation_time: ::std::option::Option<::aws_smithy_types::DateTime>, pub(crate) rto_in_secs: ::std::option::Option, pub(crate) rpo_in_secs: ::std::option::Option, + pub(crate) aws_application_arn: ::std::option::Option<::std::string::String>, } impl AppSummaryBuilder { ///

                                                                                                  Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  @@ -277,6 +284,20 @@ impl AppSummaryBuilder { pub fn get_rpo_in_secs(&self) -> &::std::option::Option { &self.rpo_in_secs } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn aws_application_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.aws_application_arn = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn set_aws_application_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.aws_application_arn = input; + self + } + ///

                                                                                                  Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                                                                                                  + pub fn get_aws_application_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.aws_application_arn + } /// Consumes the builder and constructs a [`AppSummary`](crate::types::AppSummary). /// This method will fail if any of the following fields are not set: /// - [`app_arn`](crate::types::builders::AppSummaryBuilder::app_arn) @@ -311,6 +332,7 @@ impl AppSummaryBuilder { last_app_compliance_evaluation_time: self.last_app_compliance_evaluation_time, rto_in_secs: self.rto_in_secs, rpo_in_secs: self.rpo_in_secs, + aws_application_arn: self.aws_application_arn, }) } } diff --git a/sdk/resiliencehub/src/types/_batch_update_recommendation_status_successful_entry.rs b/sdk/resiliencehub/src/types/_batch_update_recommendation_status_successful_entry.rs index d04427d07273..1078442b1c31 100644 --- a/sdk/resiliencehub/src/types/_batch_update_recommendation_status_successful_entry.rs +++ b/sdk/resiliencehub/src/types/_batch_update_recommendation_status_successful_entry.rs @@ -98,7 +98,6 @@ impl BatchUpdateRecommendationStatusSuccessfulEntryBuilder { &self.reference_id } ///

                                                                                                  The operational recommendation item.

                                                                                                  - /// This field is required. pub fn item(mut self, input: crate::types::UpdateRecommendationStatusItem) -> Self { self.item = ::std::option::Option::Some(input); self diff --git a/sdk/resiliencehub/src/types/_error_detail.rs b/sdk/resiliencehub/src/types/_error_detail.rs new file mode 100644 index 000000000000..8973e7d9e45b --- /dev/null +++ b/sdk/resiliencehub/src/types/_error_detail.rs @@ -0,0 +1,50 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

                                                                                                  Indicates the error that was encountered while importing a resource.

                                                                                                  +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct ErrorDetail { + ///

                                                                                                  Provides additional information about the error.

                                                                                                  + pub error_message: ::std::option::Option<::std::string::String>, +} +impl ErrorDetail { + ///

                                                                                                  Provides additional information about the error.

                                                                                                  + pub fn error_message(&self) -> ::std::option::Option<&str> { + self.error_message.as_deref() + } +} +impl ErrorDetail { + /// Creates a new builder-style object to manufacture [`ErrorDetail`](crate::types::ErrorDetail). + pub fn builder() -> crate::types::builders::ErrorDetailBuilder { + crate::types::builders::ErrorDetailBuilder::default() + } +} + +/// A builder for [`ErrorDetail`](crate::types::ErrorDetail). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct ErrorDetailBuilder { + pub(crate) error_message: ::std::option::Option<::std::string::String>, +} +impl ErrorDetailBuilder { + ///

                                                                                                  Provides additional information about the error.

                                                                                                  + pub fn error_message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.error_message = ::std::option::Option::Some(input.into()); + self + } + ///

                                                                                                  Provides additional information about the error.

                                                                                                  + pub fn set_error_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.error_message = input; + self + } + ///

                                                                                                  Provides additional information about the error.

                                                                                                  + pub fn get_error_message(&self) -> &::std::option::Option<::std::string::String> { + &self.error_message + } + /// Consumes the builder and constructs a [`ErrorDetail`](crate::types::ErrorDetail). + pub fn build(self) -> crate::types::ErrorDetail { + crate::types::ErrorDetail { + error_message: self.error_message, + } + } +} diff --git a/sdk/resiliencehub/src/types/_update_recommendation_status_request_entry.rs b/sdk/resiliencehub/src/types/_update_recommendation_status_request_entry.rs index fcee76c42951..c7a0b4938c41 100644 --- a/sdk/resiliencehub/src/types/_update_recommendation_status_request_entry.rs +++ b/sdk/resiliencehub/src/types/_update_recommendation_status_request_entry.rs @@ -98,7 +98,6 @@ impl UpdateRecommendationStatusRequestEntryBuilder { &self.reference_id } ///

                                                                                                  The operational recommendation item.

                                                                                                  - /// This field is required. pub fn item(mut self, input: crate::types::UpdateRecommendationStatusItem) -> Self { self.item = ::std::option::Option::Some(input); self diff --git a/sdk/resiliencehub/src/types/builders.rs b/sdk/resiliencehub/src/types/builders.rs index 7157dd1d7f26..799fbcda5480 100644 --- a/sdk/resiliencehub/src/types/builders.rs +++ b/sdk/resiliencehub/src/types/builders.rs @@ -89,6 +89,8 @@ pub use crate::types::_alarm_recommendation::AlarmRecommendationBuilder; pub use crate::types::_eks_source::EksSourceBuilder; +pub use crate::types::_error_detail::ErrorDetailBuilder; + pub use crate::types::_batch_update_recommendation_status_failed_entry::BatchUpdateRecommendationStatusFailedEntryBuilder; pub use crate::types::_batch_update_recommendation_status_successful_entry::BatchUpdateRecommendationStatusSuccessfulEntryBuilder; diff --git a/sdk/sesv2/Cargo.toml b/sdk/sesv2/Cargo.toml index 85f5c3222229..836286c8b978 100644 --- a/sdk/sesv2/Cargo.toml +++ b/sdk/sesv2/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-sesv2" -version = "1.50.0" +version = "1.51.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for Amazon Simple Email Service" edition = "2021" diff --git a/sdk/sesv2/README.md b/sdk/sesv2/README.md index 165ffa1653d6..09171d8f1628 100644 --- a/sdk/sesv2/README.md +++ b/sdk/sesv2/README.md @@ -16,7 +16,7 @@ your project, add the following to your **Cargo.toml** file: ```toml [dependencies] aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -aws-sdk-sesv2 = "1.50.0" +aws-sdk-sesv2 = "1.51.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/sesv2/src/client/put_configuration_set_delivery_options.rs b/sdk/sesv2/src/client/put_configuration_set_delivery_options.rs index da5c1bbedf7c..dc38949438cc 100644 --- a/sdk/sesv2/src/client/put_configuration_set_delivery_options.rs +++ b/sdk/sesv2/src/client/put_configuration_set_delivery_options.rs @@ -6,6 +6,7 @@ impl super::Client { /// - [`configuration_set_name(impl Into)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::configuration_set_name) / [`set_configuration_set_name(Option)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::set_configuration_set_name):
                                                                                                  required: **true**

                                                                                                  The name of the configuration set to associate with a dedicated IP pool.


                                                                                                  /// - [`tls_policy(TlsPolicy)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::tls_policy) / [`set_tls_policy(Option)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::set_tls_policy):
                                                                                                  required: **false**

                                                                                                  Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established.


                                                                                                  /// - [`sending_pool_name(impl Into)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::sending_pool_name) / [`set_sending_pool_name(Option)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::set_sending_pool_name):
                                                                                                  required: **false**

                                                                                                  The name of the dedicated IP pool to associate with the configuration set.


                                                                                                  + /// - [`max_delivery_seconds(i64)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::max_delivery_seconds) / [`set_max_delivery_seconds(Option)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::set_max_delivery_seconds):
                                                                                                  required: **false**

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).


                                                                                                  /// - On success, responds with [`PutConfigurationSetDeliveryOptionsOutput`](crate::operation::put_configuration_set_delivery_options::PutConfigurationSetDeliveryOptionsOutput) /// - On failure, responds with [`SdkError`](crate::operation::put_configuration_set_delivery_options::PutConfigurationSetDeliveryOptionsError) pub fn put_configuration_set_delivery_options( diff --git a/sdk/sesv2/src/lib.rs b/sdk/sesv2/src/lib.rs index 88bf6e785bbb..56b4e225c177 100644 --- a/sdk/sesv2/src/lib.rs +++ b/sdk/sesv2/src/lib.rs @@ -33,7 +33,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-sesv2 = "1.50.0" +//! aws-sdk-sesv2 = "1.51.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/sesv2/src/operation/put_configuration_set_delivery_options/_put_configuration_set_delivery_options_input.rs b/sdk/sesv2/src/operation/put_configuration_set_delivery_options/_put_configuration_set_delivery_options_input.rs index f834d7a08baa..b5855eb29d3c 100644 --- a/sdk/sesv2/src/operation/put_configuration_set_delivery_options/_put_configuration_set_delivery_options_input.rs +++ b/sdk/sesv2/src/operation/put_configuration_set_delivery_options/_put_configuration_set_delivery_options_input.rs @@ -10,6 +10,8 @@ pub struct PutConfigurationSetDeliveryOptionsInput { pub tls_policy: ::std::option::Option, ///

                                                                                                  The name of the dedicated IP pool to associate with the configuration set.

                                                                                                  pub sending_pool_name: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub max_delivery_seconds: ::std::option::Option, } impl PutConfigurationSetDeliveryOptionsInput { ///

                                                                                                  The name of the configuration set to associate with a dedicated IP pool.

                                                                                                  @@ -24,6 +26,10 @@ impl PutConfigurationSetDeliveryOptionsInput { pub fn sending_pool_name(&self) -> ::std::option::Option<&str> { self.sending_pool_name.as_deref() } + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub fn max_delivery_seconds(&self) -> ::std::option::Option { + self.max_delivery_seconds + } } impl PutConfigurationSetDeliveryOptionsInput { /// Creates a new builder-style object to manufacture [`PutConfigurationSetDeliveryOptionsInput`](crate::operation::put_configuration_set_delivery_options::PutConfigurationSetDeliveryOptionsInput). @@ -39,6 +45,7 @@ pub struct PutConfigurationSetDeliveryOptionsInputBuilder { pub(crate) configuration_set_name: ::std::option::Option<::std::string::String>, pub(crate) tls_policy: ::std::option::Option, pub(crate) sending_pool_name: ::std::option::Option<::std::string::String>, + pub(crate) max_delivery_seconds: ::std::option::Option, } impl PutConfigurationSetDeliveryOptionsInputBuilder { ///

                                                                                                  The name of the configuration set to associate with a dedicated IP pool.

                                                                                                  @@ -84,6 +91,20 @@ impl PutConfigurationSetDeliveryOptionsInputBuilder { pub fn get_sending_pool_name(&self) -> &::std::option::Option<::std::string::String> { &self.sending_pool_name } + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub fn max_delivery_seconds(mut self, input: i64) -> Self { + self.max_delivery_seconds = ::std::option::Option::Some(input); + self + } + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub fn set_max_delivery_seconds(mut self, input: ::std::option::Option) -> Self { + self.max_delivery_seconds = input; + self + } + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub fn get_max_delivery_seconds(&self) -> &::std::option::Option { + &self.max_delivery_seconds + } /// Consumes the builder and constructs a [`PutConfigurationSetDeliveryOptionsInput`](crate::operation::put_configuration_set_delivery_options::PutConfigurationSetDeliveryOptionsInput). pub fn build( self, @@ -96,6 +117,7 @@ impl PutConfigurationSetDeliveryOptionsInputBuilder { configuration_set_name: self.configuration_set_name, tls_policy: self.tls_policy, sending_pool_name: self.sending_pool_name, + max_delivery_seconds: self.max_delivery_seconds, }, ) } diff --git a/sdk/sesv2/src/operation/put_configuration_set_delivery_options/builders.rs b/sdk/sesv2/src/operation/put_configuration_set_delivery_options/builders.rs index 0bf96a472d1b..41bf66c3fad2 100644 --- a/sdk/sesv2/src/operation/put_configuration_set_delivery_options/builders.rs +++ b/sdk/sesv2/src/operation/put_configuration_set_delivery_options/builders.rs @@ -150,4 +150,18 @@ impl PutConfigurationSetDeliveryOptionsFluentBuilder { pub fn get_sending_pool_name(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_sending_pool_name() } + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub fn max_delivery_seconds(mut self, input: i64) -> Self { + self.inner = self.inner.max_delivery_seconds(input); + self + } + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub fn set_max_delivery_seconds(mut self, input: ::std::option::Option) -> Self { + self.inner = self.inner.set_max_delivery_seconds(input); + self + } + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub fn get_max_delivery_seconds(&self) -> &::std::option::Option { + self.inner.get_max_delivery_seconds() + } } diff --git a/sdk/sesv2/src/protocol_serde/shape_delivery_options.rs b/sdk/sesv2/src/protocol_serde/shape_delivery_options.rs index 89ee6a8e4050..ca4ad350b91e 100644 --- a/sdk/sesv2/src/protocol_serde/shape_delivery_options.rs +++ b/sdk/sesv2/src/protocol_serde/shape_delivery_options.rs @@ -9,6 +9,12 @@ pub fn ser_delivery_options( if let Some(var_2) = &input.sending_pool_name { object.key("SendingPoolName").string(var_2.as_str()); } + if let Some(var_3) = &input.max_delivery_seconds { + object.key("MaxDeliverySeconds").number( + #[allow(clippy::useless_conversion)] + ::aws_smithy_types::Number::NegInt((*var_3).into()), + ); + } Ok(()) } @@ -41,6 +47,13 @@ where .transpose()?, ); } + "MaxDeliverySeconds" => { + builder = builder.set_max_delivery_seconds( + ::aws_smithy_json::deserialize::token::expect_number_or_null(tokens.next())? + .map(i64::try_from) + .transpose()?, + ); + } _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?, }, other => { diff --git a/sdk/sesv2/src/protocol_serde/shape_put_configuration_set_delivery_options_input.rs b/sdk/sesv2/src/protocol_serde/shape_put_configuration_set_delivery_options_input.rs index 27d64b593455..911912ffd909 100644 --- a/sdk/sesv2/src/protocol_serde/shape_put_configuration_set_delivery_options_input.rs +++ b/sdk/sesv2/src/protocol_serde/shape_put_configuration_set_delivery_options_input.rs @@ -3,11 +3,17 @@ pub fn ser_put_configuration_set_delivery_options_input_input( object: &mut ::aws_smithy_json::serialize::JsonObjectWriter, input: &crate::operation::put_configuration_set_delivery_options::PutConfigurationSetDeliveryOptionsInput, ) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> { - if let Some(var_1) = &input.sending_pool_name { - object.key("SendingPoolName").string(var_1.as_str()); + if let Some(var_1) = &input.max_delivery_seconds { + object.key("MaxDeliverySeconds").number( + #[allow(clippy::useless_conversion)] + ::aws_smithy_types::Number::NegInt((*var_1).into()), + ); } - if let Some(var_2) = &input.tls_policy { - object.key("TlsPolicy").string(var_2.as_str()); + if let Some(var_2) = &input.sending_pool_name { + object.key("SendingPoolName").string(var_2.as_str()); + } + if let Some(var_3) = &input.tls_policy { + object.key("TlsPolicy").string(var_3.as_str()); } Ok(()) } diff --git a/sdk/sesv2/src/types/_delivery_options.rs b/sdk/sesv2/src/types/_delivery_options.rs index d35051009be1..a87182cc6bad 100644 --- a/sdk/sesv2/src/types/_delivery_options.rs +++ b/sdk/sesv2/src/types/_delivery_options.rs @@ -8,6 +8,8 @@ pub struct DeliveryOptions { pub tls_policy: ::std::option::Option, ///

                                                                                                  The name of the dedicated IP pool to associate with the configuration set.

                                                                                                  pub sending_pool_name: ::std::option::Option<::std::string::String>, + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub max_delivery_seconds: ::std::option::Option, } impl DeliveryOptions { ///

                                                                                                  Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established.

                                                                                                  @@ -18,6 +20,10 @@ impl DeliveryOptions { pub fn sending_pool_name(&self) -> ::std::option::Option<&str> { self.sending_pool_name.as_deref() } + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub fn max_delivery_seconds(&self) -> ::std::option::Option { + self.max_delivery_seconds + } } impl DeliveryOptions { /// Creates a new builder-style object to manufacture [`DeliveryOptions`](crate::types::DeliveryOptions). @@ -32,6 +38,7 @@ impl DeliveryOptions { pub struct DeliveryOptionsBuilder { pub(crate) tls_policy: ::std::option::Option, pub(crate) sending_pool_name: ::std::option::Option<::std::string::String>, + pub(crate) max_delivery_seconds: ::std::option::Option, } impl DeliveryOptionsBuilder { ///

                                                                                                  Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established.

                                                                                                  @@ -62,11 +69,26 @@ impl DeliveryOptionsBuilder { pub fn get_sending_pool_name(&self) -> &::std::option::Option<::std::string::String> { &self.sending_pool_name } + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub fn max_delivery_seconds(mut self, input: i64) -> Self { + self.max_delivery_seconds = ::std::option::Option::Some(input); + self + } + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub fn set_max_delivery_seconds(mut self, input: ::std::option::Option) -> Self { + self.max_delivery_seconds = input; + self + } + ///

                                                                                                  The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

                                                                                                  + pub fn get_max_delivery_seconds(&self) -> &::std::option::Option { + &self.max_delivery_seconds + } /// Consumes the builder and constructs a [`DeliveryOptions`](crate::types::DeliveryOptions). pub fn build(self) -> crate::types::DeliveryOptions { crate::types::DeliveryOptions { tls_policy: self.tls_policy, sending_pool_name: self.sending_pool_name, + max_delivery_seconds: self.max_delivery_seconds, } } } diff --git a/sdk/transcribestreaming/Cargo.toml b/sdk/transcribestreaming/Cargo.toml index 3b7bbb05c025..493c5638a24e 100644 --- a/sdk/transcribestreaming/Cargo.toml +++ b/sdk/transcribestreaming/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-transcribestreaming" -version = "1.46.0" +version = "1.47.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for Amazon Transcribe Streaming Service" edition = "2021" diff --git a/sdk/transcribestreaming/README.md b/sdk/transcribestreaming/README.md index 806287b7a941..28718247297a 100644 --- a/sdk/transcribestreaming/README.md +++ b/sdk/transcribestreaming/README.md @@ -17,7 +17,7 @@ your project, add the following to your **Cargo.toml** file: ```toml [dependencies] aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -aws-sdk-transcribestreaming = "1.46.0" +aws-sdk-transcribestreaming = "1.47.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/transcribestreaming/src/client/start_call_analytics_stream_transcription.rs b/sdk/transcribestreaming/src/client/start_call_analytics_stream_transcription.rs index 9c6cdbe35900..d4c7f04c3112 100644 --- a/sdk/transcribestreaming/src/client/start_call_analytics_stream_transcription.rs +++ b/sdk/transcribestreaming/src/client/start_call_analytics_stream_transcription.rs @@ -3,28 +3,28 @@ impl super::Client { /// Constructs a fluent builder for the [`StartCallAnalyticsStreamTranscription`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder) operation. /// /// - The fluent builder is configurable: - /// - [`language_code(CallAnalyticsLanguageCode)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::language_code) / [`set_language_code(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_language_code):
                                                                                                  required: **true**

                                                                                                  Specify the language code that represents the language spoken in your audio.

                                                                                                  If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

                                                                                                  For a list of languages supported with streaming Call Analytics, refer to the Supported languages table.


                                                                                                  + /// - [`language_code(CallAnalyticsLanguageCode)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::language_code) / [`set_language_code(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_language_code):
                                                                                                  required: **true**

                                                                                                  Specify the language code that represents the language spoken in your audio.

                                                                                                  For a list of languages supported with real-time Call Analytics, refer to the Supported languages table.


                                                                                                  /// - [`media_sample_rate_hertz(i32)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::media_sample_rate_hertz) / [`set_media_sample_rate_hertz(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_media_sample_rate_hertz):
                                                                                                  required: **true**

                                                                                                  The sample rate of the input audio (in hertz). Low-quality audio, such as telephone audio, is typically around 8,000 Hz. High-quality audio typically ranges from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must match that of your audio.


                                                                                                  /// - [`media_encoding(MediaEncoding)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::media_encoding) / [`set_media_encoding(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_media_encoding):
                                                                                                  required: **true**

                                                                                                  Specify the encoding of your input audio. Supported formats are:

                                                                                                  • FLAC

                                                                                                  • OPUS-encoded audio in an Ogg container

                                                                                                  • PCM (only signed 16-bit little-endian audio formats, which does not include WAV)

                                                                                                  For more information, see Media formats.


                                                                                                  /// - [`vocabulary_name(impl Into)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::vocabulary_name) / [`set_vocabulary_name(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_vocabulary_name):
                                                                                                  required: **false**

                                                                                                  Specify the name of the custom vocabulary that you want to use when processing your transcription. Note that vocabulary names are case sensitive.

                                                                                                  If the language of the specified custom vocabulary doesn't match the language identified in your media, the custom vocabulary is not applied to your transcription.

                                                                                                  For more information, see Custom vocabularies.


                                                                                                  - /// - [`session_id(impl Into)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::session_id) / [`set_session_id(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_session_id):
                                                                                                  required: **false**

                                                                                                  Specify a name for your Call Analytics transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  You can use a session ID to retry a streaming session.


                                                                                                  + /// - [`session_id(impl Into)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::session_id) / [`set_session_id(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_session_id):
                                                                                                  required: **false**

                                                                                                  Specify a name for your Call Analytics transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.


                                                                                                  /// - [`audio_stream(EventStreamSender)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::audio_stream) / [`set_audio_stream(EventStreamSender)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_audio_stream):
                                                                                                  required: **true**

                                                                                                  An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket data frames.

                                                                                                  For more information, see Transcribing streaming audio.


                                                                                                  /// - [`vocabulary_filter_name(impl Into)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::vocabulary_filter_name) / [`set_vocabulary_filter_name(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_vocabulary_filter_name):
                                                                                                  required: **false**

                                                                                                  Specify the name of the custom vocabulary filter that you want to use when processing your transcription. Note that vocabulary filter names are case sensitive.

                                                                                                  If the language of the specified custom vocabulary filter doesn't match the language identified in your media, the vocabulary filter is not applied to your transcription.

                                                                                                  For more information, see Using vocabulary filtering with unwanted words.


                                                                                                  /// - [`vocabulary_filter_method(VocabularyFilterMethod)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::vocabulary_filter_method) / [`set_vocabulary_filter_method(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_vocabulary_filter_method):
                                                                                                  required: **false**

                                                                                                  Specify how you want your vocabulary filter applied to your transcript.

                                                                                                  To replace words with ***, choose mask.

                                                                                                  To delete words, choose remove.

                                                                                                  To flag words without changing them, choose tag.


                                                                                                  /// - [`language_model_name(impl Into)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::language_model_name) / [`set_language_model_name(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_language_model_name):
                                                                                                  required: **false**

                                                                                                  Specify the name of the custom language model that you want to use when processing your transcription. Note that language model names are case sensitive.

                                                                                                  The language of the specified language model must match the language code you specify in your transcription request. If the languages don't match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.

                                                                                                  For more information, see Custom language models.


                                                                                                  /// - [`enable_partial_results_stabilization(bool)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::enable_partial_results_stabilization) / [`set_enable_partial_results_stabilization(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_enable_partial_results_stabilization):
                                                                                                  required: **false**

                                                                                                  Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in your output, but may impact accuracy. For more information, see Partial-result stabilization.


                                                                                                  /// - [`partial_results_stability(PartialResultsStability)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::partial_results_stability) / [`set_partial_results_stability(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_partial_results_stability):
                                                                                                  required: **false**

                                                                                                  Specify the level of stability to use when you enable partial results stabilization (EnablePartialResultsStabilization).

                                                                                                  Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy.

                                                                                                  For more information, see Partial-result stabilization.


                                                                                                  - /// - [`content_identification_type(ContentIdentificationType)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::content_identification_type) / [`set_content_identification_type(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_content_identification_type):
                                                                                                  required: **false**

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  For more information, see Redacting or identifying personally identifiable information.


                                                                                                  - /// - [`content_redaction_type(ContentRedactionType)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::content_redaction_type) / [`set_content_redaction_type(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_content_redaction_type):
                                                                                                  required: **false**

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  For more information, see Redacting or identifying personally identifiable information.


                                                                                                  - /// - [`pii_entity_types(impl Into)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::pii_entity_types) / [`set_pii_entity_types(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_pii_entity_types):
                                                                                                  required: **false**

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  To include PiiEntityTypes in your Call Analytics request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.


                                                                                                  + /// - [`content_identification_type(ContentIdentificationType)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::content_identification_type) / [`set_content_identification_type(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_content_identification_type):
                                                                                                  required: **false**

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  For more information, see Redacting or identifying personally identifiable information.


                                                                                                  + /// - [`content_redaction_type(ContentRedactionType)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::content_redaction_type) / [`set_content_redaction_type(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_content_redaction_type):
                                                                                                  required: **false**

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  For more information, see Redacting or identifying personally identifiable information.


                                                                                                  + /// - [`pii_entity_types(impl Into)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::pii_entity_types) / [`set_pii_entity_types(Option)`](crate::operation::start_call_analytics_stream_transcription::builders::StartCallAnalyticsStreamTranscriptionFluentBuilder::set_pii_entity_types):
                                                                                                  required: **false**

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.


                                                                                                  /// - On success, responds with [`StartCallAnalyticsStreamTranscriptionOutput`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput) with field(s): - /// - [`request_id(Option)`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput::request_id):

                                                                                                  Provides the identifier for your Call Analytics streaming request.

                                                                                                  + /// - [`request_id(Option)`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput::request_id):

                                                                                                  Provides the identifier for your real-time Call Analytics request.

                                                                                                  /// - [`language_code(Option)`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput::language_code):

                                                                                                  Provides the language code that you specified in your Call Analytics request.

                                                                                                  /// - [`media_sample_rate_hertz(Option)`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput::media_sample_rate_hertz):

                                                                                                  Provides the sample rate that you specified in your Call Analytics request.

                                                                                                  /// - [`media_encoding(Option)`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput::media_encoding):

                                                                                                  Provides the media encoding you specified in your Call Analytics request.

                                                                                                  /// - [`vocabulary_name(Option)`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput::vocabulary_name):

                                                                                                  Provides the name of the custom vocabulary that you specified in your Call Analytics request.

                                                                                                  /// - [`session_id(Option)`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput::session_id):

                                                                                                  Provides the identifier for your Call Analytics transcription session.

                                                                                                  - /// - [`call_analytics_transcript_result_stream(EventReceiver)`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput::call_analytics_transcript_result_stream):

                                                                                                  Provides detailed information about your Call Analytics streaming session.

                                                                                                  + /// - [`call_analytics_transcript_result_stream(EventReceiver)`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput::call_analytics_transcript_result_stream):

                                                                                                  Provides detailed information about your real-time Call Analytics session.

                                                                                                  /// - [`vocabulary_filter_name(Option)`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput::vocabulary_filter_name):

                                                                                                  Provides the name of the custom vocabulary filter that you specified in your Call Analytics request.

                                                                                                  /// - [`vocabulary_filter_method(Option)`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput::vocabulary_filter_method):

                                                                                                  Provides the vocabulary filtering method used in your Call Analytics transcription.

                                                                                                  /// - [`language_model_name(Option)`](crate::operation::start_call_analytics_stream_transcription::StartCallAnalyticsStreamTranscriptionOutput::language_model_name):

                                                                                                  Provides the name of the custom language model that you specified in your Call Analytics request.

                                                                                                  diff --git a/sdk/transcribestreaming/src/client/start_medical_stream_transcription.rs b/sdk/transcribestreaming/src/client/start_medical_stream_transcription.rs index 76748682c94d..81b105ea2d3b 100644 --- a/sdk/transcribestreaming/src/client/start_medical_stream_transcription.rs +++ b/sdk/transcribestreaming/src/client/start_medical_stream_transcription.rs @@ -10,10 +10,10 @@ impl super::Client { /// - [`specialty(Specialty)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::specialty) / [`set_specialty(Option)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::set_specialty):
                                                                                                  required: **true**

                                                                                                  Specify the medical specialty contained in your audio.


                                                                                                  /// - [`r#type(Type)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::type) / [`set_type(Option)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::set_type):
                                                                                                  required: **true**

                                                                                                  Specify the type of input audio. For example, choose DICTATION for a provider dictating patient notes and CONVERSATION for a dialogue between a patient and a medical professional.


                                                                                                  /// - [`show_speaker_label(bool)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::show_speaker_label) / [`set_show_speaker_label(Option)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::set_show_speaker_label):
                                                                                                  required: **false**

                                                                                                  Enables speaker partitioning (diarization) in your transcription output. Speaker partitioning labels the speech from individual speakers in your media file.

                                                                                                  For more information, see Partitioning speakers (diarization).


                                                                                                  - /// - [`session_id(impl Into)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::session_id) / [`set_session_id(Option)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::set_session_id):
                                                                                                  required: **false**

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe Medical generates an ID and returns it in the response.

                                                                                                  You can use a session ID to retry a streaming session.


                                                                                                  + /// - [`session_id(impl Into)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::session_id) / [`set_session_id(Option)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::set_session_id):
                                                                                                  required: **false**

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe Medical generates an ID and returns it in the response.


                                                                                                  /// - [`audio_stream(EventStreamSender)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::audio_stream) / [`set_audio_stream(EventStreamSender)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::set_audio_stream):
                                                                                                  required: **true**

                                                                                                  An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket data frames.

                                                                                                  For more information, see Transcribing streaming audio.


                                                                                                  - /// - [`enable_channel_identification(bool)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::enable_channel_identification) / [`set_enable_channel_identification(Option)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::set_enable_channel_identification):
                                                                                                  required: **false**

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  For more information, see Transcribing multi-channel audio.


                                                                                                  - /// - [`number_of_channels(i32)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::number_of_channels) / [`set_number_of_channels(Option)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::set_number_of_channels):
                                                                                                  required: **false**

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.


                                                                                                  + /// - [`enable_channel_identification(bool)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::enable_channel_identification) / [`set_enable_channel_identification(Option)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::set_enable_channel_identification):
                                                                                                  required: **false**

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  For more information, see Transcribing multi-channel audio.


                                                                                                  + /// - [`number_of_channels(i32)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::number_of_channels) / [`set_number_of_channels(Option)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::set_number_of_channels):
                                                                                                  required: **false**

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.


                                                                                                  /// - [`content_identification_type(MedicalContentIdentificationType)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::content_identification_type) / [`set_content_identification_type(Option)`](crate::operation::start_medical_stream_transcription::builders::StartMedicalStreamTranscriptionFluentBuilder::set_content_identification_type):
                                                                                                  required: **false**

                                                                                                  Labels all personal health information (PHI) identified in your transcript.

                                                                                                  Content identification is performed at the segment level; PHI is flagged upon complete transcription of an audio segment.

                                                                                                  For more information, see Identifying personal health information (PHI) in a transcription.


                                                                                                  /// - On success, responds with [`StartMedicalStreamTranscriptionOutput`](crate::operation::start_medical_stream_transcription::StartMedicalStreamTranscriptionOutput) with field(s): /// - [`request_id(Option)`](crate::operation::start_medical_stream_transcription::StartMedicalStreamTranscriptionOutput::request_id):

                                                                                                  Provides the identifier for your streaming request.

                                                                                                  diff --git a/sdk/transcribestreaming/src/client/start_stream_transcription.rs b/sdk/transcribestreaming/src/client/start_stream_transcription.rs index 27df759311de..7870dc6e6184 100644 --- a/sdk/transcribestreaming/src/client/start_stream_transcription.rs +++ b/sdk/transcribestreaming/src/client/start_stream_transcription.rs @@ -7,23 +7,23 @@ impl super::Client { /// - [`media_sample_rate_hertz(i32)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::media_sample_rate_hertz) / [`set_media_sample_rate_hertz(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_media_sample_rate_hertz):
                                                                                                  required: **true**

                                                                                                  The sample rate of the input audio (in hertz). Low-quality audio, such as telephone audio, is typically around 8,000 Hz. High-quality audio typically ranges from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must match that of your audio.


                                                                                                  /// - [`media_encoding(MediaEncoding)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::media_encoding) / [`set_media_encoding(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_media_encoding):
                                                                                                  required: **true**

                                                                                                  Specify the encoding of your input audio. Supported formats are:

                                                                                                  • FLAC

                                                                                                  • OPUS-encoded audio in an Ogg container

                                                                                                  • PCM (only signed 16-bit little-endian audio formats, which does not include WAV)

                                                                                                  For more information, see Media formats.


                                                                                                  /// - [`vocabulary_name(impl Into)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::vocabulary_name) / [`set_vocabulary_name(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_vocabulary_name):
                                                                                                  required: **false**

                                                                                                  Specify the name of the custom vocabulary that you want to use when processing your transcription. Note that vocabulary names are case sensitive.

                                                                                                  If the language of the specified custom vocabulary doesn't match the language identified in your media, the custom vocabulary is not applied to your transcription.

                                                                                                  This parameter is not intended for use with the IdentifyLanguage parameter. If you're including IdentifyLanguage in your request and want to use one or more custom vocabularies with your transcription, use the VocabularyNames parameter instead.

                                                                                                  For more information, see Custom vocabularies.


                                                                                                  - /// - [`session_id(impl Into)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::session_id) / [`set_session_id(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_session_id):
                                                                                                  required: **false**

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  You can use a session ID to retry a streaming session.


                                                                                                  + /// - [`session_id(impl Into)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::session_id) / [`set_session_id(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_session_id):
                                                                                                  required: **false**

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.


                                                                                                  /// - [`audio_stream(EventStreamSender)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::audio_stream) / [`set_audio_stream(EventStreamSender)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_audio_stream):
                                                                                                  required: **true**

                                                                                                  An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket data frames.

                                                                                                  For more information, see Transcribing streaming audio.


                                                                                                  /// - [`vocabulary_filter_name(impl Into)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::vocabulary_filter_name) / [`set_vocabulary_filter_name(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_vocabulary_filter_name):
                                                                                                  required: **false**

                                                                                                  Specify the name of the custom vocabulary filter that you want to use when processing your transcription. Note that vocabulary filter names are case sensitive.

                                                                                                  If the language of the specified custom vocabulary filter doesn't match the language identified in your media, the vocabulary filter is not applied to your transcription.

                                                                                                  This parameter is not intended for use with the IdentifyLanguage parameter. If you're including IdentifyLanguage in your request and want to use one or more vocabulary filters with your transcription, use the VocabularyFilterNames parameter instead.

                                                                                                  For more information, see Using vocabulary filtering with unwanted words.


                                                                                                  /// - [`vocabulary_filter_method(VocabularyFilterMethod)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::vocabulary_filter_method) / [`set_vocabulary_filter_method(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_vocabulary_filter_method):
                                                                                                  required: **false**

                                                                                                  Specify how you want your vocabulary filter applied to your transcript.

                                                                                                  To replace words with ***, choose mask.

                                                                                                  To delete words, choose remove.

                                                                                                  To flag words without changing them, choose tag.


                                                                                                  /// - [`show_speaker_label(bool)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::show_speaker_label) / [`set_show_speaker_label(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_show_speaker_label):
                                                                                                  required: **false**

                                                                                                  Enables speaker partitioning (diarization) in your transcription output. Speaker partitioning labels the speech from individual speakers in your media file.

                                                                                                  For more information, see Partitioning speakers (diarization).


                                                                                                  - /// - [`enable_channel_identification(bool)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::enable_channel_identification) / [`set_enable_channel_identification(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_enable_channel_identification):
                                                                                                  required: **false**

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  For more information, see Transcribing multi-channel audio.


                                                                                                  - /// - [`number_of_channels(i32)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::number_of_channels) / [`set_number_of_channels(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_number_of_channels):
                                                                                                  required: **false**

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.


                                                                                                  + /// - [`enable_channel_identification(bool)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::enable_channel_identification) / [`set_enable_channel_identification(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_enable_channel_identification):
                                                                                                  required: **false**

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  For more information, see Transcribing multi-channel audio.


                                                                                                  + /// - [`number_of_channels(i32)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::number_of_channels) / [`set_number_of_channels(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_number_of_channels):
                                                                                                  required: **false**

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.


                                                                                                  /// - [`enable_partial_results_stabilization(bool)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::enable_partial_results_stabilization) / [`set_enable_partial_results_stabilization(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_enable_partial_results_stabilization):
                                                                                                  required: **false**

                                                                                                  Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in your output, but may impact accuracy. For more information, see Partial-result stabilization.


                                                                                                  /// - [`partial_results_stability(PartialResultsStability)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::partial_results_stability) / [`set_partial_results_stability(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_partial_results_stability):
                                                                                                  required: **false**

                                                                                                  Specify the level of stability to use when you enable partial results stabilization (EnablePartialResultsStabilization).

                                                                                                  Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy.

                                                                                                  For more information, see Partial-result stabilization.


                                                                                                  - /// - [`content_identification_type(ContentIdentificationType)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::content_identification_type) / [`set_content_identification_type(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_content_identification_type):
                                                                                                  required: **false**

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  For more information, see Redacting or identifying personally identifiable information.


                                                                                                  - /// - [`content_redaction_type(ContentRedactionType)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::content_redaction_type) / [`set_content_redaction_type(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_content_redaction_type):
                                                                                                  required: **false**

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  For more information, see Redacting or identifying personally identifiable information.


                                                                                                  - /// - [`pii_entity_types(impl Into)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::pii_entity_types) / [`set_pii_entity_types(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_pii_entity_types):
                                                                                                  required: **false**

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  To include PiiEntityTypes in your request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.


                                                                                                  + /// - [`content_identification_type(ContentIdentificationType)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::content_identification_type) / [`set_content_identification_type(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_content_identification_type):
                                                                                                  required: **false**

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  For more information, see Redacting or identifying personally identifiable information.


                                                                                                  + /// - [`content_redaction_type(ContentRedactionType)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::content_redaction_type) / [`set_content_redaction_type(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_content_redaction_type):
                                                                                                  required: **false**

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  For more information, see Redacting or identifying personally identifiable information.


                                                                                                  + /// - [`pii_entity_types(impl Into)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::pii_entity_types) / [`set_pii_entity_types(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_pii_entity_types):
                                                                                                  required: **false**

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.


                                                                                                  /// - [`language_model_name(impl Into)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::language_model_name) / [`set_language_model_name(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_language_model_name):
                                                                                                  required: **false**

                                                                                                  Specify the name of the custom language model that you want to use when processing your transcription. Note that language model names are case sensitive.

                                                                                                  The language of the specified language model must match the language code you specify in your transcription request. If the languages don't match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.

                                                                                                  For more information, see Custom language models.


                                                                                                  - /// - [`identify_language(bool)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::identify_language) / [`set_identify_language(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_identify_language):
                                                                                                  required: **false**

                                                                                                  Enables automatic language identification for your transcription.

                                                                                                  If you include IdentifyLanguage, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your audio stream. Including language options can improve transcription accuracy.

                                                                                                  You can also include a preferred language using PreferredLanguage. Adding a preferred language can help Amazon Transcribe identify the language faster than if you omit this parameter.

                                                                                                  If you have multi-channel audio that contains different languages on each channel, and you've enabled channel identification, automatic language identification identifies the dominant language on each audio channel.

                                                                                                  Note that you must include either LanguageCode or IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  Streaming language identification can't be combined with custom language models or redaction.


                                                                                                  - /// - [`language_options(impl Into)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::language_options) / [`set_language_options(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_language_options):
                                                                                                  required: **false**

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended. If you're unsure what languages are present, do not include this parameter.

                                                                                                  Including language options can improve the accuracy of language identification.

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage.

                                                                                                  For a list of languages supported with Amazon Transcribe streaming, refer to the Supported languages table.

                                                                                                  You can only include one language dialect per language per stream. For example, you cannot include en-US and en-AU in the same request.


                                                                                                  + /// - [`identify_language(bool)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::identify_language) / [`set_identify_language(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_identify_language):
                                                                                                  required: **false**

                                                                                                  Enables automatic language identification for your transcription.

                                                                                                  If you include IdentifyLanguage, you must include a list of language codes, using LanguageOptions, that you think may be present in your audio stream.

                                                                                                  You can also include a preferred language using PreferredLanguage. Adding a preferred language can help Amazon Transcribe identify the language faster than if you omit this parameter.

                                                                                                  If you have multi-channel audio that contains different languages on each channel, and you've enabled channel identification, automatic language identification identifies the dominant language on each audio channel.

                                                                                                  Note that you must include either LanguageCode or IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  Streaming language identification can't be combined with custom language models or redaction.


                                                                                                  + /// - [`language_options(impl Into)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::language_options) / [`set_language_options(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_language_options):
                                                                                                  required: **false**

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended.

                                                                                                  Including language options can improve the accuracy of language identification.

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage or IdentifyMultipleLanguages.

                                                                                                  For a list of languages supported with Amazon Transcribe streaming, refer to the Supported languages table.

                                                                                                  You can only include one language dialect per language per stream. For example, you cannot include en-US and en-AU in the same request.


                                                                                                  /// - [`preferred_language(LanguageCode)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::preferred_language) / [`set_preferred_language(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_preferred_language):
                                                                                                  required: **false**

                                                                                                  Specify a preferred language from the subset of languages codes you specified in LanguageOptions.

                                                                                                  You can only use this parameter if you've included IdentifyLanguage and LanguageOptions in your request.


                                                                                                  - /// - [`identify_multiple_languages(bool)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::identify_multiple_languages) / [`set_identify_multiple_languages(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_identify_multiple_languages):
                                                                                                  required: **false**

                                                                                                  Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.

                                                                                                  If you include IdentifyMultipleLanguages, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your stream. Including LanguageOptions restricts IdentifyMultipleLanguages to only the language options that you specify, which can improve transcription accuracy.

                                                                                                  If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.

                                                                                                  Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.


                                                                                                  + /// - [`identify_multiple_languages(bool)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::identify_multiple_languages) / [`set_identify_multiple_languages(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_identify_multiple_languages):
                                                                                                  required: **false**

                                                                                                  Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.

                                                                                                  If you include IdentifyMultipleLanguages, you must include a list of language codes, using LanguageOptions, that you think may be present in your stream.

                                                                                                  If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.

                                                                                                  Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.


                                                                                                  /// - [`vocabulary_names(impl Into)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::vocabulary_names) / [`set_vocabulary_names(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_vocabulary_names):
                                                                                                  required: **false**

                                                                                                  Specify the names of the custom vocabularies that you want to use when processing your transcription. Note that vocabulary names are case sensitive.

                                                                                                  If none of the languages of the specified custom vocabularies match the language identified in your media, your job fails.

                                                                                                  This parameter is only intended for use with the IdentifyLanguage parameter. If you're not including IdentifyLanguage in your request and want to use a custom vocabulary with your transcription, use the VocabularyName parameter instead.

                                                                                                  For more information, see Custom vocabularies.


                                                                                                  /// - [`vocabulary_filter_names(impl Into)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::vocabulary_filter_names) / [`set_vocabulary_filter_names(Option)`](crate::operation::start_stream_transcription::builders::StartStreamTranscriptionFluentBuilder::set_vocabulary_filter_names):
                                                                                                  required: **false**

                                                                                                  Specify the names of the custom vocabulary filters that you want to use when processing your transcription. Note that vocabulary filter names are case sensitive.

                                                                                                  If none of the languages of the specified custom vocabulary filters match the language identified in your media, your job fails.

                                                                                                  This parameter is only intended for use with the IdentifyLanguage parameter. If you're not including IdentifyLanguage in your request and want to use a custom vocabulary filter with your transcription, use the VocabularyFilterName parameter instead.

                                                                                                  For more information, see Using vocabulary filtering with unwanted words.


                                                                                                  /// - On success, responds with [`StartStreamTranscriptionOutput`](crate::operation::start_stream_transcription::StartStreamTranscriptionOutput) with field(s): diff --git a/sdk/transcribestreaming/src/error_meta.rs b/sdk/transcribestreaming/src/error_meta.rs index 4d47ddc9d81c..4a86f4537906 100644 --- a/sdk/transcribestreaming/src/error_meta.rs +++ b/sdk/transcribestreaming/src/error_meta.rs @@ -3,7 +3,7 @@ #[non_exhaustive] #[derive(::std::fmt::Debug)] pub enum Error { - ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used not valid values. Check the specified parameters and try your request again.

                                                                                                  + ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used unsupported values. Check the specified parameters and try your request again.

                                                                                                  BadRequestException(crate::types::error::BadRequestException), ///

                                                                                                  A new stream started with the same session ID. The current stream has been terminated.

                                                                                                  ConflictException(crate::types::error::ConflictException), diff --git a/sdk/transcribestreaming/src/lib.rs b/sdk/transcribestreaming/src/lib.rs index 83d6676dd2e0..f4bfdca638e6 100644 --- a/sdk/transcribestreaming/src/lib.rs +++ b/sdk/transcribestreaming/src/lib.rs @@ -34,7 +34,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-transcribestreaming = "1.46.0" +//! aws-sdk-transcribestreaming = "1.47.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription.rs b/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription.rs index 87ef4f6458f7..1193f18f09c3 100644 --- a/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription.rs +++ b/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription.rs @@ -278,7 +278,7 @@ impl ::aws_smithy_runtime_api::client::interceptors::Intercept for StartCallAnal pub enum StartCallAnalyticsStreamTranscriptionError { ///

                                                                                                  The service is currently unavailable. Try your request later.

                                                                                                  ServiceUnavailableException(crate::types::error::ServiceUnavailableException), - ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used not valid values. Check the specified parameters and try your request again.

                                                                                                  + ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used unsupported values. Check the specified parameters and try your request again.

                                                                                                  BadRequestException(crate::types::error::BadRequestException), ///

                                                                                                  A problem occurred while processing the audio. Amazon Transcribe terminated processing.

                                                                                                  InternalFailureException(crate::types::error::InternalFailureException), diff --git a/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/_start_call_analytics_stream_transcription_input.rs b/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/_start_call_analytics_stream_transcription_input.rs index 5140a2ce9cc0..eb054afdc6ab 100644 --- a/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/_start_call_analytics_stream_transcription_input.rs +++ b/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/_start_call_analytics_stream_transcription_input.rs @@ -4,8 +4,7 @@ #[derive(::std::fmt::Debug)] pub struct StartCallAnalyticsStreamTranscriptionInput { ///

                                                                                                  Specify the language code that represents the language spoken in your audio.

                                                                                                  - ///

                                                                                                  If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

                                                                                                  - ///

                                                                                                  For a list of languages supported with streaming Call Analytics, refer to the Supported languages table.

                                                                                                  + ///

                                                                                                  For a list of languages supported with real-time Call Analytics, refer to the Supported languages table.

                                                                                                  pub language_code: ::std::option::Option, ///

                                                                                                  The sample rate of the input audio (in hertz). Low-quality audio, such as telephone audio, is typically around 8,000 Hz. High-quality audio typically ranges from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must match that of your audio.

                                                                                                  pub media_sample_rate_hertz: ::std::option::Option, @@ -25,7 +24,6 @@ pub struct StartCallAnalyticsStreamTranscriptionInput { ///

                                                                                                  For more information, see Custom vocabularies.

                                                                                                  pub vocabulary_name: ::std::option::Option<::std::string::String>, ///

                                                                                                  Specify a name for your Call Analytics transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub session_id: ::std::option::Option<::std::string::String>, ///

                                                                                                  An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket data frames.

                                                                                                  ///

                                                                                                  For more information, see Transcribing streaming audio.

                                                                                                  @@ -50,24 +48,24 @@ pub struct StartCallAnalyticsStreamTranscriptionInput { ///

                                                                                                  For more information, see Partial-result stabilization.

                                                                                                  pub partial_results_stability: ::std::option::Option, ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub content_identification_type: ::std::option::Option, ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub content_redaction_type: ::std::option::Option, ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your Call Analytics request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub pii_entity_types: ::std::option::Option<::std::string::String>, } impl StartCallAnalyticsStreamTranscriptionInput { ///

                                                                                                  Specify the language code that represents the language spoken in your audio.

                                                                                                  - ///

                                                                                                  If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

                                                                                                  - ///

                                                                                                  For a list of languages supported with streaming Call Analytics, refer to the Supported languages table.

                                                                                                  + ///

                                                                                                  For a list of languages supported with real-time Call Analytics, refer to the Supported languages table.

                                                                                                  pub fn language_code(&self) -> ::std::option::Option<&crate::types::CallAnalyticsLanguageCode> { self.language_code.as_ref() } @@ -95,7 +93,6 @@ impl StartCallAnalyticsStreamTranscriptionInput { self.vocabulary_name.as_deref() } ///

                                                                                                  Specify a name for your Call Analytics transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn session_id(&self) -> ::std::option::Option<&str> { self.session_id.as_deref() } @@ -136,22 +133,23 @@ impl StartCallAnalyticsStreamTranscriptionInput { self.partial_results_stability.as_ref() } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn content_identification_type(&self) -> ::std::option::Option<&crate::types::ContentIdentificationType> { self.content_identification_type.as_ref() } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn content_redaction_type(&self) -> ::std::option::Option<&crate::types::ContentRedactionType> { self.content_redaction_type.as_ref() } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your Call Analytics request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn pii_entity_types(&self) -> ::std::option::Option<&str> { self.pii_entity_types.as_deref() } @@ -185,23 +183,20 @@ pub struct StartCallAnalyticsStreamTranscriptionInputBuilder { } impl StartCallAnalyticsStreamTranscriptionInputBuilder { ///

                                                                                                  Specify the language code that represents the language spoken in your audio.

                                                                                                  - ///

                                                                                                  If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

                                                                                                  - ///

                                                                                                  For a list of languages supported with streaming Call Analytics, refer to the Supported languages table.

                                                                                                  + ///

                                                                                                  For a list of languages supported with real-time Call Analytics, refer to the Supported languages table.

                                                                                                  /// This field is required. pub fn language_code(mut self, input: crate::types::CallAnalyticsLanguageCode) -> Self { self.language_code = ::std::option::Option::Some(input); self } ///

                                                                                                  Specify the language code that represents the language spoken in your audio.

                                                                                                  - ///

                                                                                                  If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

                                                                                                  - ///

                                                                                                  For a list of languages supported with streaming Call Analytics, refer to the Supported languages table.

                                                                                                  + ///

                                                                                                  For a list of languages supported with real-time Call Analytics, refer to the Supported languages table.

                                                                                                  pub fn set_language_code(mut self, input: ::std::option::Option) -> Self { self.language_code = input; self } ///

                                                                                                  Specify the language code that represents the language spoken in your audio.

                                                                                                  - ///

                                                                                                  If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

                                                                                                  - ///

                                                                                                  For a list of languages supported with streaming Call Analytics, refer to the Supported languages table.

                                                                                                  + ///

                                                                                                  For a list of languages supported with real-time Call Analytics, refer to the Supported languages table.

                                                                                                  pub fn get_language_code(&self) -> &::std::option::Option { &self.language_code } @@ -283,19 +278,16 @@ impl StartCallAnalyticsStreamTranscriptionInputBuilder { &self.vocabulary_name } ///

                                                                                                  Specify a name for your Call Analytics transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.session_id = ::std::option::Option::Some(input.into()); self } ///

                                                                                                  Specify a name for your Call Analytics transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn set_session_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.session_id = input; self } ///

                                                                                                  Specify a name for your Call Analytics transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn get_session_id(&self) -> &::std::option::Option<::std::string::String> { &self.session_id } @@ -426,7 +418,7 @@ impl StartCallAnalyticsStreamTranscriptionInputBuilder { &self.partial_results_stability } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn content_identification_type(mut self, input: crate::types::ContentIdentificationType) -> Self { @@ -434,7 +426,7 @@ impl StartCallAnalyticsStreamTranscriptionInputBuilder { self } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn set_content_identification_type(mut self, input: ::std::option::Option) -> Self { @@ -442,14 +434,14 @@ impl StartCallAnalyticsStreamTranscriptionInputBuilder { self } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn get_content_identification_type(&self) -> &::std::option::Option { &self.content_identification_type } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn content_redaction_type(mut self, input: crate::types::ContentRedactionType) -> Self { @@ -457,7 +449,7 @@ impl StartCallAnalyticsStreamTranscriptionInputBuilder { self } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn set_content_redaction_type(mut self, input: ::std::option::Option) -> Self { @@ -465,29 +457,32 @@ impl StartCallAnalyticsStreamTranscriptionInputBuilder { self } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn get_content_redaction_type(&self) -> &::std::option::Option { &self.content_redaction_type } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your Call Analytics request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn pii_entity_types(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.pii_entity_types = ::std::option::Option::Some(input.into()); self } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your Call Analytics request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn set_pii_entity_types(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.pii_entity_types = input; self } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your Call Analytics request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn get_pii_entity_types(&self) -> &::std::option::Option<::std::string::String> { &self.pii_entity_types } diff --git a/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/_start_call_analytics_stream_transcription_output.rs b/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/_start_call_analytics_stream_transcription_output.rs index 98d490f9b6b4..f2b7afa8f463 100644 --- a/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/_start_call_analytics_stream_transcription_output.rs +++ b/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/_start_call_analytics_stream_transcription_output.rs @@ -3,7 +3,7 @@ #[non_exhaustive] #[derive(::std::fmt::Debug)] pub struct StartCallAnalyticsStreamTranscriptionOutput { - ///

                                                                                                  Provides the identifier for your Call Analytics streaming request.

                                                                                                  + ///

                                                                                                  Provides the identifier for your real-time Call Analytics request.

                                                                                                  pub request_id: ::std::option::Option<::std::string::String>, ///

                                                                                                  Provides the language code that you specified in your Call Analytics request.

                                                                                                  pub language_code: ::std::option::Option, @@ -15,7 +15,7 @@ pub struct StartCallAnalyticsStreamTranscriptionOutput { pub vocabulary_name: ::std::option::Option<::std::string::String>, ///

                                                                                                  Provides the identifier for your Call Analytics transcription session.

                                                                                                  pub session_id: ::std::option::Option<::std::string::String>, - ///

                                                                                                  Provides detailed information about your Call Analytics streaming session.

                                                                                                  + ///

                                                                                                  Provides detailed information about your real-time Call Analytics session.

                                                                                                  pub call_analytics_transcript_result_stream: crate::event_receiver::EventReceiver< crate::types::CallAnalyticsTranscriptResultStream, crate::types::error::CallAnalyticsTranscriptResultStreamError, @@ -39,7 +39,7 @@ pub struct StartCallAnalyticsStreamTranscriptionOutput { _request_id: Option, } impl StartCallAnalyticsStreamTranscriptionOutput { - ///

                                                                                                  Provides the identifier for your Call Analytics streaming request.

                                                                                                  + ///

                                                                                                  Provides the identifier for your real-time Call Analytics request.

                                                                                                  pub fn request_id(&self) -> ::std::option::Option<&str> { self.request_id.as_deref() } @@ -63,7 +63,7 @@ impl StartCallAnalyticsStreamTranscriptionOutput { pub fn session_id(&self) -> ::std::option::Option<&str> { self.session_id.as_deref() } - ///

                                                                                                  Provides detailed information about your Call Analytics streaming session.

                                                                                                  + ///

                                                                                                  Provides detailed information about your real-time Call Analytics session.

                                                                                                  pub fn call_analytics_transcript_result_stream( &self, ) -> &crate::event_receiver::EventReceiver< @@ -144,17 +144,17 @@ pub struct StartCallAnalyticsStreamTranscriptionOutputBuilder { _request_id: Option, } impl StartCallAnalyticsStreamTranscriptionOutputBuilder { - ///

                                                                                                  Provides the identifier for your Call Analytics streaming request.

                                                                                                  + ///

                                                                                                  Provides the identifier for your real-time Call Analytics request.

                                                                                                  pub fn request_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.request_id = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                  Provides the identifier for your Call Analytics streaming request.

                                                                                                  + ///

                                                                                                  Provides the identifier for your real-time Call Analytics request.

                                                                                                  pub fn set_request_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.request_id = input; self } - ///

                                                                                                  Provides the identifier for your Call Analytics streaming request.

                                                                                                  + ///

                                                                                                  Provides the identifier for your real-time Call Analytics request.

                                                                                                  pub fn get_request_id(&self) -> &::std::option::Option<::std::string::String> { &self.request_id } @@ -228,7 +228,7 @@ impl StartCallAnalyticsStreamTranscriptionOutputBuilder { pub fn get_session_id(&self) -> &::std::option::Option<::std::string::String> { &self.session_id } - ///

                                                                                                  Provides detailed information about your Call Analytics streaming session.

                                                                                                  + ///

                                                                                                  Provides detailed information about your real-time Call Analytics session.

                                                                                                  pub fn call_analytics_transcript_result_stream( mut self, input: crate::event_receiver::EventReceiver< @@ -239,7 +239,7 @@ impl StartCallAnalyticsStreamTranscriptionOutputBuilder { self.call_analytics_transcript_result_stream = ::std::option::Option::Some(input); self } - ///

                                                                                                  Provides detailed information about your Call Analytics streaming session.

                                                                                                  + ///

                                                                                                  Provides detailed information about your real-time Call Analytics session.

                                                                                                  pub fn set_call_analytics_transcript_result_stream( mut self, input: ::std::option::Option< @@ -252,7 +252,7 @@ impl StartCallAnalyticsStreamTranscriptionOutputBuilder { self.call_analytics_transcript_result_stream = input; self } - ///

                                                                                                  Provides detailed information about your Call Analytics streaming session.

                                                                                                  + ///

                                                                                                  Provides detailed information about your real-time Call Analytics session.

                                                                                                  pub fn get_call_analytics_transcript_result_stream( &self, ) -> &::std::option::Option< diff --git a/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/builders.rs b/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/builders.rs index da192525902d..2e5070f50415 100644 --- a/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/builders.rs +++ b/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/builders.rs @@ -122,22 +122,19 @@ impl StartCallAnalyticsStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Specify the language code that represents the language spoken in your audio.

                                                                                                  - ///

                                                                                                  If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

                                                                                                  - ///

                                                                                                  For a list of languages supported with streaming Call Analytics, refer to the Supported languages table.

                                                                                                  + ///

                                                                                                  For a list of languages supported with real-time Call Analytics, refer to the Supported languages table.

                                                                                                  pub fn language_code(mut self, input: crate::types::CallAnalyticsLanguageCode) -> Self { self.inner = self.inner.language_code(input); self } ///

                                                                                                  Specify the language code that represents the language spoken in your audio.

                                                                                                  - ///

                                                                                                  If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

                                                                                                  - ///

                                                                                                  For a list of languages supported with streaming Call Analytics, refer to the Supported languages table.

                                                                                                  + ///

                                                                                                  For a list of languages supported with real-time Call Analytics, refer to the Supported languages table.

                                                                                                  pub fn set_language_code(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_language_code(input); self } ///

                                                                                                  Specify the language code that represents the language spoken in your audio.

                                                                                                  - ///

                                                                                                  If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

                                                                                                  - ///

                                                                                                  For a list of languages supported with streaming Call Analytics, refer to the Supported languages table.

                                                                                                  + ///

                                                                                                  For a list of languages supported with real-time Call Analytics, refer to the Supported languages table.

                                                                                                  pub fn get_language_code(&self) -> &::std::option::Option { self.inner.get_language_code() } @@ -217,19 +214,16 @@ impl StartCallAnalyticsStreamTranscriptionFluentBuilder { self.inner.get_vocabulary_name() } ///

                                                                                                  Specify a name for your Call Analytics transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); self } ///

                                                                                                  Specify a name for your Call Analytics transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn set_session_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_session_id(input); self } ///

                                                                                                  Specify a name for your Call Analytics transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn get_session_id(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_session_id() } @@ -359,7 +353,7 @@ impl StartCallAnalyticsStreamTranscriptionFluentBuilder { self.inner.get_partial_results_stability() } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn content_identification_type(mut self, input: crate::types::ContentIdentificationType) -> Self { @@ -367,7 +361,7 @@ impl StartCallAnalyticsStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn set_content_identification_type(mut self, input: ::std::option::Option) -> Self { @@ -375,14 +369,14 @@ impl StartCallAnalyticsStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn get_content_identification_type(&self) -> &::std::option::Option { self.inner.get_content_identification_type() } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn content_redaction_type(mut self, input: crate::types::ContentRedactionType) -> Self { @@ -390,7 +384,7 @@ impl StartCallAnalyticsStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn set_content_redaction_type(mut self, input: ::std::option::Option) -> Self { @@ -398,29 +392,32 @@ impl StartCallAnalyticsStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn get_content_redaction_type(&self) -> &::std::option::Option { self.inner.get_content_redaction_type() } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your Call Analytics request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn pii_entity_types(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pii_entity_types(input.into()); self } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your Call Analytics request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn set_pii_entity_types(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_pii_entity_types(input); self } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your Call Analytics request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn get_pii_entity_types(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_pii_entity_types() } diff --git a/sdk/transcribestreaming/src/operation/start_medical_stream_transcription.rs b/sdk/transcribestreaming/src/operation/start_medical_stream_transcription.rs index 236380aaae6d..1eda2b8b0982 100644 --- a/sdk/transcribestreaming/src/operation/start_medical_stream_transcription.rs +++ b/sdk/transcribestreaming/src/operation/start_medical_stream_transcription.rs @@ -274,7 +274,7 @@ impl ::aws_smithy_runtime_api::client::interceptors::Intercept for StartMedicalS pub enum StartMedicalStreamTranscriptionError { ///

                                                                                                  The service is currently unavailable. Try your request later.

                                                                                                  ServiceUnavailableException(crate::types::error::ServiceUnavailableException), - ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used not valid values. Check the specified parameters and try your request again.

                                                                                                  + ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used unsupported values. Check the specified parameters and try your request again.

                                                                                                  BadRequestException(crate::types::error::BadRequestException), ///

                                                                                                  A problem occurred while processing the audio. Amazon Transcribe terminated processing.

                                                                                                  InternalFailureException(crate::types::error::InternalFailureException), diff --git a/sdk/transcribestreaming/src/operation/start_medical_stream_transcription/_start_medical_stream_transcription_input.rs b/sdk/transcribestreaming/src/operation/start_medical_stream_transcription/_start_medical_stream_transcription_input.rs index e029559a8575..9e9df6c418a0 100644 --- a/sdk/transcribestreaming/src/operation/start_medical_stream_transcription/_start_medical_stream_transcription_input.rs +++ b/sdk/transcribestreaming/src/operation/start_medical_stream_transcription/_start_medical_stream_transcription_input.rs @@ -30,7 +30,6 @@ pub struct StartMedicalStreamTranscriptionInput { ///

                                                                                                  For more information, see Partitioning speakers (diarization).

                                                                                                  pub show_speaker_label: ::std::option::Option, ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe Medical generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub session_id: ::std::option::Option<::std::string::String>, ///

                                                                                                  An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket data frames.

                                                                                                  ///

                                                                                                  For more information, see Transcribing streaming audio.

                                                                                                  @@ -38,9 +37,11 @@ pub struct StartMedicalStreamTranscriptionInput { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub enable_channel_identification: ::std::option::Option, - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub number_of_channels: ::std::option::Option, ///

                                                                                                  Labels all personal health information (PHI) identified in your transcript.

                                                                                                  ///

                                                                                                  Content identification is performed at the segment level; PHI is flagged upon complete transcription of an audio segment.

                                                                                                  @@ -89,7 +90,6 @@ impl StartMedicalStreamTranscriptionInput { self.show_speaker_label } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe Medical generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn session_id(&self) -> ::std::option::Option<&str> { self.session_id.as_deref() } @@ -103,11 +103,13 @@ impl StartMedicalStreamTranscriptionInput { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn enable_channel_identification(&self) -> ::std::option::Option { self.enable_channel_identification } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn number_of_channels(&self) -> ::std::option::Option { self.number_of_channels } @@ -284,19 +286,16 @@ impl StartMedicalStreamTranscriptionInputBuilder { &self.show_speaker_label } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe Medical generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.session_id = ::std::option::Option::Some(input.into()); self } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe Medical generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn set_session_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.session_id = input; self } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe Medical generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn get_session_id(&self) -> &::std::option::Option<::std::string::String> { &self.session_id } @@ -332,6 +331,7 @@ impl StartMedicalStreamTranscriptionInputBuilder { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn enable_channel_identification(mut self, input: bool) -> Self { self.enable_channel_identification = ::std::option::Option::Some(input); @@ -340,6 +340,7 @@ impl StartMedicalStreamTranscriptionInputBuilder { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn set_enable_channel_identification(mut self, input: ::std::option::Option) -> Self { self.enable_channel_identification = input; @@ -348,21 +349,25 @@ impl StartMedicalStreamTranscriptionInputBuilder { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn get_enable_channel_identification(&self) -> &::std::option::Option { &self.enable_channel_identification } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn number_of_channels(mut self, input: i32) -> Self { self.number_of_channels = ::std::option::Option::Some(input); self } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn set_number_of_channels(mut self, input: ::std::option::Option) -> Self { self.number_of_channels = input; self } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn get_number_of_channels(&self) -> &::std::option::Option { &self.number_of_channels } diff --git a/sdk/transcribestreaming/src/operation/start_medical_stream_transcription/builders.rs b/sdk/transcribestreaming/src/operation/start_medical_stream_transcription/builders.rs index 4f1d17c20a42..2e2696cac228 100644 --- a/sdk/transcribestreaming/src/operation/start_medical_stream_transcription/builders.rs +++ b/sdk/transcribestreaming/src/operation/start_medical_stream_transcription/builders.rs @@ -253,19 +253,16 @@ impl StartMedicalStreamTranscriptionFluentBuilder { self.inner.get_show_speaker_label() } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe Medical generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); self } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe Medical generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn set_session_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_session_id(input); self } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe Medical generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn get_session_id(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_session_id() } @@ -300,6 +297,7 @@ impl StartMedicalStreamTranscriptionFluentBuilder { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn enable_channel_identification(mut self, input: bool) -> Self { self.inner = self.inner.enable_channel_identification(input); @@ -308,6 +306,7 @@ impl StartMedicalStreamTranscriptionFluentBuilder { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn set_enable_channel_identification(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_enable_channel_identification(input); @@ -316,21 +315,25 @@ impl StartMedicalStreamTranscriptionFluentBuilder { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn get_enable_channel_identification(&self) -> &::std::option::Option { self.inner.get_enable_channel_identification() } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn number_of_channels(mut self, input: i32) -> Self { self.inner = self.inner.number_of_channels(input); self } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn set_number_of_channels(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_number_of_channels(input); self } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn get_number_of_channels(&self) -> &::std::option::Option { self.inner.get_number_of_channels() } diff --git a/sdk/transcribestreaming/src/operation/start_stream_transcription.rs b/sdk/transcribestreaming/src/operation/start_stream_transcription.rs index aa97a811d527..3cc9a329b8f0 100644 --- a/sdk/transcribestreaming/src/operation/start_stream_transcription.rs +++ b/sdk/transcribestreaming/src/operation/start_stream_transcription.rs @@ -273,7 +273,7 @@ impl ::aws_smithy_runtime_api::client::interceptors::Intercept for StartStreamTr pub enum StartStreamTranscriptionError { ///

                                                                                                  The service is currently unavailable. Try your request later.

                                                                                                  ServiceUnavailableException(crate::types::error::ServiceUnavailableException), - ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used not valid values. Check the specified parameters and try your request again.

                                                                                                  + ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used unsupported values. Check the specified parameters and try your request again.

                                                                                                  BadRequestException(crate::types::error::BadRequestException), ///

                                                                                                  A problem occurred while processing the audio. Amazon Transcribe terminated processing.

                                                                                                  InternalFailureException(crate::types::error::InternalFailureException), diff --git a/sdk/transcribestreaming/src/operation/start_stream_transcription/_start_stream_transcription_input.rs b/sdk/transcribestreaming/src/operation/start_stream_transcription/_start_stream_transcription_input.rs index fdae62faf83a..f2684957f54e 100644 --- a/sdk/transcribestreaming/src/operation/start_stream_transcription/_start_stream_transcription_input.rs +++ b/sdk/transcribestreaming/src/operation/start_stream_transcription/_start_stream_transcription_input.rs @@ -27,7 +27,6 @@ pub struct StartStreamTranscriptionInput { ///

                                                                                                  For more information, see Custom vocabularies.

                                                                                                  pub vocabulary_name: ::std::option::Option<::std::string::String>, ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub session_id: ::std::option::Option<::std::string::String>, ///

                                                                                                  An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket data frames.

                                                                                                  ///

                                                                                                  For more information, see Transcribing streaming audio.

                                                                                                  @@ -49,9 +48,11 @@ pub struct StartStreamTranscriptionInput { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub enable_channel_identification: ::std::option::Option, - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub number_of_channels: ::std::option::Option, ///

                                                                                                  Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in your output, but may impact accuracy. For more information, see Partial-result stabilization.

                                                                                                  pub enable_partial_results_stabilization: ::std::option::Option, @@ -60,33 +61,34 @@ pub struct StartStreamTranscriptionInput { ///

                                                                                                  For more information, see Partial-result stabilization.

                                                                                                  pub partial_results_stability: ::std::option::Option, ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub content_identification_type: ::std::option::Option, ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub content_redaction_type: ::std::option::Option, ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub pii_entity_types: ::std::option::Option<::std::string::String>, ///

                                                                                                  Specify the name of the custom language model that you want to use when processing your transcription. Note that language model names are case sensitive.

                                                                                                  ///

                                                                                                  The language of the specified language model must match the language code you specify in your transcription request. If the languages don't match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.

                                                                                                  ///

                                                                                                  For more information, see Custom language models.

                                                                                                  pub language_model_name: ::std::option::Option<::std::string::String>, ///

                                                                                                  Enables automatic language identification for your transcription.

                                                                                                  - ///

                                                                                                  If you include IdentifyLanguage, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your audio stream. Including language options can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyLanguage, you must include a list of language codes, using LanguageOptions, that you think may be present in your audio stream.

                                                                                                  ///

                                                                                                  You can also include a preferred language using PreferredLanguage. Adding a preferred language can help Amazon Transcribe identify the language faster than if you omit this parameter.

                                                                                                  ///

                                                                                                  If you have multi-channel audio that contains different languages on each channel, and you've enabled channel identification, automatic language identification identifies the dominant language on each audio channel.

                                                                                                  ///

                                                                                                  Note that you must include either LanguageCode or IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  ///

                                                                                                  Streaming language identification can't be combined with custom language models or redaction.

                                                                                                  pub identify_language: ::std::option::Option, - ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended. If you're unsure what languages are present, do not include this parameter.

                                                                                                  + ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended.

                                                                                                  ///

                                                                                                  Including language options can improve the accuracy of language identification.

                                                                                                  - ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage.

                                                                                                  + ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage or IdentifyMultipleLanguages.

                                                                                                  ///

                                                                                                  For a list of languages supported with Amazon Transcribe streaming, refer to the Supported languages table.

                                                                                                  ///

                                                                                                  You can only include one language dialect per language per stream. For example, you cannot include en-US and en-AU in the same request.

                                                                                                  ///
                                                                                                  @@ -95,7 +97,7 @@ pub struct StartStreamTranscriptionInput { ///

                                                                                                  You can only use this parameter if you've included IdentifyLanguage and LanguageOptions in your request.

                                                                                                  pub preferred_language: ::std::option::Option, ///

                                                                                                  Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.

                                                                                                  - ///

                                                                                                  If you include IdentifyMultipleLanguages, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your stream. Including LanguageOptions restricts IdentifyMultipleLanguages to only the language options that you specify, which can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyMultipleLanguages, you must include a list of language codes, using LanguageOptions, that you think may be present in your stream.

                                                                                                  ///

                                                                                                  If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.

                                                                                                  ///

                                                                                                  Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  pub identify_multiple_languages: ::std::option::Option, @@ -145,7 +147,6 @@ impl StartStreamTranscriptionInput { self.vocabulary_name.as_deref() } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn session_id(&self) -> ::std::option::Option<&str> { self.session_id.as_deref() } @@ -179,11 +180,13 @@ impl StartStreamTranscriptionInput { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn enable_channel_identification(&self) -> ::std::option::Option { self.enable_channel_identification } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn number_of_channels(&self) -> ::std::option::Option { self.number_of_channels } @@ -198,22 +201,23 @@ impl StartStreamTranscriptionInput { self.partial_results_stability.as_ref() } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn content_identification_type(&self) -> ::std::option::Option<&crate::types::ContentIdentificationType> { self.content_identification_type.as_ref() } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn content_redaction_type(&self) -> ::std::option::Option<&crate::types::ContentRedactionType> { self.content_redaction_type.as_ref() } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn pii_entity_types(&self) -> ::std::option::Option<&str> { self.pii_entity_types.as_deref() } @@ -224,7 +228,7 @@ impl StartStreamTranscriptionInput { self.language_model_name.as_deref() } ///

                                                                                                  Enables automatic language identification for your transcription.

                                                                                                  - ///

                                                                                                  If you include IdentifyLanguage, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your audio stream. Including language options can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyLanguage, you must include a list of language codes, using LanguageOptions, that you think may be present in your audio stream.

                                                                                                  ///

                                                                                                  You can also include a preferred language using PreferredLanguage. Adding a preferred language can help Amazon Transcribe identify the language faster than if you omit this parameter.

                                                                                                  ///

                                                                                                  If you have multi-channel audio that contains different languages on each channel, and you've enabled channel identification, automatic language identification identifies the dominant language on each audio channel.

                                                                                                  ///

                                                                                                  Note that you must include either LanguageCode or IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  @@ -232,9 +236,9 @@ impl StartStreamTranscriptionInput { pub fn identify_language(&self) -> ::std::option::Option { self.identify_language } - ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended. If you're unsure what languages are present, do not include this parameter.

                                                                                                  + ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended.

                                                                                                  ///

                                                                                                  Including language options can improve the accuracy of language identification.

                                                                                                  - ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage.

                                                                                                  + ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage or IdentifyMultipleLanguages.

                                                                                                  ///

                                                                                                  For a list of languages supported with Amazon Transcribe streaming, refer to the Supported languages table.

                                                                                                  ///

                                                                                                  You can only include one language dialect per language per stream. For example, you cannot include en-US and en-AU in the same request.

                                                                                                  ///
                                                                                                  @@ -247,7 +251,7 @@ impl StartStreamTranscriptionInput { self.preferred_language.as_ref() } ///

                                                                                                  Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.

                                                                                                  - ///

                                                                                                  If you include IdentifyMultipleLanguages, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your stream. Including LanguageOptions restricts IdentifyMultipleLanguages to only the language options that you specify, which can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyMultipleLanguages, you must include a list of language codes, using LanguageOptions, that you think may be present in your stream.

                                                                                                  ///

                                                                                                  If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.

                                                                                                  ///

                                                                                                  Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  pub fn identify_multiple_languages(&self) -> ::std::option::Option { @@ -411,19 +415,16 @@ impl StartStreamTranscriptionInputBuilder { &self.vocabulary_name } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.session_id = ::std::option::Option::Some(input.into()); self } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn set_session_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.session_id = input; self } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn get_session_id(&self) -> &::std::option::Option<::std::string::String> { &self.session_id } @@ -525,6 +526,7 @@ impl StartStreamTranscriptionInputBuilder { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn enable_channel_identification(mut self, input: bool) -> Self { self.enable_channel_identification = ::std::option::Option::Some(input); @@ -533,6 +535,7 @@ impl StartStreamTranscriptionInputBuilder { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn set_enable_channel_identification(mut self, input: ::std::option::Option) -> Self { self.enable_channel_identification = input; @@ -541,21 +544,25 @@ impl StartStreamTranscriptionInputBuilder { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn get_enable_channel_identification(&self) -> &::std::option::Option { &self.enable_channel_identification } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn number_of_channels(mut self, input: i32) -> Self { self.number_of_channels = ::std::option::Option::Some(input); self } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn set_number_of_channels(mut self, input: ::std::option::Option) -> Self { self.number_of_channels = input; self } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn get_number_of_channels(&self) -> &::std::option::Option { &self.number_of_channels } @@ -594,7 +601,7 @@ impl StartStreamTranscriptionInputBuilder { &self.partial_results_stability } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn content_identification_type(mut self, input: crate::types::ContentIdentificationType) -> Self { @@ -602,7 +609,7 @@ impl StartStreamTranscriptionInputBuilder { self } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn set_content_identification_type(mut self, input: ::std::option::Option) -> Self { @@ -610,14 +617,14 @@ impl StartStreamTranscriptionInputBuilder { self } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn get_content_identification_type(&self) -> &::std::option::Option { &self.content_identification_type } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn content_redaction_type(mut self, input: crate::types::ContentRedactionType) -> Self { @@ -625,7 +632,7 @@ impl StartStreamTranscriptionInputBuilder { self } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn set_content_redaction_type(mut self, input: ::std::option::Option) -> Self { @@ -633,29 +640,32 @@ impl StartStreamTranscriptionInputBuilder { self } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn get_content_redaction_type(&self) -> &::std::option::Option { &self.content_redaction_type } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn pii_entity_types(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.pii_entity_types = ::std::option::Option::Some(input.into()); self } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn set_pii_entity_types(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.pii_entity_types = input; self } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn get_pii_entity_types(&self) -> &::std::option::Option<::std::string::String> { &self.pii_entity_types } @@ -680,7 +690,7 @@ impl StartStreamTranscriptionInputBuilder { &self.language_model_name } ///

                                                                                                  Enables automatic language identification for your transcription.

                                                                                                  - ///

                                                                                                  If you include IdentifyLanguage, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your audio stream. Including language options can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyLanguage, you must include a list of language codes, using LanguageOptions, that you think may be present in your audio stream.

                                                                                                  ///

                                                                                                  You can also include a preferred language using PreferredLanguage. Adding a preferred language can help Amazon Transcribe identify the language faster than if you omit this parameter.

                                                                                                  ///

                                                                                                  If you have multi-channel audio that contains different languages on each channel, and you've enabled channel identification, automatic language identification identifies the dominant language on each audio channel.

                                                                                                  ///

                                                                                                  Note that you must include either LanguageCode or IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  @@ -690,7 +700,7 @@ impl StartStreamTranscriptionInputBuilder { self } ///

                                                                                                  Enables automatic language identification for your transcription.

                                                                                                  - ///

                                                                                                  If you include IdentifyLanguage, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your audio stream. Including language options can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyLanguage, you must include a list of language codes, using LanguageOptions, that you think may be present in your audio stream.

                                                                                                  ///

                                                                                                  You can also include a preferred language using PreferredLanguage. Adding a preferred language can help Amazon Transcribe identify the language faster than if you omit this parameter.

                                                                                                  ///

                                                                                                  If you have multi-channel audio that contains different languages on each channel, and you've enabled channel identification, automatic language identification identifies the dominant language on each audio channel.

                                                                                                  ///

                                                                                                  Note that you must include either LanguageCode or IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  @@ -700,7 +710,7 @@ impl StartStreamTranscriptionInputBuilder { self } ///

                                                                                                  Enables automatic language identification for your transcription.

                                                                                                  - ///

                                                                                                  If you include IdentifyLanguage, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your audio stream. Including language options can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyLanguage, you must include a list of language codes, using LanguageOptions, that you think may be present in your audio stream.

                                                                                                  ///

                                                                                                  You can also include a preferred language using PreferredLanguage. Adding a preferred language can help Amazon Transcribe identify the language faster than if you omit this parameter.

                                                                                                  ///

                                                                                                  If you have multi-channel audio that contains different languages on each channel, and you've enabled channel identification, automatic language identification identifies the dominant language on each audio channel.

                                                                                                  ///

                                                                                                  Note that you must include either LanguageCode or IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  @@ -708,9 +718,9 @@ impl StartStreamTranscriptionInputBuilder { pub fn get_identify_language(&self) -> &::std::option::Option { &self.identify_language } - ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended. If you're unsure what languages are present, do not include this parameter.

                                                                                                  + ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended.

                                                                                                  ///

                                                                                                  Including language options can improve the accuracy of language identification.

                                                                                                  - ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage.

                                                                                                  + ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage or IdentifyMultipleLanguages.

                                                                                                  ///

                                                                                                  For a list of languages supported with Amazon Transcribe streaming, refer to the Supported languages table.

                                                                                                  ///

                                                                                                  You can only include one language dialect per language per stream. For example, you cannot include en-US and en-AU in the same request.

                                                                                                  ///
                                                                                                  @@ -718,9 +728,9 @@ impl StartStreamTranscriptionInputBuilder { self.language_options = ::std::option::Option::Some(input.into()); self } - ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended. If you're unsure what languages are present, do not include this parameter.

                                                                                                  + ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended.

                                                                                                  ///

                                                                                                  Including language options can improve the accuracy of language identification.

                                                                                                  - ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage.

                                                                                                  + ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage or IdentifyMultipleLanguages.

                                                                                                  ///

                                                                                                  For a list of languages supported with Amazon Transcribe streaming, refer to the Supported languages table.

                                                                                                  ///

                                                                                                  You can only include one language dialect per language per stream. For example, you cannot include en-US and en-AU in the same request.

                                                                                                  ///
                                                                                                  @@ -728,9 +738,9 @@ impl StartStreamTranscriptionInputBuilder { self.language_options = input; self } - ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended. If you're unsure what languages are present, do not include this parameter.

                                                                                                  + ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended.

                                                                                                  ///

                                                                                                  Including language options can improve the accuracy of language identification.

                                                                                                  - ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage.

                                                                                                  + ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage or IdentifyMultipleLanguages.

                                                                                                  ///

                                                                                                  For a list of languages supported with Amazon Transcribe streaming, refer to the Supported languages table.

                                                                                                  ///

                                                                                                  You can only include one language dialect per language per stream. For example, you cannot include en-US and en-AU in the same request.

                                                                                                  ///
                                                                                                  @@ -755,7 +765,7 @@ impl StartStreamTranscriptionInputBuilder { &self.preferred_language } ///

                                                                                                  Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.

                                                                                                  - ///

                                                                                                  If you include IdentifyMultipleLanguages, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your stream. Including LanguageOptions restricts IdentifyMultipleLanguages to only the language options that you specify, which can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyMultipleLanguages, you must include a list of language codes, using LanguageOptions, that you think may be present in your stream.

                                                                                                  ///

                                                                                                  If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.

                                                                                                  ///

                                                                                                  Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  pub fn identify_multiple_languages(mut self, input: bool) -> Self { @@ -763,7 +773,7 @@ impl StartStreamTranscriptionInputBuilder { self } ///

                                                                                                  Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.

                                                                                                  - ///

                                                                                                  If you include IdentifyMultipleLanguages, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your stream. Including LanguageOptions restricts IdentifyMultipleLanguages to only the language options that you specify, which can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyMultipleLanguages, you must include a list of language codes, using LanguageOptions, that you think may be present in your stream.

                                                                                                  ///

                                                                                                  If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.

                                                                                                  ///

                                                                                                  Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  pub fn set_identify_multiple_languages(mut self, input: ::std::option::Option) -> Self { @@ -771,7 +781,7 @@ impl StartStreamTranscriptionInputBuilder { self } ///

                                                                                                  Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.

                                                                                                  - ///

                                                                                                  If you include IdentifyMultipleLanguages, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your stream. Including LanguageOptions restricts IdentifyMultipleLanguages to only the language options that you specify, which can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyMultipleLanguages, you must include a list of language codes, using LanguageOptions, that you think may be present in your stream.

                                                                                                  ///

                                                                                                  If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.

                                                                                                  ///

                                                                                                  Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  pub fn get_identify_multiple_languages(&self) -> &::std::option::Option { diff --git a/sdk/transcribestreaming/src/operation/start_stream_transcription/builders.rs b/sdk/transcribestreaming/src/operation/start_stream_transcription/builders.rs index d2e1741cebf6..c3e8d93ea541 100644 --- a/sdk/transcribestreaming/src/operation/start_stream_transcription/builders.rs +++ b/sdk/transcribestreaming/src/operation/start_stream_transcription/builders.rs @@ -220,19 +220,16 @@ impl StartStreamTranscriptionFluentBuilder { self.inner.get_vocabulary_name() } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); self } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn set_session_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_session_id(input); self } ///

                                                                                                  Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe generates an ID and returns it in the response.

                                                                                                  - ///

                                                                                                  You can use a session ID to retry a streaming session.

                                                                                                  pub fn get_session_id(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_session_id() } @@ -333,6 +330,7 @@ impl StartStreamTranscriptionFluentBuilder { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn enable_channel_identification(mut self, input: bool) -> Self { self.inner = self.inner.enable_channel_identification(input); @@ -341,6 +339,7 @@ impl StartStreamTranscriptionFluentBuilder { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn set_enable_channel_identification(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_enable_channel_identification(input); @@ -349,21 +348,25 @@ impl StartStreamTranscriptionFluentBuilder { ///

                                                                                                  Enables channel identification in multi-channel audio.

                                                                                                  ///

                                                                                                  Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.

                                                                                                  ///

                                                                                                  If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                  + ///

                                                                                                  If you include EnableChannelIdentification in your request, you must also include NumberOfChannels.

                                                                                                  ///

                                                                                                  For more information, see Transcribing multi-channel audio.

                                                                                                  pub fn get_enable_channel_identification(&self) -> &::std::option::Option { self.inner.get_enable_channel_identification() } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn number_of_channels(mut self, input: i32) -> Self { self.inner = self.inner.number_of_channels(input); self } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn set_number_of_channels(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_number_of_channels(input); self } - ///

                                                                                                  Specify the number of channels in your audio stream. Up to two channels are supported.

                                                                                                  + ///

                                                                                                  Specify the number of channels in your audio stream. This value must be 2, as only two channels are supported. If your audio doesn't contain multiple channels, do not include this parameter in your request.

                                                                                                  + ///

                                                                                                  If you include NumberOfChannels in your request, you must also include EnableChannelIdentification.

                                                                                                  pub fn get_number_of_channels(&self) -> &::std::option::Option { self.inner.get_number_of_channels() } @@ -402,7 +405,7 @@ impl StartStreamTranscriptionFluentBuilder { self.inner.get_partial_results_stability() } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn content_identification_type(mut self, input: crate::types::ContentIdentificationType) -> Self { @@ -410,7 +413,7 @@ impl StartStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn set_content_identification_type(mut self, input: ::std::option::Option) -> Self { @@ -418,14 +421,14 @@ impl StartStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Labels all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is identified.

                                                                                                  ///

                                                                                                  You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn get_content_identification_type(&self) -> &::std::option::Option { self.inner.get_content_identification_type() } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn content_redaction_type(mut self, input: crate::types::ContentRedactionType) -> Self { @@ -433,7 +436,7 @@ impl StartStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn set_content_redaction_type(mut self, input: ::std::option::Option) -> Self { @@ -441,29 +444,32 @@ impl StartStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Redacts all personally identifiable information (PII) identified in your transcript.

                                                                                                  - ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.

                                                                                                  + ///

                                                                                                  Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment. If you don't include PiiEntityTypes in your request, all PII is redacted.

                                                                                                  ///

                                                                                                  You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your request returns a BadRequestException.

                                                                                                  ///

                                                                                                  For more information, see Redacting or identifying personally identifiable information.

                                                                                                  pub fn get_content_redaction_type(&self) -> &::std::option::Option { self.inner.get_content_redaction_type() } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn pii_entity_types(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pii_entity_types(input.into()); self } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn set_pii_entity_types(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.inner = self.inner.set_pii_entity_types(input); self } ///

                                                                                                  Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

                                                                                                  - ///

                                                                                                  To include PiiEntityTypes in your request, you must also include either ContentIdentificationType or ContentRedactionType.

                                                                                                  - ///

                                                                                                  Values must be comma-separated and can include: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN, SSN, or ALL.

                                                                                                  + ///

                                                                                                  Note that if you include PiiEntityTypes in your request, you must also include ContentIdentificationType or ContentRedactionType.

                                                                                                  + ///

                                                                                                  If you include ContentRedactionType or ContentIdentificationType in your request, but do not include PiiEntityTypes, all PII is redacted or identified.

                                                                                                  pub fn get_pii_entity_types(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_pii_entity_types() } @@ -488,7 +494,7 @@ impl StartStreamTranscriptionFluentBuilder { self.inner.get_language_model_name() } ///

                                                                                                  Enables automatic language identification for your transcription.

                                                                                                  - ///

                                                                                                  If you include IdentifyLanguage, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your audio stream. Including language options can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyLanguage, you must include a list of language codes, using LanguageOptions, that you think may be present in your audio stream.

                                                                                                  ///

                                                                                                  You can also include a preferred language using PreferredLanguage. Adding a preferred language can help Amazon Transcribe identify the language faster than if you omit this parameter.

                                                                                                  ///

                                                                                                  If you have multi-channel audio that contains different languages on each channel, and you've enabled channel identification, automatic language identification identifies the dominant language on each audio channel.

                                                                                                  ///

                                                                                                  Note that you must include either LanguageCode or IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  @@ -498,7 +504,7 @@ impl StartStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Enables automatic language identification for your transcription.

                                                                                                  - ///

                                                                                                  If you include IdentifyLanguage, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your audio stream. Including language options can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyLanguage, you must include a list of language codes, using LanguageOptions, that you think may be present in your audio stream.

                                                                                                  ///

                                                                                                  You can also include a preferred language using PreferredLanguage. Adding a preferred language can help Amazon Transcribe identify the language faster than if you omit this parameter.

                                                                                                  ///

                                                                                                  If you have multi-channel audio that contains different languages on each channel, and you've enabled channel identification, automatic language identification identifies the dominant language on each audio channel.

                                                                                                  ///

                                                                                                  Note that you must include either LanguageCode or IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  @@ -508,7 +514,7 @@ impl StartStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Enables automatic language identification for your transcription.

                                                                                                  - ///

                                                                                                  If you include IdentifyLanguage, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your audio stream. Including language options can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyLanguage, you must include a list of language codes, using LanguageOptions, that you think may be present in your audio stream.

                                                                                                  ///

                                                                                                  You can also include a preferred language using PreferredLanguage. Adding a preferred language can help Amazon Transcribe identify the language faster than if you omit this parameter.

                                                                                                  ///

                                                                                                  If you have multi-channel audio that contains different languages on each channel, and you've enabled channel identification, automatic language identification identifies the dominant language on each audio channel.

                                                                                                  ///

                                                                                                  Note that you must include either LanguageCode or IdentifyLanguage or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  @@ -516,9 +522,9 @@ impl StartStreamTranscriptionFluentBuilder { pub fn get_identify_language(&self) -> &::std::option::Option { self.inner.get_identify_language() } - ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended. If you're unsure what languages are present, do not include this parameter.

                                                                                                  + ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended.

                                                                                                  ///

                                                                                                  Including language options can improve the accuracy of language identification.

                                                                                                  - ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage.

                                                                                                  + ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage or IdentifyMultipleLanguages.

                                                                                                  ///

                                                                                                  For a list of languages supported with Amazon Transcribe streaming, refer to the Supported languages table.

                                                                                                  ///

                                                                                                  You can only include one language dialect per language per stream. For example, you cannot include en-US and en-AU in the same request.

                                                                                                  ///
                                                                                                  @@ -526,9 +532,9 @@ impl StartStreamTranscriptionFluentBuilder { self.inner = self.inner.language_options(input.into()); self } - ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended. If you're unsure what languages are present, do not include this parameter.

                                                                                                  + ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended.

                                                                                                  ///

                                                                                                  Including language options can improve the accuracy of language identification.

                                                                                                  - ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage.

                                                                                                  + ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage or IdentifyMultipleLanguages.

                                                                                                  ///

                                                                                                  For a list of languages supported with Amazon Transcribe streaming, refer to the Supported languages table.

                                                                                                  ///

                                                                                                  You can only include one language dialect per language per stream. For example, you cannot include en-US and en-AU in the same request.

                                                                                                  ///
                                                                                                  @@ -536,9 +542,9 @@ impl StartStreamTranscriptionFluentBuilder { self.inner = self.inner.set_language_options(input); self } - ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended. If you're unsure what languages are present, do not include this parameter.

                                                                                                  + ///

                                                                                                  Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended.

                                                                                                  ///

                                                                                                  Including language options can improve the accuracy of language identification.

                                                                                                  - ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage.

                                                                                                  + ///

                                                                                                  If you include LanguageOptions in your request, you must also include IdentifyLanguage or IdentifyMultipleLanguages.

                                                                                                  ///

                                                                                                  For a list of languages supported with Amazon Transcribe streaming, refer to the Supported languages table.

                                                                                                  ///

                                                                                                  You can only include one language dialect per language per stream. For example, you cannot include en-US and en-AU in the same request.

                                                                                                  ///
                                                                                                  @@ -563,7 +569,7 @@ impl StartStreamTranscriptionFluentBuilder { self.inner.get_preferred_language() } ///

                                                                                                  Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.

                                                                                                  - ///

                                                                                                  If you include IdentifyMultipleLanguages, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your stream. Including LanguageOptions restricts IdentifyMultipleLanguages to only the language options that you specify, which can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyMultipleLanguages, you must include a list of language codes, using LanguageOptions, that you think may be present in your stream.

                                                                                                  ///

                                                                                                  If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.

                                                                                                  ///

                                                                                                  Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  pub fn identify_multiple_languages(mut self, input: bool) -> Self { @@ -571,7 +577,7 @@ impl StartStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.

                                                                                                  - ///

                                                                                                  If you include IdentifyMultipleLanguages, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your stream. Including LanguageOptions restricts IdentifyMultipleLanguages to only the language options that you specify, which can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyMultipleLanguages, you must include a list of language codes, using LanguageOptions, that you think may be present in your stream.

                                                                                                  ///

                                                                                                  If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.

                                                                                                  ///

                                                                                                  Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  pub fn set_identify_multiple_languages(mut self, input: ::std::option::Option) -> Self { @@ -579,7 +585,7 @@ impl StartStreamTranscriptionFluentBuilder { self } ///

                                                                                                  Enables automatic multi-language identification in your transcription job request. Use this parameter if your stream contains more than one language. If your stream contains only one language, use IdentifyLanguage instead.

                                                                                                  - ///

                                                                                                  If you include IdentifyMultipleLanguages, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your stream. Including LanguageOptions restricts IdentifyMultipleLanguages to only the language options that you specify, which can improve transcription accuracy.

                                                                                                  + ///

                                                                                                  If you include IdentifyMultipleLanguages, you must include a list of language codes, using LanguageOptions, that you think may be present in your stream.

                                                                                                  ///

                                                                                                  If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic multiple language identification request, include VocabularyNames or VocabularyFilterNames.

                                                                                                  ///

                                                                                                  Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

                                                                                                  pub fn get_identify_multiple_languages(&self) -> &::std::option::Option { diff --git a/sdk/transcribestreaming/src/types/_call_analytics_transcript_result_stream.rs b/sdk/transcribestreaming/src/types/_call_analytics_transcript_result_stream.rs index 297da14e4af9..040ea86211e3 100644 --- a/sdk/transcribestreaming/src/types/_call_analytics_transcript_result_stream.rs +++ b/sdk/transcribestreaming/src/types/_call_analytics_transcript_result_stream.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

                                                                                                  Contains detailed information about your Call Analytics streaming session. These details are provided in the UtteranceEvent and CategoryEvent objects.

                                                                                                  +///

                                                                                                  Contains detailed information about your real-time Call Analytics session. These details are provided in the UtteranceEvent and CategoryEvent objects.

                                                                                                  #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub enum CallAnalyticsTranscriptResultStream { diff --git a/sdk/transcribestreaming/src/types/_configuration_event.rs b/sdk/transcribestreaming/src/types/_configuration_event.rs index 13cd1760c4d1..d2b8397d0636 100644 --- a/sdk/transcribestreaming/src/types/_configuration_event.rs +++ b/sdk/transcribestreaming/src/types/_configuration_event.rs @@ -6,7 +6,8 @@ pub struct ConfigurationEvent { ///

                                                                                                  Indicates which speaker is on which audio channel.

                                                                                                  pub channel_definitions: ::std::option::Option<::std::vec::Vec>, - ///

                                                                                                  Provides additional optional settings for your Call Analytics post-call request, including encryption and output locations for your redacted and unredacted transcript.

                                                                                                  + ///

                                                                                                  Provides additional optional settings for your Call Analytics post-call request, including encryption and output locations for your redacted transcript.

                                                                                                  + ///

                                                                                                  PostCallAnalyticsSettings provides you with the same insights as a Call Analytics post-call transcription. Refer to Post-call analytics for more information on this feature.

                                                                                                  pub post_call_analytics_settings: ::std::option::Option, } impl ConfigurationEvent { @@ -16,7 +17,8 @@ impl ConfigurationEvent { pub fn channel_definitions(&self) -> &[crate::types::ChannelDefinition] { self.channel_definitions.as_deref().unwrap_or_default() } - ///

                                                                                                  Provides additional optional settings for your Call Analytics post-call request, including encryption and output locations for your redacted and unredacted transcript.

                                                                                                  + ///

                                                                                                  Provides additional optional settings for your Call Analytics post-call request, including encryption and output locations for your redacted transcript.

                                                                                                  + ///

                                                                                                  PostCallAnalyticsSettings provides you with the same insights as a Call Analytics post-call transcription. Refer to Post-call analytics for more information on this feature.

                                                                                                  pub fn post_call_analytics_settings(&self) -> ::std::option::Option<&crate::types::PostCallAnalyticsSettings> { self.post_call_analytics_settings.as_ref() } @@ -56,17 +58,20 @@ impl ConfigurationEventBuilder { pub fn get_channel_definitions(&self) -> &::std::option::Option<::std::vec::Vec> { &self.channel_definitions } - ///

                                                                                                  Provides additional optional settings for your Call Analytics post-call request, including encryption and output locations for your redacted and unredacted transcript.

                                                                                                  + ///

                                                                                                  Provides additional optional settings for your Call Analytics post-call request, including encryption and output locations for your redacted transcript.

                                                                                                  + ///

                                                                                                  PostCallAnalyticsSettings provides you with the same insights as a Call Analytics post-call transcription. Refer to Post-call analytics for more information on this feature.

                                                                                                  pub fn post_call_analytics_settings(mut self, input: crate::types::PostCallAnalyticsSettings) -> Self { self.post_call_analytics_settings = ::std::option::Option::Some(input); self } - ///

                                                                                                  Provides additional optional settings for your Call Analytics post-call request, including encryption and output locations for your redacted and unredacted transcript.

                                                                                                  + ///

                                                                                                  Provides additional optional settings for your Call Analytics post-call request, including encryption and output locations for your redacted transcript.

                                                                                                  + ///

                                                                                                  PostCallAnalyticsSettings provides you with the same insights as a Call Analytics post-call transcription. Refer to Post-call analytics for more information on this feature.

                                                                                                  pub fn set_post_call_analytics_settings(mut self, input: ::std::option::Option) -> Self { self.post_call_analytics_settings = input; self } - ///

                                                                                                  Provides additional optional settings for your Call Analytics post-call request, including encryption and output locations for your redacted and unredacted transcript.

                                                                                                  + ///

                                                                                                  Provides additional optional settings for your Call Analytics post-call request, including encryption and output locations for your redacted transcript.

                                                                                                  + ///

                                                                                                  PostCallAnalyticsSettings provides you with the same insights as a Call Analytics post-call transcription. Refer to Post-call analytics for more information on this feature.

                                                                                                  pub fn get_post_call_analytics_settings(&self) -> &::std::option::Option { &self.post_call_analytics_settings } diff --git a/sdk/transcribestreaming/src/types/_language_code.rs b/sdk/transcribestreaming/src/types/_language_code.rs index 5c379e040ffd..d2a140f07c1d 100644 --- a/sdk/transcribestreaming/src/types/_language_code.rs +++ b/sdk/transcribestreaming/src/types/_language_code.rs @@ -12,20 +12,60 @@ /// ```text /// # let languagecode = unimplemented!(); /// match languagecode { +/// LanguageCode::AfZa => { /* ... */ }, +/// LanguageCode::ArAe => { /* ... */ }, +/// LanguageCode::ArSa => { /* ... */ }, +/// LanguageCode::CaEs => { /* ... */ }, +/// LanguageCode::CsCz => { /* ... */ }, +/// LanguageCode::DaDk => { /* ... */ }, +/// LanguageCode::DeCh => { /* ... */ }, /// LanguageCode::DeDe => { /* ... */ }, +/// LanguageCode::ElGr => { /* ... */ }, +/// LanguageCode::EnAb => { /* ... */ }, /// LanguageCode::EnAu => { /* ... */ }, /// LanguageCode::EnGb => { /* ... */ }, +/// LanguageCode::EnIe => { /* ... */ }, +/// LanguageCode::EnIn => { /* ... */ }, +/// LanguageCode::EnNz => { /* ... */ }, /// LanguageCode::EnUs => { /* ... */ }, +/// LanguageCode::EnWl => { /* ... */ }, +/// LanguageCode::EnZa => { /* ... */ }, +/// LanguageCode::EsEs => { /* ... */ }, /// LanguageCode::EsUs => { /* ... */ }, +/// LanguageCode::EuEs => { /* ... */ }, +/// LanguageCode::FaIr => { /* ... */ }, +/// LanguageCode::FiFi => { /* ... */ }, /// LanguageCode::FrCa => { /* ... */ }, /// LanguageCode::FrFr => { /* ... */ }, +/// LanguageCode::GlEs => { /* ... */ }, +/// LanguageCode::HeIl => { /* ... */ }, /// LanguageCode::HiIn => { /* ... */ }, +/// LanguageCode::HrHr => { /* ... */ }, +/// LanguageCode::IdId => { /* ... */ }, /// LanguageCode::ItIt => { /* ... */ }, /// LanguageCode::JaJp => { /* ... */ }, /// LanguageCode::KoKr => { /* ... */ }, +/// LanguageCode::LvLv => { /* ... */ }, +/// LanguageCode::MsMy => { /* ... */ }, +/// LanguageCode::NlNl => { /* ... */ }, +/// LanguageCode::NoNo => { /* ... */ }, +/// LanguageCode::PlPl => { /* ... */ }, /// LanguageCode::PtBr => { /* ... */ }, +/// LanguageCode::PtPt => { /* ... */ }, +/// LanguageCode::RoRo => { /* ... */ }, +/// LanguageCode::RuRu => { /* ... */ }, +/// LanguageCode::SkSk => { /* ... */ }, +/// LanguageCode::SoSo => { /* ... */ }, +/// LanguageCode::SrRs => { /* ... */ }, +/// LanguageCode::SvSe => { /* ... */ }, /// LanguageCode::ThTh => { /* ... */ }, +/// LanguageCode::TlPh => { /* ... */ }, +/// LanguageCode::UkUa => { /* ... */ }, +/// LanguageCode::ViVn => { /* ... */ }, /// LanguageCode::ZhCn => { /* ... */ }, +/// LanguageCode::ZhHk => { /* ... */ }, +/// LanguageCode::ZhTw => { /* ... */ }, +/// LanguageCode::ZuZa => { /* ... */ }, /// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ }, /// _ => { /* ... */ }, /// } @@ -53,34 +93,114 @@ ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::Ord, ::std::cmp::PartialEq, ::std::cmp::PartialOrd, ::std::fmt::Debug, ::std::hash::Hash, )] pub enum LanguageCode { + #[allow(missing_docs)] // documentation missing in model + AfZa, + #[allow(missing_docs)] // documentation missing in model + ArAe, + #[allow(missing_docs)] // documentation missing in model + ArSa, + #[allow(missing_docs)] // documentation missing in model + CaEs, + #[allow(missing_docs)] // documentation missing in model + CsCz, + #[allow(missing_docs)] // documentation missing in model + DaDk, + #[allow(missing_docs)] // documentation missing in model + DeCh, #[allow(missing_docs)] // documentation missing in model DeDe, #[allow(missing_docs)] // documentation missing in model + ElGr, + #[allow(missing_docs)] // documentation missing in model + EnAb, + #[allow(missing_docs)] // documentation missing in model EnAu, #[allow(missing_docs)] // documentation missing in model EnGb, #[allow(missing_docs)] // documentation missing in model + EnIe, + #[allow(missing_docs)] // documentation missing in model + EnIn, + #[allow(missing_docs)] // documentation missing in model + EnNz, + #[allow(missing_docs)] // documentation missing in model EnUs, #[allow(missing_docs)] // documentation missing in model + EnWl, + #[allow(missing_docs)] // documentation missing in model + EnZa, + #[allow(missing_docs)] // documentation missing in model + EsEs, + #[allow(missing_docs)] // documentation missing in model EsUs, #[allow(missing_docs)] // documentation missing in model + EuEs, + #[allow(missing_docs)] // documentation missing in model + FaIr, + #[allow(missing_docs)] // documentation missing in model + FiFi, + #[allow(missing_docs)] // documentation missing in model FrCa, #[allow(missing_docs)] // documentation missing in model FrFr, #[allow(missing_docs)] // documentation missing in model + GlEs, + #[allow(missing_docs)] // documentation missing in model + HeIl, + #[allow(missing_docs)] // documentation missing in model HiIn, #[allow(missing_docs)] // documentation missing in model + HrHr, + #[allow(missing_docs)] // documentation missing in model + IdId, + #[allow(missing_docs)] // documentation missing in model ItIt, #[allow(missing_docs)] // documentation missing in model JaJp, #[allow(missing_docs)] // documentation missing in model KoKr, #[allow(missing_docs)] // documentation missing in model + LvLv, + #[allow(missing_docs)] // documentation missing in model + MsMy, + #[allow(missing_docs)] // documentation missing in model + NlNl, + #[allow(missing_docs)] // documentation missing in model + NoNo, + #[allow(missing_docs)] // documentation missing in model + PlPl, + #[allow(missing_docs)] // documentation missing in model PtBr, #[allow(missing_docs)] // documentation missing in model + PtPt, + #[allow(missing_docs)] // documentation missing in model + RoRo, + #[allow(missing_docs)] // documentation missing in model + RuRu, + #[allow(missing_docs)] // documentation missing in model + SkSk, + #[allow(missing_docs)] // documentation missing in model + SoSo, + #[allow(missing_docs)] // documentation missing in model + SrRs, + #[allow(missing_docs)] // documentation missing in model + SvSe, + #[allow(missing_docs)] // documentation missing in model ThTh, #[allow(missing_docs)] // documentation missing in model + TlPh, + #[allow(missing_docs)] // documentation missing in model + UkUa, + #[allow(missing_docs)] // documentation missing in model + ViVn, + #[allow(missing_docs)] // documentation missing in model ZhCn, + #[allow(missing_docs)] // documentation missing in model + ZhHk, + #[allow(missing_docs)] // documentation missing in model + ZhTw, + #[allow(missing_docs)] // documentation missing in model + ZuZa, /// `Unknown` contains new variants that have been added since this code was generated. #[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")] Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue), @@ -88,20 +208,60 @@ pub enum LanguageCode { impl ::std::convert::From<&str> for LanguageCode { fn from(s: &str) -> Self { match s { + "af-ZA" => LanguageCode::AfZa, + "ar-AE" => LanguageCode::ArAe, + "ar-SA" => LanguageCode::ArSa, + "ca-ES" => LanguageCode::CaEs, + "cs-CZ" => LanguageCode::CsCz, + "da-DK" => LanguageCode::DaDk, + "de-CH" => LanguageCode::DeCh, "de-DE" => LanguageCode::DeDe, + "el-GR" => LanguageCode::ElGr, + "en-AB" => LanguageCode::EnAb, "en-AU" => LanguageCode::EnAu, "en-GB" => LanguageCode::EnGb, + "en-IE" => LanguageCode::EnIe, + "en-IN" => LanguageCode::EnIn, + "en-NZ" => LanguageCode::EnNz, "en-US" => LanguageCode::EnUs, + "en-WL" => LanguageCode::EnWl, + "en-ZA" => LanguageCode::EnZa, + "es-ES" => LanguageCode::EsEs, "es-US" => LanguageCode::EsUs, + "eu-ES" => LanguageCode::EuEs, + "fa-IR" => LanguageCode::FaIr, + "fi-FI" => LanguageCode::FiFi, "fr-CA" => LanguageCode::FrCa, "fr-FR" => LanguageCode::FrFr, + "gl-ES" => LanguageCode::GlEs, + "he-IL" => LanguageCode::HeIl, "hi-IN" => LanguageCode::HiIn, + "hr-HR" => LanguageCode::HrHr, + "id-ID" => LanguageCode::IdId, "it-IT" => LanguageCode::ItIt, "ja-JP" => LanguageCode::JaJp, "ko-KR" => LanguageCode::KoKr, + "lv-LV" => LanguageCode::LvLv, + "ms-MY" => LanguageCode::MsMy, + "nl-NL" => LanguageCode::NlNl, + "no-NO" => LanguageCode::NoNo, + "pl-PL" => LanguageCode::PlPl, "pt-BR" => LanguageCode::PtBr, + "pt-PT" => LanguageCode::PtPt, + "ro-RO" => LanguageCode::RoRo, + "ru-RU" => LanguageCode::RuRu, + "sk-SK" => LanguageCode::SkSk, + "so-SO" => LanguageCode::SoSo, + "sr-RS" => LanguageCode::SrRs, + "sv-SE" => LanguageCode::SvSe, "th-TH" => LanguageCode::ThTh, + "tl-PH" => LanguageCode::TlPh, + "uk-UA" => LanguageCode::UkUa, + "vi-VN" => LanguageCode::ViVn, "zh-CN" => LanguageCode::ZhCn, + "zh-HK" => LanguageCode::ZhHk, + "zh-TW" => LanguageCode::ZhTw, + "zu-ZA" => LanguageCode::ZuZa, other => LanguageCode::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())), } } @@ -117,27 +277,70 @@ impl LanguageCode { /// Returns the `&str` value of the enum member. pub fn as_str(&self) -> &str { match self { + LanguageCode::AfZa => "af-ZA", + LanguageCode::ArAe => "ar-AE", + LanguageCode::ArSa => "ar-SA", + LanguageCode::CaEs => "ca-ES", + LanguageCode::CsCz => "cs-CZ", + LanguageCode::DaDk => "da-DK", + LanguageCode::DeCh => "de-CH", LanguageCode::DeDe => "de-DE", + LanguageCode::ElGr => "el-GR", + LanguageCode::EnAb => "en-AB", LanguageCode::EnAu => "en-AU", LanguageCode::EnGb => "en-GB", + LanguageCode::EnIe => "en-IE", + LanguageCode::EnIn => "en-IN", + LanguageCode::EnNz => "en-NZ", LanguageCode::EnUs => "en-US", + LanguageCode::EnWl => "en-WL", + LanguageCode::EnZa => "en-ZA", + LanguageCode::EsEs => "es-ES", LanguageCode::EsUs => "es-US", + LanguageCode::EuEs => "eu-ES", + LanguageCode::FaIr => "fa-IR", + LanguageCode::FiFi => "fi-FI", LanguageCode::FrCa => "fr-CA", LanguageCode::FrFr => "fr-FR", + LanguageCode::GlEs => "gl-ES", + LanguageCode::HeIl => "he-IL", LanguageCode::HiIn => "hi-IN", + LanguageCode::HrHr => "hr-HR", + LanguageCode::IdId => "id-ID", LanguageCode::ItIt => "it-IT", LanguageCode::JaJp => "ja-JP", LanguageCode::KoKr => "ko-KR", + LanguageCode::LvLv => "lv-LV", + LanguageCode::MsMy => "ms-MY", + LanguageCode::NlNl => "nl-NL", + LanguageCode::NoNo => "no-NO", + LanguageCode::PlPl => "pl-PL", LanguageCode::PtBr => "pt-BR", + LanguageCode::PtPt => "pt-PT", + LanguageCode::RoRo => "ro-RO", + LanguageCode::RuRu => "ru-RU", + LanguageCode::SkSk => "sk-SK", + LanguageCode::SoSo => "so-SO", + LanguageCode::SrRs => "sr-RS", + LanguageCode::SvSe => "sv-SE", LanguageCode::ThTh => "th-TH", + LanguageCode::TlPh => "tl-PH", + LanguageCode::UkUa => "uk-UA", + LanguageCode::ViVn => "vi-VN", LanguageCode::ZhCn => "zh-CN", + LanguageCode::ZhHk => "zh-HK", + LanguageCode::ZhTw => "zh-TW", + LanguageCode::ZuZa => "zu-ZA", LanguageCode::Unknown(value) => value.as_str(), } } /// Returns all the `&str` representations of the enum members. pub const fn values() -> &'static [&'static str] { &[ - "de-DE", "en-AU", "en-GB", "en-US", "es-US", "fr-CA", "fr-FR", "hi-IN", "it-IT", "ja-JP", "ko-KR", "pt-BR", "th-TH", "zh-CN", + "af-ZA", "ar-AE", "ar-SA", "ca-ES", "cs-CZ", "da-DK", "de-CH", "de-DE", "el-GR", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-NZ", + "en-US", "en-WL", "en-ZA", "es-ES", "es-US", "eu-ES", "fa-IR", "fi-FI", "fr-CA", "fr-FR", "gl-ES", "he-IL", "hi-IN", "hr-HR", "id-ID", + "it-IT", "ja-JP", "ko-KR", "lv-LV", "ms-MY", "nl-NL", "no-NO", "pl-PL", "pt-BR", "pt-PT", "ro-RO", "ru-RU", "sk-SK", "so-SO", "sr-RS", + "sv-SE", "th-TH", "tl-PH", "uk-UA", "vi-VN", "zh-CN", "zh-HK", "zh-TW", "zu-ZA", ] } } @@ -161,20 +364,60 @@ impl LanguageCode { impl ::std::fmt::Display for LanguageCode { fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { match self { + LanguageCode::AfZa => write!(f, "af-ZA"), + LanguageCode::ArAe => write!(f, "ar-AE"), + LanguageCode::ArSa => write!(f, "ar-SA"), + LanguageCode::CaEs => write!(f, "ca-ES"), + LanguageCode::CsCz => write!(f, "cs-CZ"), + LanguageCode::DaDk => write!(f, "da-DK"), + LanguageCode::DeCh => write!(f, "de-CH"), LanguageCode::DeDe => write!(f, "de-DE"), + LanguageCode::ElGr => write!(f, "el-GR"), + LanguageCode::EnAb => write!(f, "en-AB"), LanguageCode::EnAu => write!(f, "en-AU"), LanguageCode::EnGb => write!(f, "en-GB"), + LanguageCode::EnIe => write!(f, "en-IE"), + LanguageCode::EnIn => write!(f, "en-IN"), + LanguageCode::EnNz => write!(f, "en-NZ"), LanguageCode::EnUs => write!(f, "en-US"), + LanguageCode::EnWl => write!(f, "en-WL"), + LanguageCode::EnZa => write!(f, "en-ZA"), + LanguageCode::EsEs => write!(f, "es-ES"), LanguageCode::EsUs => write!(f, "es-US"), + LanguageCode::EuEs => write!(f, "eu-ES"), + LanguageCode::FaIr => write!(f, "fa-IR"), + LanguageCode::FiFi => write!(f, "fi-FI"), LanguageCode::FrCa => write!(f, "fr-CA"), LanguageCode::FrFr => write!(f, "fr-FR"), + LanguageCode::GlEs => write!(f, "gl-ES"), + LanguageCode::HeIl => write!(f, "he-IL"), LanguageCode::HiIn => write!(f, "hi-IN"), + LanguageCode::HrHr => write!(f, "hr-HR"), + LanguageCode::IdId => write!(f, "id-ID"), LanguageCode::ItIt => write!(f, "it-IT"), LanguageCode::JaJp => write!(f, "ja-JP"), LanguageCode::KoKr => write!(f, "ko-KR"), + LanguageCode::LvLv => write!(f, "lv-LV"), + LanguageCode::MsMy => write!(f, "ms-MY"), + LanguageCode::NlNl => write!(f, "nl-NL"), + LanguageCode::NoNo => write!(f, "no-NO"), + LanguageCode::PlPl => write!(f, "pl-PL"), LanguageCode::PtBr => write!(f, "pt-BR"), + LanguageCode::PtPt => write!(f, "pt-PT"), + LanguageCode::RoRo => write!(f, "ro-RO"), + LanguageCode::RuRu => write!(f, "ru-RU"), + LanguageCode::SkSk => write!(f, "sk-SK"), + LanguageCode::SoSo => write!(f, "so-SO"), + LanguageCode::SrRs => write!(f, "sr-RS"), + LanguageCode::SvSe => write!(f, "sv-SE"), LanguageCode::ThTh => write!(f, "th-TH"), + LanguageCode::TlPh => write!(f, "tl-PH"), + LanguageCode::UkUa => write!(f, "uk-UA"), + LanguageCode::ViVn => write!(f, "vi-VN"), LanguageCode::ZhCn => write!(f, "zh-CN"), + LanguageCode::ZhHk => write!(f, "zh-HK"), + LanguageCode::ZhTw => write!(f, "zh-TW"), + LanguageCode::ZuZa => write!(f, "zu-ZA"), LanguageCode::Unknown(value) => write!(f, "{}", value), } } diff --git a/sdk/transcribestreaming/src/types/_post_call_analytics_settings.rs b/sdk/transcribestreaming/src/types/_post_call_analytics_settings.rs index df84080956f7..1c7520fa04f5 100644 --- a/sdk/transcribestreaming/src/types/_post_call_analytics_settings.rs +++ b/sdk/transcribestreaming/src/types/_post_call_analytics_settings.rs @@ -1,7 +1,8 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

                                                                                                  Allows you to specify additional settings for your streaming Call Analytics post-call request, including output locations for your redacted and unredacted transcript, which IAM role to use, and, optionally, which encryption key to use.

                                                                                                  -///

                                                                                                  ContentRedactionOutput, DataAccessRoleArn, and OutputLocation are required fields.

                                                                                                  +///

                                                                                                  Allows you to specify additional settings for your Call Analytics post-call request, including output locations for your redacted transcript, which IAM role to use, and which encryption key to use.

                                                                                                  +///

                                                                                                  DataAccessRoleArn and OutputLocation are required fields.

                                                                                                  +///

                                                                                                  PostCallAnalyticsSettings provides you with the same insights as a Call Analytics post-call transcription. Refer to Post-call analytics for more information on this feature.

                                                                                                  #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct PostCallAnalyticsSettings { @@ -40,7 +41,7 @@ pub struct PostCallAnalyticsSettings { ///
                                                                                                • ///

                                                                                                  Use the ARN for the KMS key alias. For example, arn:aws:kms:region:account-ID:alias/ExampleAlias.

                                                                                                • /// - ///

                                                                                                  Note that the user making the request must have permission to use the specified KMS key.

                                                                                                  + ///

                                                                                                  Note that the role making the request must have permission to use the specified KMS key.

                                                                                                  pub output_encryption_kms_key_id: ::std::option::Option<::std::string::String>, } impl PostCallAnalyticsSettings { @@ -87,7 +88,7 @@ impl PostCallAnalyticsSettings { ///
                                                                                                • ///

                                                                                                  Use the ARN for the KMS key alias. For example, arn:aws:kms:region:account-ID:alias/ExampleAlias.

                                                                                                • /// - ///

                                                                                                  Note that the user making the request must have permission to use the specified KMS key.

                                                                                                  + ///

                                                                                                  Note that the role making the request must have permission to use the specified KMS key.

                                                                                                  pub fn output_encryption_kms_key_id(&self) -> ::std::option::Option<&str> { self.output_encryption_kms_key_id.as_deref() } @@ -202,7 +203,7 @@ impl PostCallAnalyticsSettingsBuilder { ///
                                                                                                • ///

                                                                                                  Use the ARN for the KMS key alias. For example, arn:aws:kms:region:account-ID:alias/ExampleAlias.

                                                                                                • /// - ///

                                                                                                  Note that the user making the request must have permission to use the specified KMS key.

                                                                                                  + ///

                                                                                                  Note that the role making the request must have permission to use the specified KMS key.

                                                                                                  pub fn output_encryption_kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.output_encryption_kms_key_id = ::std::option::Option::Some(input.into()); self @@ -226,7 +227,7 @@ impl PostCallAnalyticsSettingsBuilder { ///
                                                                                                • ///

                                                                                                  Use the ARN for the KMS key alias. For example, arn:aws:kms:region:account-ID:alias/ExampleAlias.

                                                                                                • /// - ///

                                                                                                  Note that the user making the request must have permission to use the specified KMS key.

                                                                                                  + ///

                                                                                                  Note that the role making the request must have permission to use the specified KMS key.

                                                                                                  pub fn set_output_encryption_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.output_encryption_kms_key_id = input; self @@ -250,7 +251,7 @@ impl PostCallAnalyticsSettingsBuilder { ///
                                                                                                • ///

                                                                                                  Use the ARN for the KMS key alias. For example, arn:aws:kms:region:account-ID:alias/ExampleAlias.

                                                                                                • /// - ///

                                                                                                  Note that the user making the request must have permission to use the specified KMS key.

                                                                                                  + ///

                                                                                                  Note that the role making the request must have permission to use the specified KMS key.

                                                                                                  pub fn get_output_encryption_kms_key_id(&self) -> &::std::option::Option<::std::string::String> { &self.output_encryption_kms_key_id } diff --git a/sdk/transcribestreaming/src/types/error.rs b/sdk/transcribestreaming/src/types/error.rs index 5fc044a844a0..2dd69f19b95d 100644 --- a/sdk/transcribestreaming/src/types/error.rs +++ b/sdk/transcribestreaming/src/types/error.rs @@ -13,7 +13,7 @@ pub use crate::types::error::_service_unavailable_exception::ServiceUnavailableE #[non_exhaustive] #[derive(::std::fmt::Debug)] pub enum TranscriptResultStreamError { - ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used not valid values. Check the specified parameters and try your request again.

                                                                                                  + ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used unsupported values. Check the specified parameters and try your request again.

                                                                                                  BadRequestException(crate::types::error::BadRequestException), ///

                                                                                                  Your client has exceeded one of the Amazon Transcribe limits. This is typically the audio length limit. Break your audio stream into smaller chunks and try your request again.

                                                                                                  LimitExceededException(crate::types::error::LimitExceededException), @@ -249,7 +249,7 @@ impl ::aws_types::request_id::RequestId for crate::types::error::AudioStreamErro #[non_exhaustive] #[derive(::std::fmt::Debug)] pub enum MedicalTranscriptResultStreamError { - ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used not valid values. Check the specified parameters and try your request again.

                                                                                                  + ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used unsupported values. Check the specified parameters and try your request again.

                                                                                                  BadRequestException(crate::types::error::BadRequestException), ///

                                                                                                  Your client has exceeded one of the Amazon Transcribe limits. This is typically the audio length limit. Break your audio stream into smaller chunks and try your request again.

                                                                                                  LimitExceededException(crate::types::error::LimitExceededException), @@ -392,7 +392,7 @@ impl ::aws_types::request_id::RequestId for crate::types::error::MedicalTranscri #[non_exhaustive] #[derive(::std::fmt::Debug)] pub enum CallAnalyticsTranscriptResultStreamError { - ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used not valid values. Check the specified parameters and try your request again.

                                                                                                  + ///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used unsupported values. Check the specified parameters and try your request again.

                                                                                                  BadRequestException(crate::types::error::BadRequestException), ///

                                                                                                  Your client has exceeded one of the Amazon Transcribe limits. This is typically the audio length limit. Break your audio stream into smaller chunks and try your request again.

                                                                                                  LimitExceededException(crate::types::error::LimitExceededException), diff --git a/sdk/transcribestreaming/src/types/error/_bad_request_exception.rs b/sdk/transcribestreaming/src/types/error/_bad_request_exception.rs index a90e1c6603ca..b853dae929cd 100644 --- a/sdk/transcribestreaming/src/types/error/_bad_request_exception.rs +++ b/sdk/transcribestreaming/src/types/error/_bad_request_exception.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used not valid values. Check the specified parameters and try your request again.

                                                                                                  +///

                                                                                                  One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used unsupported values. Check the specified parameters and try your request again.

                                                                                                  #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct BadRequestException { diff --git a/versions.toml b/versions.toml index 1a5fadcb040d..a43e8e9122a7 100644 --- a/versions.toml +++ b/versions.toml @@ -70,9 +70,9 @@ model_hash = 'b09b164e9949d95279b977fd962cc347c565b275f84f50e5501256a4d663a525' [crates.aws-sdk-amplify] category = 'AwsSdk' -version = '1.49.0' -source_hash = '238fe59a3cdf56118348cac3d8f735a689c17807a5852711f78b619a278f0d84' -model_hash = 'fbd81530124c2b2d85f41580057f724c76559e4ca1fe3cedf9cef0565d656724' +version = '1.50.0' +source_hash = 'c52320160f30ffa3c626509847c7c99674968de02c0365b34d59fabd1040f048' +model_hash = 'e0ee14861a04959579ee49ee7dce8a14f6e5effa111e687658c628b86eb6425d' [crates.aws-sdk-amplifybackend] category = 'AwsSdk' @@ -376,9 +376,9 @@ model_hash = '7a57057cb907516c5c5b64751c47c7255f78f8324a5449250158c58472dffba9' [crates.aws-sdk-cloudformation] category = 'AwsSdk' -version = '1.51.0' -source_hash = '81d73a9bad820735b8d3d89061b0eb1d6c8e4fe832f2d73e460c2125006939b9' -model_hash = '628fe1797e3d2cd6dd2ea62efaa6d8c39a96533290610506c79172c2e43eb9fb' +version = '1.51.1' +source_hash = '2741dfb0f73eacd83de5b29ee36b8b03e430aed6e0aa140da5c556e38ded49cd' +model_hash = 'f2b07efbc77f3300cee62470315a552d71c88b085b5e0ed0022547df3974d574' [crates.aws-sdk-cloudfront] category = 'AwsSdk' @@ -454,9 +454,9 @@ model_hash = 'b4b741370ba8961708abf7da89928b5db646fa8d605805dbd8d0138d0ff1955f' [crates.aws-sdk-codebuild] category = 'AwsSdk' -version = '1.57.0' -source_hash = '8d8df21948afc040879484a4657c8b86ae24cacfefa5d3895b73902f804cdf73' -model_hash = '109da083aae6d025a8134e6d41b9a37bad195c5ade03200342a978c879743d6b' +version = '1.58.0' +source_hash = 'bbc42eaebc35353d9ebe4515b767edcebe9530b104173565fa729526c3acad15' +model_hash = '61d2a654a3dada7395b0b960f7f0d1092beccdfff179749de68d8e1d1496d2af' [crates.aws-sdk-codecatalyst] category = 'AwsSdk' @@ -1144,9 +1144,9 @@ model_hash = 'd5188ed4e7d4519292d5c875131c9c126b458f156a01dff216fe1d53b8aa5727' [crates.aws-sdk-ivs] category = 'AwsSdk' -version = '1.50.0' -source_hash = 'e4ccf735e43ad25c74132eefe4af150ccf477d9dcbf38e839f26eddfc735d8e0' -model_hash = '1a0ce39901805df899ca3631be8dfd8f4e505e6b18f3b76b63be3041da3af66b' +version = '1.51.0' +source_hash = 'e87a0aef9bbfd8a4789ae5ed36c301a3aa797fb5afd63e8047fbdc73131e9571' +model_hash = 'e806e4a92262a284d4cee81fc4d2aa6d876549b1e5ab154a31d7389f96d80bd3' [crates.aws-sdk-ivschat] category = 'AwsSdk' @@ -1750,9 +1750,9 @@ model_hash = '6d11b7d8a01ef7932592fdc8f7052861fdc7ceeb63e00198a9fbc0cebb80412a' [crates.aws-sdk-qbusiness] category = 'AwsSdk' -version = '1.48.0' -source_hash = '0542e9a7ce289702473ca7843becf44f452195e3f3feae432262166da5ec9b16' -model_hash = '6186b07626b30210d8d1f38d4538e5522500285118bf1854a9f98a770559eaa6' +version = '1.49.0' +source_hash = '30fb2248c97f4c5c009a12e353830e247844df01c933330eccb03ee6d1860cfc' +model_hash = '2f6b77fbd64540966688b02904e2155c075066f419b9509d2fcf1818552888f8' [crates.aws-sdk-qconnect] category = 'AwsSdk' @@ -1804,9 +1804,9 @@ model_hash = 'c370f10f5f99430d39a75265920c500967f0c98b12193a6c5e803eaca50ee427' [crates.aws-sdk-redshift] category = 'AwsSdk' -version = '1.48.0' -source_hash = '94778f05d77091e7fd1988a986ef3c48ec32875728dc02af7d4656716a11242f' -model_hash = 'f3ac1a4c9b3bf64a0c5cca4574006b10c7cc6dd6329373d4b97beae6ce6015bd' +version = '1.49.0' +source_hash = 'c56d01efa3b7d721ae497f436d068c543c4de45f46c389cb13a0aa65bd4f79a5' +model_hash = 'ac783d21b95f6b6607ddaff4ab11ccbfe912ed29bee37b231c4cd0f5f5f7a369' [crates.aws-sdk-redshiftdata] category = 'AwsSdk' @@ -1834,9 +1834,9 @@ model_hash = '1740a029d9327517f19ade84759349b7d729ad38260dd0f96afcfea396d670ba' [crates.aws-sdk-resiliencehub] category = 'AwsSdk' -version = '1.47.0' -source_hash = '24503a4024164afc9d9561afaa1a981af05063d9eeedb194cdba21fcbb562d3b' -model_hash = 'f6d3ffac49e08d6dfb82c328b681198eb8ab082ab849ad421ea5ceaf1fc13ab0' +version = '1.48.0' +source_hash = 'efadb0ce38fd8583ae228023baf86ece9fbed3cd345273cad7736e9a393c79ed' +model_hash = 'cb871c4d5262e9f4f976fb09dac702362f3a7cd20fc6e2ce5f7f332d56a294db' [crates.aws-sdk-resourceexplorer2] category = 'AwsSdk' @@ -2050,9 +2050,9 @@ model_hash = '05afe3697ea0d7837dccd1080758a223eda571422c0d38f94f66337c9cd4a613' [crates.aws-sdk-sesv2] category = 'AwsSdk' -version = '1.50.0' -source_hash = 'dae9987b96f5671f5daa83083781063814206ded8092ca7ddf87327d67f2777b' -model_hash = '9f9a5adb8715c471c39859f3c71543b099b2eff5e5c297d40892f9d0948495ab' +version = '1.51.0' +source_hash = '299c2bd62d3c4d9b886e72fec69e101fdc2a003acfdc5931b6856da9a9abdef2' +model_hash = '7fbbbcd4fb90bf9e0dc96d864208f0a4012e1d6a3bd6cca955dfb2858e3acbf3' [crates.aws-sdk-sfn] category = 'AwsSdk' @@ -2248,9 +2248,9 @@ model_hash = 'e15ab454daa167dfa2eb8b08a1bd9ae6960f92e1f8195ce5d259e278a10dcf48' [crates.aws-sdk-transcribestreaming] category = 'AwsSdk' -version = '1.46.0' -source_hash = 'c14b79c106e09ee3f5500baeba7cc928f5d10b3b723fc540bbd6204efc84420b' -model_hash = 'b6e54b8b7c1dfefaa67fbc4f5c237a2bbaad7916305a9b588ce31a4134abbce1' +version = '1.47.0' +source_hash = '6e2221813fb2a6fdf0dbd3fb0dfec8ccbb00c1e9de3b532ed57d6764e16801b6' +model_hash = '7f082a02d913a3d59f43d973f1cd1df3716c1696ccef1dd8728ae13277c36752' [crates.aws-sdk-transfer] category = 'AwsSdk' @@ -2499,13 +2499,13 @@ source_hash = '80dac965e6bba4c1f69c0329fa21203c182f3eb034792d8f4c4fa94ba15ca72f' category = 'AwsRuntime' version = '0.0.0' source_hash = '2fe25f627f326867fe30559e73c464e12361c13b66e7ffc0bc95aa91a482fafd' - -[release] -tag = 'release-2024-10-14' - [release.crates] -aws-sdk-codepipeline = '1.53.0' -aws-sdk-mailmanager = '1.23.0' -aws-sdk-securitylake = '1.49.0' -aws-sdk-supplychain = '1.39.0' -aws-sdk-transfer = '1.51.0' +aws-sdk-amplify = '1.50.0' +aws-sdk-cloudformation = '1.51.1' +aws-sdk-codebuild = '1.58.0' +aws-sdk-ivs = '1.51.0' +aws-sdk-qbusiness = '1.49.0' +aws-sdk-redshift = '1.49.0' +aws-sdk-resiliencehub = '1.48.0' +aws-sdk-sesv2 = '1.51.0' +aws-sdk-transcribestreaming = '1.47.0'