lib/aws-sdk-codecommit/client.rb in aws-sdk-codecommit-1.0.0.rc2 vs lib/aws-sdk-codecommit/client.rb in aws-sdk-codecommit-1.0.0.rc3

- old
+ new

@@ -16,10 +16,11 @@ require 'aws-sdk-core/plugins/global_configuration.rb' require 'aws-sdk-core/plugins/regional_endpoint.rb' require 'aws-sdk-core/plugins/response_paging.rb' require 'aws-sdk-core/plugins/stub_responses.rb' require 'aws-sdk-core/plugins/idempotency_token.rb' +require 'aws-sdk-core/plugins/jsonvalue_converter.rb' require 'aws-sdk-core/plugins/signature_v4.rb' require 'aws-sdk-core/plugins/protocols/json_rpc.rb' Aws::Plugins::GlobalConfiguration.add_identifier(:codecommit) @@ -43,10 +44,11 @@ add_plugin(Aws::Plugins::GlobalConfiguration) add_plugin(Aws::Plugins::RegionalEndpoint) add_plugin(Aws::Plugins::ResponsePaging) add_plugin(Aws::Plugins::StubResponses) add_plugin(Aws::Plugins::IdempotencyToken) + add_plugin(Aws::Plugins::JsonvalueConverter) add_plugin(Aws::Plugins::SignatureV4) add_plugin(Aws::Plugins::Protocols::JsonRpc) # @option options [required, Aws::CredentialProvider] :credentials # Your AWS credentials. This can be an instance of any one of the @@ -192,10 +194,12 @@ # resp.repositories[0].clone_url_ssh #=> String # resp.repositories[0].arn #=> String # resp.repositories_not_found #=> Array # resp.repositories_not_found[0] #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories AWS API Documentation + # # @overload batch_get_repositories(params = {}) # @param [Hash] params ({}) def batch_get_repositories(params = {}, options = {}) req = build_request(:batch_get_repositories, params) req.send_request(options) @@ -226,10 +230,12 @@ # repository_name: "RepositoryName", # required # branch_name: "BranchName", # required # commit_id: "CommitId", # required # }) # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch AWS API Documentation + # # @overload create_branch(params = {}) # @param [Hash] params ({}) def create_branch(params = {}, options = {}) req = build_request(:create_branch, params) req.send_request(options) @@ -286,10 +292,12 @@ # resp.repository_metadata.creation_date #=> Time # resp.repository_metadata.clone_url_http #=> String # resp.repository_metadata.clone_url_ssh #=> String # resp.repository_metadata.arn #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository AWS API Documentation + # # @overload create_repository(params = {}) # @param [Hash] params ({}) def create_repository(params = {}, options = {}) req = build_request(:create_repository, params) req.send_request(options) @@ -317,10 +325,12 @@ # # @example Response structure # # resp.repository_id #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository AWS API Documentation + # # @overload delete_repository(params = {}) # @param [Hash] params ({}) def delete_repository(params = {}, options = {}) req = build_request(:delete_repository, params) req.send_request(options) @@ -348,10 +358,12 @@ # # @example Response structure # # resp.content #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob AWS API Documentation + # # @overload get_blob(params = {}) # @param [Hash] params ({}) def get_blob(params = {}, options = {}) req = build_request(:get_blob, params) req.send_request(options) @@ -381,10 +393,12 @@ # @example Response structure # # resp.branch.branch_name #=> String # resp.branch.commit_id #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch AWS API Documentation + # # @overload get_branch(params = {}) # @param [Hash] params ({}) def get_branch(params = {}, options = {}) req = build_request(:get_branch, params) req.send_request(options) @@ -422,10 +436,12 @@ # resp.commit.committer.name #=> String # resp.commit.committer.email #=> String # resp.commit.committer.date #=> String # resp.commit.additional_data #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit AWS API Documentation + # # @overload get_commit(params = {}) # @param [Hash] params ({}) def get_commit(params = {}, options = {}) req = build_request(:get_commit, params) req.send_request(options) @@ -495,10 +511,12 @@ # resp.differences[0].after_blob.path #=> String # resp.differences[0].after_blob.mode #=> String # resp.differences[0].change_type #=> String, one of "A", "M", "D" # resp.next_token #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences AWS API Documentation + # # @overload get_differences(params = {}) # @param [Hash] params ({}) def get_differences(params = {}, options = {}) req = build_request(:get_differences, params) req.send_request(options) @@ -539,10 +557,12 @@ # resp.repository_metadata.creation_date #=> Time # resp.repository_metadata.clone_url_http #=> String # resp.repository_metadata.clone_url_ssh #=> String # resp.repository_metadata.arn #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository AWS API Documentation + # # @overload get_repository(params = {}) # @param [Hash] params ({}) def get_repository(params = {}, options = {}) req = build_request(:get_repository, params) req.send_request(options) @@ -574,10 +594,12 @@ # resp.triggers[0].branches #=> Array # resp.triggers[0].branches[0] #=> String # resp.triggers[0].events #=> Array # resp.triggers[0].events[0] #=> String, one of "all", "updateReference", "createReference", "deleteReference" # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers AWS API Documentation + # # @overload get_repository_triggers(params = {}) # @param [Hash] params ({}) def get_repository_triggers(params = {}, options = {}) req = build_request(:get_repository_triggers, params) req.send_request(options) @@ -607,10 +629,12 @@ # # resp.branches #=> Array # resp.branches[0] #=> String # resp.next_token #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches AWS API Documentation + # # @overload list_branches(params = {}) # @param [Hash] params ({}) def list_branches(params = {}, options = {}) req = build_request(:list_branches, params) req.send_request(options) @@ -650,10 +674,12 @@ # resp.repositories #=> Array # resp.repositories[0].repository_name #=> String # resp.repositories[0].repository_id #=> String # resp.next_token #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories AWS API Documentation + # # @overload list_repositories(params = {}) # @param [Hash] params ({}) def list_repositories(params = {}, options = {}) req = build_request(:list_repositories, params) req.send_request(options) @@ -690,10 +716,12 @@ # # @example Response structure # # resp.configuration_id #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers AWS API Documentation + # # @overload put_repository_triggers(params = {}) # @param [Hash] params ({}) def put_repository_triggers(params = {}, options = {}) req = build_request(:put_repository_triggers, params) req.send_request(options) @@ -736,10 +764,12 @@ # resp.successful_executions[0] #=> String # resp.failed_executions #=> Array # resp.failed_executions[0].trigger #=> String # resp.failed_executions[0].failure_message #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers AWS API Documentation + # # @overload test_repository_triggers(params = {}) # @param [Hash] params ({}) def test_repository_triggers(params = {}, options = {}) req = build_request(:test_repository_triggers, params) req.send_request(options) @@ -766,10 +796,12 @@ # resp = client.update_default_branch({ # repository_name: "RepositoryName", # required # default_branch_name: "BranchName", # required # }) # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch AWS API Documentation + # # @overload update_default_branch(params = {}) # @param [Hash] params ({}) def update_default_branch(params = {}, options = {}) req = build_request(:update_default_branch, params) req.send_request(options) @@ -801,10 +833,12 @@ # resp = client.update_repository_description({ # repository_name: "RepositoryName", # required # repository_description: "RepositoryDescription", # }) # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription AWS API Documentation + # # @overload update_repository_description(params = {}) # @param [Hash] params ({}) def update_repository_description(params = {}, options = {}) req = build_request(:update_repository_description, params) req.send_request(options) @@ -834,10 +868,12 @@ # resp = client.update_repository_name({ # old_name: "RepositoryName", # required # new_name: "RepositoryName", # required # }) # + # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName AWS API Documentation + # # @overload update_repository_name(params = {}) # @param [Hash] params ({}) def update_repository_name(params = {}, options = {}) req = build_request(:update_repository_name, params) req.send_request(options) @@ -854,10 +890,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-codecommit' - context[:gem_version] = '1.0.0.rc1' + context[:gem_version] = '1.0.0.rc3' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated