aws-sdk-migrationhubrefactorspaces 1.98.0

AWS SDK for AWS Migration Hub Refactor Spaces
Documentation
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq)]
pub struct GetServiceOutput {
    /// <p>The unique identifier of the service.</p>
    pub service_id: ::std::option::Option<::std::string::String>,
    /// <p>The name of the service.</p>
    pub name: ::std::option::Option<::std::string::String>,
    /// <p>The Amazon Resource Name (ARN) of the service.</p>
    pub arn: ::std::option::Option<::std::string::String>,
    /// <p>The Amazon Web Services account ID of the service owner.</p>
    pub owner_account_id: ::std::option::Option<::std::string::String>,
    /// <p>The Amazon Web Services account ID of the service creator.</p>
    pub created_by_account_id: ::std::option::Option<::std::string::String>,
    /// <p>The description of the service.</p>
    pub description: ::std::option::Option<::std::string::String>,
    /// <p>The unique identifier of the environment.</p>
    pub environment_id: ::std::option::Option<::std::string::String>,
    /// <p>The ID of the application.</p>
    pub application_id: ::std::option::Option<::std::string::String>,
    /// <p>The ID of the virtual private cloud (VPC).</p>
    pub vpc_id: ::std::option::Option<::std::string::String>,
    /// <p>The endpoint type of the service.</p>
    pub endpoint_type: ::std::option::Option<crate::types::ServiceEndpointType>,
    /// <p>The configuration for the URL endpoint type.</p>
    /// <p>The <b>Url</b> isthe URL of the endpoint type.</p>
    /// <p>The <b>HealthUrl</b> is the health check URL of the endpoint type.</p>
    pub url_endpoint: ::std::option::Option<crate::types::UrlEndpointConfig>,
    /// <p>The configuration for the Lambda endpoint type.</p>
    /// <p>The <b>Arn</b> is the Amazon Resource Name (ARN) of the Lambda function associated with this service.</p>
    pub lambda_endpoint: ::std::option::Option<crate::types::LambdaEndpointConfig>,
    /// <p>The current state of the service.</p>
    pub state: ::std::option::Option<crate::types::ServiceState>,
    /// <p>The tags assigned to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.</p>
    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    /// <p>Any error associated with the service resource.</p>
    pub error: ::std::option::Option<crate::types::ErrorResponse>,
    /// <p>A timestamp that indicates when the service was last updated.</p>
    pub last_updated_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The timestamp of when the service is created.</p>
    pub created_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    _request_id: Option<String>,
}
impl GetServiceOutput {
    /// <p>The unique identifier of the service.</p>
    pub fn service_id(&self) -> ::std::option::Option<&str> {
        self.service_id.as_deref()
    }
    /// <p>The name of the service.</p>
    pub fn name(&self) -> ::std::option::Option<&str> {
        self.name.as_deref()
    }
    /// <p>The Amazon Resource Name (ARN) of the service.</p>
    pub fn arn(&self) -> ::std::option::Option<&str> {
        self.arn.as_deref()
    }
    /// <p>The Amazon Web Services account ID of the service owner.</p>
    pub fn owner_account_id(&self) -> ::std::option::Option<&str> {
        self.owner_account_id.as_deref()
    }
    /// <p>The Amazon Web Services account ID of the service creator.</p>
    pub fn created_by_account_id(&self) -> ::std::option::Option<&str> {
        self.created_by_account_id.as_deref()
    }
    /// <p>The description of the service.</p>
    pub fn description(&self) -> ::std::option::Option<&str> {
        self.description.as_deref()
    }
    /// <p>The unique identifier of the environment.</p>
    pub fn environment_id(&self) -> ::std::option::Option<&str> {
        self.environment_id.as_deref()
    }
    /// <p>The ID of the application.</p>
    pub fn application_id(&self) -> ::std::option::Option<&str> {
        self.application_id.as_deref()
    }
    /// <p>The ID of the virtual private cloud (VPC).</p>
    pub fn vpc_id(&self) -> ::std::option::Option<&str> {
        self.vpc_id.as_deref()
    }
    /// <p>The endpoint type of the service.</p>
    pub fn endpoint_type(&self) -> ::std::option::Option<&crate::types::ServiceEndpointType> {
        self.endpoint_type.as_ref()
    }
    /// <p>The configuration for the URL endpoint type.</p>
    /// <p>The <b>Url</b> isthe URL of the endpoint type.</p>
    /// <p>The <b>HealthUrl</b> is the health check URL of the endpoint type.</p>
    pub fn url_endpoint(&self) -> ::std::option::Option<&crate::types::UrlEndpointConfig> {
        self.url_endpoint.as_ref()
    }
    /// <p>The configuration for the Lambda endpoint type.</p>
    /// <p>The <b>Arn</b> is the Amazon Resource Name (ARN) of the Lambda function associated with this service.</p>
    pub fn lambda_endpoint(&self) -> ::std::option::Option<&crate::types::LambdaEndpointConfig> {
        self.lambda_endpoint.as_ref()
    }
    /// <p>The current state of the service.</p>
    pub fn state(&self) -> ::std::option::Option<&crate::types::ServiceState> {
        self.state.as_ref()
    }
    /// <p>The tags assigned to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.</p>
    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.tags.as_ref()
    }
    /// <p>Any error associated with the service resource.</p>
    pub fn error(&self) -> ::std::option::Option<&crate::types::ErrorResponse> {
        self.error.as_ref()
    }
    /// <p>A timestamp that indicates when the service was last updated.</p>
    pub fn last_updated_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.last_updated_time.as_ref()
    }
    /// <p>The timestamp of when the service is created.</p>
    pub fn created_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.created_time.as_ref()
    }
}
impl ::std::fmt::Debug for GetServiceOutput {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("GetServiceOutput");
        formatter.field("service_id", &self.service_id);
        formatter.field("name", &self.name);
        formatter.field("arn", &self.arn);
        formatter.field("owner_account_id", &self.owner_account_id);
        formatter.field("created_by_account_id", &self.created_by_account_id);
        formatter.field("description", &self.description);
        formatter.field("environment_id", &self.environment_id);
        formatter.field("application_id", &self.application_id);
        formatter.field("vpc_id", &self.vpc_id);
        formatter.field("endpoint_type", &self.endpoint_type);
        formatter.field("url_endpoint", &self.url_endpoint);
        formatter.field("lambda_endpoint", &self.lambda_endpoint);
        formatter.field("state", &self.state);
        formatter.field("tags", &"*** Sensitive Data Redacted ***");
        formatter.field("error", &self.error);
        formatter.field("last_updated_time", &self.last_updated_time);
        formatter.field("created_time", &self.created_time);
        formatter.field("_request_id", &self._request_id);
        formatter.finish()
    }
}
impl ::aws_types::request_id::RequestId for GetServiceOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl GetServiceOutput {
    /// Creates a new builder-style object to manufacture [`GetServiceOutput`](crate::operation::get_service::GetServiceOutput).
    pub fn builder() -> crate::operation::get_service::builders::GetServiceOutputBuilder {
        crate::operation::get_service::builders::GetServiceOutputBuilder::default()
    }
}

/// A builder for [`GetServiceOutput`](crate::operation::get_service::GetServiceOutput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default)]
#[non_exhaustive]
pub struct GetServiceOutputBuilder {
    pub(crate) service_id: ::std::option::Option<::std::string::String>,
    pub(crate) name: ::std::option::Option<::std::string::String>,
    pub(crate) arn: ::std::option::Option<::std::string::String>,
    pub(crate) owner_account_id: ::std::option::Option<::std::string::String>,
    pub(crate) created_by_account_id: ::std::option::Option<::std::string::String>,
    pub(crate) description: ::std::option::Option<::std::string::String>,
    pub(crate) environment_id: ::std::option::Option<::std::string::String>,
    pub(crate) application_id: ::std::option::Option<::std::string::String>,
    pub(crate) vpc_id: ::std::option::Option<::std::string::String>,
    pub(crate) endpoint_type: ::std::option::Option<crate::types::ServiceEndpointType>,
    pub(crate) url_endpoint: ::std::option::Option<crate::types::UrlEndpointConfig>,
    pub(crate) lambda_endpoint: ::std::option::Option<crate::types::LambdaEndpointConfig>,
    pub(crate) state: ::std::option::Option<crate::types::ServiceState>,
    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) error: ::std::option::Option<crate::types::ErrorResponse>,
    pub(crate) last_updated_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) created_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    _request_id: Option<String>,
}
impl GetServiceOutputBuilder {
    /// <p>The unique identifier of the service.</p>
    pub fn service_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.service_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The unique identifier of the service.</p>
    pub fn set_service_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.service_id = input;
        self
    }
    /// <p>The unique identifier of the service.</p>
    pub fn get_service_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.service_id
    }
    /// <p>The name of the service.</p>
    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The name of the service.</p>
    pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.name = input;
        self
    }
    /// <p>The name of the service.</p>
    pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.name
    }
    /// <p>The Amazon Resource Name (ARN) of the service.</p>
    pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the service.</p>
    pub fn set_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.arn = input;
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the service.</p>
    pub fn get_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.arn
    }
    /// <p>The Amazon Web Services account ID of the service owner.</p>
    pub fn owner_account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.owner_account_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Web Services account ID of the service owner.</p>
    pub fn set_owner_account_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.owner_account_id = input;
        self
    }
    /// <p>The Amazon Web Services account ID of the service owner.</p>
    pub fn get_owner_account_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.owner_account_id
    }
    /// <p>The Amazon Web Services account ID of the service creator.</p>
    pub fn created_by_account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.created_by_account_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Web Services account ID of the service creator.</p>
    pub fn set_created_by_account_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.created_by_account_id = input;
        self
    }
    /// <p>The Amazon Web Services account ID of the service creator.</p>
    pub fn get_created_by_account_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.created_by_account_id
    }
    /// <p>The description of the service.</p>
    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.description = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The description of the service.</p>
    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.description = input;
        self
    }
    /// <p>The description of the service.</p>
    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
        &self.description
    }
    /// <p>The unique identifier of the environment.</p>
    pub fn environment_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.environment_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The unique identifier of the environment.</p>
    pub fn set_environment_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.environment_id = input;
        self
    }
    /// <p>The unique identifier of the environment.</p>
    pub fn get_environment_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.environment_id
    }
    /// <p>The ID of the application.</p>
    pub fn application_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.application_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ID of the application.</p>
    pub fn set_application_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.application_id = input;
        self
    }
    /// <p>The ID of the application.</p>
    pub fn get_application_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.application_id
    }
    /// <p>The ID of the virtual private cloud (VPC).</p>
    pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.vpc_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ID of the virtual private cloud (VPC).</p>
    pub fn set_vpc_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.vpc_id = input;
        self
    }
    /// <p>The ID of the virtual private cloud (VPC).</p>
    pub fn get_vpc_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.vpc_id
    }
    /// <p>The endpoint type of the service.</p>
    pub fn endpoint_type(mut self, input: crate::types::ServiceEndpointType) -> Self {
        self.endpoint_type = ::std::option::Option::Some(input);
        self
    }
    /// <p>The endpoint type of the service.</p>
    pub fn set_endpoint_type(mut self, input: ::std::option::Option<crate::types::ServiceEndpointType>) -> Self {
        self.endpoint_type = input;
        self
    }
    /// <p>The endpoint type of the service.</p>
    pub fn get_endpoint_type(&self) -> &::std::option::Option<crate::types::ServiceEndpointType> {
        &self.endpoint_type
    }
    /// <p>The configuration for the URL endpoint type.</p>
    /// <p>The <b>Url</b> isthe URL of the endpoint type.</p>
    /// <p>The <b>HealthUrl</b> is the health check URL of the endpoint type.</p>
    pub fn url_endpoint(mut self, input: crate::types::UrlEndpointConfig) -> Self {
        self.url_endpoint = ::std::option::Option::Some(input);
        self
    }
    /// <p>The configuration for the URL endpoint type.</p>
    /// <p>The <b>Url</b> isthe URL of the endpoint type.</p>
    /// <p>The <b>HealthUrl</b> is the health check URL of the endpoint type.</p>
    pub fn set_url_endpoint(mut self, input: ::std::option::Option<crate::types::UrlEndpointConfig>) -> Self {
        self.url_endpoint = input;
        self
    }
    /// <p>The configuration for the URL endpoint type.</p>
    /// <p>The <b>Url</b> isthe URL of the endpoint type.</p>
    /// <p>The <b>HealthUrl</b> is the health check URL of the endpoint type.</p>
    pub fn get_url_endpoint(&self) -> &::std::option::Option<crate::types::UrlEndpointConfig> {
        &self.url_endpoint
    }
    /// <p>The configuration for the Lambda endpoint type.</p>
    /// <p>The <b>Arn</b> is the Amazon Resource Name (ARN) of the Lambda function associated with this service.</p>
    pub fn lambda_endpoint(mut self, input: crate::types::LambdaEndpointConfig) -> Self {
        self.lambda_endpoint = ::std::option::Option::Some(input);
        self
    }
    /// <p>The configuration for the Lambda endpoint type.</p>
    /// <p>The <b>Arn</b> is the Amazon Resource Name (ARN) of the Lambda function associated with this service.</p>
    pub fn set_lambda_endpoint(mut self, input: ::std::option::Option<crate::types::LambdaEndpointConfig>) -> Self {
        self.lambda_endpoint = input;
        self
    }
    /// <p>The configuration for the Lambda endpoint type.</p>
    /// <p>The <b>Arn</b> is the Amazon Resource Name (ARN) of the Lambda function associated with this service.</p>
    pub fn get_lambda_endpoint(&self) -> &::std::option::Option<crate::types::LambdaEndpointConfig> {
        &self.lambda_endpoint
    }
    /// <p>The current state of the service.</p>
    pub fn state(mut self, input: crate::types::ServiceState) -> Self {
        self.state = ::std::option::Option::Some(input);
        self
    }
    /// <p>The current state of the service.</p>
    pub fn set_state(mut self, input: ::std::option::Option<crate::types::ServiceState>) -> Self {
        self.state = input;
        self
    }
    /// <p>The current state of the service.</p>
    pub fn get_state(&self) -> &::std::option::Option<crate::types::ServiceState> {
        &self.state
    }
    /// Adds a key-value pair to `tags`.
    ///
    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
    ///
    /// <p>The tags assigned to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.</p>
    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.tags.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.tags = ::std::option::Option::Some(hash_map);
        self
    }
    /// <p>The tags assigned to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.</p>
    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.tags = input;
        self
    }
    /// <p>The tags assigned to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.</p>
    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.tags
    }
    /// <p>Any error associated with the service resource.</p>
    pub fn error(mut self, input: crate::types::ErrorResponse) -> Self {
        self.error = ::std::option::Option::Some(input);
        self
    }
    /// <p>Any error associated with the service resource.</p>
    pub fn set_error(mut self, input: ::std::option::Option<crate::types::ErrorResponse>) -> Self {
        self.error = input;
        self
    }
    /// <p>Any error associated with the service resource.</p>
    pub fn get_error(&self) -> &::std::option::Option<crate::types::ErrorResponse> {
        &self.error
    }
    /// <p>A timestamp that indicates when the service was last updated.</p>
    pub fn last_updated_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.last_updated_time = ::std::option::Option::Some(input);
        self
    }
    /// <p>A timestamp that indicates when the service was last updated.</p>
    pub fn set_last_updated_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.last_updated_time = input;
        self
    }
    /// <p>A timestamp that indicates when the service was last updated.</p>
    pub fn get_last_updated_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.last_updated_time
    }
    /// <p>The timestamp of when the service is created.</p>
    pub fn created_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.created_time = ::std::option::Option::Some(input);
        self
    }
    /// <p>The timestamp of when the service is created.</p>
    pub fn set_created_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.created_time = input;
        self
    }
    /// <p>The timestamp of when the service is created.</p>
    pub fn get_created_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.created_time
    }
    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
        self._request_id = Some(request_id.into());
        self
    }

    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
        self._request_id = request_id;
        self
    }
    /// Consumes the builder and constructs a [`GetServiceOutput`](crate::operation::get_service::GetServiceOutput).
    pub fn build(self) -> crate::operation::get_service::GetServiceOutput {
        crate::operation::get_service::GetServiceOutput {
            service_id: self.service_id,
            name: self.name,
            arn: self.arn,
            owner_account_id: self.owner_account_id,
            created_by_account_id: self.created_by_account_id,
            description: self.description,
            environment_id: self.environment_id,
            application_id: self.application_id,
            vpc_id: self.vpc_id,
            endpoint_type: self.endpoint_type,
            url_endpoint: self.url_endpoint,
            lambda_endpoint: self.lambda_endpoint,
            state: self.state,
            tags: self.tags,
            error: self.error,
            last_updated_time: self.last_updated_time,
            created_time: self.created_time,
            _request_id: self._request_id,
        }
    }
}
impl ::std::fmt::Debug for GetServiceOutputBuilder {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("GetServiceOutputBuilder");
        formatter.field("service_id", &self.service_id);
        formatter.field("name", &self.name);
        formatter.field("arn", &self.arn);
        formatter.field("owner_account_id", &self.owner_account_id);
        formatter.field("created_by_account_id", &self.created_by_account_id);
        formatter.field("description", &self.description);
        formatter.field("environment_id", &self.environment_id);
        formatter.field("application_id", &self.application_id);
        formatter.field("vpc_id", &self.vpc_id);
        formatter.field("endpoint_type", &self.endpoint_type);
        formatter.field("url_endpoint", &self.url_endpoint);
        formatter.field("lambda_endpoint", &self.lambda_endpoint);
        formatter.field("state", &self.state);
        formatter.field("tags", &"*** Sensitive Data Redacted ***");
        formatter.field("error", &self.error);
        formatter.field("last_updated_time", &self.last_updated_time);
        formatter.field("created_time", &self.created_time);
        formatter.field("_request_id", &self._request_id);
        formatter.finish()
    }
}