Amazon.CodeCommit.AmazonCodeCommitClient.TestRepositoryTriggers C# (CSharp) Method

TestRepositoryTriggers() public method

Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.
/// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// One or more branch names specified for the trigger is not valid. /// /// The custom data provided for the trigger is not valid. /// /// The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. /// The most common reason for this error is that the ARN does not meet the requirements /// for the service type. /// /// One or more events specified for the trigger is not valid. Check to make sure that /// all events specified match the requirements for allowed events. /// /// The name of the trigger is not valid. /// /// The region for the trigger target does not match the region for the repository. Triggers /// must be created in the same region as the target for the trigger. /// /// The number of branches for the trigger was exceeded. /// /// The number of triggers allowed for the repository was exceeded. /// /// The specified repository does not exist. /// /// A repository name is required but was not specified. /// /// At least one branch name is required but was not specified in the trigger configuration. /// /// A destination ARN for the target service for the trigger is required but was not specified. /// /// At least one event for the trigger is required but was not specified. /// /// A name for the trigger is required but was not specified. /// /// The list of triggers for the repository is required but was not specified. ///
public TestRepositoryTriggers ( TestRepositoryTriggersRequest request ) : TestRepositoryTriggersResponse
request Amazon.CodeCommit.Model.TestRepositoryTriggersRequest Container for the necessary parameters to execute the TestRepositoryTriggers service method.
return Amazon.CodeCommit.Model.TestRepositoryTriggersResponse
        public TestRepositoryTriggersResponse TestRepositoryTriggers(TestRepositoryTriggersRequest request)
        {
            var marshaller = new TestRepositoryTriggersRequestMarshaller();
            var unmarshaller = TestRepositoryTriggersResponseUnmarshaller.Instance;

            return Invoke<TestRepositoryTriggersRequest,TestRepositoryTriggersResponse>(request, marshaller, unmarshaller);
        }