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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
/// Operation shape for `AssociateMemberAccount`.
///
/// This is usually constructed for you using the the fluent builder returned by
/// [`associate_member_account`](crate::client::Client::associate_member_account).
///
/// See [`crate::client::fluent_builders::AssociateMemberAccount`] for more details about the operation.
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AssociateMemberAccount {
    _private: (),
}
impl AssociateMemberAccount {
    /// Creates a new builder-style object to manufacture [`AssociateMemberAccountInput`](crate::input::AssociateMemberAccountInput).
    pub fn builder() -> crate::input::associate_member_account_input::Builder {
        crate::input::associate_member_account_input::Builder::default()
    }
    /// Creates a new `AssociateMemberAccount` operation.
    pub fn new() -> Self {
        Self { _private: () }
    }
}
impl aws_smithy_http::response::ParseStrictResponse for AssociateMemberAccount {
    type Output = std::result::Result<
        crate::output::AssociateMemberAccountOutput,
        crate::error::AssociateMemberAccountError,
    >;
    fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
        if !response.status().is_success() && response.status().as_u16() != 200 {
            crate::operation_deser::parse_associate_member_account_error(response)
        } else {
            crate::operation_deser::parse_associate_member_account_response(response)
        }
    }
}

/// Operation shape for `AssociateS3Resources`.
///
/// This is usually constructed for you using the the fluent builder returned by
/// [`associate_s3_resources`](crate::client::Client::associate_s3_resources).
///
/// See [`crate::client::fluent_builders::AssociateS3Resources`] for more details about the operation.
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AssociateS3Resources {
    _private: (),
}
impl AssociateS3Resources {
    /// Creates a new builder-style object to manufacture [`AssociateS3ResourcesInput`](crate::input::AssociateS3ResourcesInput).
    pub fn builder() -> crate::input::associate_s3_resources_input::Builder {
        crate::input::associate_s3_resources_input::Builder::default()
    }
    /// Creates a new `AssociateS3Resources` operation.
    pub fn new() -> Self {
        Self { _private: () }
    }
}
impl aws_smithy_http::response::ParseStrictResponse for AssociateS3Resources {
    type Output = std::result::Result<
        crate::output::AssociateS3ResourcesOutput,
        crate::error::AssociateS3ResourcesError,
    >;
    fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
        if !response.status().is_success() && response.status().as_u16() != 200 {
            crate::operation_deser::parse_associate_s3_resources_error(response)
        } else {
            crate::operation_deser::parse_associate_s3_resources_response(response)
        }
    }
}

/// Operation shape for `DisassociateMemberAccount`.
///
/// This is usually constructed for you using the the fluent builder returned by
/// [`disassociate_member_account`](crate::client::Client::disassociate_member_account).
///
/// See [`crate::client::fluent_builders::DisassociateMemberAccount`] for more details about the operation.
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DisassociateMemberAccount {
    _private: (),
}
impl DisassociateMemberAccount {
    /// Creates a new builder-style object to manufacture [`DisassociateMemberAccountInput`](crate::input::DisassociateMemberAccountInput).
    pub fn builder() -> crate::input::disassociate_member_account_input::Builder {
        crate::input::disassociate_member_account_input::Builder::default()
    }
    /// Creates a new `DisassociateMemberAccount` operation.
    pub fn new() -> Self {
        Self { _private: () }
    }
}
impl aws_smithy_http::response::ParseStrictResponse for DisassociateMemberAccount {
    type Output = std::result::Result<
        crate::output::DisassociateMemberAccountOutput,
        crate::error::DisassociateMemberAccountError,
    >;
    fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
        if !response.status().is_success() && response.status().as_u16() != 200 {
            crate::operation_deser::parse_disassociate_member_account_error(response)
        } else {
            crate::operation_deser::parse_disassociate_member_account_response(response)
        }
    }
}

/// Operation shape for `DisassociateS3Resources`.
///
/// This is usually constructed for you using the the fluent builder returned by
/// [`disassociate_s3_resources`](crate::client::Client::disassociate_s3_resources).
///
/// See [`crate::client::fluent_builders::DisassociateS3Resources`] for more details about the operation.
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DisassociateS3Resources {
    _private: (),
}
impl DisassociateS3Resources {
    /// Creates a new builder-style object to manufacture [`DisassociateS3ResourcesInput`](crate::input::DisassociateS3ResourcesInput).
    pub fn builder() -> crate::input::disassociate_s3_resources_input::Builder {
        crate::input::disassociate_s3_resources_input::Builder::default()
    }
    /// Creates a new `DisassociateS3Resources` operation.
    pub fn new() -> Self {
        Self { _private: () }
    }
}
impl aws_smithy_http::response::ParseStrictResponse for DisassociateS3Resources {
    type Output = std::result::Result<
        crate::output::DisassociateS3ResourcesOutput,
        crate::error::DisassociateS3ResourcesError,
    >;
    fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
        if !response.status().is_success() && response.status().as_u16() != 200 {
            crate::operation_deser::parse_disassociate_s3_resources_error(response)
        } else {
            crate::operation_deser::parse_disassociate_s3_resources_response(response)
        }
    }
}

/// Operation shape for `ListMemberAccounts`.
///
/// This is usually constructed for you using the the fluent builder returned by
/// [`list_member_accounts`](crate::client::Client::list_member_accounts).
///
/// See [`crate::client::fluent_builders::ListMemberAccounts`] for more details about the operation.
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListMemberAccounts {
    _private: (),
}
impl ListMemberAccounts {
    /// Creates a new builder-style object to manufacture [`ListMemberAccountsInput`](crate::input::ListMemberAccountsInput).
    pub fn builder() -> crate::input::list_member_accounts_input::Builder {
        crate::input::list_member_accounts_input::Builder::default()
    }
    /// Creates a new `ListMemberAccounts` operation.
    pub fn new() -> Self {
        Self { _private: () }
    }
}
impl aws_smithy_http::response::ParseStrictResponse for ListMemberAccounts {
    type Output = std::result::Result<
        crate::output::ListMemberAccountsOutput,
        crate::error::ListMemberAccountsError,
    >;
    fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
        if !response.status().is_success() && response.status().as_u16() != 200 {
            crate::operation_deser::parse_list_member_accounts_error(response)
        } else {
            crate::operation_deser::parse_list_member_accounts_response(response)
        }
    }
}

/// Operation shape for `ListS3Resources`.
///
/// This is usually constructed for you using the the fluent builder returned by
/// [`list_s3_resources`](crate::client::Client::list_s3_resources).
///
/// See [`crate::client::fluent_builders::ListS3Resources`] for more details about the operation.
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListS3Resources {
    _private: (),
}
impl ListS3Resources {
    /// Creates a new builder-style object to manufacture [`ListS3ResourcesInput`](crate::input::ListS3ResourcesInput).
    pub fn builder() -> crate::input::list_s3_resources_input::Builder {
        crate::input::list_s3_resources_input::Builder::default()
    }
    /// Creates a new `ListS3Resources` operation.
    pub fn new() -> Self {
        Self { _private: () }
    }
}
impl aws_smithy_http::response::ParseStrictResponse for ListS3Resources {
    type Output = std::result::Result<
        crate::output::ListS3ResourcesOutput,
        crate::error::ListS3ResourcesError,
    >;
    fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
        if !response.status().is_success() && response.status().as_u16() != 200 {
            crate::operation_deser::parse_list_s3_resources_error(response)
        } else {
            crate::operation_deser::parse_list_s3_resources_response(response)
        }
    }
}

/// Operation shape for `UpdateS3Resources`.
///
/// This is usually constructed for you using the the fluent builder returned by
/// [`update_s3_resources`](crate::client::Client::update_s3_resources).
///
/// See [`crate::client::fluent_builders::UpdateS3Resources`] for more details about the operation.
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateS3Resources {
    _private: (),
}
impl UpdateS3Resources {
    /// Creates a new builder-style object to manufacture [`UpdateS3ResourcesInput`](crate::input::UpdateS3ResourcesInput).
    pub fn builder() -> crate::input::update_s3_resources_input::Builder {
        crate::input::update_s3_resources_input::Builder::default()
    }
    /// Creates a new `UpdateS3Resources` operation.
    pub fn new() -> Self {
        Self { _private: () }
    }
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateS3Resources {
    type Output = std::result::Result<
        crate::output::UpdateS3ResourcesOutput,
        crate::error::UpdateS3ResourcesError,
    >;
    fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
        if !response.status().is_success() && response.status().as_u16() != 200 {
            crate::operation_deser::parse_update_s3_resources_error(response)
        } else {
            crate::operation_deser::parse_update_s3_resources_response(response)
        }
    }
}

/// Operation customization and supporting types
pub mod customize;