lib/aws-sdk-directconnect/client.rb in aws-sdk-directconnect-1.24.0 vs lib/aws-sdk-directconnect/client.rb in aws-sdk-directconnect-1.25.0

- old
+ new

@@ -379,10 +379,11 @@ # * {Types::Connection#aws_device #aws_device} => String # * {Types::Connection#jumbo_frame_capable #jumbo_frame_capable} => Boolean # * {Types::Connection#aws_device_v2 #aws_device_v2} => String # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt; + # * {Types::Connection#provider_name #provider_name} => String # # @example Request syntax with placeholder values # # resp = client.allocate_connection_on_interconnect({ # bandwidth: "Bandwidth", # required @@ -410,10 +411,11 @@ # resp.aws_device_v2 #=> String # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.tags #=> Array # resp.tags[0].key #=> String # resp.tags[0].value #=> String + # resp.provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnect AWS API Documentation # # @overload allocate_connection_on_interconnect(params = {}) # @param [Hash] params ({}) @@ -453,11 +455,11 @@ # # @option params [required, Integer] :vlan # The dedicated VLAN provisioned to the hosted connection. # # @option params [Array<Types::Tag>] :tags - # The tags to assign to the hosted connection. + # The tags associated with the connection. # # @return [Types::Connection] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::Connection#owner_account #owner_account} => String # * {Types::Connection#connection_id #connection_id} => String @@ -473,10 +475,11 @@ # * {Types::Connection#aws_device #aws_device} => String # * {Types::Connection#jumbo_frame_capable #jumbo_frame_capable} => Boolean # * {Types::Connection#aws_device_v2 #aws_device_v2} => String # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt; + # * {Types::Connection#provider_name #provider_name} => String # # @example Request syntax with placeholder values # # resp = client.allocate_hosted_connection({ # connection_id: "ConnectionId", # required @@ -510,10 +513,11 @@ # resp.aws_device_v2 #=> String # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.tags #=> Array # resp.tags[0].key #=> String # resp.tags[0].value #=> String + # resp.provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnection AWS API Documentation # # @overload allocate_hosted_connection(params = {}) # @param [Hash] params ({}) @@ -905,10 +909,11 @@ # * {Types::Connection#aws_device #aws_device} => String # * {Types::Connection#jumbo_frame_capable #jumbo_frame_capable} => Boolean # * {Types::Connection#aws_device_v2 #aws_device_v2} => String # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt; + # * {Types::Connection#provider_name #provider_name} => String # # @example Request syntax with placeholder values # # resp = client.associate_connection_with_lag({ # connection_id: "ConnectionId", # required @@ -933,10 +938,11 @@ # resp.aws_device_v2 #=> String # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.tags #=> Array # resp.tags[0].key #=> String # resp.tags[0].value #=> String + # resp.provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLag AWS API Documentation # # @overload associate_connection_with_lag(params = {}) # @param [Hash] params ({}) @@ -977,10 +983,11 @@ # * {Types::Connection#aws_device #aws_device} => String # * {Types::Connection#jumbo_frame_capable #jumbo_frame_capable} => Boolean # * {Types::Connection#aws_device_v2 #aws_device_v2} => String # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt; + # * {Types::Connection#provider_name #provider_name} => String # # @example Request syntax with placeholder values # # resp = client.associate_hosted_connection({ # connection_id: "ConnectionId", # required @@ -1005,10 +1012,11 @@ # resp.aws_device_v2 #=> String # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.tags #=> Array # resp.tags[0].key #=> String # resp.tags[0].value #=> String + # resp.provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnection AWS API Documentation # # @overload associate_hosted_connection(params = {}) # @param [Hash] params ({}) @@ -1380,12 +1388,16 @@ # # @option params [String] :lag_id # The ID of the LAG. # # @option params [Array<Types::Tag>] :tags - # The tags to assign to the connection. + # The tags to associate with the lag. # + # @option params [String] :provider_name + # The name of the service provider associated with the requested + # connection. + # # @return [Types::Connection] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::Connection#owner_account #owner_account} => String # * {Types::Connection#connection_id #connection_id} => String # * {Types::Connection#connection_name #connection_name} => String @@ -1400,10 +1412,11 @@ # * {Types::Connection#aws_device #aws_device} => String # * {Types::Connection#jumbo_frame_capable #jumbo_frame_capable} => Boolean # * {Types::Connection#aws_device_v2 #aws_device_v2} => String # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt; + # * {Types::Connection#provider_name #provider_name} => String # # @example Request syntax with placeholder values # # resp = client.create_connection({ # location: "LocationCode", # required @@ -1414,10 +1427,11 @@ # { # key: "TagKey", # required # value: "TagValue", # }, # ], + # provider_name: "ProviderName", # }) # # @example Response structure # # resp.owner_account #=> String @@ -1436,10 +1450,11 @@ # resp.aws_device_v2 #=> String # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.tags #=> Array # resp.tags[0].key #=> String # resp.tags[0].value #=> String + # resp.provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnection AWS API Documentation # # @overload create_connection(params = {}) # @param [Hash] params ({}) @@ -1506,10 +1521,13 @@ # The ID of the virtual private gateway or transit gateway. # # @option params [Array<Types::RouteFilterPrefix>] :add_allowed_prefixes_to_direct_connect_gateway # The Amazon VPC prefixes to advertise to the Direct Connect gateway # + # This parameter is required when you create an association to a transit + # gateway. + # # For information about how to set the prefixes, see [Allowed # Prefixes][1] in the *AWS Direct Connect User Guide*. # # # @@ -1670,12 +1688,15 @@ # # @option params [String] :lag_id # The ID of the LAG. # # @option params [Array<Types::Tag>] :tags - # The tags to assign to the interconnect, + # The tags to associate with the interconnect. # + # @option params [String] :provider_name + # The name of the service provider associated with the interconnect. + # # @return [Types::Interconnect] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::Interconnect#interconnect_id #interconnect_id} => String # * {Types::Interconnect#interconnect_name #interconnect_name} => String # * {Types::Interconnect#interconnect_state #interconnect_state} => String @@ -1687,10 +1708,11 @@ # * {Types::Interconnect#aws_device #aws_device} => String # * {Types::Interconnect#jumbo_frame_capable #jumbo_frame_capable} => Boolean # * {Types::Interconnect#aws_device_v2 #aws_device_v2} => String # * {Types::Interconnect#has_logical_redundancy #has_logical_redundancy} => String # * {Types::Interconnect#tags #tags} => Array&lt;Types::Tag&gt; + # * {Types::Interconnect#provider_name #provider_name} => String # # @example Request syntax with placeholder values # # resp = client.create_interconnect({ # interconnect_name: "InterconnectName", # required @@ -1701,10 +1723,11 @@ # { # key: "TagKey", # required # value: "TagValue", # }, # ], + # provider_name: "ProviderName", # }) # # @example Response structure # # resp.interconnect_id #=> String @@ -1720,10 +1743,11 @@ # resp.aws_device_v2 #=> String # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.tags #=> Array # resp.tags[0].key #=> String # resp.tags[0].value #=> String + # resp.provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnect AWS API Documentation # # @overload create_interconnect(params = {}) # @param [Hash] params ({}) @@ -1776,19 +1800,18 @@ # # @option params [String] :connection_id # The ID of an existing connection to migrate to the LAG. # # @option params [Array<Types::Tag>] :tags - # The tags to assign to the link aggregation group (LAG). + # The tags to associate with the LAG. # # @option params [Array<Types::Tag>] :child_connection_tags - # The tags to assign to the child connections of the LAG. Only newly - # created child connections as the result of creating a LAG connection - # are assigned the provided tags. The tags are not assigned to an - # existing connection that is provided via the “connectionId” parameter - # that will be migrated to the LAG. + # The tags to associate with the automtically created LAGs. # + # @option params [String] :provider_name + # The name of the service provider associated with the LAG. + # # @return [Types::Lag] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::Lag#connections_bandwidth #connections_bandwidth} => String # * {Types::Lag#number_of_connections #number_of_connections} => Integer # * {Types::Lag#lag_id #lag_id} => String @@ -1803,10 +1826,11 @@ # * {Types::Lag#connections #connections} => Array&lt;Types::Connection&gt; # * {Types::Lag#allows_hosted_connections #allows_hosted_connections} => Boolean # * {Types::Lag#jumbo_frame_capable #jumbo_frame_capable} => Boolean # * {Types::Lag#has_logical_redundancy #has_logical_redundancy} => String # * {Types::Lag#tags #tags} => Array&lt;Types::Tag&gt; + # * {Types::Lag#provider_name #provider_name} => String # # @example Request syntax with placeholder values # # resp = client.create_lag({ # number_of_connections: 1, # required @@ -1824,10 +1848,11 @@ # { # key: "TagKey", # required # value: "TagValue", # }, # ], + # provider_name: "ProviderName", # }) # # @example Response structure # # resp.connections_bandwidth #=> String @@ -1858,16 +1883,18 @@ # resp.connections[0].aws_device_v2 #=> String # resp.connections[0].has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.connections[0].tags #=> Array # resp.connections[0].tags[0].key #=> String # resp.connections[0].tags[0].value #=> String + # resp.connections[0].provider_name #=> String # resp.allows_hosted_connections #=> Boolean # resp.jumbo_frame_capable #=> Boolean # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.tags #=> Array # resp.tags[0].key #=> String # resp.tags[0].value #=> String + # resp.provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLag AWS API Documentation # # @overload create_lag(params = {}) # @param [Hash] params ({}) @@ -2303,10 +2330,11 @@ # * {Types::Connection#aws_device #aws_device} => String # * {Types::Connection#jumbo_frame_capable #jumbo_frame_capable} => Boolean # * {Types::Connection#aws_device_v2 #aws_device_v2} => String # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt; + # * {Types::Connection#provider_name #provider_name} => String # # @example Request syntax with placeholder values # # resp = client.delete_connection({ # connection_id: "ConnectionId", # required @@ -2330,10 +2358,11 @@ # resp.aws_device_v2 #=> String # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.tags #=> Array # resp.tags[0].key #=> String # resp.tags[0].value #=> String + # resp.provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnection AWS API Documentation # # @overload delete_connection(params = {}) # @param [Hash] params ({}) @@ -2342,12 +2371,12 @@ req.send_request(options) end # Deletes the specified Direct Connect gateway. You must first delete # all virtual interfaces that are attached to the Direct Connect gateway - # and disassociate all virtual private gateways that are associated with - # the Direct Connect gateway. + # and disassociate all virtual private gateways associated with the + # Direct Connect gateway. # # @option params [required, String] :direct_connect_gateway_id # The ID of the Direct Connect gateway. # # @return [Types::DeleteDirectConnectGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: @@ -2379,10 +2408,15 @@ end # Deletes the association between the specified Direct Connect gateway # and virtual private gateway. # + # We recommend that you specify the `associationID` to delete the + # association. Alternatively, if you own virtual gateway and a Direct + # Connect gateway association, you can specify the `virtualGatewayId` + # and `directConnectGatewayId` to delete an association. + # # @option params [String] :association_id # The ID of the Direct Connect gateway association. # # @option params [String] :direct_connect_gateway_id # The ID of the Direct Connect gateway. @@ -2522,10 +2556,11 @@ # * {Types::Lag#connections #connections} => Array&lt;Types::Connection&gt; # * {Types::Lag#allows_hosted_connections #allows_hosted_connections} => Boolean # * {Types::Lag#jumbo_frame_capable #jumbo_frame_capable} => Boolean # * {Types::Lag#has_logical_redundancy #has_logical_redundancy} => String # * {Types::Lag#tags #tags} => Array&lt;Types::Tag&gt; + # * {Types::Lag#provider_name #provider_name} => String # # @example Request syntax with placeholder values # # resp = client.delete_lag({ # lag_id: "LagId", # required @@ -2561,16 +2596,18 @@ # resp.connections[0].aws_device_v2 #=> String # resp.connections[0].has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.connections[0].tags #=> Array # resp.connections[0].tags[0].key #=> String # resp.connections[0].tags[0].value #=> String + # resp.connections[0].provider_name #=> String # resp.allows_hosted_connections #=> Boolean # resp.jumbo_frame_capable #=> Boolean # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.tags #=> Array # resp.tags[0].key #=> String # resp.tags[0].value #=> String + # resp.provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLag AWS API Documentation # # @overload delete_lag(params = {}) # @param [Hash] params ({}) @@ -2694,10 +2731,11 @@ # resp.connections[0].aws_device_v2 #=> String # resp.connections[0].has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.connections[0].tags #=> Array # resp.connections[0].tags[0].key #=> String # resp.connections[0].tags[0].value #=> String + # resp.connections[0].provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnections AWS API Documentation # # @overload describe_connections(params = {}) # @param [Hash] params ({}) @@ -2747,10 +2785,11 @@ # resp.connections[0].aws_device_v2 #=> String # resp.connections[0].has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.connections[0].tags #=> Array # resp.connections[0].tags[0].key #=> String # resp.connections[0].tags[0].value #=> String + # resp.connections[0].provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnect AWS API Documentation # # @overload describe_connections_on_interconnect(params = {}) # @param [Hash] params ({}) @@ -3051,10 +3090,11 @@ # resp.connections[0].aws_device_v2 #=> String # resp.connections[0].has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.connections[0].tags #=> Array # resp.connections[0].tags[0].key #=> String # resp.connections[0].tags[0].value #=> String + # resp.connections[0].provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnections AWS API Documentation # # @overload describe_hosted_connections(params = {}) # @param [Hash] params ({}) @@ -3148,10 +3188,11 @@ # resp.interconnects[0].aws_device_v2 #=> String # resp.interconnects[0].has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.interconnects[0].tags #=> Array # resp.interconnects[0].tags[0].key #=> String # resp.interconnects[0].tags[0].value #=> String + # resp.interconnects[0].provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnects AWS API Documentation # # @overload describe_interconnects(params = {}) # @param [Hash] params ({}) @@ -3206,16 +3247,18 @@ # resp.lags[0].connections[0].aws_device_v2 #=> String # resp.lags[0].connections[0].has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.lags[0].connections[0].tags #=> Array # resp.lags[0].connections[0].tags[0].key #=> String # resp.lags[0].connections[0].tags[0].value #=> String + # resp.lags[0].connections[0].provider_name #=> String # resp.lags[0].allows_hosted_connections #=> Boolean # resp.lags[0].jumbo_frame_capable #=> Boolean # resp.lags[0].has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.lags[0].tags #=> Array # resp.lags[0].tags[0].key #=> String # resp.lags[0].tags[0].value #=> String + # resp.lags[0].provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLags AWS API Documentation # # @overload describe_lags(params = {}) # @param [Hash] params ({}) @@ -3291,10 +3334,12 @@ # resp.locations[0].location_code #=> String # resp.locations[0].location_name #=> String # resp.locations[0].region #=> String # resp.locations[0].available_port_speeds #=> Array # resp.locations[0].available_port_speeds[0] #=> String + # resp.locations[0].available_providers #=> Array + # resp.locations[0].available_providers[0] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocations AWS API Documentation # # @overload describe_locations(params = {}) # @param [Hash] params ({}) @@ -3471,10 +3516,11 @@ # * {Types::Connection#aws_device #aws_device} => String # * {Types::Connection#jumbo_frame_capable #jumbo_frame_capable} => Boolean # * {Types::Connection#aws_device_v2 #aws_device_v2} => String # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt; + # * {Types::Connection#provider_name #provider_name} => String # # @example Request syntax with placeholder values # # resp = client.disassociate_connection_from_lag({ # connection_id: "ConnectionId", # required @@ -3499,10 +3545,11 @@ # resp.aws_device_v2 #=> String # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.tags #=> Array # resp.tags[0].key #=> String # resp.tags[0].value #=> String + # resp.provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLag AWS API Documentation # # @overload disassociate_connection_from_lag(params = {}) # @param [Hash] params ({}) @@ -3520,11 +3567,11 @@ # # @option params [required, String] :resource_arn # The Amazon Resource Name (ARN) of the resource. # # @option params [required, Array<Types::Tag>] :tags - # The tags to assign. + # The tags to add. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # @@ -3678,10 +3725,11 @@ # * {Types::Lag#connections #connections} => Array&lt;Types::Connection&gt; # * {Types::Lag#allows_hosted_connections #allows_hosted_connections} => Boolean # * {Types::Lag#jumbo_frame_capable #jumbo_frame_capable} => Boolean # * {Types::Lag#has_logical_redundancy #has_logical_redundancy} => String # * {Types::Lag#tags #tags} => Array&lt;Types::Tag&gt; + # * {Types::Lag#provider_name #provider_name} => String # # @example Request syntax with placeholder values # # resp = client.update_lag({ # lag_id: "LagId", # required @@ -3719,16 +3767,18 @@ # resp.connections[0].aws_device_v2 #=> String # resp.connections[0].has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.connections[0].tags #=> Array # resp.connections[0].tags[0].key #=> String # resp.connections[0].tags[0].value #=> String + # resp.connections[0].provider_name #=> String # resp.allows_hosted_connections #=> Boolean # resp.jumbo_frame_capable #=> Boolean # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no" # resp.tags #=> Array # resp.tags[0].key #=> String # resp.tags[0].value #=> String + # resp.provider_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLag AWS API Documentation # # @overload update_lag(params = {}) # @param [Hash] params ({}) @@ -3849,10 +3899,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-directconnect' - context[:gem_version] = '1.24.0' + context[:gem_version] = '1.25.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated