Class: Aws::S3Control::EndpointParameters
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::EndpointParameters
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3control/endpoint_parameters.rb
Overview
Endpoint parameters used to influence endpoints per request.
Constant Summary collapse
- PARAM_MAP =
{ 'Region' => :region, 'UseFIPS' => :use_fips, 'UseDualStack' => :use_dual_stack, 'Endpoint' => :endpoint, 'AccountId' => :account_id, 'RequiresAccountId' => :requires_account_id, 'OutpostId' => :outpost_id, 'Bucket' => :bucket, 'AccessPointName' => :access_point_name, 'UseArnRegion' => :use_arn_region, }.freeze
Instance Attribute Summary collapse
-
#access_point_name ⇒ String
The S3 AccessPointName used to send the request.
-
#account_id ⇒ String
The Account ID used to send the request.
-
#bucket ⇒ String
The S3 bucket used to send the request.
-
#endpoint ⇒ String
Override the endpoint used to send this request.
-
#outpost_id ⇒ String
The Outpost ID.
-
#region ⇒ String
The AWS region used to dispatch the request.
-
#requires_account_id ⇒ Boolean
Internal parameter for operations that require account id host prefix.
-
#use_arn_region ⇒ Boolean
When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN's region when constructing the endpoint instead of the client's configured region.
-
#use_dual_stack ⇒ Boolean
When true, use the dual-stack endpoint.
-
#use_fips ⇒ Boolean
When true, send this request to the FIPS-compliant regional endpoint.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ EndpointParameters
constructor
A new instance of EndpointParameters.
Constructor Details
#initialize(options = {}) ⇒ EndpointParameters
Returns a new instance of EndpointParameters.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
# File 'lib/aws-sdk-s3control/endpoint_parameters.rb', line 93 def initialize( = {}) self[:region] = [:region] self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? if self[:use_fips].nil? raise ArgumentError, "Missing required EndpointParameter: :use_fips" end self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? if self[:use_dual_stack].nil? raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" end self[:endpoint] = [:endpoint] self[:account_id] = [:account_id] self[:requires_account_id] = [:requires_account_id] self[:outpost_id] = [:outpost_id] self[:bucket] = [:bucket] self[:access_point_name] = [:access_point_name] self[:use_arn_region] = [:use_arn_region] end |
Instance Attribute Details
#access_point_name ⇒ String
The S3 AccessPointName used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 AccessPoint.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/aws-sdk-s3control/endpoint_parameters.rb', line 63 EndpointParameters = Struct.new( :region, :use_fips, :use_dual_stack, :endpoint, :account_id, :requires_account_id, :outpost_id, :bucket, :access_point_name, :use_arn_region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseFIPS' => :use_fips, 'UseDualStack' => :use_dual_stack, 'Endpoint' => :endpoint, 'AccountId' => :account_id, 'RequiresAccountId' => :requires_account_id, 'OutpostId' => :outpost_id, 'Bucket' => :bucket, 'AccessPointName' => :access_point_name, 'UseArnRegion' => :use_arn_region, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? if self[:use_fips].nil? raise ArgumentError, "Missing required EndpointParameter: :use_fips" end self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? if self[:use_dual_stack].nil? raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" end self[:endpoint] = [:endpoint] self[:account_id] = [:account_id] self[:requires_account_id] = [:requires_account_id] self[:outpost_id] = [:outpost_id] self[:bucket] = [:bucket] self[:access_point_name] = [:access_point_name] self[:use_arn_region] = [:use_arn_region] end end |
#account_id ⇒ String
The Account ID used to send the request. This is an optional parameter that will be set automatically for operations that require it.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/aws-sdk-s3control/endpoint_parameters.rb', line 63 EndpointParameters = Struct.new( :region, :use_fips, :use_dual_stack, :endpoint, :account_id, :requires_account_id, :outpost_id, :bucket, :access_point_name, :use_arn_region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseFIPS' => :use_fips, 'UseDualStack' => :use_dual_stack, 'Endpoint' => :endpoint, 'AccountId' => :account_id, 'RequiresAccountId' => :requires_account_id, 'OutpostId' => :outpost_id, 'Bucket' => :bucket, 'AccessPointName' => :access_point_name, 'UseArnRegion' => :use_arn_region, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? if self[:use_fips].nil? raise ArgumentError, "Missing required EndpointParameter: :use_fips" end self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? if self[:use_dual_stack].nil? raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" end self[:endpoint] = [:endpoint] self[:account_id] = [:account_id] self[:requires_account_id] = [:requires_account_id] self[:outpost_id] = [:outpost_id] self[:bucket] = [:bucket] self[:access_point_name] = [:access_point_name] self[:use_arn_region] = [:use_arn_region] end end |
#bucket ⇒ String
The S3 bucket used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 bucket.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/aws-sdk-s3control/endpoint_parameters.rb', line 63 EndpointParameters = Struct.new( :region, :use_fips, :use_dual_stack, :endpoint, :account_id, :requires_account_id, :outpost_id, :bucket, :access_point_name, :use_arn_region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseFIPS' => :use_fips, 'UseDualStack' => :use_dual_stack, 'Endpoint' => :endpoint, 'AccountId' => :account_id, 'RequiresAccountId' => :requires_account_id, 'OutpostId' => :outpost_id, 'Bucket' => :bucket, 'AccessPointName' => :access_point_name, 'UseArnRegion' => :use_arn_region, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? if self[:use_fips].nil? raise ArgumentError, "Missing required EndpointParameter: :use_fips" end self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? if self[:use_dual_stack].nil? raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" end self[:endpoint] = [:endpoint] self[:account_id] = [:account_id] self[:requires_account_id] = [:requires_account_id] self[:outpost_id] = [:outpost_id] self[:bucket] = [:bucket] self[:access_point_name] = [:access_point_name] self[:use_arn_region] = [:use_arn_region] end end |
#endpoint ⇒ String
Override the endpoint used to send this request
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/aws-sdk-s3control/endpoint_parameters.rb', line 63 EndpointParameters = Struct.new( :region, :use_fips, :use_dual_stack, :endpoint, :account_id, :requires_account_id, :outpost_id, :bucket, :access_point_name, :use_arn_region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseFIPS' => :use_fips, 'UseDualStack' => :use_dual_stack, 'Endpoint' => :endpoint, 'AccountId' => :account_id, 'RequiresAccountId' => :requires_account_id, 'OutpostId' => :outpost_id, 'Bucket' => :bucket, 'AccessPointName' => :access_point_name, 'UseArnRegion' => :use_arn_region, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? if self[:use_fips].nil? raise ArgumentError, "Missing required EndpointParameter: :use_fips" end self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? if self[:use_dual_stack].nil? raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" end self[:endpoint] = [:endpoint] self[:account_id] = [:account_id] self[:requires_account_id] = [:requires_account_id] self[:outpost_id] = [:outpost_id] self[:bucket] = [:bucket] self[:access_point_name] = [:access_point_name] self[:use_arn_region] = [:use_arn_region] end end |
#outpost_id ⇒ String
The Outpost ID. Some operations have an optional OutpostId which should be used in endpoint construction.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/aws-sdk-s3control/endpoint_parameters.rb', line 63 EndpointParameters = Struct.new( :region, :use_fips, :use_dual_stack, :endpoint, :account_id, :requires_account_id, :outpost_id, :bucket, :access_point_name, :use_arn_region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseFIPS' => :use_fips, 'UseDualStack' => :use_dual_stack, 'Endpoint' => :endpoint, 'AccountId' => :account_id, 'RequiresAccountId' => :requires_account_id, 'OutpostId' => :outpost_id, 'Bucket' => :bucket, 'AccessPointName' => :access_point_name, 'UseArnRegion' => :use_arn_region, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? if self[:use_fips].nil? raise ArgumentError, "Missing required EndpointParameter: :use_fips" end self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? if self[:use_dual_stack].nil? raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" end self[:endpoint] = [:endpoint] self[:account_id] = [:account_id] self[:requires_account_id] = [:requires_account_id] self[:outpost_id] = [:outpost_id] self[:bucket] = [:bucket] self[:access_point_name] = [:access_point_name] self[:use_arn_region] = [:use_arn_region] end end |
#region ⇒ String
The AWS region used to dispatch the request.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/aws-sdk-s3control/endpoint_parameters.rb', line 63 EndpointParameters = Struct.new( :region, :use_fips, :use_dual_stack, :endpoint, :account_id, :requires_account_id, :outpost_id, :bucket, :access_point_name, :use_arn_region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseFIPS' => :use_fips, 'UseDualStack' => :use_dual_stack, 'Endpoint' => :endpoint, 'AccountId' => :account_id, 'RequiresAccountId' => :requires_account_id, 'OutpostId' => :outpost_id, 'Bucket' => :bucket, 'AccessPointName' => :access_point_name, 'UseArnRegion' => :use_arn_region, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? if self[:use_fips].nil? raise ArgumentError, "Missing required EndpointParameter: :use_fips" end self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? if self[:use_dual_stack].nil? raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" end self[:endpoint] = [:endpoint] self[:account_id] = [:account_id] self[:requires_account_id] = [:requires_account_id] self[:outpost_id] = [:outpost_id] self[:bucket] = [:bucket] self[:access_point_name] = [:access_point_name] self[:use_arn_region] = [:use_arn_region] end end |
#requires_account_id ⇒ Boolean
Internal parameter for operations that require account id host prefix.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/aws-sdk-s3control/endpoint_parameters.rb', line 63 EndpointParameters = Struct.new( :region, :use_fips, :use_dual_stack, :endpoint, :account_id, :requires_account_id, :outpost_id, :bucket, :access_point_name, :use_arn_region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseFIPS' => :use_fips, 'UseDualStack' => :use_dual_stack, 'Endpoint' => :endpoint, 'AccountId' => :account_id, 'RequiresAccountId' => :requires_account_id, 'OutpostId' => :outpost_id, 'Bucket' => :bucket, 'AccessPointName' => :access_point_name, 'UseArnRegion' => :use_arn_region, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? if self[:use_fips].nil? raise ArgumentError, "Missing required EndpointParameter: :use_fips" end self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? if self[:use_dual_stack].nil? raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" end self[:endpoint] = [:endpoint] self[:account_id] = [:account_id] self[:requires_account_id] = [:requires_account_id] self[:outpost_id] = [:outpost_id] self[:bucket] = [:bucket] self[:access_point_name] = [:access_point_name] self[:use_arn_region] = [:use_arn_region] end end |
#use_arn_region ⇒ Boolean
When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN's region when constructing the endpoint instead of the client's configured region.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/aws-sdk-s3control/endpoint_parameters.rb', line 63 EndpointParameters = Struct.new( :region, :use_fips, :use_dual_stack, :endpoint, :account_id, :requires_account_id, :outpost_id, :bucket, :access_point_name, :use_arn_region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseFIPS' => :use_fips, 'UseDualStack' => :use_dual_stack, 'Endpoint' => :endpoint, 'AccountId' => :account_id, 'RequiresAccountId' => :requires_account_id, 'OutpostId' => :outpost_id, 'Bucket' => :bucket, 'AccessPointName' => :access_point_name, 'UseArnRegion' => :use_arn_region, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? if self[:use_fips].nil? raise ArgumentError, "Missing required EndpointParameter: :use_fips" end self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? if self[:use_dual_stack].nil? raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" end self[:endpoint] = [:endpoint] self[:account_id] = [:account_id] self[:requires_account_id] = [:requires_account_id] self[:outpost_id] = [:outpost_id] self[:bucket] = [:bucket] self[:access_point_name] = [:access_point_name] self[:use_arn_region] = [:use_arn_region] end end |
#use_dual_stack ⇒ Boolean
When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/aws-sdk-s3control/endpoint_parameters.rb', line 63 EndpointParameters = Struct.new( :region, :use_fips, :use_dual_stack, :endpoint, :account_id, :requires_account_id, :outpost_id, :bucket, :access_point_name, :use_arn_region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseFIPS' => :use_fips, 'UseDualStack' => :use_dual_stack, 'Endpoint' => :endpoint, 'AccountId' => :account_id, 'RequiresAccountId' => :requires_account_id, 'OutpostId' => :outpost_id, 'Bucket' => :bucket, 'AccessPointName' => :access_point_name, 'UseArnRegion' => :use_arn_region, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? if self[:use_fips].nil? raise ArgumentError, "Missing required EndpointParameter: :use_fips" end self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? if self[:use_dual_stack].nil? raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" end self[:endpoint] = [:endpoint] self[:account_id] = [:account_id] self[:requires_account_id] = [:requires_account_id] self[:outpost_id] = [:outpost_id] self[:bucket] = [:bucket] self[:access_point_name] = [:access_point_name] self[:use_arn_region] = [:use_arn_region] end end |
#use_fips ⇒ Boolean
When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/aws-sdk-s3control/endpoint_parameters.rb', line 63 EndpointParameters = Struct.new( :region, :use_fips, :use_dual_stack, :endpoint, :account_id, :requires_account_id, :outpost_id, :bucket, :access_point_name, :use_arn_region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseFIPS' => :use_fips, 'UseDualStack' => :use_dual_stack, 'Endpoint' => :endpoint, 'AccountId' => :account_id, 'RequiresAccountId' => :requires_account_id, 'OutpostId' => :outpost_id, 'Bucket' => :bucket, 'AccessPointName' => :access_point_name, 'UseArnRegion' => :use_arn_region, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? if self[:use_fips].nil? raise ArgumentError, "Missing required EndpointParameter: :use_fips" end self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? if self[:use_dual_stack].nil? raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" end self[:endpoint] = [:endpoint] self[:account_id] = [:account_id] self[:requires_account_id] = [:requires_account_id] self[:outpost_id] = [:outpost_id] self[:bucket] = [:bucket] self[:access_point_name] = [:access_point_name] self[:use_arn_region] = [:use_arn_region] end end |