1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
#![allow(clippy::module_inception)]
#![allow(clippy::upper_case_acronyms)]
#![allow(clippy::large_enum_variant)]
#![allow(clippy::wrong_self_convention)]
#![allow(clippy::should_implement_trait)]
#![allow(clippy::blacklisted_name)]
#![allow(clippy::vec_init_then_push)]
#![allow(rustdoc::bare_urls)]
#![warn(missing_docs)]
//! <fullname>AWS CodeStar Connections</fullname>
//! <p>This AWS CodeStar Connections API Reference provides descriptions and usage examples of
//! the operations and data types for the AWS CodeStar Connections API. You can use the
//! connections API to work with connections and installations.</p>
//! <p>
//! <i>Connections</i> are configurations that you use to connect AWS
//! resources to external code repositories. Each connection is a resource that can be given to
//! services such as CodePipeline to connect to a third-party repository such as Bitbucket. For
//! example, you can add the connection in CodePipeline so that it triggers your pipeline when a
//! code change is made to your third-party code repository. Each connection is named and
//! associated with a unique ARN that is used to reference the connection.</p>
//! <p>When you create a connection, the console initiates a third-party connection handshake.
//! <i>Installations</i> are the apps that are used to conduct this handshake. For
//! example, the installation for the Bitbucket provider type is the Bitbucket app. When you
//! create a connection, you can choose an existing installation or create one.</p>
//! <p>When you want to create a connection to an installed provider type such as GitHub
//! Enterprise Server, you create a <i>host</i> for your connections.</p>
//! <p>You can work with connections by calling:</p>
//! <ul>
//! <li>
//! <p>
//! <a>CreateConnection</a>, which creates a uniquely named connection that can be
//! referenced by services such as CodePipeline.</p>
//! </li>
//! <li>
//! <p>
//! <a>DeleteConnection</a>, which deletes the specified connection.</p>
//! </li>
//! <li>
//! <p>
//! <a>GetConnection</a>, which returns information about the connection, including
//! the connection status.</p>
//! </li>
//! <li>
//! <p>
//! <a>ListConnections</a>, which lists the connections associated with your
//! account.</p>
//! </li>
//! </ul>
//! <p>You can work with hosts by calling:</p>
//! <ul>
//! <li>
//! <p>
//! <a>CreateHost</a>, which creates a host that represents the infrastructure where your provider is installed.</p>
//! </li>
//! <li>
//! <p>
//! <a>DeleteHost</a>, which deletes the specified host.</p>
//! </li>
//! <li>
//! <p>
//! <a>GetHost</a>, which returns information about the host, including
//! the setup status.</p>
//! </li>
//! <li>
//! <p>
//! <a>ListHosts</a>, which lists the hosts associated with your
//! account.</p>
//! </li>
//! </ul>
//! <p>You can work with tags in AWS CodeStar Connections by calling the following:</p>
//! <ul>
//! <li>
//! <p>
//! <a>ListTagsForResource</a>, which gets information about AWS tags for a
//! specified Amazon Resource Name (ARN) in AWS CodeStar Connections.</p>
//! </li>
//! <li>
//! <p>
//! <a>TagResource</a>, which adds or updates tags for a resource in AWS CodeStar
//! Connections.</p>
//! </li>
//! <li>
//! <p>
//! <a>UntagResource</a>, which removes tags for a resource in AWS CodeStar
//! Connections.</p>
//! </li>
//! </ul>
//! <p>For information about how to use AWS CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
//! Guide</a>.</p>
//!
//! # Crate Organization
//!
//! The entry point for most customers will be [`Client`]. [`Client`] exposes one method for each API offered
//! by the service.
//!
//! Some APIs require complex or nested arguments. These exist in [`model`](crate::model).
//!
//! Lastly, errors that can be returned by the service are contained within [`error`]. [`Error`] defines a meta
//! error encompassing all possible errors that can be returned by the service.
//!
//! The other modules within this crate are not required for normal usage.

// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub use error_meta::Error;

#[doc(inline)]
pub use config::Config;

mod aws_endpoint;
/// Client and fluent builders for calling the service.
pub mod client;
/// Configuration for the service.
pub mod config;
/// Errors that can occur when calling the service.
pub mod error;
mod error_meta;
/// Input structures for operations.
pub mod input;
mod json_deser;
mod json_errors;
mod json_ser;
/// Generated accessors for nested fields
mod lens;
pub mod middleware;
/// Data structures used by operation inputs/outputs.
pub mod model;
mod no_credentials;
/// All operations that this crate can perform.
pub mod operation;
mod operation_deser;
mod operation_ser;
/// Output structures for operations.
pub mod output;
/// Paginators for the service
pub mod paginator;
/// Crate version number.
pub static PKG_VERSION: &str = env!("CARGO_PKG_VERSION");
/// Re-exported types from supporting crates.
pub mod types {
    pub use aws_smithy_http::result::SdkError;
}
static API_METADATA: aws_http::user_agent::ApiMetadata =
    aws_http::user_agent::ApiMetadata::new("codestarconnections", PKG_VERSION);
pub use aws_smithy_http::endpoint::Endpoint;
pub use aws_smithy_types::retry::RetryConfig;
pub use aws_types::app_name::AppName;
pub use aws_types::region::Region;
pub use aws_types::Credentials;
#[doc(inline)]
pub use client::Client;