aws-sdk-quicksight 1.64.0 → 1.65.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-quicksight/client.rb +57 -6
- data/lib/aws-sdk-quicksight/client_api.rb +25 -0
- data/lib/aws-sdk-quicksight/types.rb +58 -2
- data/lib/aws-sdk-quicksight.rb +1 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 0b81f5694dc0a7869f05dd7d296d6cca3717cb9a848afa9f0e11497ddac06359
         | 
| 4 | 
            +
              data.tar.gz: f49125ab632487a552682c98770e7c07401e852e612ca4c939820a45f0ba61f9
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: a6adc2474ef542cc7ee0d708cafa3d78765a6c6d8954904f343c445640c81e8d9d4adf643167b0107c61c512c84b1590d2baf63a18a0baf4b02eec73e98f7c7f
         | 
| 7 | 
            +
              data.tar.gz: e44c55e1b84c01444bb760cc4eef91bec8a898bddb635c6c46bf4aadd3e9146917fded07ca2beaa9a96904fa10e226a750765ffbff6653476dba03e54663a6de
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,11 @@ | |
| 1 1 | 
             
            Unreleased Changes
         | 
| 2 2 | 
             
            ------------------
         | 
| 3 3 |  | 
| 4 | 
            +
            1.65.0 (2022-05-18)
         | 
| 5 | 
            +
            ------------------
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Feature - API UpdatePublicSharingSettings enables IAM admins to enable/disable account level setting for public access of dashboards. When enabled, owners/co-owners for dashboards can enable public access on their dashboards. These dashboards can only be accessed through share link or embedding.
         | 
| 8 | 
            +
             | 
| 4 9 | 
             
            1.64.0 (2022-03-21)
         | 
| 5 10 | 
             
            ------------------
         | 
| 6 11 |  | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.65.0
         | 
| @@ -3015,6 +3015,7 @@ module Aws::QuickSight | |
| 3015 3015 | 
             
                #   resp.account_settings.edition #=> String, one of "STANDARD", "ENTERPRISE"
         | 
| 3016 3016 | 
             
                #   resp.account_settings.default_namespace #=> String
         | 
| 3017 3017 | 
             
                #   resp.account_settings.notification_email #=> String
         | 
| 3018 | 
            +
                #   resp.account_settings.public_sharing_enabled #=> Boolean
         | 
| 3018 3019 | 
             
                #   resp.request_id #=> String
         | 
| 3019 3020 | 
             
                #   resp.status #=> Integer
         | 
| 3020 3021 | 
             
                #
         | 
| @@ -4428,8 +4429,8 @@ module Aws::QuickSight | |
| 4428 4429 | 
             
                #   session lifetime that can be customized using the `
         | 
| 4429 4430 | 
             
                #   SessionLifetimeInMinutes ` parameter.
         | 
| 4430 4431 | 
             
                #
         | 
| 4431 | 
            -
                #   The resulting user session is valid for 15 minutes ( | 
| 4432 | 
            -
                #   hours (maximum).
         | 
| 4432 | 
            +
                #   The resulting user session is valid for 15 minutes (minimum) to 10
         | 
| 4433 | 
            +
                #   hours (maximum). The default session duration is 10 hours.
         | 
| 4433 4434 | 
             
                #
         | 
| 4434 4435 | 
             
                # * You are charged only when the URL is used or there is interaction
         | 
| 4435 4436 | 
             
                #   with Amazon QuickSight.
         | 
| @@ -4478,7 +4479,8 @@ module Aws::QuickSight | |
| 4478 4479 | 
             
                #   user is authorized to access during the lifetime of the session. If
         | 
| 4479 4480 | 
             
                #   you choose `Dashboard` embedding experience, pass the list of
         | 
| 4480 4481 | 
             
                #   dashboard ARNs in the account that you want the user to be able to
         | 
| 4481 | 
            -
                #   view.
         | 
| 4482 | 
            +
                #   view. Currently, you can pass up to 25 dashboard ARNs in each API
         | 
| 4483 | 
            +
                #   call.
         | 
| 4482 4484 | 
             
                #
         | 
| 4483 4485 | 
             
                # @option params [required, Types::AnonymousUserEmbeddingExperienceConfiguration] :experience_configuration
         | 
| 4484 4486 | 
             
                #   The configuration of the experience you are embedding.
         | 
| @@ -4540,8 +4542,8 @@ module Aws::QuickSight | |
| 4540 4542 | 
             
                #   session lifetime that can be customized using the `
         | 
| 4541 4543 | 
             
                #   SessionLifetimeInMinutes ` parameter.
         | 
| 4542 4544 | 
             
                #
         | 
| 4543 | 
            -
                #   The resulting user session is valid for 15 minutes ( | 
| 4544 | 
            -
                #   hours (maximum).
         | 
| 4545 | 
            +
                #   The resulting user session is valid for 15 minutes (minimum) to 10
         | 
| 4546 | 
            +
                #   hours (maximum). The default session duration is 10 hours.
         | 
| 4545 4547 | 
             
                #
         | 
| 4546 4548 | 
             
                # * You are charged only when the URL is used or there is interaction
         | 
| 4547 4549 | 
             
                #   with Amazon QuickSight.
         | 
| @@ -8159,6 +8161,55 @@ module Aws::QuickSight | |
| 8159 8161 | 
             
                  req.send_request(options)
         | 
| 8160 8162 | 
             
                end
         | 
| 8161 8163 |  | 
| 8164 | 
            +
                # Use the UpdatePublicSharingSettings operation to enable or disable the
         | 
| 8165 | 
            +
                # public sharing settings of an Amazon QuickSight dashboard.
         | 
| 8166 | 
            +
                #
         | 
| 8167 | 
            +
                # To use this operation, enable session capacity pricing on your Amazon
         | 
| 8168 | 
            +
                # QuickSight account.
         | 
| 8169 | 
            +
                #
         | 
| 8170 | 
            +
                # Before you can enable public sharing on your account, you need to
         | 
| 8171 | 
            +
                # allow public sharing permissions to an administrative user in the IAM
         | 
| 8172 | 
            +
                # console. For more information on using IAM with Amazon QuickSight, see
         | 
| 8173 | 
            +
                # [Using Amazon QuickSight with IAM][1].
         | 
| 8174 | 
            +
                #
         | 
| 8175 | 
            +
                #
         | 
| 8176 | 
            +
                #
         | 
| 8177 | 
            +
                # [1]: https://docs.aws.amazon.com/quicksight/latest/user/security_iam_service-with-iam.html
         | 
| 8178 | 
            +
                #
         | 
| 8179 | 
            +
                # @option params [required, String] :aws_account_id
         | 
| 8180 | 
            +
                #   The Amazon Web Services account ID associated with your Amazon
         | 
| 8181 | 
            +
                #   QuickSight subscription.
         | 
| 8182 | 
            +
                #
         | 
| 8183 | 
            +
                # @option params [Boolean] :public_sharing_enabled
         | 
| 8184 | 
            +
                #   A boolean that indicates whether or not public sharing is enabled on a
         | 
| 8185 | 
            +
                #   Amazon QuickSight account.
         | 
| 8186 | 
            +
                #
         | 
| 8187 | 
            +
                # @return [Types::UpdatePublicSharingSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 8188 | 
            +
                #
         | 
| 8189 | 
            +
                #   * {Types::UpdatePublicSharingSettingsResponse#request_id #request_id} => String
         | 
| 8190 | 
            +
                #   * {Types::UpdatePublicSharingSettingsResponse#status #status} => Integer
         | 
| 8191 | 
            +
                #
         | 
| 8192 | 
            +
                # @example Request syntax with placeholder values
         | 
| 8193 | 
            +
                #
         | 
| 8194 | 
            +
                #   resp = client.update_public_sharing_settings({
         | 
| 8195 | 
            +
                #     aws_account_id: "AwsAccountId", # required
         | 
| 8196 | 
            +
                #     public_sharing_enabled: false,
         | 
| 8197 | 
            +
                #   })
         | 
| 8198 | 
            +
                #
         | 
| 8199 | 
            +
                # @example Response structure
         | 
| 8200 | 
            +
                #
         | 
| 8201 | 
            +
                #   resp.request_id #=> String
         | 
| 8202 | 
            +
                #   resp.status #=> Integer
         | 
| 8203 | 
            +
                #
         | 
| 8204 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdatePublicSharingSettings AWS API Documentation
         | 
| 8205 | 
            +
                #
         | 
| 8206 | 
            +
                # @overload update_public_sharing_settings(params = {})
         | 
| 8207 | 
            +
                # @param [Hash] params ({})
         | 
| 8208 | 
            +
                def update_public_sharing_settings(params = {}, options = {})
         | 
| 8209 | 
            +
                  req = build_request(:update_public_sharing_settings, params)
         | 
| 8210 | 
            +
                  req.send_request(options)
         | 
| 8211 | 
            +
                end
         | 
| 8212 | 
            +
             | 
| 8162 8213 | 
             
                # Updates a template from an existing Amazon QuickSight analysis or
         | 
| 8163 8214 | 
             
                # another template.
         | 
| 8164 8215 | 
             
                #
         | 
| @@ -8762,7 +8813,7 @@ module Aws::QuickSight | |
| 8762 8813 | 
             
                    params: params,
         | 
| 8763 8814 | 
             
                    config: config)
         | 
| 8764 8815 | 
             
                  context[:gem_name] = 'aws-sdk-quicksight'
         | 
| 8765 | 
            -
                  context[:gem_version] = '1. | 
| 8816 | 
            +
                  context[:gem_version] = '1.65.0'
         | 
| 8766 8817 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 8767 8818 | 
             
                end
         | 
| 8768 8819 |  | 
| @@ -589,6 +589,8 @@ module Aws::QuickSight | |
| 589 589 | 
             
                UpdateIpRestrictionRequest = Shapes::StructureShape.new(name: 'UpdateIpRestrictionRequest')
         | 
| 590 590 | 
             
                UpdateIpRestrictionResponse = Shapes::StructureShape.new(name: 'UpdateIpRestrictionResponse')
         | 
| 591 591 | 
             
                UpdateLinkPermissionList = Shapes::ListShape.new(name: 'UpdateLinkPermissionList')
         | 
| 592 | 
            +
                UpdatePublicSharingSettingsRequest = Shapes::StructureShape.new(name: 'UpdatePublicSharingSettingsRequest')
         | 
| 593 | 
            +
                UpdatePublicSharingSettingsResponse = Shapes::StructureShape.new(name: 'UpdatePublicSharingSettingsResponse')
         | 
| 592 594 | 
             
                UpdateResourcePermissionList = Shapes::ListShape.new(name: 'UpdateResourcePermissionList')
         | 
| 593 595 | 
             
                UpdateTemplateAliasRequest = Shapes::StructureShape.new(name: 'UpdateTemplateAliasRequest')
         | 
| 594 596 | 
             
                UpdateTemplateAliasResponse = Shapes::StructureShape.new(name: 'UpdateTemplateAliasResponse')
         | 
| @@ -629,6 +631,7 @@ module Aws::QuickSight | |
| 629 631 | 
             
                AccountSettings.add_member(:edition, Shapes::ShapeRef.new(shape: Edition, location_name: "Edition"))
         | 
| 630 632 | 
             
                AccountSettings.add_member(:default_namespace, Shapes::ShapeRef.new(shape: Namespace, location_name: "DefaultNamespace"))
         | 
| 631 633 | 
             
                AccountSettings.add_member(:notification_email, Shapes::ShapeRef.new(shape: String, location_name: "NotificationEmail"))
         | 
| 634 | 
            +
                AccountSettings.add_member(:public_sharing_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "PublicSharingEnabled"))
         | 
| 632 635 | 
             
                AccountSettings.struct_class = Types::AccountSettings
         | 
| 633 636 |  | 
| 634 637 | 
             
                ActionList.member = Shapes::ShapeRef.new(shape: String)
         | 
| @@ -2924,6 +2927,14 @@ module Aws::QuickSight | |
| 2924 2927 |  | 
| 2925 2928 | 
             
                UpdateLinkPermissionList.member = Shapes::ShapeRef.new(shape: ResourcePermission)
         | 
| 2926 2929 |  | 
| 2930 | 
            +
                UpdatePublicSharingSettingsRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
         | 
| 2931 | 
            +
                UpdatePublicSharingSettingsRequest.add_member(:public_sharing_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "PublicSharingEnabled"))
         | 
| 2932 | 
            +
                UpdatePublicSharingSettingsRequest.struct_class = Types::UpdatePublicSharingSettingsRequest
         | 
| 2933 | 
            +
             | 
| 2934 | 
            +
                UpdatePublicSharingSettingsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
         | 
| 2935 | 
            +
                UpdatePublicSharingSettingsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
         | 
| 2936 | 
            +
                UpdatePublicSharingSettingsResponse.struct_class = Types::UpdatePublicSharingSettingsResponse
         | 
| 2937 | 
            +
             | 
| 2927 2938 | 
             
                UpdateResourcePermissionList.member = Shapes::ShapeRef.new(shape: ResourcePermission)
         | 
| 2928 2939 |  | 
| 2929 2940 | 
             
                UpdateTemplateAliasRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
         | 
| @@ -4763,6 +4774,20 @@ module Aws::QuickSight | |
| 4763 4774 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
         | 
| 4764 4775 | 
             
                  end)
         | 
| 4765 4776 |  | 
| 4777 | 
            +
                  api.add_operation(:update_public_sharing_settings, Seahorse::Model::Operation.new.tap do |o|
         | 
| 4778 | 
            +
                    o.name = "UpdatePublicSharingSettings"
         | 
| 4779 | 
            +
                    o.http_method = "PUT"
         | 
| 4780 | 
            +
                    o.http_request_uri = "/accounts/{AwsAccountId}/public-sharing-settings"
         | 
| 4781 | 
            +
                    o.input = Shapes::ShapeRef.new(shape: UpdatePublicSharingSettingsRequest)
         | 
| 4782 | 
            +
                    o.output = Shapes::ShapeRef.new(shape: UpdatePublicSharingSettingsResponse)
         | 
| 4783 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
         | 
| 4784 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
         | 
| 4785 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
         | 
| 4786 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
         | 
| 4787 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: UnsupportedPricingPlanException)
         | 
| 4788 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
         | 
| 4789 | 
            +
                  end)
         | 
| 4790 | 
            +
             | 
| 4766 4791 | 
             
                  api.add_operation(:update_template, Seahorse::Model::Operation.new.tap do |o|
         | 
| 4767 4792 | 
             
                    o.name = "UpdateTemplate"
         | 
| 4768 4793 | 
             
                    o.http_method = "PUT"
         | 
| @@ -85,13 +85,24 @@ module Aws::QuickSight | |
| 85 85 | 
             
                #   The main notification email for your Amazon QuickSight subscription.
         | 
| 86 86 | 
             
                #   @return [String]
         | 
| 87 87 | 
             
                #
         | 
| 88 | 
            +
                # @!attribute [rw] public_sharing_enabled
         | 
| 89 | 
            +
                #   A boolean that indicates whether or not public sharing is enabled on
         | 
| 90 | 
            +
                #   an Amazon QuickSight account. For more information about enabling
         | 
| 91 | 
            +
                #   public sharing, see [UpdatePublicSharingSettings][1].
         | 
| 92 | 
            +
                #
         | 
| 93 | 
            +
                #
         | 
| 94 | 
            +
                #
         | 
| 95 | 
            +
                #   [1]: https://docs.aws.amazon.com/quicksight/latest/APIReference/API_UpdatePublicSharingSettings.html
         | 
| 96 | 
            +
                #   @return [Boolean]
         | 
| 97 | 
            +
                #
         | 
| 88 98 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/AccountSettings AWS API Documentation
         | 
| 89 99 | 
             
                #
         | 
| 90 100 | 
             
                class AccountSettings < Struct.new(
         | 
| 91 101 | 
             
                  :account_name,
         | 
| 92 102 | 
             
                  :edition,
         | 
| 93 103 | 
             
                  :default_namespace,
         | 
| 94 | 
            -
                  :notification_email | 
| 104 | 
            +
                  :notification_email,
         | 
| 105 | 
            +
                  :public_sharing_enabled)
         | 
| 95 106 | 
             
                  SENSITIVE = []
         | 
| 96 107 | 
             
                  include Aws::Structure
         | 
| 97 108 | 
             
                end
         | 
| @@ -7128,7 +7139,8 @@ module Aws::QuickSight | |
| 7128 7139 | 
             
                #   the user is authorized to access during the lifetime of the session.
         | 
| 7129 7140 | 
             
                #   If you choose `Dashboard` embedding experience, pass the list of
         | 
| 7130 7141 | 
             
                #   dashboard ARNs in the account that you want the user to be able to
         | 
| 7131 | 
            -
                #   view.
         | 
| 7142 | 
            +
                #   view. Currently, you can pass up to 25 dashboard ARNs in each API
         | 
| 7143 | 
            +
                #   call.
         | 
| 7132 7144 | 
             
                #   @return [Array<String>]
         | 
| 7133 7145 | 
             
                #
         | 
| 7134 7146 | 
             
                # @!attribute [rw] experience_configuration
         | 
| @@ -14626,6 +14638,50 @@ module Aws::QuickSight | |
| 14626 14638 | 
             
                  include Aws::Structure
         | 
| 14627 14639 | 
             
                end
         | 
| 14628 14640 |  | 
| 14641 | 
            +
                # @note When making an API call, you may pass UpdatePublicSharingSettingsRequest
         | 
| 14642 | 
            +
                #   data as a hash:
         | 
| 14643 | 
            +
                #
         | 
| 14644 | 
            +
                #       {
         | 
| 14645 | 
            +
                #         aws_account_id: "AwsAccountId", # required
         | 
| 14646 | 
            +
                #         public_sharing_enabled: false,
         | 
| 14647 | 
            +
                #       }
         | 
| 14648 | 
            +
                #
         | 
| 14649 | 
            +
                # @!attribute [rw] aws_account_id
         | 
| 14650 | 
            +
                #   The Amazon Web Services account ID associated with your Amazon
         | 
| 14651 | 
            +
                #   QuickSight subscription.
         | 
| 14652 | 
            +
                #   @return [String]
         | 
| 14653 | 
            +
                #
         | 
| 14654 | 
            +
                # @!attribute [rw] public_sharing_enabled
         | 
| 14655 | 
            +
                #   A boolean that indicates whether or not public sharing is enabled on
         | 
| 14656 | 
            +
                #   a Amazon QuickSight account.
         | 
| 14657 | 
            +
                #   @return [Boolean]
         | 
| 14658 | 
            +
                #
         | 
| 14659 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdatePublicSharingSettingsRequest AWS API Documentation
         | 
| 14660 | 
            +
                #
         | 
| 14661 | 
            +
                class UpdatePublicSharingSettingsRequest < Struct.new(
         | 
| 14662 | 
            +
                  :aws_account_id,
         | 
| 14663 | 
            +
                  :public_sharing_enabled)
         | 
| 14664 | 
            +
                  SENSITIVE = []
         | 
| 14665 | 
            +
                  include Aws::Structure
         | 
| 14666 | 
            +
                end
         | 
| 14667 | 
            +
             | 
| 14668 | 
            +
                # @!attribute [rw] request_id
         | 
| 14669 | 
            +
                #   The Amazon Web Services request ID for this operation.
         | 
| 14670 | 
            +
                #   @return [String]
         | 
| 14671 | 
            +
                #
         | 
| 14672 | 
            +
                # @!attribute [rw] status
         | 
| 14673 | 
            +
                #   The HTTP status of the request.
         | 
| 14674 | 
            +
                #   @return [Integer]
         | 
| 14675 | 
            +
                #
         | 
| 14676 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdatePublicSharingSettingsResponse AWS API Documentation
         | 
| 14677 | 
            +
                #
         | 
| 14678 | 
            +
                class UpdatePublicSharingSettingsResponse < Struct.new(
         | 
| 14679 | 
            +
                  :request_id,
         | 
| 14680 | 
            +
                  :status)
         | 
| 14681 | 
            +
                  SENSITIVE = []
         | 
| 14682 | 
            +
                  include Aws::Structure
         | 
| 14683 | 
            +
                end
         | 
| 14684 | 
            +
             | 
| 14629 14685 | 
             
                # @note When making an API call, you may pass UpdateTemplateAliasRequest
         | 
| 14630 14686 | 
             
                #   data as a hash:
         | 
| 14631 14687 | 
             
                #
         | 
    
        data/lib/aws-sdk-quicksight.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-quicksight
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.65.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: 2022- | 
| 11 | 
            +
            date: 2022-05-18 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         |