aws-sdk-cloudcontrolapi 1.33.0 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudcontrolapi/client.rb +46 -7
- data/lib/aws-sdk-cloudcontrolapi/client_api.rb +22 -0
- data/lib/aws-sdk-cloudcontrolapi/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-cloudcontrolapi/types.rb +91 -1
- data/lib/aws-sdk-cloudcontrolapi.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +15 -1
- metadata +6 -6
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: cf8f94c1fa95300256709a0f1d68243cadbe2cdafd4f113103e5bd0c22da507b
         | 
| 4 | 
            +
              data.tar.gz: 33ab2cde139f8a13babaf6f2cb90a2232c886a8f6e2b49d77cc8ece06b0071a4
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 0eb0549c39a0d8a4fd652d054b7ddab741c0b22b2b524c1d9c9db11db6c7a13ebe419a7ea8f4319580371920aa0a4df28a21500b297c6fccbbd3db6096443b27
         | 
| 7 | 
            +
              data.tar.gz: 279a1409526744c42805faae10caef2876bb20542e004d0457a9e64b5d1a1c3f6c552d2f5635c50be90096694b69b734740a08fbab71f184e2238ab8255e631d
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,16 @@ | |
| 1 1 | 
             
            Unreleased Changes
         | 
| 2 2 | 
             
            ------------------
         | 
| 3 3 |  | 
| 4 | 
            +
            1.35.0 (2025-01-15)
         | 
| 5 | 
            +
            ------------------
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            1.34.0 (2024-11-14)
         | 
| 10 | 
            +
            ------------------
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            * Feature - Added support for CloudFormation Hooks with Cloud Control API. The GetResourceRequestStatus API response now includes an optional HooksProgressEvent and HooksRequestToken parameter for Hooks Invocation Progress as part of resource operation with Cloud Control.
         | 
| 13 | 
            +
             | 
| 4 14 | 
             
            1.33.0 (2024-10-18)
         | 
| 5 15 | 
             
            ------------------
         | 
| 6 16 |  | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.35.0
         | 
| @@ -257,11 +257,34 @@ module Aws::CloudControlApi | |
| 257 257 | 
             
                #     Used when loading credentials from the shared credentials file
         | 
| 258 258 | 
             
                #     at HOME/.aws/credentials.  When not specified, 'default' is used.
         | 
| 259 259 | 
             
                #
         | 
| 260 | 
            +
                #   @option options [String] :request_checksum_calculation ("when_supported")
         | 
| 261 | 
            +
                #     Determines when a checksum will be calculated for request payloads. Values are:
         | 
| 262 | 
            +
                #
         | 
| 263 | 
            +
                #     * `when_supported` - (default) When set, a checksum will be
         | 
| 264 | 
            +
                #       calculated for all request payloads of operations modeled with the
         | 
| 265 | 
            +
                #       `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
         | 
| 266 | 
            +
                #       `requestAlgorithmMember` is modeled.
         | 
| 267 | 
            +
                #     * `when_required` - When set, a checksum will only be calculated for
         | 
| 268 | 
            +
                #       request payloads of operations modeled with the  `httpChecksum` trait where
         | 
| 269 | 
            +
                #       `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
         | 
| 270 | 
            +
                #       is modeled and supplied.
         | 
| 271 | 
            +
                #
         | 
| 260 272 | 
             
                #   @option options [Integer] :request_min_compression_size_bytes (10240)
         | 
| 261 273 | 
             
                #     The minimum size in bytes that triggers compression for request
         | 
| 262 274 | 
             
                #     bodies. The value must be non-negative integer value between 0
         | 
| 263 275 | 
             
                #     and 10485780 bytes inclusive.
         | 
| 264 276 | 
             
                #
         | 
| 277 | 
            +
                #   @option options [String] :response_checksum_validation ("when_supported")
         | 
| 278 | 
            +
                #     Determines when checksum validation will be performed on response payloads. Values are:
         | 
| 279 | 
            +
                #
         | 
| 280 | 
            +
                #     * `when_supported` - (default) When set, checksum validation is performed on all
         | 
| 281 | 
            +
                #       response payloads of operations modeled with the `httpChecksum` trait where
         | 
| 282 | 
            +
                #       `responseAlgorithms` is modeled, except when no modeled checksum algorithms
         | 
| 283 | 
            +
                #       are supported.
         | 
| 284 | 
            +
                #     * `when_required` - When set, checksum validation is not performed on
         | 
| 285 | 
            +
                #       response payloads of operations unless the checksum algorithm is supported and
         | 
| 286 | 
            +
                #       the `requestValidationModeMember` member is set to `ENABLED`.
         | 
| 287 | 
            +
                #
         | 
| 265 288 | 
             
                #   @option options [Proc] :retry_backoff
         | 
| 266 289 | 
             
                #     A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
         | 
| 267 290 | 
             
                #     This option is only used in the `legacy` retry mode.
         | 
| @@ -484,12 +507,13 @@ module Aws::CloudControlApi | |
| 484 507 | 
             
                #   resp.progress_event.type_name #=> String
         | 
| 485 508 | 
             
                #   resp.progress_event.identifier #=> String
         | 
| 486 509 | 
             
                #   resp.progress_event.request_token #=> String
         | 
| 510 | 
            +
                #   resp.progress_event.hooks_request_token #=> String
         | 
| 487 511 | 
             
                #   resp.progress_event.operation #=> String, one of "CREATE", "DELETE", "UPDATE"
         | 
| 488 512 | 
             
                #   resp.progress_event.operation_status #=> String, one of "PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"
         | 
| 489 513 | 
             
                #   resp.progress_event.event_time #=> Time
         | 
| 490 514 | 
             
                #   resp.progress_event.resource_model #=> String
         | 
| 491 515 | 
             
                #   resp.progress_event.status_message #=> String
         | 
| 492 | 
            -
                #   resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
         | 
| 516 | 
            +
                #   resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "UnauthorizedTaggingOperation", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
         | 
| 493 517 | 
             
                #   resp.progress_event.retry_after #=> Time
         | 
| 494 518 | 
             
                #
         | 
| 495 519 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/CancelResourceRequest AWS API Documentation
         | 
| @@ -611,12 +635,13 @@ module Aws::CloudControlApi | |
| 611 635 | 
             
                #   resp.progress_event.type_name #=> String
         | 
| 612 636 | 
             
                #   resp.progress_event.identifier #=> String
         | 
| 613 637 | 
             
                #   resp.progress_event.request_token #=> String
         | 
| 638 | 
            +
                #   resp.progress_event.hooks_request_token #=> String
         | 
| 614 639 | 
             
                #   resp.progress_event.operation #=> String, one of "CREATE", "DELETE", "UPDATE"
         | 
| 615 640 | 
             
                #   resp.progress_event.operation_status #=> String, one of "PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"
         | 
| 616 641 | 
             
                #   resp.progress_event.event_time #=> Time
         | 
| 617 642 | 
             
                #   resp.progress_event.resource_model #=> String
         | 
| 618 643 | 
             
                #   resp.progress_event.status_message #=> String
         | 
| 619 | 
            -
                #   resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
         | 
| 644 | 
            +
                #   resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "UnauthorizedTaggingOperation", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
         | 
| 620 645 | 
             
                #   resp.progress_event.retry_after #=> Time
         | 
| 621 646 | 
             
                #
         | 
| 622 647 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/CreateResource AWS API Documentation
         | 
| @@ -731,12 +756,13 @@ module Aws::CloudControlApi | |
| 731 756 | 
             
                #   resp.progress_event.type_name #=> String
         | 
| 732 757 | 
             
                #   resp.progress_event.identifier #=> String
         | 
| 733 758 | 
             
                #   resp.progress_event.request_token #=> String
         | 
| 759 | 
            +
                #   resp.progress_event.hooks_request_token #=> String
         | 
| 734 760 | 
             
                #   resp.progress_event.operation #=> String, one of "CREATE", "DELETE", "UPDATE"
         | 
| 735 761 | 
             
                #   resp.progress_event.operation_status #=> String, one of "PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"
         | 
| 736 762 | 
             
                #   resp.progress_event.event_time #=> Time
         | 
| 737 763 | 
             
                #   resp.progress_event.resource_model #=> String
         | 
| 738 764 | 
             
                #   resp.progress_event.status_message #=> String
         | 
| 739 | 
            -
                #   resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
         | 
| 765 | 
            +
                #   resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "UnauthorizedTaggingOperation", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
         | 
| 740 766 | 
             
                #   resp.progress_event.retry_after #=> Time
         | 
| 741 767 | 
             
                #
         | 
| 742 768 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/DeleteResource AWS API Documentation
         | 
| @@ -854,6 +880,7 @@ module Aws::CloudControlApi | |
| 854 880 | 
             
                # @return [Types::GetResourceRequestStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 855 881 | 
             
                #
         | 
| 856 882 | 
             
                #   * {Types::GetResourceRequestStatusOutput#progress_event #progress_event} => Types::ProgressEvent
         | 
| 883 | 
            +
                #   * {Types::GetResourceRequestStatusOutput#hooks_progress_event #hooks_progress_event} => Array<Types::HookProgressEvent>
         | 
| 857 884 | 
             
                #
         | 
| 858 885 | 
             
                # @example Request syntax with placeholder values
         | 
| 859 886 | 
             
                #
         | 
| @@ -866,13 +893,23 @@ module Aws::CloudControlApi | |
| 866 893 | 
             
                #   resp.progress_event.type_name #=> String
         | 
| 867 894 | 
             
                #   resp.progress_event.identifier #=> String
         | 
| 868 895 | 
             
                #   resp.progress_event.request_token #=> String
         | 
| 896 | 
            +
                #   resp.progress_event.hooks_request_token #=> String
         | 
| 869 897 | 
             
                #   resp.progress_event.operation #=> String, one of "CREATE", "DELETE", "UPDATE"
         | 
| 870 898 | 
             
                #   resp.progress_event.operation_status #=> String, one of "PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"
         | 
| 871 899 | 
             
                #   resp.progress_event.event_time #=> Time
         | 
| 872 900 | 
             
                #   resp.progress_event.resource_model #=> String
         | 
| 873 901 | 
             
                #   resp.progress_event.status_message #=> String
         | 
| 874 | 
            -
                #   resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
         | 
| 902 | 
            +
                #   resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "UnauthorizedTaggingOperation", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
         | 
| 875 903 | 
             
                #   resp.progress_event.retry_after #=> Time
         | 
| 904 | 
            +
                #   resp.hooks_progress_event #=> Array
         | 
| 905 | 
            +
                #   resp.hooks_progress_event[0].hook_type_name #=> String
         | 
| 906 | 
            +
                #   resp.hooks_progress_event[0].hook_type_version_id #=> String
         | 
| 907 | 
            +
                #   resp.hooks_progress_event[0].hook_type_arn #=> String
         | 
| 908 | 
            +
                #   resp.hooks_progress_event[0].invocation_point #=> String
         | 
| 909 | 
            +
                #   resp.hooks_progress_event[0].hook_status #=> String
         | 
| 910 | 
            +
                #   resp.hooks_progress_event[0].hook_event_time #=> Time
         | 
| 911 | 
            +
                #   resp.hooks_progress_event[0].hook_status_message #=> String
         | 
| 912 | 
            +
                #   resp.hooks_progress_event[0].failure_mode #=> String
         | 
| 876 913 | 
             
                #
         | 
| 877 914 | 
             
                #
         | 
| 878 915 | 
             
                # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
         | 
| @@ -944,12 +981,13 @@ module Aws::CloudControlApi | |
| 944 981 | 
             
                #   resp.resource_request_status_summaries[0].type_name #=> String
         | 
| 945 982 | 
             
                #   resp.resource_request_status_summaries[0].identifier #=> String
         | 
| 946 983 | 
             
                #   resp.resource_request_status_summaries[0].request_token #=> String
         | 
| 984 | 
            +
                #   resp.resource_request_status_summaries[0].hooks_request_token #=> String
         | 
| 947 985 | 
             
                #   resp.resource_request_status_summaries[0].operation #=> String, one of "CREATE", "DELETE", "UPDATE"
         | 
| 948 986 | 
             
                #   resp.resource_request_status_summaries[0].operation_status #=> String, one of "PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"
         | 
| 949 987 | 
             
                #   resp.resource_request_status_summaries[0].event_time #=> Time
         | 
| 950 988 | 
             
                #   resp.resource_request_status_summaries[0].resource_model #=> String
         | 
| 951 989 | 
             
                #   resp.resource_request_status_summaries[0].status_message #=> String
         | 
| 952 | 
            -
                #   resp.resource_request_status_summaries[0].error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
         | 
| 990 | 
            +
                #   resp.resource_request_status_summaries[0].error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "UnauthorizedTaggingOperation", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
         | 
| 953 991 | 
             
                #   resp.resource_request_status_summaries[0].retry_after #=> Time
         | 
| 954 992 | 
             
                #   resp.next_token #=> String
         | 
| 955 993 | 
             
                #
         | 
| @@ -1177,12 +1215,13 @@ module Aws::CloudControlApi | |
| 1177 1215 | 
             
                #   resp.progress_event.type_name #=> String
         | 
| 1178 1216 | 
             
                #   resp.progress_event.identifier #=> String
         | 
| 1179 1217 | 
             
                #   resp.progress_event.request_token #=> String
         | 
| 1218 | 
            +
                #   resp.progress_event.hooks_request_token #=> String
         | 
| 1180 1219 | 
             
                #   resp.progress_event.operation #=> String, one of "CREATE", "DELETE", "UPDATE"
         | 
| 1181 1220 | 
             
                #   resp.progress_event.operation_status #=> String, one of "PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"
         | 
| 1182 1221 | 
             
                #   resp.progress_event.event_time #=> Time
         | 
| 1183 1222 | 
             
                #   resp.progress_event.resource_model #=> String
         | 
| 1184 1223 | 
             
                #   resp.progress_event.status_message #=> String
         | 
| 1185 | 
            -
                #   resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
         | 
| 1224 | 
            +
                #   resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "UnauthorizedTaggingOperation", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
         | 
| 1186 1225 | 
             
                #   resp.progress_event.retry_after #=> Time
         | 
| 1187 1226 | 
             
                #
         | 
| 1188 1227 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/UpdateResource AWS API Documentation
         | 
| @@ -1212,7 +1251,7 @@ module Aws::CloudControlApi | |
| 1212 1251 | 
             
                    tracer: tracer
         | 
| 1213 1252 | 
             
                  )
         | 
| 1214 1253 | 
             
                  context[:gem_name] = 'aws-sdk-cloudcontrolapi'
         | 
| 1215 | 
            -
                  context[:gem_version] = '1. | 
| 1254 | 
            +
                  context[:gem_version] = '1.35.0'
         | 
| 1216 1255 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 1217 1256 | 
             
                end
         | 
| 1218 1257 |  | 
| @@ -35,6 +35,12 @@ module Aws::CloudControlApi | |
| 35 35 | 
             
                HandlerFailureException = Shapes::StructureShape.new(name: 'HandlerFailureException')
         | 
| 36 36 | 
             
                HandlerInternalFailureException = Shapes::StructureShape.new(name: 'HandlerInternalFailureException')
         | 
| 37 37 | 
             
                HandlerNextToken = Shapes::StringShape.new(name: 'HandlerNextToken')
         | 
| 38 | 
            +
                HookFailureMode = Shapes::StringShape.new(name: 'HookFailureMode')
         | 
| 39 | 
            +
                HookInvocationPoint = Shapes::StringShape.new(name: 'HookInvocationPoint')
         | 
| 40 | 
            +
                HookProgressEvent = Shapes::StructureShape.new(name: 'HookProgressEvent')
         | 
| 41 | 
            +
                HookStatus = Shapes::StringShape.new(name: 'HookStatus')
         | 
| 42 | 
            +
                HookTypeArn = Shapes::StringShape.new(name: 'HookTypeArn')
         | 
| 43 | 
            +
                HooksProgressEvent = Shapes::ListShape.new(name: 'HooksProgressEvent')
         | 
| 38 44 | 
             
                Identifier = Shapes::StringShape.new(name: 'Identifier')
         | 
| 39 45 | 
             
                InvalidCredentialsException = Shapes::StructureShape.new(name: 'InvalidCredentialsException')
         | 
| 40 46 | 
             
                InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
         | 
| @@ -131,6 +137,7 @@ module Aws::CloudControlApi | |
| 131 137 | 
             
                GetResourceRequestStatusInput.struct_class = Types::GetResourceRequestStatusInput
         | 
| 132 138 |  | 
| 133 139 | 
             
                GetResourceRequestStatusOutput.add_member(:progress_event, Shapes::ShapeRef.new(shape: ProgressEvent, location_name: "ProgressEvent"))
         | 
| 140 | 
            +
                GetResourceRequestStatusOutput.add_member(:hooks_progress_event, Shapes::ShapeRef.new(shape: HooksProgressEvent, location_name: "HooksProgressEvent"))
         | 
| 134 141 | 
             
                GetResourceRequestStatusOutput.struct_class = Types::GetResourceRequestStatusOutput
         | 
| 135 142 |  | 
| 136 143 | 
             
                HandlerFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
         | 
| @@ -139,6 +146,18 @@ module Aws::CloudControlApi | |
| 139 146 | 
             
                HandlerInternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
         | 
| 140 147 | 
             
                HandlerInternalFailureException.struct_class = Types::HandlerInternalFailureException
         | 
| 141 148 |  | 
| 149 | 
            +
                HookProgressEvent.add_member(:hook_type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "HookTypeName"))
         | 
| 150 | 
            +
                HookProgressEvent.add_member(:hook_type_version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "HookTypeVersionId"))
         | 
| 151 | 
            +
                HookProgressEvent.add_member(:hook_type_arn, Shapes::ShapeRef.new(shape: HookTypeArn, location_name: "HookTypeArn"))
         | 
| 152 | 
            +
                HookProgressEvent.add_member(:invocation_point, Shapes::ShapeRef.new(shape: HookInvocationPoint, location_name: "InvocationPoint"))
         | 
| 153 | 
            +
                HookProgressEvent.add_member(:hook_status, Shapes::ShapeRef.new(shape: HookStatus, location_name: "HookStatus"))
         | 
| 154 | 
            +
                HookProgressEvent.add_member(:hook_event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "HookEventTime"))
         | 
| 155 | 
            +
                HookProgressEvent.add_member(:hook_status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "HookStatusMessage"))
         | 
| 156 | 
            +
                HookProgressEvent.add_member(:failure_mode, Shapes::ShapeRef.new(shape: HookFailureMode, location_name: "FailureMode"))
         | 
| 157 | 
            +
                HookProgressEvent.struct_class = Types::HookProgressEvent
         | 
| 158 | 
            +
             | 
| 159 | 
            +
                HooksProgressEvent.member = Shapes::ShapeRef.new(shape: HookProgressEvent)
         | 
| 160 | 
            +
             | 
| 142 161 | 
             
                InvalidCredentialsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
         | 
| 143 162 | 
             
                InvalidCredentialsException.struct_class = Types::InvalidCredentialsException
         | 
| 144 163 |  | 
| @@ -186,6 +205,7 @@ module Aws::CloudControlApi | |
| 186 205 | 
             
                ProgressEvent.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName"))
         | 
| 187 206 | 
             
                ProgressEvent.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, location_name: "Identifier"))
         | 
| 188 207 | 
             
                ProgressEvent.add_member(:request_token, Shapes::ShapeRef.new(shape: RequestToken, location_name: "RequestToken"))
         | 
| 208 | 
            +
                ProgressEvent.add_member(:hooks_request_token, Shapes::ShapeRef.new(shape: RequestToken, location_name: "HooksRequestToken"))
         | 
| 189 209 | 
             
                ProgressEvent.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "Operation"))
         | 
| 190 210 | 
             
                ProgressEvent.add_member(:operation_status, Shapes::ShapeRef.new(shape: OperationStatus, location_name: "OperationStatus"))
         | 
| 191 211 | 
             
                ProgressEvent.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventTime"))
         | 
| @@ -250,9 +270,11 @@ module Aws::CloudControlApi | |
| 250 270 |  | 
| 251 271 | 
             
                  api.metadata = {
         | 
| 252 272 | 
             
                    "apiVersion" => "2021-09-30",
         | 
| 273 | 
            +
                    "auth" => ["aws.auth#sigv4"],
         | 
| 253 274 | 
             
                    "endpointPrefix" => "cloudcontrolapi",
         | 
| 254 275 | 
             
                    "jsonVersion" => "1.0",
         | 
| 255 276 | 
             
                    "protocol" => "json",
         | 
| 277 | 
            +
                    "protocols" => ["json"],
         | 
| 256 278 | 
             
                    "serviceAbbreviation" => "CloudControlApi",
         | 
| 257 279 | 
             
                    "serviceFullName" => "AWS Cloud Control API",
         | 
| 258 280 | 
             
                    "serviceId" => "CloudControl",
         | 
| @@ -32,7 +32,7 @@ module Aws::CloudControlApi | |
| 32 32 | 
             
                        raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
         | 
| 33 33 | 
             
                      end
         | 
| 34 34 | 
             
                      if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         | 
| 35 | 
            -
                        if Aws::Endpoints::Matchers.boolean_equals?( | 
| 35 | 
            +
                        if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
         | 
| 36 36 | 
             
                          return Aws::Endpoints::Endpoint.new(url: "https://cloudcontrolapi-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         | 
| 37 37 | 
             
                        end
         | 
| 38 38 | 
             
                        raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
         | 
| @@ -444,10 +444,16 @@ module Aws::CloudControlApi | |
| 444 444 | 
             
                #   Represents the current status of the resource operation request.
         | 
| 445 445 | 
             
                #   @return [Types::ProgressEvent]
         | 
| 446 446 | 
             
                #
         | 
| 447 | 
            +
                # @!attribute [rw] hooks_progress_event
         | 
| 448 | 
            +
                #   Lists Hook invocations for the specified target in the request. This
         | 
| 449 | 
            +
                #   is a list since the same target can invoke multiple Hooks.
         | 
| 450 | 
            +
                #   @return [Array<Types::HookProgressEvent>]
         | 
| 451 | 
            +
                #
         | 
| 447 452 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/GetResourceRequestStatusOutput AWS API Documentation
         | 
| 448 453 | 
             
                #
         | 
| 449 454 | 
             
                class GetResourceRequestStatusOutput < Struct.new(
         | 
| 450 | 
            -
                  :progress_event | 
| 455 | 
            +
                  :progress_event,
         | 
| 456 | 
            +
                  :hooks_progress_event)
         | 
| 451 457 | 
             
                  SENSITIVE = []
         | 
| 452 458 | 
             
                  include Aws::Structure
         | 
| 453 459 | 
             
                end
         | 
| @@ -480,6 +486,85 @@ module Aws::CloudControlApi | |
| 480 486 | 
             
                  include Aws::Structure
         | 
| 481 487 | 
             
                end
         | 
| 482 488 |  | 
| 489 | 
            +
                # Represents the current status of applicable Hooks for a resource
         | 
| 490 | 
            +
                # operation request. It contains list of Hook invocation information for
         | 
| 491 | 
            +
                # the resource specified in the request since the same target can invoke
         | 
| 492 | 
            +
                # multiple Hooks. For more information, see [Managing resource operation
         | 
| 493 | 
            +
                # requests with Amazon Web Services Cloud Control API ][1].
         | 
| 494 | 
            +
                #
         | 
| 495 | 
            +
                #
         | 
| 496 | 
            +
                #
         | 
| 497 | 
            +
                # [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html
         | 
| 498 | 
            +
                #
         | 
| 499 | 
            +
                # @!attribute [rw] hook_type_name
         | 
| 500 | 
            +
                #   The type name of the Hook being invoked.
         | 
| 501 | 
            +
                #   @return [String]
         | 
| 502 | 
            +
                #
         | 
| 503 | 
            +
                # @!attribute [rw] hook_type_version_id
         | 
| 504 | 
            +
                #   The type version of the Hook being invoked.
         | 
| 505 | 
            +
                #   @return [String]
         | 
| 506 | 
            +
                #
         | 
| 507 | 
            +
                # @!attribute [rw] hook_type_arn
         | 
| 508 | 
            +
                #   The ARN of the Hook being invoked.
         | 
| 509 | 
            +
                #   @return [String]
         | 
| 510 | 
            +
                #
         | 
| 511 | 
            +
                # @!attribute [rw] invocation_point
         | 
| 512 | 
            +
                #   States whether the Hook is invoked before or after resource
         | 
| 513 | 
            +
                #   provisioning.
         | 
| 514 | 
            +
                #   @return [String]
         | 
| 515 | 
            +
                #
         | 
| 516 | 
            +
                # @!attribute [rw] hook_status
         | 
| 517 | 
            +
                #   The status of the Hook invocation. The following are potential
         | 
| 518 | 
            +
                #   statuses:
         | 
| 519 | 
            +
                #
         | 
| 520 | 
            +
                #   * `HOOK_PENDING`: The Hook was added to the invocation plan, but not
         | 
| 521 | 
            +
                #     yet invoked.
         | 
| 522 | 
            +
                #
         | 
| 523 | 
            +
                #   * `HOOK_IN_PROGRESS`: The Hook was invoked, but hasn't completed.
         | 
| 524 | 
            +
                #
         | 
| 525 | 
            +
                #   * `HOOK_COMPLETE_SUCCEEDED`: The Hook invocation is complete with a
         | 
| 526 | 
            +
                #     successful result.
         | 
| 527 | 
            +
                #
         | 
| 528 | 
            +
                #   * `HOOK_COMPLETE_FAILED`: The Hook invocation is complete with a
         | 
| 529 | 
            +
                #     failed result.
         | 
| 530 | 
            +
                #
         | 
| 531 | 
            +
                #   * `HOOK_FAILED`: The Hook invocation didn't complete successfully.
         | 
| 532 | 
            +
                #   @return [String]
         | 
| 533 | 
            +
                #
         | 
| 534 | 
            +
                # @!attribute [rw] hook_event_time
         | 
| 535 | 
            +
                #   The time that the Hook invocation request initiated.
         | 
| 536 | 
            +
                #   @return [Time]
         | 
| 537 | 
            +
                #
         | 
| 538 | 
            +
                # @!attribute [rw] hook_status_message
         | 
| 539 | 
            +
                #   The message explaining the current Hook status.
         | 
| 540 | 
            +
                #   @return [String]
         | 
| 541 | 
            +
                #
         | 
| 542 | 
            +
                # @!attribute [rw] failure_mode
         | 
| 543 | 
            +
                #   The failure mode of the invocation. The following are the potential
         | 
| 544 | 
            +
                #   statuses:
         | 
| 545 | 
            +
                #
         | 
| 546 | 
            +
                #   * `FAIL`: This will fail the Hook invocation and the request
         | 
| 547 | 
            +
                #     associated with it.
         | 
| 548 | 
            +
                #
         | 
| 549 | 
            +
                #   * `WARN`: This will fail the Hook invocation, but not the request
         | 
| 550 | 
            +
                #     associated with it.
         | 
| 551 | 
            +
                #   @return [String]
         | 
| 552 | 
            +
                #
         | 
| 553 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/HookProgressEvent AWS API Documentation
         | 
| 554 | 
            +
                #
         | 
| 555 | 
            +
                class HookProgressEvent < Struct.new(
         | 
| 556 | 
            +
                  :hook_type_name,
         | 
| 557 | 
            +
                  :hook_type_version_id,
         | 
| 558 | 
            +
                  :hook_type_arn,
         | 
| 559 | 
            +
                  :invocation_point,
         | 
| 560 | 
            +
                  :hook_status,
         | 
| 561 | 
            +
                  :hook_event_time,
         | 
| 562 | 
            +
                  :hook_status_message,
         | 
| 563 | 
            +
                  :failure_mode)
         | 
| 564 | 
            +
                  SENSITIVE = []
         | 
| 565 | 
            +
                  include Aws::Structure
         | 
| 566 | 
            +
                end
         | 
| 567 | 
            +
             | 
| 483 568 | 
             
                # The resource handler has returned that the credentials provided by the
         | 
| 484 569 | 
             
                # user are invalid.
         | 
| 485 570 | 
             
                #
         | 
| @@ -738,6 +823,10 @@ module Aws::CloudControlApi | |
| 738 823 | 
             
                #   [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html
         | 
| 739 824 | 
             
                #   @return [String]
         | 
| 740 825 | 
             
                #
         | 
| 826 | 
            +
                # @!attribute [rw] hooks_request_token
         | 
| 827 | 
            +
                #   The unique token representing the Hooks operation for the request.
         | 
| 828 | 
            +
                #   @return [String]
         | 
| 829 | 
            +
                #
         | 
| 741 830 | 
             
                # @!attribute [rw] operation
         | 
| 742 831 | 
             
                #   The resource operation type.
         | 
| 743 832 | 
             
                #   @return [String]
         | 
| @@ -795,6 +884,7 @@ module Aws::CloudControlApi | |
| 795 884 | 
             
                  :type_name,
         | 
| 796 885 | 
             
                  :identifier,
         | 
| 797 886 | 
             
                  :request_token,
         | 
| 887 | 
            +
                  :hooks_request_token,
         | 
| 798 888 | 
             
                  :operation,
         | 
| 799 889 | 
             
                  :operation_status,
         | 
| 800 890 | 
             
                  :event_time,
         | 
    
        data/sig/client.rbs
    CHANGED
    
    | @@ -39,7 +39,9 @@ module Aws | |
| 39 39 | 
             
                                  ?logger: untyped,
         | 
| 40 40 | 
             
                                  ?max_attempts: Integer,
         | 
| 41 41 | 
             
                                  ?profile: String,
         | 
| 42 | 
            +
                                  ?request_checksum_calculation: String,
         | 
| 42 43 | 
             
                                  ?request_min_compression_size_bytes: Integer,
         | 
| 44 | 
            +
                                  ?response_checksum_validation: String,
         | 
| 43 45 | 
             
                                  ?retry_backoff: Proc,
         | 
| 44 46 | 
             
                                  ?retry_base_delay: Float,
         | 
| 45 47 | 
             
                                  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
         | 
| @@ -131,6 +133,7 @@ module Aws | |
| 131 133 | 
             
                  interface _GetResourceRequestStatusResponseSuccess
         | 
| 132 134 | 
             
                    include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceRequestStatusOutput]
         | 
| 133 135 | 
             
                    def progress_event: () -> Types::ProgressEvent
         | 
| 136 | 
            +
                    def hooks_progress_event: () -> ::Array[Types::HookProgressEvent]
         | 
| 134 137 | 
             
                  end
         | 
| 135 138 | 
             
                  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudControlApi/Client.html#get_resource_request_status-instance_method
         | 
| 136 139 | 
             
                  def get_resource_request_status: (
         | 
    
        data/sig/resource.rbs
    CHANGED
    
    | @@ -39,7 +39,9 @@ module Aws | |
| 39 39 | 
             
                                    ?logger: untyped,
         | 
| 40 40 | 
             
                                    ?max_attempts: Integer,
         | 
| 41 41 | 
             
                                    ?profile: String,
         | 
| 42 | 
            +
                                    ?request_checksum_calculation: String,
         | 
| 42 43 | 
             
                                    ?request_min_compression_size_bytes: Integer,
         | 
| 44 | 
            +
                                    ?response_checksum_validation: String,
         | 
| 43 45 | 
             
                                    ?retry_backoff: Proc,
         | 
| 44 46 | 
             
                                    ?retry_base_delay: Float,
         | 
| 45 47 | 
             
                                    ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
         | 
    
        data/sig/types.rbs
    CHANGED
    
    | @@ -92,6 +92,7 @@ module Aws::CloudControlApi | |
| 92 92 |  | 
| 93 93 | 
             
                class GetResourceRequestStatusOutput
         | 
| 94 94 | 
             
                  attr_accessor progress_event: Types::ProgressEvent
         | 
| 95 | 
            +
                  attr_accessor hooks_progress_event: ::Array[Types::HookProgressEvent]
         | 
| 95 96 | 
             
                  SENSITIVE: []
         | 
| 96 97 | 
             
                end
         | 
| 97 98 |  | 
| @@ -105,6 +106,18 @@ module Aws::CloudControlApi | |
| 105 106 | 
             
                  SENSITIVE: []
         | 
| 106 107 | 
             
                end
         | 
| 107 108 |  | 
| 109 | 
            +
                class HookProgressEvent
         | 
| 110 | 
            +
                  attr_accessor hook_type_name: ::String
         | 
| 111 | 
            +
                  attr_accessor hook_type_version_id: ::String
         | 
| 112 | 
            +
                  attr_accessor hook_type_arn: ::String
         | 
| 113 | 
            +
                  attr_accessor invocation_point: ::String
         | 
| 114 | 
            +
                  attr_accessor hook_status: ::String
         | 
| 115 | 
            +
                  attr_accessor hook_event_time: ::Time
         | 
| 116 | 
            +
                  attr_accessor hook_status_message: ::String
         | 
| 117 | 
            +
                  attr_accessor failure_mode: ::String
         | 
| 118 | 
            +
                  SENSITIVE: []
         | 
| 119 | 
            +
                end
         | 
| 120 | 
            +
             | 
| 108 121 | 
             
                class InvalidCredentialsException
         | 
| 109 122 | 
             
                  attr_accessor message: ::String
         | 
| 110 123 | 
             
                  SENSITIVE: []
         | 
| @@ -169,12 +182,13 @@ module Aws::CloudControlApi | |
| 169 182 | 
             
                  attr_accessor type_name: ::String
         | 
| 170 183 | 
             
                  attr_accessor identifier: ::String
         | 
| 171 184 | 
             
                  attr_accessor request_token: ::String
         | 
| 185 | 
            +
                  attr_accessor hooks_request_token: ::String
         | 
| 172 186 | 
             
                  attr_accessor operation: ("CREATE" | "DELETE" | "UPDATE")
         | 
| 173 187 | 
             
                  attr_accessor operation_status: ("PENDING" | "IN_PROGRESS" | "SUCCESS" | "FAILED" | "CANCEL_IN_PROGRESS" | "CANCEL_COMPLETE")
         | 
| 174 188 | 
             
                  attr_accessor event_time: ::Time
         | 
| 175 189 | 
             
                  attr_accessor resource_model: ::String
         | 
| 176 190 | 
             
                  attr_accessor status_message: ::String
         | 
| 177 | 
            -
                  attr_accessor error_code: ("NotUpdatable" | "InvalidRequest" | "AccessDenied" | "InvalidCredentials" | "AlreadyExists" | "NotFound" | "ResourceConflict" | "Throttling" | "ServiceLimitExceeded" | "NotStabilized" | "GeneralServiceException" | "ServiceInternalError" | "ServiceTimeout" | "NetworkFailure" | "InternalFailure")
         | 
| 191 | 
            +
                  attr_accessor error_code: ("NotUpdatable" | "InvalidRequest" | "AccessDenied" | "UnauthorizedTaggingOperation" | "InvalidCredentials" | "AlreadyExists" | "NotFound" | "ResourceConflict" | "Throttling" | "ServiceLimitExceeded" | "NotStabilized" | "GeneralServiceException" | "ServiceInternalError" | "ServiceTimeout" | "NetworkFailure" | "InternalFailure")
         | 
| 178 192 | 
             
                  attr_accessor retry_after: ::Time
         | 
| 179 193 | 
             
                  SENSITIVE: [:resource_model]
         | 
| 180 194 | 
             
                end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-cloudcontrolapi
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.35.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Amazon Web Services
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2025-01-15 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         | 
| @@ -19,7 +19,7 @@ dependencies: | |
| 19 19 | 
             
                    version: '3'
         | 
| 20 20 | 
             
                - - ">="
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 | 
            -
                    version: 3. | 
| 22 | 
            +
                    version: 3.216.0
         | 
| 23 23 | 
             
              type: :runtime
         | 
| 24 24 | 
             
              prerelease: false
         | 
| 25 25 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| @@ -29,21 +29,21 @@ dependencies: | |
| 29 29 | 
             
                    version: '3'
         | 
| 30 30 | 
             
                - - ">="
         | 
| 31 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 | 
            -
                    version: 3. | 
| 32 | 
            +
                    version: 3.216.0
         | 
| 33 33 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 34 34 | 
             
              name: aws-sigv4
         | 
| 35 35 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 36 36 | 
             
                requirements:
         | 
| 37 37 | 
             
                - - "~>"
         | 
| 38 38 | 
             
                  - !ruby/object:Gem::Version
         | 
| 39 | 
            -
                    version: '1. | 
| 39 | 
            +
                    version: '1.5'
         | 
| 40 40 | 
             
              type: :runtime
         | 
| 41 41 | 
             
              prerelease: false
         | 
| 42 42 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 43 43 | 
             
                requirements:
         | 
| 44 44 | 
             
                - - "~>"
         | 
| 45 45 | 
             
                  - !ruby/object:Gem::Version
         | 
| 46 | 
            -
                    version: '1. | 
| 46 | 
            +
                    version: '1.5'
         | 
| 47 47 | 
             
            description: Official AWS Ruby gem for AWS Cloud Control API (CloudControlApi). This
         | 
| 48 48 | 
             
              gem is part of the AWS SDK for Ruby.
         | 
| 49 49 | 
             
            email:
         |