Module Smaws_Client_CodeConnections.Types

type nonrec vpc_id = string
type nonrec subnet_id = string
type nonrec subnet_ids = subnet_id list
type nonrec security_group_id = string
type nonrec security_group_ids = security_group_id list
type nonrec tls_certificate = string
type nonrec vpc_configuration = {
  1. tls_certificate : tls_certificate option;
    (*

    The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.

    *)
  2. security_group_ids : security_group_ids;
    (*

    The ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.

    *)
  3. subnet_ids : subnet_ids;
    (*

    The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.

    *)
  4. vpc_id : vpc_id;
    (*

    The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.

    *)
}

The VPC configuration provisioned for the host.

type nonrec url = string
type nonrec branch_name = string
type nonrec deployment_file_path = string
type nonrec owner_id = string
type nonrec provider_type =
  1. | GITLAB_SELF_MANAGED
  2. | GITLAB
  3. | GITHUB_ENTERPRISE_SERVER
  4. | GITHUB
  5. | BITBUCKET
type nonrec repository_name = string
type nonrec resource_name = string
type nonrec iam_role_arn = string
type nonrec sync_configuration_type =
  1. | CFN_STACK_SYNC
type nonrec publish_deployment_status =
  1. | DISABLED
  2. | ENABLED
type nonrec trigger_resource_update_on =
  1. | FILE_CHANGE
  2. | ANY_CHANGE
type nonrec pull_request_comment =
  1. | DISABLED
  2. | ENABLED
type nonrec sync_configuration = {
  1. pull_request_comment : pull_request_comment option;
    (*

    A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.

    *)
  2. trigger_resource_update_on : trigger_resource_update_on option;
    (*

    When to trigger Git sync to begin the stack update.

    *)
  3. publish_deployment_status : publish_deployment_status option;
    (*

    Whether to enable or disable publishing of deployment status to source providers.

    *)
  4. sync_type : sync_configuration_type;
    (*

    The type of sync for a specific sync configuration.

    *)
  5. role_arn : iam_role_arn;
    (*

    The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.

    *)
  6. resource_name : resource_name;
    (*

    The name of the connection resource associated with a specific sync configuration.

    *)
  7. repository_name : repository_name;
    (*

    The name of the repository associated with a specific sync configuration.

    *)
  8. provider_type : provider_type;
    (*

    The connection provider type associated with a specific sync configuration, such as GitHub.

    *)
  9. owner_id : owner_id;
    (*

    The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.

    *)
  10. config_file : deployment_file_path option;
    (*

    The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.

    *)
  11. branch : branch_name;
    (*

    The branch associated with a specific sync configuration.

    *)
}

Information, such as repository, branch, provider, and resource names for a specific sync configuration.

type nonrec update_sync_configuration_output = {
  1. sync_configuration : sync_configuration;
    (*

    The information returned for the sync configuration to be updated.

    *)
}
type nonrec update_sync_configuration_input = {
  1. pull_request_comment : pull_request_comment option;
    (*

    TA toggle that specifies whether to enable or disable pull request comments for the sync configuration to be updated.

    *)
  2. trigger_resource_update_on : trigger_resource_update_on option;
    (*

    When to trigger Git sync to begin the stack update.

    *)
  3. publish_deployment_status : publish_deployment_status option;
    (*

    Whether to enable or disable publishing of deployment status to source providers.

    *)
  4. sync_type : sync_configuration_type;
    (*

    The sync type for the sync configuration to be updated.

    *)
  5. role_arn : iam_role_arn option;
    (*

    The ARN of the IAM role for the sync configuration to be updated.

    *)
  6. resource_name : resource_name;
    (*

    The name of the Amazon Web Services resource for the sync configuration to be updated.

    *)
  7. config_file : deployment_file_path option;
    (*

    The configuration file for the sync configuration to be updated.

    *)
  8. branch : branch_name option;
    (*

    The branch for the sync configuration to be updated.

    *)
}
type nonrec error_message = string
type nonrec update_out_of_sync_exception = {
  1. message : error_message option;
}

The update is out of sync. Try syncing again.

type nonrec throttling_exception = {
  1. message : error_message option;
}

The request was denied due to request throttling.

type nonrec resource_not_found_exception = {
  1. message : error_message option;
}

Resource not found. Verify the connection resource ARN and try again.

type nonrec invalid_input_exception = {
  1. message : error_message option;
}

The input is not valid. Verify that the action is typed correctly.

type nonrec internal_server_exception = {
  1. message : error_message option;
}

Received an internal server exception. Try again later.

type nonrec concurrent_modification_exception = {
  1. message : error_message option;
}

Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time.

type nonrec access_denied_exception = {
  1. message : error_message option;
}

You do not have sufficient access to perform this action.

type nonrec id = string
type nonrec blocker_type =
  1. | AUTOMATED
type nonrec blocker_status =
  1. | RESOLVED
  2. | ACTIVE
type nonrec created_reason = string
type nonrec timestamp = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec sync_blocker_context_key = string
type nonrec sync_blocker_context_value = string
type nonrec sync_blocker_context = {
  1. value : sync_blocker_context_value;
    (*

    The value provided for a context key-value pair for a specific sync blocker.

    *)
  2. key : sync_blocker_context_key;
    (*

    The key provided for a context key-value pair for a specific sync blocker.

    *)
}

The context for a specific sync blocker.

type nonrec sync_blocker_context_list = sync_blocker_context list
type nonrec resolved_reason = string
type nonrec sync_blocker = {
  1. resolved_at : timestamp option;
    (*

    The time that a specific sync blocker was resolved.

    *)
  2. resolved_reason : resolved_reason option;
    (*

    The resolved reason for a specific sync blocker.

    *)
  3. contexts : sync_blocker_context_list option;
    (*

    The contexts for a specific sync blocker.

    *)
  4. created_at : timestamp;
    (*

    The creation time for a specific sync blocker.

    *)
  5. created_reason : created_reason;
    (*

    The provided reason for a specific sync blocker.

    *)
  6. status : blocker_status;
    (*

    The status for a specific sync blocker.

    *)
  7. type_ : blocker_type;
    (*

    The sync blocker type.

    *)
  8. id : id;
    (*

    The ID for a specific sync blocker.

    *)
}

Information about a blocker for a sync event.

type nonrec update_sync_blocker_output = {
  1. sync_blocker : sync_blocker;
    (*

    Information about the sync blocker to be updated.

    *)
  2. parent_resource_name : resource_name option;
    (*

    The parent resource name for the sync blocker.

    *)
  3. resource_name : resource_name;
    (*

    The resource name for the sync blocker.

    *)
}
type nonrec update_sync_blocker_input = {
  1. resolved_reason : resolved_reason;
    (*

    The reason for resolving the sync blocker.

    *)
  2. resource_name : resource_name;
    (*

    The name of the resource for the sync blocker to be updated.

    *)
  3. sync_type : sync_configuration_type;
    (*

    The sync type of the sync blocker to be updated.

    *)
  4. id : id;
    (*

    The ID of the sync blocker to be updated.

    *)
}
type nonrec sync_blocker_does_not_exist_exception = {
  1. message : error_message option;
}

Unable to continue. The sync blocker does not exist.

type nonrec retry_latest_commit_failed_exception = {
  1. message : error_message option;
}

Retrying the latest commit failed. Try again later.

type nonrec connection_arn = string
type nonrec kms_key_arn = string

Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID.

type nonrec conditional_check_failed_exception = {
  1. message : error_message option;
}

The conditional check failed. Try again later.

type nonrec update_host_output = unit
type nonrec host_arn = string
type nonrec update_host_input = {
  1. vpc_configuration : vpc_configuration option;
    (*

    The VPC configuration of the host to be updated. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.

    *)
  2. provider_endpoint : url option;
    (*

    The URL or endpoint of the host to be updated.

    *)
  3. host_arn : host_arn;
    (*

    The Amazon Resource Name (ARN) of the host to be updated.

    *)
}
type nonrec unsupported_operation_exception = {
  1. message : error_message option;
}

The operation is not supported. Check the connection status and try again.

type nonrec resource_unavailable_exception = {
  1. message : error_message option;
}

Resource not found. Verify the ARN for the host resource and try again.

type nonrec conflict_exception = {
  1. message : error_message option;
}

Two conflicting operations have been made on the same resource.

type nonrec untag_resource_output = unit
type nonrec amazon_resource_name = string
type nonrec tag_key = string
type nonrec tag_key_list = tag_key list
type nonrec untag_resource_input = {
  1. tag_keys : tag_key_list;
    (*

    The list of keys for the tags to be removed from the resource.

    *)
  2. resource_arn : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the resource to remove tags from.

    *)
}
type nonrec unsupported_provider_type_exception = {
  1. message : error_message option;
}

The specified provider type is not supported for connections.

type nonrec type_ = string
type nonrec target = string
type nonrec tag_value = string
type nonrec tag_resource_output = unit
type nonrec tag = {
  1. value : tag_value;
    (*

    The tag's value.

    *)
  2. key : tag_key;
    (*

    The tag's key.

    *)
}

A tag is a key-value pair that is used to manage the resource.

This tag is available for use by Amazon Web Services services that support tags.

type nonrec tag_list = tag list
type nonrec tag_resource_input = {
  1. tags : tag_list;
    (*

    The tags you want to modify or add to the resource.

    *)
  2. resource_arn : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.

    *)
}
type nonrec limit_exceeded_exception = {
  1. message : error_message option;
}

Exceeded the maximum limit for connections.

type nonrec sync_configuration_still_exists_exception = {
  1. message : error_message option;
}

Unable to continue. The sync blocker still exists.

type nonrec sync_configuration_list = sync_configuration list
type nonrec latest_sync_blocker_list = sync_blocker list
type nonrec sync_blocker_summary = {
  1. latest_blockers : latest_sync_blocker_list option;
    (*

    The latest events for a sync blocker summary.

    *)
  2. parent_resource_name : resource_name option;
    (*

    The parent resource name for a sync blocker summary.

    *)
  3. resource_name : resource_name;
    (*

    The resource name for sync blocker summary.

    *)
}

A summary for sync blockers.

type nonrec sharp_next_token = string
type nonrec sh_a = string
type nonrec directory = string
type nonrec revision = {
  1. sha : sh_a;
    (*

    The SHA, such as the commit ID, for a specific revision.

    *)
  2. provider_type : provider_type;
    (*

    The provider type for a revision, such as GitHub.

    *)
  3. repository_name : repository_name;
    (*

    The repository name for a specific revision.

    *)
  4. owner_id : owner_id;
    (*

    The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.

    *)
  5. directory : directory;
    (*

    The directory, if any, for a specific revision.

    *)
  6. branch : branch_name;
    (*

    The branch name for a specific revision.

    *)
}

Information about the revision for a specific sync event, such as the branch, owner ID, and name of the repository.

type nonrec resource_sync_status =
  1. | SUCCEEDED
  2. | IN_PROGRESS
  3. | INITIATED
  4. | FAILED
type nonrec event = string
type nonrec external_id = string
type nonrec resource_sync_event = {
  1. type_ : type_;
    (*

    The type of resource sync event.

    *)
  2. time : timestamp;
    (*

    The time that a resource sync event occurred.

    *)
  3. external_id : external_id option;
    (*

    The ID for a resource sync event.

    *)
  4. event : event;
    (*

    The event for a resource sync event.

    *)
}

Information about a resource sync event for the resource associated with a sync configuration.

type nonrec resource_sync_event_list = resource_sync_event list
type nonrec resource_sync_attempt = {
  1. target : target;
    (*

    The name of the Amazon Web Services resource that is attempted to be synchronized.

    *)
  2. target_revision : revision;
    (*

    The desired state of the resource as defined in the resource's config-file in the linked repository. Git sync attempts to update the resource to this state.

    *)
  3. status : resource_sync_status;
    (*

    The status for a resource sync attempt. The follow are valid statuses:

    • SYNC-INITIATED - A resource sync attempt has been created and will begin soon.
    • SYNCING - Syncing has started and work is being done to reconcile state.
    • SYNCED - Syncing has completed successfully.
    • SYNC_FAILED - A resource sync attempt has failed.
    *)
  4. started_at : timestamp;
    (*

    The start time for a resource sync attempt.

    *)
  5. initial_revision : revision;
    (*

    The current state of the resource as defined in the resource's config-file in the linked repository.

    *)
  6. events : resource_sync_event_list;
    (*

    The events related to a resource sync attempt.

    *)
}

Information about a resource sync attempt.

type nonrec resource_already_exists_exception = {
  1. message : error_message option;
}

Unable to create resource. Resource already exists.

type nonrec repository_sync_status =
  1. | QUEUED
  2. | SUCCEEDED
  3. | IN_PROGRESS
  4. | INITIATED
  5. | FAILED
type nonrec repository_sync_event = {
  1. type_ : type_;
    (*

    The event type for a repository sync event.

    *)
  2. time : timestamp;
    (*

    The time that a repository sync event occurred.

    *)
  3. external_id : external_id option;
    (*

    The ID for a repository sync event.

    *)
  4. event : event;
    (*

    A description of a repository sync event.

    *)
}

Information about a repository sync event.

type nonrec repository_sync_event_list = repository_sync_event list
type nonrec parent = string
type nonrec repository_sync_definition = {
  1. target : target;
    (*

    The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the parent and target resource are the same.

    *)
  2. parent : parent;
    (*

    The parent resource specified for a repository sync definition.

    *)
  3. directory : directory;
    (*

    The configuration file for a repository sync definition. This value comes from creating or updating the config-file field of a sync-configuration.

    *)
  4. branch : branch_name;
    (*

    The branch specified for a repository sync definition.

    *)
}

The definition for a repository with a sync configuration.

type nonrec repository_sync_definition_list = repository_sync_definition list
type nonrec repository_sync_attempt = {
  1. events : repository_sync_event_list;
    (*

    The events associated with a specific sync attempt.

    *)
  2. status : repository_sync_status;
    (*

    The status of a specific sync attempt. The following are valid statuses:

    • INITIATED - A repository sync attempt has been created and will begin soon.
    • IN_PROGRESS - A repository sync attempt has started and work is being done to reconcile the branch.
    • SUCCEEDED - The repository sync attempt has completed successfully.
    • FAILED - The repository sync attempt has failed.
    • QUEUED - The repository sync attempt didn't execute and was queued.
    *)
  3. started_at : timestamp;
    (*

    The start time of a specific sync attempt.

    *)
}

Information about a repository sync attempt for a repository with a sync configuration.

type nonrec next_token = string
type nonrec max_results = int
type nonrec list_tags_for_resource_output = {
  1. tags : tag_list option;
    (*

    A list of tag key and value pairs associated with the specified resource.

    *)
}
type nonrec list_tags_for_resource_input = {
  1. resource_arn : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.

    *)
}
type nonrec list_sync_configurations_output = {
  1. next_token : sharp_next_token option;
    (*

    An enumeration token that allows the operation to batch the next results of the operation.

    *)
  2. sync_configurations : sync_configuration_list;
    (*

    The list of repository sync definitions returned by the request.

    *)
}
type nonrec list_sync_configurations_input = {
  1. sync_type : sync_configuration_type;
    (*

    The sync type for the requested list of sync configurations.

    *)
  2. next_token : sharp_next_token option;
    (*

    An enumeration token that allows the operation to batch the results of the operation.

    *)
  3. max_results : max_results option;
    (*

    A non-zero, non-negative integer used to limit the number of returned results.

    *)
}
type nonrec list_repository_sync_definitions_output = {
  1. next_token : sharp_next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  2. repository_sync_definitions : repository_sync_definition_list;
    (*

    The list of repository sync definitions returned by the request. A RepositorySyncDefinition is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch.

    *)
}
type nonrec list_repository_sync_definitions_input = {
  1. sync_type : sync_configuration_type;
    (*

    The sync type of the repository link for the the sync definition for which you want to retrieve information.

    *)
}
type nonrec host_name = string
type nonrec host_status = string
type nonrec host_status_message = string
type nonrec host = {
  1. status_message : host_status_message option;
    (*

    The status description for the host.

    *)
  2. status : host_status option;
    (*

    The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.

    *)
  3. vpc_configuration : vpc_configuration option;
    (*

    The VPC configuration provisioned for the host.

    *)
  4. provider_endpoint : url option;
    (*

    The endpoint of the infrastructure where your provider type is installed.

    *)
  5. provider_type : provider_type option;
    (*

    The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.

    *)
  6. host_arn : host_arn option;
    (*

    The Amazon Resource Name (ARN) of the host.

    *)
  7. name : host_name option;
    (*

    The name of the host.

    *)
}

A resource that represents the infrastructure where a third-party provider is installed. The host is used when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You create one host for all connections to that provider.

A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by setting up the host in the console.

type nonrec host_list = host list
type nonrec list_hosts_output = {
  1. next_token : next_token option;
    (*

    A token that can be used in the next ListHosts call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.

    *)
  2. hosts : host_list option;
    (*

    A list of hosts and the details for each host, such as status, endpoint, and provider type.

    *)
}
type nonrec list_hosts_input = {
  1. next_token : next_token option;
    (*

    The token that was returned from the previous ListHosts call, which can be used to return the next set of hosts in the list.

    *)
  2. max_results : max_results option;
    (*

    The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.

    *)
}
type nonrec connection_name = string
type nonrec account_id = string
type nonrec connection_status =
  1. | ERROR
  2. | AVAILABLE
  3. | PENDING
type nonrec connection = {
  1. host_arn : host_arn option;
    (*

    The Amazon Resource Name (ARN) of the host associated with the connection.

    *)
  2. connection_status : connection_status option;
    (*

    The current status of the connection.

    *)
  3. owner_account_id : account_id option;
    (*

    The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.

    *)
  4. provider_type : provider_type option;
    (*

    The name of the external provider where your third-party code repository is configured.

    *)
  5. connection_arn : connection_arn option;
    (*

    The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between Amazon Web Servicesservices.

    The ARN is never reused if the connection is deleted.

    *)
  6. connection_name : connection_name option;
    (*

    The name of the connection. Connection names must be unique in an Amazon Web Services account.

    *)
}

A resource that is used to connect third-party source providers with services like CodePipeline.

Note: A connection created through CloudFormation, the CLI, or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by updating the connection in the console.

type nonrec connection_list = connection list
type nonrec list_connections_output = {
  1. next_token : next_token option;
    (*

    A token that can be used in the next ListConnections call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.

    *)
  2. connections : connection_list option;
    (*

    A list of connections and the details for each connection, such as status, owner, and provider type.

    *)
}
type nonrec list_connections_input = {
  1. next_token : next_token option;
    (*

    The token that was returned from the previous ListConnections call, which can be used to return the next set of connections in the list.

    *)
  2. max_results : max_results option;
    (*

    The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.

    *)
  3. host_arn_filter : host_arn option;
    (*

    Filters the list of connections to those associated with a specified host.

    *)
  4. provider_type_filter : provider_type option;
    (*

    Filters the list of connections to those associated with a specified provider, such as Bitbucket.

    *)
}
type nonrec get_sync_configuration_output = {
  1. sync_configuration : sync_configuration;
    (*

    The details about the sync configuration for which you want to retrieve information.

    *)
}
type nonrec get_sync_configuration_input = {
  1. resource_name : resource_name;
    (*

    The name of the Amazon Web Services resource for the sync configuration for which you want to retrieve information.

    *)
  2. sync_type : sync_configuration_type;
    (*

    The sync type for the sync configuration for which you want to retrieve information.

    *)
}
type nonrec get_sync_blocker_summary_output = {
  1. sync_blocker_summary : sync_blocker_summary;
    (*

    The list of sync blockers for a specified resource.

    *)
}
type nonrec get_sync_blocker_summary_input = {
  1. resource_name : resource_name;
    (*

    The name of the Amazon Web Services resource currently blocked from automatically being synced from a Git repository.

    *)
  2. sync_type : sync_configuration_type;
    (*

    The sync type for the sync blocker summary.

    *)
}
type nonrec get_resource_sync_status_output = {
  1. latest_sync : resource_sync_attempt;
    (*

    The latest sync for the sync status with the Git repository, whether successful or not.

    *)
  2. latest_successful_sync : resource_sync_attempt option;
    (*

    The latest successful sync for the sync status with the Git repository.

    *)
  3. desired_state : revision option;
    (*

    The desired state of the Amazon Web Services resource for the sync status with the Git repository.

    *)
}
type nonrec get_resource_sync_status_input = {
  1. sync_type : sync_configuration_type;
    (*

    The sync type for the sync status with the Git repository.

    *)
  2. resource_name : resource_name;
    (*

    The name of the Amazon Web Services resource for the sync status with the Git repository.

    *)
}
type nonrec get_repository_sync_status_output = {
  1. latest_sync : repository_sync_attempt;
    (*

    The status of the latest sync returned for a specified repository and branch.

    *)
}
type nonrec get_repository_sync_status_input = {
  1. sync_type : sync_configuration_type;
    (*

    The sync type of the requested sync status.

    *)
  2. branch : branch_name;
    (*

    The branch of the repository link for the requested repository sync status.

    *)
}
type nonrec get_host_output = {
  1. vpc_configuration : vpc_configuration option;
    (*

    The VPC configuration of the requested host.

    *)
  2. provider_endpoint : url option;
    (*

    The endpoint of the infrastructure represented by the requested host.

    *)
  3. provider_type : provider_type option;
    (*

    The provider type of the requested host, such as GitHub Enterprise Server.

    *)
  4. status : host_status option;
    (*

    The status of the requested host.

    *)
  5. name : host_name option;
    (*

    The name of the requested host.

    *)
}
type nonrec get_host_input = {
  1. host_arn : host_arn;
    (*

    The Amazon Resource Name (ARN) of the requested host.

    *)
}
type nonrec get_connection_output = {
  1. connection : connection option;
    (*

    The connection details, such as status, owner, and provider type.

    *)
}
type nonrec get_connection_input = {
  1. connection_arn : connection_arn;
    (*

    The Amazon Resource Name (ARN) of a connection.

    *)
}
type nonrec delete_sync_configuration_output = unit
type nonrec delete_sync_configuration_input = {
  1. resource_name : resource_name;
    (*

    The name of the Amazon Web Services resource associated with the sync configuration to be deleted.

    *)
  2. sync_type : sync_configuration_type;
    (*

    The type of sync configuration to be deleted.

    *)
}
type nonrec delete_host_output = unit
type nonrec delete_host_input = {
  1. host_arn : host_arn;
    (*

    The Amazon Resource Name (ARN) of the host to be deleted.

    *)
}
type nonrec delete_connection_output = unit
type nonrec delete_connection_input = {
  1. connection_arn : connection_arn;
    (*

    The Amazon Resource Name (ARN) of the connection to be deleted.

    The ARN is never reused if the connection is deleted.

    *)
}
type nonrec create_sync_configuration_output = {
  1. sync_configuration : sync_configuration;
    (*

    The created sync configuration for the connection. A sync configuration allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource.

    *)
}
type nonrec create_sync_configuration_input = {
  1. pull_request_comment : pull_request_comment option;
    (*

    A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.

    *)
  2. trigger_resource_update_on : trigger_resource_update_on option;
    (*

    When to trigger Git sync to begin the stack update.

    *)
  3. publish_deployment_status : publish_deployment_status option;
    (*

    Whether to enable or disable publishing of deployment status to source providers.

    *)
  4. sync_type : sync_configuration_type;
    (*

    The type of sync configuration.

    *)
  5. role_arn : iam_role_arn;
    (*

    The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.

    *)
  6. resource_name : resource_name;
    (*

    The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.

    *)
  7. config_file : deployment_file_path;
    (*

    The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.

    *)
  8. branch : branch_name;
    (*

    The branch in the repository from which changes will be synced.

    *)
}
type nonrec create_host_output = {
  1. tags : tag_list option;
    (*

    Tags for the created host.

    *)
  2. host_arn : host_arn option;
    (*

    The Amazon Resource Name (ARN) of the host to be created.

    *)
}
type nonrec create_host_input = {
  1. tags : tag_list option;
    (*

    Tags for the host to be created.

    *)
  2. vpc_configuration : vpc_configuration option;
    (*

    The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.

    *)
  3. provider_endpoint : url;
    (*

    The endpoint of the infrastructure to be represented by the host after it is created.

    *)
  4. provider_type : provider_type;
    (*

    The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.

    *)
  5. name : host_name;
    (*

    The name of the host to be created.

    *)
}
type nonrec create_connection_output = {
  1. tags : tag_list option;
    (*

    Specifies the tags applied to the resource.

    *)
  2. connection_arn : connection_arn;
    (*

    The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.

    The ARN is never reused if the connection is deleted.

    *)
}
type nonrec create_connection_input = {
  1. host_arn : host_arn option;
    (*

    The Amazon Resource Name (ARN) of the host associated with the connection to be created.

    *)
  2. tags : tag_list option;
    (*

    The key-value pair to use when tagging the resource.

    *)
  3. connection_name : connection_name;
    (*

    The name of the connection to be created.

    *)
  4. provider_type : provider_type option;
    (*

    The name of the external provider where your third-party code repository is configured.

    *)
}