lib/aws-sdk-tnb/client.rb in aws-sdk-tnb-1.0.0 vs lib/aws-sdk-tnb/client.rb in aws-sdk-tnb-1.1.0

- old
+ new

@@ -372,11 +372,11 @@ # # A network operation is any operation that is done to your network, # such as network instance instantiation or termination. # # @option params [required, String] :ns_lcm_op_occ_id - # The ID of a network operation occurrence. + # The identifier of the network operation. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # @@ -409,11 +409,11 @@ # [PutSolFunctionPackageContent][2]. # # # # [1]: https://docs.aws.amazon.com/tnb/latest/ug/function-packages.html - # [2]: https://docs.aws.amazon.com/TNB/latest/APIReference/API_PutSolFunctionPackageContent.html + # [2]: https://docs.aws.amazon.com/tnb/latest/APIReference/API_PutSolFunctionPackageContent.html # # @option params [Hash<String,String>] :tags # A tag is a label that you assign to an Amazon Web Services resource. # Each tag consists of a key and an optional value. You can use tags to # search and filter your resources or track your Amazon Web Services @@ -468,11 +468,11 @@ # instantiate a network, see [InstantiateSolNetworkInstance][2]. # # # # [1]: https://docs.aws.amazon.com/tnb/latest/ug/network-instances.html - # [2]: https://docs.aws.amazon.com/TNB/latest/APIReference/API_InstantiateSolNetworkInstance.html + # [2]: https://docs.aws.amazon.com/tnb/latest/APIReference/API_InstantiateSolNetworkInstance.html # # @option params [String] :ns_description # Network instance description. # # @option params [required, String] :ns_name @@ -544,11 +544,11 @@ # content using [PutSolNetworkPackageContent][2]. # # # # [1]: https://docs.aws.amazon.com/tnb/latest/ug/network-instances.html - # [2]: https://docs.aws.amazon.com/TNB/latest/APIReference/API_PutSolNetworkPackageContent.html + # [2]: https://docs.aws.amazon.com/tnb/latest/APIReference/API_PutSolNetworkPackageContent.html # # @option params [Hash<String,String>] :tags # A tag is a label that you assign to an Amazon Web Services resource. # Each tag consists of a key and an optional value. You can use tags to # search and filter your resources or track your Amazon Web Services @@ -601,11 +601,11 @@ # To delete a function package, the package must be in a disabled state. # To disable a function package, see [UpdateSolFunctionPackage][1]. # # # - # [1]: https://docs.aws.amazon.com/TNB/latest/APIReference/API_UpdateSolFunctionPackage.html + # [1]: https://docs.aws.amazon.com/tnb/latest/APIReference/API_UpdateSolFunctionPackage.html # # @option params [required, String] :vnf_pkg_id # ID of the function package. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. @@ -635,11 +635,11 @@ # terminated state. To terminate a network instance, see # [TerminateSolNetworkInstance][1]. # # # - # [1]: https://docs.aws.amazon.com/TNB/latest/APIReference/API_TerminateSolNetworkInstance.html + # [1]: https://docs.aws.amazon.com/tnb/latest/APIReference/API_TerminateSolNetworkInstance.html # # @option params [required, String] :ns_instance_id # Network instance ID. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. @@ -668,11 +668,11 @@ # To delete a network package, the package must be in a disable state. # To disable a network package, see [UpdateSolNetworkPackage][1]. # # # - # [1]: https://docs.aws.amazon.com/TNB/latest/APIReference/API_UpdateSolNetworkPackage.html + # [1]: https://docs.aws.amazon.com/tnb/latest/APIReference/API_UpdateSolNetworkPackage.html # # @option params [required, String] :nsd_info_id # ID of the network service descriptor in the network package. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. @@ -955,11 +955,11 @@ # # A network operation is any operation that is done to your network, # such as network instance instantiation or termination. # # @option params [required, String] :ns_lcm_op_occ_id - # The identifier of the operation occurrence. + # The identifier of the network operation. # # @return [Types::GetSolNetworkOperationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::GetSolNetworkOperationOutput#arn #arn} => String # * {Types::GetSolNetworkOperationOutput#error #error} => Types::ProblemDetails @@ -1151,11 +1151,11 @@ # network instance. For more information, see # [CreateSolNetworkInstance][1]. # # # - # [1]: https://docs.aws.amazon.com/TNB/latest/APIReference/API_CreateSolNetworkInstance.html + # [1]: https://docs.aws.amazon.com/tnb/latest/APIReference/API_CreateSolNetworkInstance.html # # @option params [Hash,Array,String,Numeric,Boolean] :additional_params_for_ns # Provides values for the configurable properties. # # Document type used to carry open content @@ -1170,26 +1170,39 @@ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. # # @option params [required, String] :ns_instance_id # ID of the network instance. # + # @option params [Hash<String,String>] :tags + # A tag is a label that you assign to an Amazon Web Services resource. + # Each tag consists of a key and an optional value. When you use this + # API, the tags are transferred to the network operation that is + # created. Use tags to search and filter your resources or track your + # Amazon Web Services costs. + # # @return [Types::InstantiateSolNetworkInstanceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::InstantiateSolNetworkInstanceOutput#ns_lcm_op_occ_id #ns_lcm_op_occ_id} => String + # * {Types::InstantiateSolNetworkInstanceOutput#tags #tags} => Hash&lt;String,String&gt; # # @example Request syntax with placeholder values # # resp = client.instantiate_sol_network_instance({ # additional_params_for_ns: { # }, # dry_run: false, # ns_instance_id: "NsInstanceId", # required + # tags: { + # "TagKey" => "TagValue", + # }, # }) # # @example Response structure # # resp.ns_lcm_op_occ_id #=> String + # resp.tags #=> Hash + # resp.tags["TagKey"] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/InstantiateSolNetworkInstance AWS API Documentation # # @overload instantiate_sol_network_instance(params = {}) # @param [Hash] params ({}) @@ -1633,23 +1646,36 @@ # You must terminate a network instance before you can delete it. # # @option params [required, String] :ns_instance_id # ID of the network instance. # + # @option params [Hash<String,String>] :tags + # A tag is a label that you assign to an Amazon Web Services resource. + # Each tag consists of a key and an optional value. When you use this + # API, the tags are transferred to the network operation that is + # created. Use tags to search and filter your resources or track your + # Amazon Web Services costs. + # # @return [Types::TerminateSolNetworkInstanceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::TerminateSolNetworkInstanceOutput#ns_lcm_op_occ_id #ns_lcm_op_occ_id} => String + # * {Types::TerminateSolNetworkInstanceOutput#tags #tags} => Hash&lt;String,String&gt; # # @example Request syntax with placeholder values # # resp = client.terminate_sol_network_instance({ # ns_instance_id: "NsInstanceId", # required + # tags: { + # "TagKey" => "TagValue", + # }, # }) # # @example Response structure # # resp.ns_lcm_op_occ_id #=> String + # resp.tags #=> Hash + # resp.tags["TagKey"] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/TerminateSolNetworkInstance AWS API Documentation # # @overload terminate_sol_network_instance(params = {}) # @param [Hash] params ({}) @@ -1738,32 +1764,45 @@ # configurable properties of the network function to be modified. # # @option params [required, String] :ns_instance_id # ID of the network instance. # + # @option params [Hash<String,String>] :tags + # A tag is a label that you assign to an Amazon Web Services resource. + # Each tag consists of a key and an optional value. When you use this + # API, the tags are transferred to the network operation that is + # created. Use tags to search and filter your resources or track your + # Amazon Web Services costs. + # # @option params [required, String] :update_type # The type of update. # # @return [Types::UpdateSolNetworkInstanceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateSolNetworkInstanceOutput#ns_lcm_op_occ_id #ns_lcm_op_occ_id} => String + # * {Types::UpdateSolNetworkInstanceOutput#tags #tags} => Hash&lt;String,String&gt; # # @example Request syntax with placeholder values # # resp = client.update_sol_network_instance({ # modify_vnf_info_data: { # vnf_configurable_properties: { # required # }, # vnf_instance_id: "VnfInstanceId", # required # }, # ns_instance_id: "NsInstanceId", # required + # tags: { + # "TagKey" => "TagValue", + # }, # update_type: "MODIFY_VNF_INFORMATION", # required, accepts MODIFY_VNF_INFORMATION # }) # # @example Response structure # # resp.ns_lcm_op_occ_id #=> String + # resp.tags #=> Hash + # resp.tags["TagKey"] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/UpdateSolNetworkInstance AWS API Documentation # # @overload update_sol_network_instance(params = {}) # @param [Hash] params ({}) @@ -1824,11 +1863,11 @@ # uses the TOSCA standard to describe how the network functions should # run on your network. # # # - # [1]: https://docs.aws.amazon.com/TNB/latest/APIReference/API_PutSolFunctionPackageContent.html + # [1]: https://docs.aws.amazon.com/tnb/latest/APIReference/API_PutSolFunctionPackageContent.html # # @option params [String] :content_type # Function package content type. # # @option params [required, String, StringIO, File] :file @@ -1882,11 +1921,11 @@ # format defines the function packages you want to deploy and the Amazon # Web Services infrastructure you want to deploy them on. # # # - # [1]: https://docs.aws.amazon.com/TNB/latest/APIReference/API_PutSolNetworkPackageContent.html + # [1]: https://docs.aws.amazon.com/tnb/latest/APIReference/API_PutSolNetworkPackageContent.html # # @option params [String] :content_type # Network package content type. # # @option params [required, String, StringIO, File] :file @@ -1946,10 +1985,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-tnb' - context[:gem_version] = '1.0.0' + context[:gem_version] = '1.1.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated