1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3package chime
4
5import (
6	"fmt"
7	"time"
8
9	"github.com/aws/aws-sdk-go/aws"
10	"github.com/aws/aws-sdk-go/aws/awsutil"
11	"github.com/aws/aws-sdk-go/aws/request"
12	"github.com/aws/aws-sdk-go/private/protocol"
13	"github.com/aws/aws-sdk-go/private/protocol/restjson"
14)
15
16const opAssociatePhoneNumberWithUser = "AssociatePhoneNumberWithUser"
17
18// AssociatePhoneNumberWithUserRequest generates a "aws/request.Request" representing the
19// client's request for the AssociatePhoneNumberWithUser operation. The "output" return
20// value will be populated with the request's response once the request completes
21// successfully.
22//
23// Use "Send" method on the returned Request to send the API call to the service.
24// the "output" return value is not valid until after Send returns without error.
25//
26// See AssociatePhoneNumberWithUser for more information on using the AssociatePhoneNumberWithUser
27// API call, and error handling.
28//
29// This method is useful when you want to inject custom logic or configuration
30// into the SDK's request lifecycle. Such as custom headers, or retry logic.
31//
32//
33//    // Example sending a request using the AssociatePhoneNumberWithUserRequest method.
34//    req, resp := client.AssociatePhoneNumberWithUserRequest(params)
35//
36//    err := req.Send()
37//    if err == nil { // resp is now filled
38//        fmt.Println(resp)
39//    }
40//
41// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumberWithUser
42func (c *Chime) AssociatePhoneNumberWithUserRequest(input *AssociatePhoneNumberWithUserInput) (req *request.Request, output *AssociatePhoneNumberWithUserOutput) {
43	op := &request.Operation{
44		Name:       opAssociatePhoneNumberWithUser,
45		HTTPMethod: "POST",
46		HTTPPath:   "/accounts/{accountId}/users/{userId}?operation=associate-phone-number",
47	}
48
49	if input == nil {
50		input = &AssociatePhoneNumberWithUserInput{}
51	}
52
53	output = &AssociatePhoneNumberWithUserOutput{}
54	req = c.newRequest(op, input, output)
55	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
56	return
57}
58
59// AssociatePhoneNumberWithUser API operation for Amazon Chime.
60//
61// Associates a phone number with the specified Amazon Chime user.
62//
63// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
64// with awserr.Error's Code and Message methods to get detailed information about
65// the error.
66//
67// See the AWS API reference guide for Amazon Chime's
68// API operation AssociatePhoneNumberWithUser for usage and error information.
69//
70// Returned Error Types:
71//   * UnauthorizedClientException
72//   The client is not currently authorized to make the request.
73//
74//   * NotFoundException
75//   One or more of the resources in the request does not exist in the system.
76//
77//   * ForbiddenException
78//   The client is permanently forbidden from making the request.
79//
80//   * BadRequestException
81//   The input parameters don't match the service's restrictions.
82//
83//   * AccessDeniedException
84//   You don't have permissions to perform the requested operation.
85//
86//   * ThrottledClientException
87//   The client exceeded its request rate limit.
88//
89//   * ServiceUnavailableException
90//   The service is currently unavailable.
91//
92//   * ServiceFailureException
93//   The service encountered an unexpected error.
94//
95// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumberWithUser
96func (c *Chime) AssociatePhoneNumberWithUser(input *AssociatePhoneNumberWithUserInput) (*AssociatePhoneNumberWithUserOutput, error) {
97	req, out := c.AssociatePhoneNumberWithUserRequest(input)
98	return out, req.Send()
99}
100
101// AssociatePhoneNumberWithUserWithContext is the same as AssociatePhoneNumberWithUser with the addition of
102// the ability to pass a context and additional request options.
103//
104// See AssociatePhoneNumberWithUser for details on how to use this API operation.
105//
106// The context must be non-nil and will be used for request cancellation. If
107// the context is nil a panic will occur. In the future the SDK may create
108// sub-contexts for http.Requests. See https://golang.org/pkg/context/
109// for more information on using Contexts.
110func (c *Chime) AssociatePhoneNumberWithUserWithContext(ctx aws.Context, input *AssociatePhoneNumberWithUserInput, opts ...request.Option) (*AssociatePhoneNumberWithUserOutput, error) {
111	req, out := c.AssociatePhoneNumberWithUserRequest(input)
112	req.SetContext(ctx)
113	req.ApplyOptions(opts...)
114	return out, req.Send()
115}
116
117const opAssociatePhoneNumbersWithVoiceConnector = "AssociatePhoneNumbersWithVoiceConnector"
118
119// AssociatePhoneNumbersWithVoiceConnectorRequest generates a "aws/request.Request" representing the
120// client's request for the AssociatePhoneNumbersWithVoiceConnector operation. The "output" return
121// value will be populated with the request's response once the request completes
122// successfully.
123//
124// Use "Send" method on the returned Request to send the API call to the service.
125// the "output" return value is not valid until after Send returns without error.
126//
127// See AssociatePhoneNumbersWithVoiceConnector for more information on using the AssociatePhoneNumbersWithVoiceConnector
128// API call, and error handling.
129//
130// This method is useful when you want to inject custom logic or configuration
131// into the SDK's request lifecycle. Such as custom headers, or retry logic.
132//
133//
134//    // Example sending a request using the AssociatePhoneNumbersWithVoiceConnectorRequest method.
135//    req, resp := client.AssociatePhoneNumbersWithVoiceConnectorRequest(params)
136//
137//    err := req.Send()
138//    if err == nil { // resp is now filled
139//        fmt.Println(resp)
140//    }
141//
142// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnector
143func (c *Chime) AssociatePhoneNumbersWithVoiceConnectorRequest(input *AssociatePhoneNumbersWithVoiceConnectorInput) (req *request.Request, output *AssociatePhoneNumbersWithVoiceConnectorOutput) {
144	op := &request.Operation{
145		Name:       opAssociatePhoneNumbersWithVoiceConnector,
146		HTTPMethod: "POST",
147		HTTPPath:   "/voice-connectors/{voiceConnectorId}?operation=associate-phone-numbers",
148	}
149
150	if input == nil {
151		input = &AssociatePhoneNumbersWithVoiceConnectorInput{}
152	}
153
154	output = &AssociatePhoneNumbersWithVoiceConnectorOutput{}
155	req = c.newRequest(op, input, output)
156	return
157}
158
159// AssociatePhoneNumbersWithVoiceConnector API operation for Amazon Chime.
160//
161// Associates phone numbers with the specified Amazon Chime Voice Connector.
162//
163// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
164// with awserr.Error's Code and Message methods to get detailed information about
165// the error.
166//
167// See the AWS API reference guide for Amazon Chime's
168// API operation AssociatePhoneNumbersWithVoiceConnector for usage and error information.
169//
170// Returned Error Types:
171//   * UnauthorizedClientException
172//   The client is not currently authorized to make the request.
173//
174//   * NotFoundException
175//   One or more of the resources in the request does not exist in the system.
176//
177//   * ForbiddenException
178//   The client is permanently forbidden from making the request.
179//
180//   * BadRequestException
181//   The input parameters don't match the service's restrictions.
182//
183//   * AccessDeniedException
184//   You don't have permissions to perform the requested operation.
185//
186//   * ThrottledClientException
187//   The client exceeded its request rate limit.
188//
189//   * ServiceUnavailableException
190//   The service is currently unavailable.
191//
192//   * ServiceFailureException
193//   The service encountered an unexpected error.
194//
195// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnector
196func (c *Chime) AssociatePhoneNumbersWithVoiceConnector(input *AssociatePhoneNumbersWithVoiceConnectorInput) (*AssociatePhoneNumbersWithVoiceConnectorOutput, error) {
197	req, out := c.AssociatePhoneNumbersWithVoiceConnectorRequest(input)
198	return out, req.Send()
199}
200
201// AssociatePhoneNumbersWithVoiceConnectorWithContext is the same as AssociatePhoneNumbersWithVoiceConnector with the addition of
202// the ability to pass a context and additional request options.
203//
204// See AssociatePhoneNumbersWithVoiceConnector for details on how to use this API operation.
205//
206// The context must be non-nil and will be used for request cancellation. If
207// the context is nil a panic will occur. In the future the SDK may create
208// sub-contexts for http.Requests. See https://golang.org/pkg/context/
209// for more information on using Contexts.
210func (c *Chime) AssociatePhoneNumbersWithVoiceConnectorWithContext(ctx aws.Context, input *AssociatePhoneNumbersWithVoiceConnectorInput, opts ...request.Option) (*AssociatePhoneNumbersWithVoiceConnectorOutput, error) {
211	req, out := c.AssociatePhoneNumbersWithVoiceConnectorRequest(input)
212	req.SetContext(ctx)
213	req.ApplyOptions(opts...)
214	return out, req.Send()
215}
216
217const opAssociatePhoneNumbersWithVoiceConnectorGroup = "AssociatePhoneNumbersWithVoiceConnectorGroup"
218
219// AssociatePhoneNumbersWithVoiceConnectorGroupRequest generates a "aws/request.Request" representing the
220// client's request for the AssociatePhoneNumbersWithVoiceConnectorGroup operation. The "output" return
221// value will be populated with the request's response once the request completes
222// successfully.
223//
224// Use "Send" method on the returned Request to send the API call to the service.
225// the "output" return value is not valid until after Send returns without error.
226//
227// See AssociatePhoneNumbersWithVoiceConnectorGroup for more information on using the AssociatePhoneNumbersWithVoiceConnectorGroup
228// API call, and error handling.
229//
230// This method is useful when you want to inject custom logic or configuration
231// into the SDK's request lifecycle. Such as custom headers, or retry logic.
232//
233//
234//    // Example sending a request using the AssociatePhoneNumbersWithVoiceConnectorGroupRequest method.
235//    req, resp := client.AssociatePhoneNumbersWithVoiceConnectorGroupRequest(params)
236//
237//    err := req.Send()
238//    if err == nil { // resp is now filled
239//        fmt.Println(resp)
240//    }
241//
242// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnectorGroup
243func (c *Chime) AssociatePhoneNumbersWithVoiceConnectorGroupRequest(input *AssociatePhoneNumbersWithVoiceConnectorGroupInput) (req *request.Request, output *AssociatePhoneNumbersWithVoiceConnectorGroupOutput) {
244	op := &request.Operation{
245		Name:       opAssociatePhoneNumbersWithVoiceConnectorGroup,
246		HTTPMethod: "POST",
247		HTTPPath:   "/voice-connector-groups/{voiceConnectorGroupId}?operation=associate-phone-numbers",
248	}
249
250	if input == nil {
251		input = &AssociatePhoneNumbersWithVoiceConnectorGroupInput{}
252	}
253
254	output = &AssociatePhoneNumbersWithVoiceConnectorGroupOutput{}
255	req = c.newRequest(op, input, output)
256	return
257}
258
259// AssociatePhoneNumbersWithVoiceConnectorGroup API operation for Amazon Chime.
260//
261// Associates phone numbers with the specified Amazon Chime Voice Connector
262// group.
263//
264// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
265// with awserr.Error's Code and Message methods to get detailed information about
266// the error.
267//
268// See the AWS API reference guide for Amazon Chime's
269// API operation AssociatePhoneNumbersWithVoiceConnectorGroup for usage and error information.
270//
271// Returned Error Types:
272//   * UnauthorizedClientException
273//   The client is not currently authorized to make the request.
274//
275//   * NotFoundException
276//   One or more of the resources in the request does not exist in the system.
277//
278//   * ForbiddenException
279//   The client is permanently forbidden from making the request.
280//
281//   * BadRequestException
282//   The input parameters don't match the service's restrictions.
283//
284//   * AccessDeniedException
285//   You don't have permissions to perform the requested operation.
286//
287//   * ThrottledClientException
288//   The client exceeded its request rate limit.
289//
290//   * ServiceUnavailableException
291//   The service is currently unavailable.
292//
293//   * ServiceFailureException
294//   The service encountered an unexpected error.
295//
296// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnectorGroup
297func (c *Chime) AssociatePhoneNumbersWithVoiceConnectorGroup(input *AssociatePhoneNumbersWithVoiceConnectorGroupInput) (*AssociatePhoneNumbersWithVoiceConnectorGroupOutput, error) {
298	req, out := c.AssociatePhoneNumbersWithVoiceConnectorGroupRequest(input)
299	return out, req.Send()
300}
301
302// AssociatePhoneNumbersWithVoiceConnectorGroupWithContext is the same as AssociatePhoneNumbersWithVoiceConnectorGroup with the addition of
303// the ability to pass a context and additional request options.
304//
305// See AssociatePhoneNumbersWithVoiceConnectorGroup for details on how to use this API operation.
306//
307// The context must be non-nil and will be used for request cancellation. If
308// the context is nil a panic will occur. In the future the SDK may create
309// sub-contexts for http.Requests. See https://golang.org/pkg/context/
310// for more information on using Contexts.
311func (c *Chime) AssociatePhoneNumbersWithVoiceConnectorGroupWithContext(ctx aws.Context, input *AssociatePhoneNumbersWithVoiceConnectorGroupInput, opts ...request.Option) (*AssociatePhoneNumbersWithVoiceConnectorGroupOutput, error) {
312	req, out := c.AssociatePhoneNumbersWithVoiceConnectorGroupRequest(input)
313	req.SetContext(ctx)
314	req.ApplyOptions(opts...)
315	return out, req.Send()
316}
317
318const opAssociateSigninDelegateGroupsWithAccount = "AssociateSigninDelegateGroupsWithAccount"
319
320// AssociateSigninDelegateGroupsWithAccountRequest generates a "aws/request.Request" representing the
321// client's request for the AssociateSigninDelegateGroupsWithAccount operation. The "output" return
322// value will be populated with the request's response once the request completes
323// successfully.
324//
325// Use "Send" method on the returned Request to send the API call to the service.
326// the "output" return value is not valid until after Send returns without error.
327//
328// See AssociateSigninDelegateGroupsWithAccount for more information on using the AssociateSigninDelegateGroupsWithAccount
329// API call, and error handling.
330//
331// This method is useful when you want to inject custom logic or configuration
332// into the SDK's request lifecycle. Such as custom headers, or retry logic.
333//
334//
335//    // Example sending a request using the AssociateSigninDelegateGroupsWithAccountRequest method.
336//    req, resp := client.AssociateSigninDelegateGroupsWithAccountRequest(params)
337//
338//    err := req.Send()
339//    if err == nil { // resp is now filled
340//        fmt.Println(resp)
341//    }
342//
343// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociateSigninDelegateGroupsWithAccount
344func (c *Chime) AssociateSigninDelegateGroupsWithAccountRequest(input *AssociateSigninDelegateGroupsWithAccountInput) (req *request.Request, output *AssociateSigninDelegateGroupsWithAccountOutput) {
345	op := &request.Operation{
346		Name:       opAssociateSigninDelegateGroupsWithAccount,
347		HTTPMethod: "POST",
348		HTTPPath:   "/accounts/{accountId}?operation=associate-signin-delegate-groups",
349	}
350
351	if input == nil {
352		input = &AssociateSigninDelegateGroupsWithAccountInput{}
353	}
354
355	output = &AssociateSigninDelegateGroupsWithAccountOutput{}
356	req = c.newRequest(op, input, output)
357	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
358	return
359}
360
361// AssociateSigninDelegateGroupsWithAccount API operation for Amazon Chime.
362//
363// Associates the specified sign-in delegate groups with the specified Amazon
364// Chime account.
365//
366// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
367// with awserr.Error's Code and Message methods to get detailed information about
368// the error.
369//
370// See the AWS API reference guide for Amazon Chime's
371// API operation AssociateSigninDelegateGroupsWithAccount for usage and error information.
372//
373// Returned Error Types:
374//   * UnauthorizedClientException
375//   The client is not currently authorized to make the request.
376//
377//   * NotFoundException
378//   One or more of the resources in the request does not exist in the system.
379//
380//   * ForbiddenException
381//   The client is permanently forbidden from making the request.
382//
383//   * BadRequestException
384//   The input parameters don't match the service's restrictions.
385//
386//   * ThrottledClientException
387//   The client exceeded its request rate limit.
388//
389//   * ServiceUnavailableException
390//   The service is currently unavailable.
391//
392//   * ServiceFailureException
393//   The service encountered an unexpected error.
394//
395// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociateSigninDelegateGroupsWithAccount
396func (c *Chime) AssociateSigninDelegateGroupsWithAccount(input *AssociateSigninDelegateGroupsWithAccountInput) (*AssociateSigninDelegateGroupsWithAccountOutput, error) {
397	req, out := c.AssociateSigninDelegateGroupsWithAccountRequest(input)
398	return out, req.Send()
399}
400
401// AssociateSigninDelegateGroupsWithAccountWithContext is the same as AssociateSigninDelegateGroupsWithAccount with the addition of
402// the ability to pass a context and additional request options.
403//
404// See AssociateSigninDelegateGroupsWithAccount for details on how to use this API operation.
405//
406// The context must be non-nil and will be used for request cancellation. If
407// the context is nil a panic will occur. In the future the SDK may create
408// sub-contexts for http.Requests. See https://golang.org/pkg/context/
409// for more information on using Contexts.
410func (c *Chime) AssociateSigninDelegateGroupsWithAccountWithContext(ctx aws.Context, input *AssociateSigninDelegateGroupsWithAccountInput, opts ...request.Option) (*AssociateSigninDelegateGroupsWithAccountOutput, error) {
411	req, out := c.AssociateSigninDelegateGroupsWithAccountRequest(input)
412	req.SetContext(ctx)
413	req.ApplyOptions(opts...)
414	return out, req.Send()
415}
416
417const opBatchCreateAttendee = "BatchCreateAttendee"
418
419// BatchCreateAttendeeRequest generates a "aws/request.Request" representing the
420// client's request for the BatchCreateAttendee operation. The "output" return
421// value will be populated with the request's response once the request completes
422// successfully.
423//
424// Use "Send" method on the returned Request to send the API call to the service.
425// the "output" return value is not valid until after Send returns without error.
426//
427// See BatchCreateAttendee for more information on using the BatchCreateAttendee
428// API call, and error handling.
429//
430// This method is useful when you want to inject custom logic or configuration
431// into the SDK's request lifecycle. Such as custom headers, or retry logic.
432//
433//
434//    // Example sending a request using the BatchCreateAttendeeRequest method.
435//    req, resp := client.BatchCreateAttendeeRequest(params)
436//
437//    err := req.Send()
438//    if err == nil { // resp is now filled
439//        fmt.Println(resp)
440//    }
441//
442// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateAttendee
443func (c *Chime) BatchCreateAttendeeRequest(input *BatchCreateAttendeeInput) (req *request.Request, output *BatchCreateAttendeeOutput) {
444	op := &request.Operation{
445		Name:       opBatchCreateAttendee,
446		HTTPMethod: "POST",
447		HTTPPath:   "/meetings/{meetingId}/attendees?operation=batch-create",
448	}
449
450	if input == nil {
451		input = &BatchCreateAttendeeInput{}
452	}
453
454	output = &BatchCreateAttendeeOutput{}
455	req = c.newRequest(op, input, output)
456	return
457}
458
459// BatchCreateAttendee API operation for Amazon Chime.
460//
461// Creates up to 100 new attendees for an active Amazon Chime SDK meeting. For
462// more information about the Amazon Chime SDK, see Using the Amazon Chime SDK
463// (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html) in the Amazon
464// Chime Developer Guide.
465//
466// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
467// with awserr.Error's Code and Message methods to get detailed information about
468// the error.
469//
470// See the AWS API reference guide for Amazon Chime's
471// API operation BatchCreateAttendee for usage and error information.
472//
473// Returned Error Types:
474//   * BadRequestException
475//   The input parameters don't match the service's restrictions.
476//
477//   * ForbiddenException
478//   The client is permanently forbidden from making the request.
479//
480//   * NotFoundException
481//   One or more of the resources in the request does not exist in the system.
482//
483//   * ResourceLimitExceededException
484//   The request exceeds the resource limit.
485//
486//   * ThrottledClientException
487//   The client exceeded its request rate limit.
488//
489//   * UnauthorizedClientException
490//   The client is not currently authorized to make the request.
491//
492//   * ServiceUnavailableException
493//   The service is currently unavailable.
494//
495//   * ServiceFailureException
496//   The service encountered an unexpected error.
497//
498// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateAttendee
499func (c *Chime) BatchCreateAttendee(input *BatchCreateAttendeeInput) (*BatchCreateAttendeeOutput, error) {
500	req, out := c.BatchCreateAttendeeRequest(input)
501	return out, req.Send()
502}
503
504// BatchCreateAttendeeWithContext is the same as BatchCreateAttendee with the addition of
505// the ability to pass a context and additional request options.
506//
507// See BatchCreateAttendee for details on how to use this API operation.
508//
509// The context must be non-nil and will be used for request cancellation. If
510// the context is nil a panic will occur. In the future the SDK may create
511// sub-contexts for http.Requests. See https://golang.org/pkg/context/
512// for more information on using Contexts.
513func (c *Chime) BatchCreateAttendeeWithContext(ctx aws.Context, input *BatchCreateAttendeeInput, opts ...request.Option) (*BatchCreateAttendeeOutput, error) {
514	req, out := c.BatchCreateAttendeeRequest(input)
515	req.SetContext(ctx)
516	req.ApplyOptions(opts...)
517	return out, req.Send()
518}
519
520const opBatchCreateChannelMembership = "BatchCreateChannelMembership"
521
522// BatchCreateChannelMembershipRequest generates a "aws/request.Request" representing the
523// client's request for the BatchCreateChannelMembership operation. The "output" return
524// value will be populated with the request's response once the request completes
525// successfully.
526//
527// Use "Send" method on the returned Request to send the API call to the service.
528// the "output" return value is not valid until after Send returns without error.
529//
530// See BatchCreateChannelMembership for more information on using the BatchCreateChannelMembership
531// API call, and error handling.
532//
533// This method is useful when you want to inject custom logic or configuration
534// into the SDK's request lifecycle. Such as custom headers, or retry logic.
535//
536//
537//    // Example sending a request using the BatchCreateChannelMembershipRequest method.
538//    req, resp := client.BatchCreateChannelMembershipRequest(params)
539//
540//    err := req.Send()
541//    if err == nil { // resp is now filled
542//        fmt.Println(resp)
543//    }
544//
545// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateChannelMembership
546func (c *Chime) BatchCreateChannelMembershipRequest(input *BatchCreateChannelMembershipInput) (req *request.Request, output *BatchCreateChannelMembershipOutput) {
547	op := &request.Operation{
548		Name:       opBatchCreateChannelMembership,
549		HTTPMethod: "POST",
550		HTTPPath:   "/channels/{channelArn}/memberships?operation=batch-create",
551	}
552
553	if input == nil {
554		input = &BatchCreateChannelMembershipInput{}
555	}
556
557	output = &BatchCreateChannelMembershipOutput{}
558	req = c.newRequest(op, input, output)
559	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
560	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
561	return
562}
563
564// BatchCreateChannelMembership API operation for Amazon Chime.
565//
566// Adds a specified number of users to a channel.
567//
568// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
569// with awserr.Error's Code and Message methods to get detailed information about
570// the error.
571//
572// See the AWS API reference guide for Amazon Chime's
573// API operation BatchCreateChannelMembership for usage and error information.
574//
575// Returned Error Types:
576//   * ServiceFailureException
577//   The service encountered an unexpected error.
578//
579//   * ServiceUnavailableException
580//   The service is currently unavailable.
581//
582//   * UnauthorizedClientException
583//   The client is not currently authorized to make the request.
584//
585//   * BadRequestException
586//   The input parameters don't match the service's restrictions.
587//
588//   * ForbiddenException
589//   The client is permanently forbidden from making the request.
590//
591//   * ThrottledClientException
592//   The client exceeded its request rate limit.
593//
594// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateChannelMembership
595func (c *Chime) BatchCreateChannelMembership(input *BatchCreateChannelMembershipInput) (*BatchCreateChannelMembershipOutput, error) {
596	req, out := c.BatchCreateChannelMembershipRequest(input)
597	return out, req.Send()
598}
599
600// BatchCreateChannelMembershipWithContext is the same as BatchCreateChannelMembership with the addition of
601// the ability to pass a context and additional request options.
602//
603// See BatchCreateChannelMembership for details on how to use this API operation.
604//
605// The context must be non-nil and will be used for request cancellation. If
606// the context is nil a panic will occur. In the future the SDK may create
607// sub-contexts for http.Requests. See https://golang.org/pkg/context/
608// for more information on using Contexts.
609func (c *Chime) BatchCreateChannelMembershipWithContext(ctx aws.Context, input *BatchCreateChannelMembershipInput, opts ...request.Option) (*BatchCreateChannelMembershipOutput, error) {
610	req, out := c.BatchCreateChannelMembershipRequest(input)
611	req.SetContext(ctx)
612	req.ApplyOptions(opts...)
613	return out, req.Send()
614}
615
616const opBatchCreateRoomMembership = "BatchCreateRoomMembership"
617
618// BatchCreateRoomMembershipRequest generates a "aws/request.Request" representing the
619// client's request for the BatchCreateRoomMembership operation. The "output" return
620// value will be populated with the request's response once the request completes
621// successfully.
622//
623// Use "Send" method on the returned Request to send the API call to the service.
624// the "output" return value is not valid until after Send returns without error.
625//
626// See BatchCreateRoomMembership for more information on using the BatchCreateRoomMembership
627// API call, and error handling.
628//
629// This method is useful when you want to inject custom logic or configuration
630// into the SDK's request lifecycle. Such as custom headers, or retry logic.
631//
632//
633//    // Example sending a request using the BatchCreateRoomMembershipRequest method.
634//    req, resp := client.BatchCreateRoomMembershipRequest(params)
635//
636//    err := req.Send()
637//    if err == nil { // resp is now filled
638//        fmt.Println(resp)
639//    }
640//
641// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateRoomMembership
642func (c *Chime) BatchCreateRoomMembershipRequest(input *BatchCreateRoomMembershipInput) (req *request.Request, output *BatchCreateRoomMembershipOutput) {
643	op := &request.Operation{
644		Name:       opBatchCreateRoomMembership,
645		HTTPMethod: "POST",
646		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}/memberships?operation=batch-create",
647	}
648
649	if input == nil {
650		input = &BatchCreateRoomMembershipInput{}
651	}
652
653	output = &BatchCreateRoomMembershipOutput{}
654	req = c.newRequest(op, input, output)
655	return
656}
657
658// BatchCreateRoomMembership API operation for Amazon Chime.
659//
660// Adds up to 50 members to a chat room in an Amazon Chime Enterprise account.
661// Members can be users or bots. The member role designates whether the member
662// is a chat room administrator or a general chat room member.
663//
664// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
665// with awserr.Error's Code and Message methods to get detailed information about
666// the error.
667//
668// See the AWS API reference guide for Amazon Chime's
669// API operation BatchCreateRoomMembership for usage and error information.
670//
671// Returned Error Types:
672//   * UnauthorizedClientException
673//   The client is not currently authorized to make the request.
674//
675//   * NotFoundException
676//   One or more of the resources in the request does not exist in the system.
677//
678//   * BadRequestException
679//   The input parameters don't match the service's restrictions.
680//
681//   * ForbiddenException
682//   The client is permanently forbidden from making the request.
683//
684//   * ThrottledClientException
685//   The client exceeded its request rate limit.
686//
687//   * ServiceUnavailableException
688//   The service is currently unavailable.
689//
690//   * ServiceFailureException
691//   The service encountered an unexpected error.
692//
693// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateRoomMembership
694func (c *Chime) BatchCreateRoomMembership(input *BatchCreateRoomMembershipInput) (*BatchCreateRoomMembershipOutput, error) {
695	req, out := c.BatchCreateRoomMembershipRequest(input)
696	return out, req.Send()
697}
698
699// BatchCreateRoomMembershipWithContext is the same as BatchCreateRoomMembership with the addition of
700// the ability to pass a context and additional request options.
701//
702// See BatchCreateRoomMembership for details on how to use this API operation.
703//
704// The context must be non-nil and will be used for request cancellation. If
705// the context is nil a panic will occur. In the future the SDK may create
706// sub-contexts for http.Requests. See https://golang.org/pkg/context/
707// for more information on using Contexts.
708func (c *Chime) BatchCreateRoomMembershipWithContext(ctx aws.Context, input *BatchCreateRoomMembershipInput, opts ...request.Option) (*BatchCreateRoomMembershipOutput, error) {
709	req, out := c.BatchCreateRoomMembershipRequest(input)
710	req.SetContext(ctx)
711	req.ApplyOptions(opts...)
712	return out, req.Send()
713}
714
715const opBatchDeletePhoneNumber = "BatchDeletePhoneNumber"
716
717// BatchDeletePhoneNumberRequest generates a "aws/request.Request" representing the
718// client's request for the BatchDeletePhoneNumber operation. The "output" return
719// value will be populated with the request's response once the request completes
720// successfully.
721//
722// Use "Send" method on the returned Request to send the API call to the service.
723// the "output" return value is not valid until after Send returns without error.
724//
725// See BatchDeletePhoneNumber for more information on using the BatchDeletePhoneNumber
726// API call, and error handling.
727//
728// This method is useful when you want to inject custom logic or configuration
729// into the SDK's request lifecycle. Such as custom headers, or retry logic.
730//
731//
732//    // Example sending a request using the BatchDeletePhoneNumberRequest method.
733//    req, resp := client.BatchDeletePhoneNumberRequest(params)
734//
735//    err := req.Send()
736//    if err == nil { // resp is now filled
737//        fmt.Println(resp)
738//    }
739//
740// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchDeletePhoneNumber
741func (c *Chime) BatchDeletePhoneNumberRequest(input *BatchDeletePhoneNumberInput) (req *request.Request, output *BatchDeletePhoneNumberOutput) {
742	op := &request.Operation{
743		Name:       opBatchDeletePhoneNumber,
744		HTTPMethod: "POST",
745		HTTPPath:   "/phone-numbers?operation=batch-delete",
746	}
747
748	if input == nil {
749		input = &BatchDeletePhoneNumberInput{}
750	}
751
752	output = &BatchDeletePhoneNumberOutput{}
753	req = c.newRequest(op, input, output)
754	return
755}
756
757// BatchDeletePhoneNumber API operation for Amazon Chime.
758//
759// Moves phone numbers into the Deletion queue. Phone numbers must be disassociated
760// from any users or Amazon Chime Voice Connectors before they can be deleted.
761//
762// Phone numbers remain in the Deletion queue for 7 days before they are deleted
763// permanently.
764//
765// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
766// with awserr.Error's Code and Message methods to get detailed information about
767// the error.
768//
769// See the AWS API reference guide for Amazon Chime's
770// API operation BatchDeletePhoneNumber for usage and error information.
771//
772// Returned Error Types:
773//   * UnauthorizedClientException
774//   The client is not currently authorized to make the request.
775//
776//   * NotFoundException
777//   One or more of the resources in the request does not exist in the system.
778//
779//   * ForbiddenException
780//   The client is permanently forbidden from making the request.
781//
782//   * BadRequestException
783//   The input parameters don't match the service's restrictions.
784//
785//   * ThrottledClientException
786//   The client exceeded its request rate limit.
787//
788//   * ServiceUnavailableException
789//   The service is currently unavailable.
790//
791//   * ServiceFailureException
792//   The service encountered an unexpected error.
793//
794// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchDeletePhoneNumber
795func (c *Chime) BatchDeletePhoneNumber(input *BatchDeletePhoneNumberInput) (*BatchDeletePhoneNumberOutput, error) {
796	req, out := c.BatchDeletePhoneNumberRequest(input)
797	return out, req.Send()
798}
799
800// BatchDeletePhoneNumberWithContext is the same as BatchDeletePhoneNumber with the addition of
801// the ability to pass a context and additional request options.
802//
803// See BatchDeletePhoneNumber for details on how to use this API operation.
804//
805// The context must be non-nil and will be used for request cancellation. If
806// the context is nil a panic will occur. In the future the SDK may create
807// sub-contexts for http.Requests. See https://golang.org/pkg/context/
808// for more information on using Contexts.
809func (c *Chime) BatchDeletePhoneNumberWithContext(ctx aws.Context, input *BatchDeletePhoneNumberInput, opts ...request.Option) (*BatchDeletePhoneNumberOutput, error) {
810	req, out := c.BatchDeletePhoneNumberRequest(input)
811	req.SetContext(ctx)
812	req.ApplyOptions(opts...)
813	return out, req.Send()
814}
815
816const opBatchSuspendUser = "BatchSuspendUser"
817
818// BatchSuspendUserRequest generates a "aws/request.Request" representing the
819// client's request for the BatchSuspendUser operation. The "output" return
820// value will be populated with the request's response once the request completes
821// successfully.
822//
823// Use "Send" method on the returned Request to send the API call to the service.
824// the "output" return value is not valid until after Send returns without error.
825//
826// See BatchSuspendUser for more information on using the BatchSuspendUser
827// API call, and error handling.
828//
829// This method is useful when you want to inject custom logic or configuration
830// into the SDK's request lifecycle. Such as custom headers, or retry logic.
831//
832//
833//    // Example sending a request using the BatchSuspendUserRequest method.
834//    req, resp := client.BatchSuspendUserRequest(params)
835//
836//    err := req.Send()
837//    if err == nil { // resp is now filled
838//        fmt.Println(resp)
839//    }
840//
841// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchSuspendUser
842func (c *Chime) BatchSuspendUserRequest(input *BatchSuspendUserInput) (req *request.Request, output *BatchSuspendUserOutput) {
843	op := &request.Operation{
844		Name:       opBatchSuspendUser,
845		HTTPMethod: "POST",
846		HTTPPath:   "/accounts/{accountId}/users?operation=suspend",
847	}
848
849	if input == nil {
850		input = &BatchSuspendUserInput{}
851	}
852
853	output = &BatchSuspendUserOutput{}
854	req = c.newRequest(op, input, output)
855	return
856}
857
858// BatchSuspendUser API operation for Amazon Chime.
859//
860// Suspends up to 50 users from a Team or EnterpriseLWA Amazon Chime account.
861// For more information about different account types, see Managing Your Amazon
862// Chime Accounts (https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html)
863// in the Amazon Chime Administration Guide.
864//
865// Users suspended from a Team account are disassociated from the account,but
866// they can continue to use Amazon Chime as free users. To remove the suspension
867// from suspended Team account users, invite them to the Team account again.
868// You can use the InviteUsers action to do so.
869//
870// Users suspended from an EnterpriseLWA account are immediately signed out
871// of Amazon Chime and can no longer sign in. To remove the suspension from
872// suspended EnterpriseLWA account users, use the BatchUnsuspendUser action.
873//
874// To sign out users without suspending them, use the LogoutUser action.
875//
876// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
877// with awserr.Error's Code and Message methods to get detailed information about
878// the error.
879//
880// See the AWS API reference guide for Amazon Chime's
881// API operation BatchSuspendUser for usage and error information.
882//
883// Returned Error Types:
884//   * UnauthorizedClientException
885//   The client is not currently authorized to make the request.
886//
887//   * NotFoundException
888//   One or more of the resources in the request does not exist in the system.
889//
890//   * ForbiddenException
891//   The client is permanently forbidden from making the request.
892//
893//   * BadRequestException
894//   The input parameters don't match the service's restrictions.
895//
896//   * ThrottledClientException
897//   The client exceeded its request rate limit.
898//
899//   * ServiceUnavailableException
900//   The service is currently unavailable.
901//
902//   * ServiceFailureException
903//   The service encountered an unexpected error.
904//
905// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchSuspendUser
906func (c *Chime) BatchSuspendUser(input *BatchSuspendUserInput) (*BatchSuspendUserOutput, error) {
907	req, out := c.BatchSuspendUserRequest(input)
908	return out, req.Send()
909}
910
911// BatchSuspendUserWithContext is the same as BatchSuspendUser with the addition of
912// the ability to pass a context and additional request options.
913//
914// See BatchSuspendUser for details on how to use this API operation.
915//
916// The context must be non-nil and will be used for request cancellation. If
917// the context is nil a panic will occur. In the future the SDK may create
918// sub-contexts for http.Requests. See https://golang.org/pkg/context/
919// for more information on using Contexts.
920func (c *Chime) BatchSuspendUserWithContext(ctx aws.Context, input *BatchSuspendUserInput, opts ...request.Option) (*BatchSuspendUserOutput, error) {
921	req, out := c.BatchSuspendUserRequest(input)
922	req.SetContext(ctx)
923	req.ApplyOptions(opts...)
924	return out, req.Send()
925}
926
927const opBatchUnsuspendUser = "BatchUnsuspendUser"
928
929// BatchUnsuspendUserRequest generates a "aws/request.Request" representing the
930// client's request for the BatchUnsuspendUser operation. The "output" return
931// value will be populated with the request's response once the request completes
932// successfully.
933//
934// Use "Send" method on the returned Request to send the API call to the service.
935// the "output" return value is not valid until after Send returns without error.
936//
937// See BatchUnsuspendUser for more information on using the BatchUnsuspendUser
938// API call, and error handling.
939//
940// This method is useful when you want to inject custom logic or configuration
941// into the SDK's request lifecycle. Such as custom headers, or retry logic.
942//
943//
944//    // Example sending a request using the BatchUnsuspendUserRequest method.
945//    req, resp := client.BatchUnsuspendUserRequest(params)
946//
947//    err := req.Send()
948//    if err == nil { // resp is now filled
949//        fmt.Println(resp)
950//    }
951//
952// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUnsuspendUser
953func (c *Chime) BatchUnsuspendUserRequest(input *BatchUnsuspendUserInput) (req *request.Request, output *BatchUnsuspendUserOutput) {
954	op := &request.Operation{
955		Name:       opBatchUnsuspendUser,
956		HTTPMethod: "POST",
957		HTTPPath:   "/accounts/{accountId}/users?operation=unsuspend",
958	}
959
960	if input == nil {
961		input = &BatchUnsuspendUserInput{}
962	}
963
964	output = &BatchUnsuspendUserOutput{}
965	req = c.newRequest(op, input, output)
966	return
967}
968
969// BatchUnsuspendUser API operation for Amazon Chime.
970//
971// Removes the suspension from up to 50 previously suspended users for the specified
972// Amazon Chime EnterpriseLWA account. Only users on EnterpriseLWA accounts
973// can be unsuspended using this action. For more information about different
974// account types, see Managing Your Amazon Chime Accounts (https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html)
975// in the account types, in the Amazon Chime Administration Guide.
976//
977// Previously suspended users who are unsuspended using this action are returned
978// to Registered status. Users who are not previously suspended are ignored.
979//
980// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
981// with awserr.Error's Code and Message methods to get detailed information about
982// the error.
983//
984// See the AWS API reference guide for Amazon Chime's
985// API operation BatchUnsuspendUser for usage and error information.
986//
987// Returned Error Types:
988//   * UnauthorizedClientException
989//   The client is not currently authorized to make the request.
990//
991//   * NotFoundException
992//   One or more of the resources in the request does not exist in the system.
993//
994//   * ForbiddenException
995//   The client is permanently forbidden from making the request.
996//
997//   * BadRequestException
998//   The input parameters don't match the service's restrictions.
999//
1000//   * ThrottledClientException
1001//   The client exceeded its request rate limit.
1002//
1003//   * ServiceUnavailableException
1004//   The service is currently unavailable.
1005//
1006//   * ServiceFailureException
1007//   The service encountered an unexpected error.
1008//
1009// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUnsuspendUser
1010func (c *Chime) BatchUnsuspendUser(input *BatchUnsuspendUserInput) (*BatchUnsuspendUserOutput, error) {
1011	req, out := c.BatchUnsuspendUserRequest(input)
1012	return out, req.Send()
1013}
1014
1015// BatchUnsuspendUserWithContext is the same as BatchUnsuspendUser with the addition of
1016// the ability to pass a context and additional request options.
1017//
1018// See BatchUnsuspendUser for details on how to use this API operation.
1019//
1020// The context must be non-nil and will be used for request cancellation. If
1021// the context is nil a panic will occur. In the future the SDK may create
1022// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1023// for more information on using Contexts.
1024func (c *Chime) BatchUnsuspendUserWithContext(ctx aws.Context, input *BatchUnsuspendUserInput, opts ...request.Option) (*BatchUnsuspendUserOutput, error) {
1025	req, out := c.BatchUnsuspendUserRequest(input)
1026	req.SetContext(ctx)
1027	req.ApplyOptions(opts...)
1028	return out, req.Send()
1029}
1030
1031const opBatchUpdatePhoneNumber = "BatchUpdatePhoneNumber"
1032
1033// BatchUpdatePhoneNumberRequest generates a "aws/request.Request" representing the
1034// client's request for the BatchUpdatePhoneNumber operation. The "output" return
1035// value will be populated with the request's response once the request completes
1036// successfully.
1037//
1038// Use "Send" method on the returned Request to send the API call to the service.
1039// the "output" return value is not valid until after Send returns without error.
1040//
1041// See BatchUpdatePhoneNumber for more information on using the BatchUpdatePhoneNumber
1042// API call, and error handling.
1043//
1044// This method is useful when you want to inject custom logic or configuration
1045// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1046//
1047//
1048//    // Example sending a request using the BatchUpdatePhoneNumberRequest method.
1049//    req, resp := client.BatchUpdatePhoneNumberRequest(params)
1050//
1051//    err := req.Send()
1052//    if err == nil { // resp is now filled
1053//        fmt.Println(resp)
1054//    }
1055//
1056// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdatePhoneNumber
1057func (c *Chime) BatchUpdatePhoneNumberRequest(input *BatchUpdatePhoneNumberInput) (req *request.Request, output *BatchUpdatePhoneNumberOutput) {
1058	op := &request.Operation{
1059		Name:       opBatchUpdatePhoneNumber,
1060		HTTPMethod: "POST",
1061		HTTPPath:   "/phone-numbers?operation=batch-update",
1062	}
1063
1064	if input == nil {
1065		input = &BatchUpdatePhoneNumberInput{}
1066	}
1067
1068	output = &BatchUpdatePhoneNumberOutput{}
1069	req = c.newRequest(op, input, output)
1070	return
1071}
1072
1073// BatchUpdatePhoneNumber API operation for Amazon Chime.
1074//
1075// Updates phone number product types or calling names. You can update one attribute
1076// at a time for each UpdatePhoneNumberRequestItem. For example, you can update
1077// the product type or the calling name.
1078//
1079// For toll-free numbers, you cannot use the Amazon Chime Business Calling product
1080// type. For numbers outside the U.S., you must use the Amazon Chime SIP Media
1081// Application Dial-In product type.
1082//
1083// Updates to outbound calling names can take up to 72 hours to complete. Pending
1084// updates to outbound calling names must be complete before you can request
1085// another update.
1086//
1087// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1088// with awserr.Error's Code and Message methods to get detailed information about
1089// the error.
1090//
1091// See the AWS API reference guide for Amazon Chime's
1092// API operation BatchUpdatePhoneNumber for usage and error information.
1093//
1094// Returned Error Types:
1095//   * UnauthorizedClientException
1096//   The client is not currently authorized to make the request.
1097//
1098//   * NotFoundException
1099//   One or more of the resources in the request does not exist in the system.
1100//
1101//   * ForbiddenException
1102//   The client is permanently forbidden from making the request.
1103//
1104//   * BadRequestException
1105//   The input parameters don't match the service's restrictions.
1106//
1107//   * ThrottledClientException
1108//   The client exceeded its request rate limit.
1109//
1110//   * ServiceUnavailableException
1111//   The service is currently unavailable.
1112//
1113//   * ServiceFailureException
1114//   The service encountered an unexpected error.
1115//
1116// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdatePhoneNumber
1117func (c *Chime) BatchUpdatePhoneNumber(input *BatchUpdatePhoneNumberInput) (*BatchUpdatePhoneNumberOutput, error) {
1118	req, out := c.BatchUpdatePhoneNumberRequest(input)
1119	return out, req.Send()
1120}
1121
1122// BatchUpdatePhoneNumberWithContext is the same as BatchUpdatePhoneNumber with the addition of
1123// the ability to pass a context and additional request options.
1124//
1125// See BatchUpdatePhoneNumber for details on how to use this API operation.
1126//
1127// The context must be non-nil and will be used for request cancellation. If
1128// the context is nil a panic will occur. In the future the SDK may create
1129// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1130// for more information on using Contexts.
1131func (c *Chime) BatchUpdatePhoneNumberWithContext(ctx aws.Context, input *BatchUpdatePhoneNumberInput, opts ...request.Option) (*BatchUpdatePhoneNumberOutput, error) {
1132	req, out := c.BatchUpdatePhoneNumberRequest(input)
1133	req.SetContext(ctx)
1134	req.ApplyOptions(opts...)
1135	return out, req.Send()
1136}
1137
1138const opBatchUpdateUser = "BatchUpdateUser"
1139
1140// BatchUpdateUserRequest generates a "aws/request.Request" representing the
1141// client's request for the BatchUpdateUser operation. The "output" return
1142// value will be populated with the request's response once the request completes
1143// successfully.
1144//
1145// Use "Send" method on the returned Request to send the API call to the service.
1146// the "output" return value is not valid until after Send returns without error.
1147//
1148// See BatchUpdateUser for more information on using the BatchUpdateUser
1149// API call, and error handling.
1150//
1151// This method is useful when you want to inject custom logic or configuration
1152// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1153//
1154//
1155//    // Example sending a request using the BatchUpdateUserRequest method.
1156//    req, resp := client.BatchUpdateUserRequest(params)
1157//
1158//    err := req.Send()
1159//    if err == nil { // resp is now filled
1160//        fmt.Println(resp)
1161//    }
1162//
1163// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdateUser
1164func (c *Chime) BatchUpdateUserRequest(input *BatchUpdateUserInput) (req *request.Request, output *BatchUpdateUserOutput) {
1165	op := &request.Operation{
1166		Name:       opBatchUpdateUser,
1167		HTTPMethod: "POST",
1168		HTTPPath:   "/accounts/{accountId}/users",
1169	}
1170
1171	if input == nil {
1172		input = &BatchUpdateUserInput{}
1173	}
1174
1175	output = &BatchUpdateUserOutput{}
1176	req = c.newRequest(op, input, output)
1177	return
1178}
1179
1180// BatchUpdateUser API operation for Amazon Chime.
1181//
1182// Updates user details within the UpdateUserRequestItem object for up to 20
1183// users for the specified Amazon Chime account. Currently, only LicenseType
1184// updates are supported for this action.
1185//
1186// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1187// with awserr.Error's Code and Message methods to get detailed information about
1188// the error.
1189//
1190// See the AWS API reference guide for Amazon Chime's
1191// API operation BatchUpdateUser for usage and error information.
1192//
1193// Returned Error Types:
1194//   * UnauthorizedClientException
1195//   The client is not currently authorized to make the request.
1196//
1197//   * NotFoundException
1198//   One or more of the resources in the request does not exist in the system.
1199//
1200//   * ForbiddenException
1201//   The client is permanently forbidden from making the request.
1202//
1203//   * BadRequestException
1204//   The input parameters don't match the service's restrictions.
1205//
1206//   * ThrottledClientException
1207//   The client exceeded its request rate limit.
1208//
1209//   * ServiceUnavailableException
1210//   The service is currently unavailable.
1211//
1212//   * ServiceFailureException
1213//   The service encountered an unexpected error.
1214//
1215// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdateUser
1216func (c *Chime) BatchUpdateUser(input *BatchUpdateUserInput) (*BatchUpdateUserOutput, error) {
1217	req, out := c.BatchUpdateUserRequest(input)
1218	return out, req.Send()
1219}
1220
1221// BatchUpdateUserWithContext is the same as BatchUpdateUser with the addition of
1222// the ability to pass a context and additional request options.
1223//
1224// See BatchUpdateUser for details on how to use this API operation.
1225//
1226// The context must be non-nil and will be used for request cancellation. If
1227// the context is nil a panic will occur. In the future the SDK may create
1228// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1229// for more information on using Contexts.
1230func (c *Chime) BatchUpdateUserWithContext(ctx aws.Context, input *BatchUpdateUserInput, opts ...request.Option) (*BatchUpdateUserOutput, error) {
1231	req, out := c.BatchUpdateUserRequest(input)
1232	req.SetContext(ctx)
1233	req.ApplyOptions(opts...)
1234	return out, req.Send()
1235}
1236
1237const opCreateAccount = "CreateAccount"
1238
1239// CreateAccountRequest generates a "aws/request.Request" representing the
1240// client's request for the CreateAccount operation. The "output" return
1241// value will be populated with the request's response once the request completes
1242// successfully.
1243//
1244// Use "Send" method on the returned Request to send the API call to the service.
1245// the "output" return value is not valid until after Send returns without error.
1246//
1247// See CreateAccount for more information on using the CreateAccount
1248// API call, and error handling.
1249//
1250// This method is useful when you want to inject custom logic or configuration
1251// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1252//
1253//
1254//    // Example sending a request using the CreateAccountRequest method.
1255//    req, resp := client.CreateAccountRequest(params)
1256//
1257//    err := req.Send()
1258//    if err == nil { // resp is now filled
1259//        fmt.Println(resp)
1260//    }
1261//
1262// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAccount
1263func (c *Chime) CreateAccountRequest(input *CreateAccountInput) (req *request.Request, output *CreateAccountOutput) {
1264	op := &request.Operation{
1265		Name:       opCreateAccount,
1266		HTTPMethod: "POST",
1267		HTTPPath:   "/accounts",
1268	}
1269
1270	if input == nil {
1271		input = &CreateAccountInput{}
1272	}
1273
1274	output = &CreateAccountOutput{}
1275	req = c.newRequest(op, input, output)
1276	return
1277}
1278
1279// CreateAccount API operation for Amazon Chime.
1280//
1281// Creates an Amazon Chime account under the administrator's AWS account. Only
1282// Team account types are currently supported for this action. For more information
1283// about different account types, see Managing Your Amazon Chime Accounts (https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html)
1284// in the Amazon Chime Administration Guide.
1285//
1286// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1287// with awserr.Error's Code and Message methods to get detailed information about
1288// the error.
1289//
1290// See the AWS API reference guide for Amazon Chime's
1291// API operation CreateAccount for usage and error information.
1292//
1293// Returned Error Types:
1294//   * UnauthorizedClientException
1295//   The client is not currently authorized to make the request.
1296//
1297//   * NotFoundException
1298//   One or more of the resources in the request does not exist in the system.
1299//
1300//   * ForbiddenException
1301//   The client is permanently forbidden from making the request.
1302//
1303//   * BadRequestException
1304//   The input parameters don't match the service's restrictions.
1305//
1306//   * ThrottledClientException
1307//   The client exceeded its request rate limit.
1308//
1309//   * ServiceUnavailableException
1310//   The service is currently unavailable.
1311//
1312//   * ServiceFailureException
1313//   The service encountered an unexpected error.
1314//
1315// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAccount
1316func (c *Chime) CreateAccount(input *CreateAccountInput) (*CreateAccountOutput, error) {
1317	req, out := c.CreateAccountRequest(input)
1318	return out, req.Send()
1319}
1320
1321// CreateAccountWithContext is the same as CreateAccount with the addition of
1322// the ability to pass a context and additional request options.
1323//
1324// See CreateAccount for details on how to use this API operation.
1325//
1326// The context must be non-nil and will be used for request cancellation. If
1327// the context is nil a panic will occur. In the future the SDK may create
1328// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1329// for more information on using Contexts.
1330func (c *Chime) CreateAccountWithContext(ctx aws.Context, input *CreateAccountInput, opts ...request.Option) (*CreateAccountOutput, error) {
1331	req, out := c.CreateAccountRequest(input)
1332	req.SetContext(ctx)
1333	req.ApplyOptions(opts...)
1334	return out, req.Send()
1335}
1336
1337const opCreateAppInstance = "CreateAppInstance"
1338
1339// CreateAppInstanceRequest generates a "aws/request.Request" representing the
1340// client's request for the CreateAppInstance operation. The "output" return
1341// value will be populated with the request's response once the request completes
1342// successfully.
1343//
1344// Use "Send" method on the returned Request to send the API call to the service.
1345// the "output" return value is not valid until after Send returns without error.
1346//
1347// See CreateAppInstance for more information on using the CreateAppInstance
1348// API call, and error handling.
1349//
1350// This method is useful when you want to inject custom logic or configuration
1351// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1352//
1353//
1354//    // Example sending a request using the CreateAppInstanceRequest method.
1355//    req, resp := client.CreateAppInstanceRequest(params)
1356//
1357//    err := req.Send()
1358//    if err == nil { // resp is now filled
1359//        fmt.Println(resp)
1360//    }
1361//
1362// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAppInstance
1363func (c *Chime) CreateAppInstanceRequest(input *CreateAppInstanceInput) (req *request.Request, output *CreateAppInstanceOutput) {
1364	op := &request.Operation{
1365		Name:       opCreateAppInstance,
1366		HTTPMethod: "POST",
1367		HTTPPath:   "/app-instances",
1368	}
1369
1370	if input == nil {
1371		input = &CreateAppInstanceInput{}
1372	}
1373
1374	output = &CreateAppInstanceOutput{}
1375	req = c.newRequest(op, input, output)
1376	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
1377	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
1378	return
1379}
1380
1381// CreateAppInstance API operation for Amazon Chime.
1382//
1383// Creates an Amazon Chime SDK messaging AppInstance under an AWS account. Only
1384// SDK messaging customers use this API. CreateAppInstance supports idempotency
1385// behavior as described in the AWS API Standard.
1386//
1387// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1388// with awserr.Error's Code and Message methods to get detailed information about
1389// the error.
1390//
1391// See the AWS API reference guide for Amazon Chime's
1392// API operation CreateAppInstance for usage and error information.
1393//
1394// Returned Error Types:
1395//   * BadRequestException
1396//   The input parameters don't match the service's restrictions.
1397//
1398//   * ConflictException
1399//   The request could not be processed because of conflict in the current state
1400//   of the resource.
1401//
1402//   * ForbiddenException
1403//   The client is permanently forbidden from making the request.
1404//
1405//   * ResourceLimitExceededException
1406//   The request exceeds the resource limit.
1407//
1408//   * ThrottledClientException
1409//   The client exceeded its request rate limit.
1410//
1411//   * UnauthorizedClientException
1412//   The client is not currently authorized to make the request.
1413//
1414//   * ServiceUnavailableException
1415//   The service is currently unavailable.
1416//
1417//   * ServiceFailureException
1418//   The service encountered an unexpected error.
1419//
1420// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAppInstance
1421func (c *Chime) CreateAppInstance(input *CreateAppInstanceInput) (*CreateAppInstanceOutput, error) {
1422	req, out := c.CreateAppInstanceRequest(input)
1423	return out, req.Send()
1424}
1425
1426// CreateAppInstanceWithContext is the same as CreateAppInstance with the addition of
1427// the ability to pass a context and additional request options.
1428//
1429// See CreateAppInstance for details on how to use this API operation.
1430//
1431// The context must be non-nil and will be used for request cancellation. If
1432// the context is nil a panic will occur. In the future the SDK may create
1433// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1434// for more information on using Contexts.
1435func (c *Chime) CreateAppInstanceWithContext(ctx aws.Context, input *CreateAppInstanceInput, opts ...request.Option) (*CreateAppInstanceOutput, error) {
1436	req, out := c.CreateAppInstanceRequest(input)
1437	req.SetContext(ctx)
1438	req.ApplyOptions(opts...)
1439	return out, req.Send()
1440}
1441
1442const opCreateAppInstanceAdmin = "CreateAppInstanceAdmin"
1443
1444// CreateAppInstanceAdminRequest generates a "aws/request.Request" representing the
1445// client's request for the CreateAppInstanceAdmin operation. The "output" return
1446// value will be populated with the request's response once the request completes
1447// successfully.
1448//
1449// Use "Send" method on the returned Request to send the API call to the service.
1450// the "output" return value is not valid until after Send returns without error.
1451//
1452// See CreateAppInstanceAdmin for more information on using the CreateAppInstanceAdmin
1453// API call, and error handling.
1454//
1455// This method is useful when you want to inject custom logic or configuration
1456// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1457//
1458//
1459//    // Example sending a request using the CreateAppInstanceAdminRequest method.
1460//    req, resp := client.CreateAppInstanceAdminRequest(params)
1461//
1462//    err := req.Send()
1463//    if err == nil { // resp is now filled
1464//        fmt.Println(resp)
1465//    }
1466//
1467// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAppInstanceAdmin
1468func (c *Chime) CreateAppInstanceAdminRequest(input *CreateAppInstanceAdminInput) (req *request.Request, output *CreateAppInstanceAdminOutput) {
1469	op := &request.Operation{
1470		Name:       opCreateAppInstanceAdmin,
1471		HTTPMethod: "POST",
1472		HTTPPath:   "/app-instances/{appInstanceArn}/admins",
1473	}
1474
1475	if input == nil {
1476		input = &CreateAppInstanceAdminInput{}
1477	}
1478
1479	output = &CreateAppInstanceAdminOutput{}
1480	req = c.newRequest(op, input, output)
1481	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
1482	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
1483	return
1484}
1485
1486// CreateAppInstanceAdmin API operation for Amazon Chime.
1487//
1488// Promotes an AppInstanceUser to an AppInstanceAdmin. The promoted user can
1489// perform the following actions.
1490//
1491//    * ChannelModerator actions across all channels in the AppInstance.
1492//
1493//    * DeleteChannelMessage actions.
1494//
1495// Only an AppInstanceUser can be promoted to an AppInstanceAdmin role.
1496//
1497// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1498// with awserr.Error's Code and Message methods to get detailed information about
1499// the error.
1500//
1501// See the AWS API reference guide for Amazon Chime's
1502// API operation CreateAppInstanceAdmin for usage and error information.
1503//
1504// Returned Error Types:
1505//   * BadRequestException
1506//   The input parameters don't match the service's restrictions.
1507//
1508//   * ConflictException
1509//   The request could not be processed because of conflict in the current state
1510//   of the resource.
1511//
1512//   * ForbiddenException
1513//   The client is permanently forbidden from making the request.
1514//
1515//   * ResourceLimitExceededException
1516//   The request exceeds the resource limit.
1517//
1518//   * ThrottledClientException
1519//   The client exceeded its request rate limit.
1520//
1521//   * UnauthorizedClientException
1522//   The client is not currently authorized to make the request.
1523//
1524//   * ServiceUnavailableException
1525//   The service is currently unavailable.
1526//
1527//   * ServiceFailureException
1528//   The service encountered an unexpected error.
1529//
1530// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAppInstanceAdmin
1531func (c *Chime) CreateAppInstanceAdmin(input *CreateAppInstanceAdminInput) (*CreateAppInstanceAdminOutput, error) {
1532	req, out := c.CreateAppInstanceAdminRequest(input)
1533	return out, req.Send()
1534}
1535
1536// CreateAppInstanceAdminWithContext is the same as CreateAppInstanceAdmin with the addition of
1537// the ability to pass a context and additional request options.
1538//
1539// See CreateAppInstanceAdmin for details on how to use this API operation.
1540//
1541// The context must be non-nil and will be used for request cancellation. If
1542// the context is nil a panic will occur. In the future the SDK may create
1543// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1544// for more information on using Contexts.
1545func (c *Chime) CreateAppInstanceAdminWithContext(ctx aws.Context, input *CreateAppInstanceAdminInput, opts ...request.Option) (*CreateAppInstanceAdminOutput, error) {
1546	req, out := c.CreateAppInstanceAdminRequest(input)
1547	req.SetContext(ctx)
1548	req.ApplyOptions(opts...)
1549	return out, req.Send()
1550}
1551
1552const opCreateAppInstanceUser = "CreateAppInstanceUser"
1553
1554// CreateAppInstanceUserRequest generates a "aws/request.Request" representing the
1555// client's request for the CreateAppInstanceUser operation. The "output" return
1556// value will be populated with the request's response once the request completes
1557// successfully.
1558//
1559// Use "Send" method on the returned Request to send the API call to the service.
1560// the "output" return value is not valid until after Send returns without error.
1561//
1562// See CreateAppInstanceUser for more information on using the CreateAppInstanceUser
1563// API call, and error handling.
1564//
1565// This method is useful when you want to inject custom logic or configuration
1566// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1567//
1568//
1569//    // Example sending a request using the CreateAppInstanceUserRequest method.
1570//    req, resp := client.CreateAppInstanceUserRequest(params)
1571//
1572//    err := req.Send()
1573//    if err == nil { // resp is now filled
1574//        fmt.Println(resp)
1575//    }
1576//
1577// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAppInstanceUser
1578func (c *Chime) CreateAppInstanceUserRequest(input *CreateAppInstanceUserInput) (req *request.Request, output *CreateAppInstanceUserOutput) {
1579	op := &request.Operation{
1580		Name:       opCreateAppInstanceUser,
1581		HTTPMethod: "POST",
1582		HTTPPath:   "/app-instance-users",
1583	}
1584
1585	if input == nil {
1586		input = &CreateAppInstanceUserInput{}
1587	}
1588
1589	output = &CreateAppInstanceUserOutput{}
1590	req = c.newRequest(op, input, output)
1591	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
1592	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
1593	return
1594}
1595
1596// CreateAppInstanceUser API operation for Amazon Chime.
1597//
1598// Creates a user under an Amazon Chime AppInstance. The request consists of
1599// a unique appInstanceUserId and Name for that user.
1600//
1601// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1602// with awserr.Error's Code and Message methods to get detailed information about
1603// the error.
1604//
1605// See the AWS API reference guide for Amazon Chime's
1606// API operation CreateAppInstanceUser for usage and error information.
1607//
1608// Returned Error Types:
1609//   * BadRequestException
1610//   The input parameters don't match the service's restrictions.
1611//
1612//   * ConflictException
1613//   The request could not be processed because of conflict in the current state
1614//   of the resource.
1615//
1616//   * ForbiddenException
1617//   The client is permanently forbidden from making the request.
1618//
1619//   * ResourceLimitExceededException
1620//   The request exceeds the resource limit.
1621//
1622//   * ThrottledClientException
1623//   The client exceeded its request rate limit.
1624//
1625//   * UnauthorizedClientException
1626//   The client is not currently authorized to make the request.
1627//
1628//   * ServiceUnavailableException
1629//   The service is currently unavailable.
1630//
1631//   * ServiceFailureException
1632//   The service encountered an unexpected error.
1633//
1634// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAppInstanceUser
1635func (c *Chime) CreateAppInstanceUser(input *CreateAppInstanceUserInput) (*CreateAppInstanceUserOutput, error) {
1636	req, out := c.CreateAppInstanceUserRequest(input)
1637	return out, req.Send()
1638}
1639
1640// CreateAppInstanceUserWithContext is the same as CreateAppInstanceUser with the addition of
1641// the ability to pass a context and additional request options.
1642//
1643// See CreateAppInstanceUser for details on how to use this API operation.
1644//
1645// The context must be non-nil and will be used for request cancellation. If
1646// the context is nil a panic will occur. In the future the SDK may create
1647// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1648// for more information on using Contexts.
1649func (c *Chime) CreateAppInstanceUserWithContext(ctx aws.Context, input *CreateAppInstanceUserInput, opts ...request.Option) (*CreateAppInstanceUserOutput, error) {
1650	req, out := c.CreateAppInstanceUserRequest(input)
1651	req.SetContext(ctx)
1652	req.ApplyOptions(opts...)
1653	return out, req.Send()
1654}
1655
1656const opCreateAttendee = "CreateAttendee"
1657
1658// CreateAttendeeRequest generates a "aws/request.Request" representing the
1659// client's request for the CreateAttendee operation. The "output" return
1660// value will be populated with the request's response once the request completes
1661// successfully.
1662//
1663// Use "Send" method on the returned Request to send the API call to the service.
1664// the "output" return value is not valid until after Send returns without error.
1665//
1666// See CreateAttendee for more information on using the CreateAttendee
1667// API call, and error handling.
1668//
1669// This method is useful when you want to inject custom logic or configuration
1670// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1671//
1672//
1673//    // Example sending a request using the CreateAttendeeRequest method.
1674//    req, resp := client.CreateAttendeeRequest(params)
1675//
1676//    err := req.Send()
1677//    if err == nil { // resp is now filled
1678//        fmt.Println(resp)
1679//    }
1680//
1681// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAttendee
1682func (c *Chime) CreateAttendeeRequest(input *CreateAttendeeInput) (req *request.Request, output *CreateAttendeeOutput) {
1683	op := &request.Operation{
1684		Name:       opCreateAttendee,
1685		HTTPMethod: "POST",
1686		HTTPPath:   "/meetings/{meetingId}/attendees",
1687	}
1688
1689	if input == nil {
1690		input = &CreateAttendeeInput{}
1691	}
1692
1693	output = &CreateAttendeeOutput{}
1694	req = c.newRequest(op, input, output)
1695	return
1696}
1697
1698// CreateAttendee API operation for Amazon Chime.
1699//
1700// Creates a new attendee for an active Amazon Chime SDK meeting. For more information
1701// about the Amazon Chime SDK, see Using the Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
1702// in the Amazon Chime Developer Guide.
1703//
1704// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1705// with awserr.Error's Code and Message methods to get detailed information about
1706// the error.
1707//
1708// See the AWS API reference guide for Amazon Chime's
1709// API operation CreateAttendee for usage and error information.
1710//
1711// Returned Error Types:
1712//   * BadRequestException
1713//   The input parameters don't match the service's restrictions.
1714//
1715//   * ForbiddenException
1716//   The client is permanently forbidden from making the request.
1717//
1718//   * NotFoundException
1719//   One or more of the resources in the request does not exist in the system.
1720//
1721//   * ResourceLimitExceededException
1722//   The request exceeds the resource limit.
1723//
1724//   * ThrottledClientException
1725//   The client exceeded its request rate limit.
1726//
1727//   * UnauthorizedClientException
1728//   The client is not currently authorized to make the request.
1729//
1730//   * ServiceUnavailableException
1731//   The service is currently unavailable.
1732//
1733//   * ServiceFailureException
1734//   The service encountered an unexpected error.
1735//
1736// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAttendee
1737func (c *Chime) CreateAttendee(input *CreateAttendeeInput) (*CreateAttendeeOutput, error) {
1738	req, out := c.CreateAttendeeRequest(input)
1739	return out, req.Send()
1740}
1741
1742// CreateAttendeeWithContext is the same as CreateAttendee with the addition of
1743// the ability to pass a context and additional request options.
1744//
1745// See CreateAttendee for details on how to use this API operation.
1746//
1747// The context must be non-nil and will be used for request cancellation. If
1748// the context is nil a panic will occur. In the future the SDK may create
1749// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1750// for more information on using Contexts.
1751func (c *Chime) CreateAttendeeWithContext(ctx aws.Context, input *CreateAttendeeInput, opts ...request.Option) (*CreateAttendeeOutput, error) {
1752	req, out := c.CreateAttendeeRequest(input)
1753	req.SetContext(ctx)
1754	req.ApplyOptions(opts...)
1755	return out, req.Send()
1756}
1757
1758const opCreateBot = "CreateBot"
1759
1760// CreateBotRequest generates a "aws/request.Request" representing the
1761// client's request for the CreateBot operation. The "output" return
1762// value will be populated with the request's response once the request completes
1763// successfully.
1764//
1765// Use "Send" method on the returned Request to send the API call to the service.
1766// the "output" return value is not valid until after Send returns without error.
1767//
1768// See CreateBot for more information on using the CreateBot
1769// API call, and error handling.
1770//
1771// This method is useful when you want to inject custom logic or configuration
1772// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1773//
1774//
1775//    // Example sending a request using the CreateBotRequest method.
1776//    req, resp := client.CreateBotRequest(params)
1777//
1778//    err := req.Send()
1779//    if err == nil { // resp is now filled
1780//        fmt.Println(resp)
1781//    }
1782//
1783// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateBot
1784func (c *Chime) CreateBotRequest(input *CreateBotInput) (req *request.Request, output *CreateBotOutput) {
1785	op := &request.Operation{
1786		Name:       opCreateBot,
1787		HTTPMethod: "POST",
1788		HTTPPath:   "/accounts/{accountId}/bots",
1789	}
1790
1791	if input == nil {
1792		input = &CreateBotInput{}
1793	}
1794
1795	output = &CreateBotOutput{}
1796	req = c.newRequest(op, input, output)
1797	return
1798}
1799
1800// CreateBot API operation for Amazon Chime.
1801//
1802// Creates a bot for an Amazon Chime Enterprise account.
1803//
1804// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1805// with awserr.Error's Code and Message methods to get detailed information about
1806// the error.
1807//
1808// See the AWS API reference guide for Amazon Chime's
1809// API operation CreateBot for usage and error information.
1810//
1811// Returned Error Types:
1812//   * ServiceUnavailableException
1813//   The service is currently unavailable.
1814//
1815//   * ServiceFailureException
1816//   The service encountered an unexpected error.
1817//
1818//   * ForbiddenException
1819//   The client is permanently forbidden from making the request.
1820//
1821//   * BadRequestException
1822//   The input parameters don't match the service's restrictions.
1823//
1824//   * UnauthorizedClientException
1825//   The client is not currently authorized to make the request.
1826//
1827//   * ResourceLimitExceededException
1828//   The request exceeds the resource limit.
1829//
1830//   * NotFoundException
1831//   One or more of the resources in the request does not exist in the system.
1832//
1833//   * ThrottledClientException
1834//   The client exceeded its request rate limit.
1835//
1836// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateBot
1837func (c *Chime) CreateBot(input *CreateBotInput) (*CreateBotOutput, error) {
1838	req, out := c.CreateBotRequest(input)
1839	return out, req.Send()
1840}
1841
1842// CreateBotWithContext is the same as CreateBot with the addition of
1843// the ability to pass a context and additional request options.
1844//
1845// See CreateBot for details on how to use this API operation.
1846//
1847// The context must be non-nil and will be used for request cancellation. If
1848// the context is nil a panic will occur. In the future the SDK may create
1849// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1850// for more information on using Contexts.
1851func (c *Chime) CreateBotWithContext(ctx aws.Context, input *CreateBotInput, opts ...request.Option) (*CreateBotOutput, error) {
1852	req, out := c.CreateBotRequest(input)
1853	req.SetContext(ctx)
1854	req.ApplyOptions(opts...)
1855	return out, req.Send()
1856}
1857
1858const opCreateChannel = "CreateChannel"
1859
1860// CreateChannelRequest generates a "aws/request.Request" representing the
1861// client's request for the CreateChannel operation. The "output" return
1862// value will be populated with the request's response once the request completes
1863// successfully.
1864//
1865// Use "Send" method on the returned Request to send the API call to the service.
1866// the "output" return value is not valid until after Send returns without error.
1867//
1868// See CreateChannel for more information on using the CreateChannel
1869// API call, and error handling.
1870//
1871// This method is useful when you want to inject custom logic or configuration
1872// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1873//
1874//
1875//    // Example sending a request using the CreateChannelRequest method.
1876//    req, resp := client.CreateChannelRequest(params)
1877//
1878//    err := req.Send()
1879//    if err == nil { // resp is now filled
1880//        fmt.Println(resp)
1881//    }
1882//
1883// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannel
1884func (c *Chime) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput) {
1885	op := &request.Operation{
1886		Name:       opCreateChannel,
1887		HTTPMethod: "POST",
1888		HTTPPath:   "/channels",
1889	}
1890
1891	if input == nil {
1892		input = &CreateChannelInput{}
1893	}
1894
1895	output = &CreateChannelOutput{}
1896	req = c.newRequest(op, input, output)
1897	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
1898	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
1899	return
1900}
1901
1902// CreateChannel API operation for Amazon Chime.
1903//
1904// Creates a channel to which you can add users and send messages.
1905//
1906// Restriction: You can't change a channel's privacy.
1907//
1908// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
1909// of the user that makes the API call as the value in the header.
1910//
1911// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1912// with awserr.Error's Code and Message methods to get detailed information about
1913// the error.
1914//
1915// See the AWS API reference guide for Amazon Chime's
1916// API operation CreateChannel for usage and error information.
1917//
1918// Returned Error Types:
1919//   * BadRequestException
1920//   The input parameters don't match the service's restrictions.
1921//
1922//   * ForbiddenException
1923//   The client is permanently forbidden from making the request.
1924//
1925//   * UnauthorizedClientException
1926//   The client is not currently authorized to make the request.
1927//
1928//   * ConflictException
1929//   The request could not be processed because of conflict in the current state
1930//   of the resource.
1931//
1932//   * ResourceLimitExceededException
1933//   The request exceeds the resource limit.
1934//
1935//   * ThrottledClientException
1936//   The client exceeded its request rate limit.
1937//
1938//   * ServiceUnavailableException
1939//   The service is currently unavailable.
1940//
1941//   * ServiceFailureException
1942//   The service encountered an unexpected error.
1943//
1944// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannel
1945func (c *Chime) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error) {
1946	req, out := c.CreateChannelRequest(input)
1947	return out, req.Send()
1948}
1949
1950// CreateChannelWithContext is the same as CreateChannel with the addition of
1951// the ability to pass a context and additional request options.
1952//
1953// See CreateChannel for details on how to use this API operation.
1954//
1955// The context must be non-nil and will be used for request cancellation. If
1956// the context is nil a panic will occur. In the future the SDK may create
1957// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1958// for more information on using Contexts.
1959func (c *Chime) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error) {
1960	req, out := c.CreateChannelRequest(input)
1961	req.SetContext(ctx)
1962	req.ApplyOptions(opts...)
1963	return out, req.Send()
1964}
1965
1966const opCreateChannelBan = "CreateChannelBan"
1967
1968// CreateChannelBanRequest generates a "aws/request.Request" representing the
1969// client's request for the CreateChannelBan operation. The "output" return
1970// value will be populated with the request's response once the request completes
1971// successfully.
1972//
1973// Use "Send" method on the returned Request to send the API call to the service.
1974// the "output" return value is not valid until after Send returns without error.
1975//
1976// See CreateChannelBan for more information on using the CreateChannelBan
1977// API call, and error handling.
1978//
1979// This method is useful when you want to inject custom logic or configuration
1980// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1981//
1982//
1983//    // Example sending a request using the CreateChannelBanRequest method.
1984//    req, resp := client.CreateChannelBanRequest(params)
1985//
1986//    err := req.Send()
1987//    if err == nil { // resp is now filled
1988//        fmt.Println(resp)
1989//    }
1990//
1991// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannelBan
1992func (c *Chime) CreateChannelBanRequest(input *CreateChannelBanInput) (req *request.Request, output *CreateChannelBanOutput) {
1993	op := &request.Operation{
1994		Name:       opCreateChannelBan,
1995		HTTPMethod: "POST",
1996		HTTPPath:   "/channels/{channelArn}/bans",
1997	}
1998
1999	if input == nil {
2000		input = &CreateChannelBanInput{}
2001	}
2002
2003	output = &CreateChannelBanOutput{}
2004	req = c.newRequest(op, input, output)
2005	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
2006	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
2007	return
2008}
2009
2010// CreateChannelBan API operation for Amazon Chime.
2011//
2012// Permanently bans a member from a channel. Moderators can't add banned members
2013// to a channel. To undo a ban, you first have to DeleteChannelBan, and then
2014// CreateChannelMembership. Bans are cleaned up when you delete users or channels.
2015//
2016// If you ban a user who is already part of a channel, that user is automatically
2017// kicked from the channel.
2018//
2019// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
2020// of the user that makes the API call as the value in the header.
2021//
2022// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2023// with awserr.Error's Code and Message methods to get detailed information about
2024// the error.
2025//
2026// See the AWS API reference guide for Amazon Chime's
2027// API operation CreateChannelBan for usage and error information.
2028//
2029// Returned Error Types:
2030//   * BadRequestException
2031//   The input parameters don't match the service's restrictions.
2032//
2033//   * ForbiddenException
2034//   The client is permanently forbidden from making the request.
2035//
2036//   * UnauthorizedClientException
2037//   The client is not currently authorized to make the request.
2038//
2039//   * ConflictException
2040//   The request could not be processed because of conflict in the current state
2041//   of the resource.
2042//
2043//   * ResourceLimitExceededException
2044//   The request exceeds the resource limit.
2045//
2046//   * ThrottledClientException
2047//   The client exceeded its request rate limit.
2048//
2049//   * ServiceUnavailableException
2050//   The service is currently unavailable.
2051//
2052//   * ServiceFailureException
2053//   The service encountered an unexpected error.
2054//
2055// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannelBan
2056func (c *Chime) CreateChannelBan(input *CreateChannelBanInput) (*CreateChannelBanOutput, error) {
2057	req, out := c.CreateChannelBanRequest(input)
2058	return out, req.Send()
2059}
2060
2061// CreateChannelBanWithContext is the same as CreateChannelBan with the addition of
2062// the ability to pass a context and additional request options.
2063//
2064// See CreateChannelBan for details on how to use this API operation.
2065//
2066// The context must be non-nil and will be used for request cancellation. If
2067// the context is nil a panic will occur. In the future the SDK may create
2068// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2069// for more information on using Contexts.
2070func (c *Chime) CreateChannelBanWithContext(ctx aws.Context, input *CreateChannelBanInput, opts ...request.Option) (*CreateChannelBanOutput, error) {
2071	req, out := c.CreateChannelBanRequest(input)
2072	req.SetContext(ctx)
2073	req.ApplyOptions(opts...)
2074	return out, req.Send()
2075}
2076
2077const opCreateChannelMembership = "CreateChannelMembership"
2078
2079// CreateChannelMembershipRequest generates a "aws/request.Request" representing the
2080// client's request for the CreateChannelMembership operation. The "output" return
2081// value will be populated with the request's response once the request completes
2082// successfully.
2083//
2084// Use "Send" method on the returned Request to send the API call to the service.
2085// the "output" return value is not valid until after Send returns without error.
2086//
2087// See CreateChannelMembership for more information on using the CreateChannelMembership
2088// API call, and error handling.
2089//
2090// This method is useful when you want to inject custom logic or configuration
2091// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2092//
2093//
2094//    // Example sending a request using the CreateChannelMembershipRequest method.
2095//    req, resp := client.CreateChannelMembershipRequest(params)
2096//
2097//    err := req.Send()
2098//    if err == nil { // resp is now filled
2099//        fmt.Println(resp)
2100//    }
2101//
2102// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannelMembership
2103func (c *Chime) CreateChannelMembershipRequest(input *CreateChannelMembershipInput) (req *request.Request, output *CreateChannelMembershipOutput) {
2104	op := &request.Operation{
2105		Name:       opCreateChannelMembership,
2106		HTTPMethod: "POST",
2107		HTTPPath:   "/channels/{channelArn}/memberships",
2108	}
2109
2110	if input == nil {
2111		input = &CreateChannelMembershipInput{}
2112	}
2113
2114	output = &CreateChannelMembershipOutput{}
2115	req = c.newRequest(op, input, output)
2116	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
2117	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
2118	return
2119}
2120
2121// CreateChannelMembership API operation for Amazon Chime.
2122//
2123// Adds a user to a channel. The InvitedBy response field is derived from the
2124// request header. A channel member can:
2125//
2126//    * List messages
2127//
2128//    * Send messages
2129//
2130//    * Receive messages
2131//
2132//    * Edit their own messages
2133//
2134//    * Leave the channel
2135//
2136// Privacy settings impact this action as follows:
2137//
2138//    * Public Channels: You do not need to be a member to list messages, but
2139//    you must be a member to send messages.
2140//
2141//    * Private Channels: You must be a member to list or send messages.
2142//
2143// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
2144// of the user that makes the API call as the value in the header.
2145//
2146// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2147// with awserr.Error's Code and Message methods to get detailed information about
2148// the error.
2149//
2150// See the AWS API reference guide for Amazon Chime's
2151// API operation CreateChannelMembership for usage and error information.
2152//
2153// Returned Error Types:
2154//   * BadRequestException
2155//   The input parameters don't match the service's restrictions.
2156//
2157//   * ForbiddenException
2158//   The client is permanently forbidden from making the request.
2159//
2160//   * UnauthorizedClientException
2161//   The client is not currently authorized to make the request.
2162//
2163//   * ConflictException
2164//   The request could not be processed because of conflict in the current state
2165//   of the resource.
2166//
2167//   * ResourceLimitExceededException
2168//   The request exceeds the resource limit.
2169//
2170//   * ThrottledClientException
2171//   The client exceeded its request rate limit.
2172//
2173//   * ServiceUnavailableException
2174//   The service is currently unavailable.
2175//
2176//   * ServiceFailureException
2177//   The service encountered an unexpected error.
2178//
2179// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannelMembership
2180func (c *Chime) CreateChannelMembership(input *CreateChannelMembershipInput) (*CreateChannelMembershipOutput, error) {
2181	req, out := c.CreateChannelMembershipRequest(input)
2182	return out, req.Send()
2183}
2184
2185// CreateChannelMembershipWithContext is the same as CreateChannelMembership with the addition of
2186// the ability to pass a context and additional request options.
2187//
2188// See CreateChannelMembership for details on how to use this API operation.
2189//
2190// The context must be non-nil and will be used for request cancellation. If
2191// the context is nil a panic will occur. In the future the SDK may create
2192// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2193// for more information on using Contexts.
2194func (c *Chime) CreateChannelMembershipWithContext(ctx aws.Context, input *CreateChannelMembershipInput, opts ...request.Option) (*CreateChannelMembershipOutput, error) {
2195	req, out := c.CreateChannelMembershipRequest(input)
2196	req.SetContext(ctx)
2197	req.ApplyOptions(opts...)
2198	return out, req.Send()
2199}
2200
2201const opCreateChannelModerator = "CreateChannelModerator"
2202
2203// CreateChannelModeratorRequest generates a "aws/request.Request" representing the
2204// client's request for the CreateChannelModerator operation. The "output" return
2205// value will be populated with the request's response once the request completes
2206// successfully.
2207//
2208// Use "Send" method on the returned Request to send the API call to the service.
2209// the "output" return value is not valid until after Send returns without error.
2210//
2211// See CreateChannelModerator for more information on using the CreateChannelModerator
2212// API call, and error handling.
2213//
2214// This method is useful when you want to inject custom logic or configuration
2215// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2216//
2217//
2218//    // Example sending a request using the CreateChannelModeratorRequest method.
2219//    req, resp := client.CreateChannelModeratorRequest(params)
2220//
2221//    err := req.Send()
2222//    if err == nil { // resp is now filled
2223//        fmt.Println(resp)
2224//    }
2225//
2226// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannelModerator
2227func (c *Chime) CreateChannelModeratorRequest(input *CreateChannelModeratorInput) (req *request.Request, output *CreateChannelModeratorOutput) {
2228	op := &request.Operation{
2229		Name:       opCreateChannelModerator,
2230		HTTPMethod: "POST",
2231		HTTPPath:   "/channels/{channelArn}/moderators",
2232	}
2233
2234	if input == nil {
2235		input = &CreateChannelModeratorInput{}
2236	}
2237
2238	output = &CreateChannelModeratorOutput{}
2239	req = c.newRequest(op, input, output)
2240	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
2241	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
2242	return
2243}
2244
2245// CreateChannelModerator API operation for Amazon Chime.
2246//
2247// Creates a new ChannelModerator. A channel moderator can:
2248//
2249//    * Add and remove other members of the channel.
2250//
2251//    * Add and remove other moderators of the channel.
2252//
2253//    * Add and remove user bans for the channel.
2254//
2255//    * Redact messages in the channel.
2256//
2257//    * List messages in the channel.
2258//
2259// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
2260// of the user that makes the API call as the value in the header.
2261//
2262// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2263// with awserr.Error's Code and Message methods to get detailed information about
2264// the error.
2265//
2266// See the AWS API reference guide for Amazon Chime's
2267// API operation CreateChannelModerator for usage and error information.
2268//
2269// Returned Error Types:
2270//   * BadRequestException
2271//   The input parameters don't match the service's restrictions.
2272//
2273//   * ForbiddenException
2274//   The client is permanently forbidden from making the request.
2275//
2276//   * UnauthorizedClientException
2277//   The client is not currently authorized to make the request.
2278//
2279//   * ConflictException
2280//   The request could not be processed because of conflict in the current state
2281//   of the resource.
2282//
2283//   * ResourceLimitExceededException
2284//   The request exceeds the resource limit.
2285//
2286//   * ThrottledClientException
2287//   The client exceeded its request rate limit.
2288//
2289//   * ServiceUnavailableException
2290//   The service is currently unavailable.
2291//
2292//   * ServiceFailureException
2293//   The service encountered an unexpected error.
2294//
2295// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannelModerator
2296func (c *Chime) CreateChannelModerator(input *CreateChannelModeratorInput) (*CreateChannelModeratorOutput, error) {
2297	req, out := c.CreateChannelModeratorRequest(input)
2298	return out, req.Send()
2299}
2300
2301// CreateChannelModeratorWithContext is the same as CreateChannelModerator with the addition of
2302// the ability to pass a context and additional request options.
2303//
2304// See CreateChannelModerator for details on how to use this API operation.
2305//
2306// The context must be non-nil and will be used for request cancellation. If
2307// the context is nil a panic will occur. In the future the SDK may create
2308// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2309// for more information on using Contexts.
2310func (c *Chime) CreateChannelModeratorWithContext(ctx aws.Context, input *CreateChannelModeratorInput, opts ...request.Option) (*CreateChannelModeratorOutput, error) {
2311	req, out := c.CreateChannelModeratorRequest(input)
2312	req.SetContext(ctx)
2313	req.ApplyOptions(opts...)
2314	return out, req.Send()
2315}
2316
2317const opCreateMeeting = "CreateMeeting"
2318
2319// CreateMeetingRequest generates a "aws/request.Request" representing the
2320// client's request for the CreateMeeting operation. The "output" return
2321// value will be populated with the request's response once the request completes
2322// successfully.
2323//
2324// Use "Send" method on the returned Request to send the API call to the service.
2325// the "output" return value is not valid until after Send returns without error.
2326//
2327// See CreateMeeting for more information on using the CreateMeeting
2328// API call, and error handling.
2329//
2330// This method is useful when you want to inject custom logic or configuration
2331// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2332//
2333//
2334//    // Example sending a request using the CreateMeetingRequest method.
2335//    req, resp := client.CreateMeetingRequest(params)
2336//
2337//    err := req.Send()
2338//    if err == nil { // resp is now filled
2339//        fmt.Println(resp)
2340//    }
2341//
2342// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeeting
2343func (c *Chime) CreateMeetingRequest(input *CreateMeetingInput) (req *request.Request, output *CreateMeetingOutput) {
2344	op := &request.Operation{
2345		Name:       opCreateMeeting,
2346		HTTPMethod: "POST",
2347		HTTPPath:   "/meetings",
2348	}
2349
2350	if input == nil {
2351		input = &CreateMeetingInput{}
2352	}
2353
2354	output = &CreateMeetingOutput{}
2355	req = c.newRequest(op, input, output)
2356	return
2357}
2358
2359// CreateMeeting API operation for Amazon Chime.
2360//
2361// Creates a new Amazon Chime SDK meeting in the specified media Region with
2362// no initial attendees. For more information about specifying media Regions,
2363// see Amazon Chime SDK Media Regions (https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html)
2364// in the Amazon Chime Developer Guide . For more information about the Amazon
2365// Chime SDK, see Using the Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
2366// in the Amazon Chime Developer Guide .
2367//
2368// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2369// with awserr.Error's Code and Message methods to get detailed information about
2370// the error.
2371//
2372// See the AWS API reference guide for Amazon Chime's
2373// API operation CreateMeeting for usage and error information.
2374//
2375// Returned Error Types:
2376//   * BadRequestException
2377//   The input parameters don't match the service's restrictions.
2378//
2379//   * ForbiddenException
2380//   The client is permanently forbidden from making the request.
2381//
2382//   * ResourceLimitExceededException
2383//   The request exceeds the resource limit.
2384//
2385//   * ThrottledClientException
2386//   The client exceeded its request rate limit.
2387//
2388//   * UnauthorizedClientException
2389//   The client is not currently authorized to make the request.
2390//
2391//   * ServiceUnavailableException
2392//   The service is currently unavailable.
2393//
2394//   * ServiceFailureException
2395//   The service encountered an unexpected error.
2396//
2397// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeeting
2398func (c *Chime) CreateMeeting(input *CreateMeetingInput) (*CreateMeetingOutput, error) {
2399	req, out := c.CreateMeetingRequest(input)
2400	return out, req.Send()
2401}
2402
2403// CreateMeetingWithContext is the same as CreateMeeting with the addition of
2404// the ability to pass a context and additional request options.
2405//
2406// See CreateMeeting for details on how to use this API operation.
2407//
2408// The context must be non-nil and will be used for request cancellation. If
2409// the context is nil a panic will occur. In the future the SDK may create
2410// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2411// for more information on using Contexts.
2412func (c *Chime) CreateMeetingWithContext(ctx aws.Context, input *CreateMeetingInput, opts ...request.Option) (*CreateMeetingOutput, error) {
2413	req, out := c.CreateMeetingRequest(input)
2414	req.SetContext(ctx)
2415	req.ApplyOptions(opts...)
2416	return out, req.Send()
2417}
2418
2419const opCreateMeetingDialOut = "CreateMeetingDialOut"
2420
2421// CreateMeetingDialOutRequest generates a "aws/request.Request" representing the
2422// client's request for the CreateMeetingDialOut operation. The "output" return
2423// value will be populated with the request's response once the request completes
2424// successfully.
2425//
2426// Use "Send" method on the returned Request to send the API call to the service.
2427// the "output" return value is not valid until after Send returns without error.
2428//
2429// See CreateMeetingDialOut for more information on using the CreateMeetingDialOut
2430// API call, and error handling.
2431//
2432// This method is useful when you want to inject custom logic or configuration
2433// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2434//
2435//
2436//    // Example sending a request using the CreateMeetingDialOutRequest method.
2437//    req, resp := client.CreateMeetingDialOutRequest(params)
2438//
2439//    err := req.Send()
2440//    if err == nil { // resp is now filled
2441//        fmt.Println(resp)
2442//    }
2443//
2444// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingDialOut
2445func (c *Chime) CreateMeetingDialOutRequest(input *CreateMeetingDialOutInput) (req *request.Request, output *CreateMeetingDialOutOutput) {
2446	op := &request.Operation{
2447		Name:       opCreateMeetingDialOut,
2448		HTTPMethod: "POST",
2449		HTTPPath:   "/meetings/{meetingId}/dial-outs",
2450	}
2451
2452	if input == nil {
2453		input = &CreateMeetingDialOutInput{}
2454	}
2455
2456	output = &CreateMeetingDialOutOutput{}
2457	req = c.newRequest(op, input, output)
2458	return
2459}
2460
2461// CreateMeetingDialOut API operation for Amazon Chime.
2462//
2463// Uses the join token and call metadata in a meeting request (From number,
2464// To number, and so forth) to initiate an outbound call to a public switched
2465// telephone network (PSTN) and join them into a Chime meeting. Also ensures
2466// that the From number belongs to the customer.
2467//
2468// To play welcome audio or implement an interactive voice response (IVR), use
2469// the CreateSipMediaApplicationCall action with the corresponding SIP media
2470// application ID.
2471//
2472// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2473// with awserr.Error's Code and Message methods to get detailed information about
2474// the error.
2475//
2476// See the AWS API reference guide for Amazon Chime's
2477// API operation CreateMeetingDialOut for usage and error information.
2478//
2479// Returned Error Types:
2480//   * BadRequestException
2481//   The input parameters don't match the service's restrictions.
2482//
2483//   * ForbiddenException
2484//   The client is permanently forbidden from making the request.
2485//
2486//   * ResourceLimitExceededException
2487//   The request exceeds the resource limit.
2488//
2489//   * ThrottledClientException
2490//   The client exceeded its request rate limit.
2491//
2492//   * UnauthorizedClientException
2493//   The client is not currently authorized to make the request.
2494//
2495//   * ServiceUnavailableException
2496//   The service is currently unavailable.
2497//
2498//   * ServiceFailureException
2499//   The service encountered an unexpected error.
2500//
2501// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingDialOut
2502func (c *Chime) CreateMeetingDialOut(input *CreateMeetingDialOutInput) (*CreateMeetingDialOutOutput, error) {
2503	req, out := c.CreateMeetingDialOutRequest(input)
2504	return out, req.Send()
2505}
2506
2507// CreateMeetingDialOutWithContext is the same as CreateMeetingDialOut with the addition of
2508// the ability to pass a context and additional request options.
2509//
2510// See CreateMeetingDialOut for details on how to use this API operation.
2511//
2512// The context must be non-nil and will be used for request cancellation. If
2513// the context is nil a panic will occur. In the future the SDK may create
2514// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2515// for more information on using Contexts.
2516func (c *Chime) CreateMeetingDialOutWithContext(ctx aws.Context, input *CreateMeetingDialOutInput, opts ...request.Option) (*CreateMeetingDialOutOutput, error) {
2517	req, out := c.CreateMeetingDialOutRequest(input)
2518	req.SetContext(ctx)
2519	req.ApplyOptions(opts...)
2520	return out, req.Send()
2521}
2522
2523const opCreateMeetingWithAttendees = "CreateMeetingWithAttendees"
2524
2525// CreateMeetingWithAttendeesRequest generates a "aws/request.Request" representing the
2526// client's request for the CreateMeetingWithAttendees operation. The "output" return
2527// value will be populated with the request's response once the request completes
2528// successfully.
2529//
2530// Use "Send" method on the returned Request to send the API call to the service.
2531// the "output" return value is not valid until after Send returns without error.
2532//
2533// See CreateMeetingWithAttendees for more information on using the CreateMeetingWithAttendees
2534// API call, and error handling.
2535//
2536// This method is useful when you want to inject custom logic or configuration
2537// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2538//
2539//
2540//    // Example sending a request using the CreateMeetingWithAttendeesRequest method.
2541//    req, resp := client.CreateMeetingWithAttendeesRequest(params)
2542//
2543//    err := req.Send()
2544//    if err == nil { // resp is now filled
2545//        fmt.Println(resp)
2546//    }
2547//
2548// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingWithAttendees
2549func (c *Chime) CreateMeetingWithAttendeesRequest(input *CreateMeetingWithAttendeesInput) (req *request.Request, output *CreateMeetingWithAttendeesOutput) {
2550	op := &request.Operation{
2551		Name:       opCreateMeetingWithAttendees,
2552		HTTPMethod: "POST",
2553		HTTPPath:   "/meetings?operation=create-attendees",
2554	}
2555
2556	if input == nil {
2557		input = &CreateMeetingWithAttendeesInput{}
2558	}
2559
2560	output = &CreateMeetingWithAttendeesOutput{}
2561	req = c.newRequest(op, input, output)
2562	return
2563}
2564
2565// CreateMeetingWithAttendees API operation for Amazon Chime.
2566//
2567// Creates a new Amazon Chime SDK meeting in the specified media Region, with
2568// attendees. For more information about specifying media Regions, see Amazon
2569// Chime SDK Media Regions (https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html)
2570// in the Amazon Chime Developer Guide . For more information about the Amazon
2571// Chime SDK, see Using the Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
2572// in the Amazon Chime Developer Guide .
2573//
2574// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2575// with awserr.Error's Code and Message methods to get detailed information about
2576// the error.
2577//
2578// See the AWS API reference guide for Amazon Chime's
2579// API operation CreateMeetingWithAttendees for usage and error information.
2580//
2581// Returned Error Types:
2582//   * BadRequestException
2583//   The input parameters don't match the service's restrictions.
2584//
2585//   * ForbiddenException
2586//   The client is permanently forbidden from making the request.
2587//
2588//   * ResourceLimitExceededException
2589//   The request exceeds the resource limit.
2590//
2591//   * ThrottledClientException
2592//   The client exceeded its request rate limit.
2593//
2594//   * UnauthorizedClientException
2595//   The client is not currently authorized to make the request.
2596//
2597//   * ServiceUnavailableException
2598//   The service is currently unavailable.
2599//
2600//   * ServiceFailureException
2601//   The service encountered an unexpected error.
2602//
2603// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingWithAttendees
2604func (c *Chime) CreateMeetingWithAttendees(input *CreateMeetingWithAttendeesInput) (*CreateMeetingWithAttendeesOutput, error) {
2605	req, out := c.CreateMeetingWithAttendeesRequest(input)
2606	return out, req.Send()
2607}
2608
2609// CreateMeetingWithAttendeesWithContext is the same as CreateMeetingWithAttendees with the addition of
2610// the ability to pass a context and additional request options.
2611//
2612// See CreateMeetingWithAttendees for details on how to use this API operation.
2613//
2614// The context must be non-nil and will be used for request cancellation. If
2615// the context is nil a panic will occur. In the future the SDK may create
2616// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2617// for more information on using Contexts.
2618func (c *Chime) CreateMeetingWithAttendeesWithContext(ctx aws.Context, input *CreateMeetingWithAttendeesInput, opts ...request.Option) (*CreateMeetingWithAttendeesOutput, error) {
2619	req, out := c.CreateMeetingWithAttendeesRequest(input)
2620	req.SetContext(ctx)
2621	req.ApplyOptions(opts...)
2622	return out, req.Send()
2623}
2624
2625const opCreatePhoneNumberOrder = "CreatePhoneNumberOrder"
2626
2627// CreatePhoneNumberOrderRequest generates a "aws/request.Request" representing the
2628// client's request for the CreatePhoneNumberOrder operation. The "output" return
2629// value will be populated with the request's response once the request completes
2630// successfully.
2631//
2632// Use "Send" method on the returned Request to send the API call to the service.
2633// the "output" return value is not valid until after Send returns without error.
2634//
2635// See CreatePhoneNumberOrder for more information on using the CreatePhoneNumberOrder
2636// API call, and error handling.
2637//
2638// This method is useful when you want to inject custom logic or configuration
2639// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2640//
2641//
2642//    // Example sending a request using the CreatePhoneNumberOrderRequest method.
2643//    req, resp := client.CreatePhoneNumberOrderRequest(params)
2644//
2645//    err := req.Send()
2646//    if err == nil { // resp is now filled
2647//        fmt.Println(resp)
2648//    }
2649//
2650// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreatePhoneNumberOrder
2651func (c *Chime) CreatePhoneNumberOrderRequest(input *CreatePhoneNumberOrderInput) (req *request.Request, output *CreatePhoneNumberOrderOutput) {
2652	op := &request.Operation{
2653		Name:       opCreatePhoneNumberOrder,
2654		HTTPMethod: "POST",
2655		HTTPPath:   "/phone-number-orders",
2656	}
2657
2658	if input == nil {
2659		input = &CreatePhoneNumberOrderInput{}
2660	}
2661
2662	output = &CreatePhoneNumberOrderOutput{}
2663	req = c.newRequest(op, input, output)
2664	return
2665}
2666
2667// CreatePhoneNumberOrder API operation for Amazon Chime.
2668//
2669// Creates an order for phone numbers to be provisioned. For toll-free numbers,
2670// you cannot use the Amazon Chime Business Calling product type. For numbers
2671// outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In
2672// product type.
2673//
2674// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2675// with awserr.Error's Code and Message methods to get detailed information about
2676// the error.
2677//
2678// See the AWS API reference guide for Amazon Chime's
2679// API operation CreatePhoneNumberOrder for usage and error information.
2680//
2681// Returned Error Types:
2682//   * BadRequestException
2683//   The input parameters don't match the service's restrictions.
2684//
2685//   * ForbiddenException
2686//   The client is permanently forbidden from making the request.
2687//
2688//   * AccessDeniedException
2689//   You don't have permissions to perform the requested operation.
2690//
2691//   * UnauthorizedClientException
2692//   The client is not currently authorized to make the request.
2693//
2694//   * ThrottledClientException
2695//   The client exceeded its request rate limit.
2696//
2697//   * ResourceLimitExceededException
2698//   The request exceeds the resource limit.
2699//
2700//   * ServiceUnavailableException
2701//   The service is currently unavailable.
2702//
2703//   * ServiceFailureException
2704//   The service encountered an unexpected error.
2705//
2706// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreatePhoneNumberOrder
2707func (c *Chime) CreatePhoneNumberOrder(input *CreatePhoneNumberOrderInput) (*CreatePhoneNumberOrderOutput, error) {
2708	req, out := c.CreatePhoneNumberOrderRequest(input)
2709	return out, req.Send()
2710}
2711
2712// CreatePhoneNumberOrderWithContext is the same as CreatePhoneNumberOrder with the addition of
2713// the ability to pass a context and additional request options.
2714//
2715// See CreatePhoneNumberOrder for details on how to use this API operation.
2716//
2717// The context must be non-nil and will be used for request cancellation. If
2718// the context is nil a panic will occur. In the future the SDK may create
2719// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2720// for more information on using Contexts.
2721func (c *Chime) CreatePhoneNumberOrderWithContext(ctx aws.Context, input *CreatePhoneNumberOrderInput, opts ...request.Option) (*CreatePhoneNumberOrderOutput, error) {
2722	req, out := c.CreatePhoneNumberOrderRequest(input)
2723	req.SetContext(ctx)
2724	req.ApplyOptions(opts...)
2725	return out, req.Send()
2726}
2727
2728const opCreateProxySession = "CreateProxySession"
2729
2730// CreateProxySessionRequest generates a "aws/request.Request" representing the
2731// client's request for the CreateProxySession operation. The "output" return
2732// value will be populated with the request's response once the request completes
2733// successfully.
2734//
2735// Use "Send" method on the returned Request to send the API call to the service.
2736// the "output" return value is not valid until after Send returns without error.
2737//
2738// See CreateProxySession for more information on using the CreateProxySession
2739// API call, and error handling.
2740//
2741// This method is useful when you want to inject custom logic or configuration
2742// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2743//
2744//
2745//    // Example sending a request using the CreateProxySessionRequest method.
2746//    req, resp := client.CreateProxySessionRequest(params)
2747//
2748//    err := req.Send()
2749//    if err == nil { // resp is now filled
2750//        fmt.Println(resp)
2751//    }
2752//
2753// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateProxySession
2754func (c *Chime) CreateProxySessionRequest(input *CreateProxySessionInput) (req *request.Request, output *CreateProxySessionOutput) {
2755	op := &request.Operation{
2756		Name:       opCreateProxySession,
2757		HTTPMethod: "POST",
2758		HTTPPath:   "/voice-connectors/{voiceConnectorId}/proxy-sessions",
2759	}
2760
2761	if input == nil {
2762		input = &CreateProxySessionInput{}
2763	}
2764
2765	output = &CreateProxySessionOutput{}
2766	req = c.newRequest(op, input, output)
2767	return
2768}
2769
2770// CreateProxySession API operation for Amazon Chime.
2771//
2772// Creates a proxy session on the specified Amazon Chime Voice Connector for
2773// the specified participant phone numbers.
2774//
2775// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2776// with awserr.Error's Code and Message methods to get detailed information about
2777// the error.
2778//
2779// See the AWS API reference guide for Amazon Chime's
2780// API operation CreateProxySession for usage and error information.
2781//
2782// Returned Error Types:
2783//   * UnauthorizedClientException
2784//   The client is not currently authorized to make the request.
2785//
2786//   * NotFoundException
2787//   One or more of the resources in the request does not exist in the system.
2788//
2789//   * ForbiddenException
2790//   The client is permanently forbidden from making the request.
2791//
2792//   * BadRequestException
2793//   The input parameters don't match the service's restrictions.
2794//
2795//   * ThrottledClientException
2796//   The client exceeded its request rate limit.
2797//
2798//   * ServiceUnavailableException
2799//   The service is currently unavailable.
2800//
2801//   * ServiceFailureException
2802//   The service encountered an unexpected error.
2803//
2804// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateProxySession
2805func (c *Chime) CreateProxySession(input *CreateProxySessionInput) (*CreateProxySessionOutput, error) {
2806	req, out := c.CreateProxySessionRequest(input)
2807	return out, req.Send()
2808}
2809
2810// CreateProxySessionWithContext is the same as CreateProxySession with the addition of
2811// the ability to pass a context and additional request options.
2812//
2813// See CreateProxySession for details on how to use this API operation.
2814//
2815// The context must be non-nil and will be used for request cancellation. If
2816// the context is nil a panic will occur. In the future the SDK may create
2817// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2818// for more information on using Contexts.
2819func (c *Chime) CreateProxySessionWithContext(ctx aws.Context, input *CreateProxySessionInput, opts ...request.Option) (*CreateProxySessionOutput, error) {
2820	req, out := c.CreateProxySessionRequest(input)
2821	req.SetContext(ctx)
2822	req.ApplyOptions(opts...)
2823	return out, req.Send()
2824}
2825
2826const opCreateRoom = "CreateRoom"
2827
2828// CreateRoomRequest generates a "aws/request.Request" representing the
2829// client's request for the CreateRoom operation. The "output" return
2830// value will be populated with the request's response once the request completes
2831// successfully.
2832//
2833// Use "Send" method on the returned Request to send the API call to the service.
2834// the "output" return value is not valid until after Send returns without error.
2835//
2836// See CreateRoom for more information on using the CreateRoom
2837// API call, and error handling.
2838//
2839// This method is useful when you want to inject custom logic or configuration
2840// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2841//
2842//
2843//    // Example sending a request using the CreateRoomRequest method.
2844//    req, resp := client.CreateRoomRequest(params)
2845//
2846//    err := req.Send()
2847//    if err == nil { // resp is now filled
2848//        fmt.Println(resp)
2849//    }
2850//
2851// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoom
2852func (c *Chime) CreateRoomRequest(input *CreateRoomInput) (req *request.Request, output *CreateRoomOutput) {
2853	op := &request.Operation{
2854		Name:       opCreateRoom,
2855		HTTPMethod: "POST",
2856		HTTPPath:   "/accounts/{accountId}/rooms",
2857	}
2858
2859	if input == nil {
2860		input = &CreateRoomInput{}
2861	}
2862
2863	output = &CreateRoomOutput{}
2864	req = c.newRequest(op, input, output)
2865	return
2866}
2867
2868// CreateRoom API operation for Amazon Chime.
2869//
2870// Creates a chat room for the specified Amazon Chime Enterprise account.
2871//
2872// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2873// with awserr.Error's Code and Message methods to get detailed information about
2874// the error.
2875//
2876// See the AWS API reference guide for Amazon Chime's
2877// API operation CreateRoom for usage and error information.
2878//
2879// Returned Error Types:
2880//   * NotFoundException
2881//   One or more of the resources in the request does not exist in the system.
2882//
2883//   * BadRequestException
2884//   The input parameters don't match the service's restrictions.
2885//
2886//   * ForbiddenException
2887//   The client is permanently forbidden from making the request.
2888//
2889//   * UnauthorizedClientException
2890//   The client is not currently authorized to make the request.
2891//
2892//   * ResourceLimitExceededException
2893//   The request exceeds the resource limit.
2894//
2895//   * ThrottledClientException
2896//   The client exceeded its request rate limit.
2897//
2898//   * ServiceUnavailableException
2899//   The service is currently unavailable.
2900//
2901//   * ServiceFailureException
2902//   The service encountered an unexpected error.
2903//
2904// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoom
2905func (c *Chime) CreateRoom(input *CreateRoomInput) (*CreateRoomOutput, error) {
2906	req, out := c.CreateRoomRequest(input)
2907	return out, req.Send()
2908}
2909
2910// CreateRoomWithContext is the same as CreateRoom with the addition of
2911// the ability to pass a context and additional request options.
2912//
2913// See CreateRoom for details on how to use this API operation.
2914//
2915// The context must be non-nil and will be used for request cancellation. If
2916// the context is nil a panic will occur. In the future the SDK may create
2917// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2918// for more information on using Contexts.
2919func (c *Chime) CreateRoomWithContext(ctx aws.Context, input *CreateRoomInput, opts ...request.Option) (*CreateRoomOutput, error) {
2920	req, out := c.CreateRoomRequest(input)
2921	req.SetContext(ctx)
2922	req.ApplyOptions(opts...)
2923	return out, req.Send()
2924}
2925
2926const opCreateRoomMembership = "CreateRoomMembership"
2927
2928// CreateRoomMembershipRequest generates a "aws/request.Request" representing the
2929// client's request for the CreateRoomMembership operation. The "output" return
2930// value will be populated with the request's response once the request completes
2931// successfully.
2932//
2933// Use "Send" method on the returned Request to send the API call to the service.
2934// the "output" return value is not valid until after Send returns without error.
2935//
2936// See CreateRoomMembership for more information on using the CreateRoomMembership
2937// API call, and error handling.
2938//
2939// This method is useful when you want to inject custom logic or configuration
2940// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2941//
2942//
2943//    // Example sending a request using the CreateRoomMembershipRequest method.
2944//    req, resp := client.CreateRoomMembershipRequest(params)
2945//
2946//    err := req.Send()
2947//    if err == nil { // resp is now filled
2948//        fmt.Println(resp)
2949//    }
2950//
2951// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoomMembership
2952func (c *Chime) CreateRoomMembershipRequest(input *CreateRoomMembershipInput) (req *request.Request, output *CreateRoomMembershipOutput) {
2953	op := &request.Operation{
2954		Name:       opCreateRoomMembership,
2955		HTTPMethod: "POST",
2956		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}/memberships",
2957	}
2958
2959	if input == nil {
2960		input = &CreateRoomMembershipInput{}
2961	}
2962
2963	output = &CreateRoomMembershipOutput{}
2964	req = c.newRequest(op, input, output)
2965	return
2966}
2967
2968// CreateRoomMembership API operation for Amazon Chime.
2969//
2970// Adds a member to a chat room in an Amazon Chime Enterprise account. A member
2971// can be either a user or a bot. The member role designates whether the member
2972// is a chat room administrator or a general chat room member.
2973//
2974// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2975// with awserr.Error's Code and Message methods to get detailed information about
2976// the error.
2977//
2978// See the AWS API reference guide for Amazon Chime's
2979// API operation CreateRoomMembership for usage and error information.
2980//
2981// Returned Error Types:
2982//   * ConflictException
2983//   The request could not be processed because of conflict in the current state
2984//   of the resource.
2985//
2986//   * UnauthorizedClientException
2987//   The client is not currently authorized to make the request.
2988//
2989//   * NotFoundException
2990//   One or more of the resources in the request does not exist in the system.
2991//
2992//   * BadRequestException
2993//   The input parameters don't match the service's restrictions.
2994//
2995//   * ForbiddenException
2996//   The client is permanently forbidden from making the request.
2997//
2998//   * ResourceLimitExceededException
2999//   The request exceeds the resource limit.
3000//
3001//   * ThrottledClientException
3002//   The client exceeded its request rate limit.
3003//
3004//   * ServiceUnavailableException
3005//   The service is currently unavailable.
3006//
3007//   * ServiceFailureException
3008//   The service encountered an unexpected error.
3009//
3010// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoomMembership
3011func (c *Chime) CreateRoomMembership(input *CreateRoomMembershipInput) (*CreateRoomMembershipOutput, error) {
3012	req, out := c.CreateRoomMembershipRequest(input)
3013	return out, req.Send()
3014}
3015
3016// CreateRoomMembershipWithContext is the same as CreateRoomMembership with the addition of
3017// the ability to pass a context and additional request options.
3018//
3019// See CreateRoomMembership for details on how to use this API operation.
3020//
3021// The context must be non-nil and will be used for request cancellation. If
3022// the context is nil a panic will occur. In the future the SDK may create
3023// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3024// for more information on using Contexts.
3025func (c *Chime) CreateRoomMembershipWithContext(ctx aws.Context, input *CreateRoomMembershipInput, opts ...request.Option) (*CreateRoomMembershipOutput, error) {
3026	req, out := c.CreateRoomMembershipRequest(input)
3027	req.SetContext(ctx)
3028	req.ApplyOptions(opts...)
3029	return out, req.Send()
3030}
3031
3032const opCreateSipMediaApplication = "CreateSipMediaApplication"
3033
3034// CreateSipMediaApplicationRequest generates a "aws/request.Request" representing the
3035// client's request for the CreateSipMediaApplication operation. The "output" return
3036// value will be populated with the request's response once the request completes
3037// successfully.
3038//
3039// Use "Send" method on the returned Request to send the API call to the service.
3040// the "output" return value is not valid until after Send returns without error.
3041//
3042// See CreateSipMediaApplication for more information on using the CreateSipMediaApplication
3043// API call, and error handling.
3044//
3045// This method is useful when you want to inject custom logic or configuration
3046// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3047//
3048//
3049//    // Example sending a request using the CreateSipMediaApplicationRequest method.
3050//    req, resp := client.CreateSipMediaApplicationRequest(params)
3051//
3052//    err := req.Send()
3053//    if err == nil { // resp is now filled
3054//        fmt.Println(resp)
3055//    }
3056//
3057// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipMediaApplication
3058func (c *Chime) CreateSipMediaApplicationRequest(input *CreateSipMediaApplicationInput) (req *request.Request, output *CreateSipMediaApplicationOutput) {
3059	op := &request.Operation{
3060		Name:       opCreateSipMediaApplication,
3061		HTTPMethod: "POST",
3062		HTTPPath:   "/sip-media-applications",
3063	}
3064
3065	if input == nil {
3066		input = &CreateSipMediaApplicationInput{}
3067	}
3068
3069	output = &CreateSipMediaApplicationOutput{}
3070	req = c.newRequest(op, input, output)
3071	return
3072}
3073
3074// CreateSipMediaApplication API operation for Amazon Chime.
3075//
3076// Creates a SIP media application.
3077//
3078// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3079// with awserr.Error's Code and Message methods to get detailed information about
3080// the error.
3081//
3082// See the AWS API reference guide for Amazon Chime's
3083// API operation CreateSipMediaApplication for usage and error information.
3084//
3085// Returned Error Types:
3086//   * BadRequestException
3087//   The input parameters don't match the service's restrictions.
3088//
3089//   * ForbiddenException
3090//   The client is permanently forbidden from making the request.
3091//
3092//   * AccessDeniedException
3093//   You don't have permissions to perform the requested operation.
3094//
3095//   * UnauthorizedClientException
3096//   The client is not currently authorized to make the request.
3097//
3098//   * ThrottledClientException
3099//   The client exceeded its request rate limit.
3100//
3101//   * ResourceLimitExceededException
3102//   The request exceeds the resource limit.
3103//
3104//   * ConflictException
3105//   The request could not be processed because of conflict in the current state
3106//   of the resource.
3107//
3108//   * ServiceUnavailableException
3109//   The service is currently unavailable.
3110//
3111//   * ServiceFailureException
3112//   The service encountered an unexpected error.
3113//
3114// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipMediaApplication
3115func (c *Chime) CreateSipMediaApplication(input *CreateSipMediaApplicationInput) (*CreateSipMediaApplicationOutput, error) {
3116	req, out := c.CreateSipMediaApplicationRequest(input)
3117	return out, req.Send()
3118}
3119
3120// CreateSipMediaApplicationWithContext is the same as CreateSipMediaApplication with the addition of
3121// the ability to pass a context and additional request options.
3122//
3123// See CreateSipMediaApplication for details on how to use this API operation.
3124//
3125// The context must be non-nil and will be used for request cancellation. If
3126// the context is nil a panic will occur. In the future the SDK may create
3127// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3128// for more information on using Contexts.
3129func (c *Chime) CreateSipMediaApplicationWithContext(ctx aws.Context, input *CreateSipMediaApplicationInput, opts ...request.Option) (*CreateSipMediaApplicationOutput, error) {
3130	req, out := c.CreateSipMediaApplicationRequest(input)
3131	req.SetContext(ctx)
3132	req.ApplyOptions(opts...)
3133	return out, req.Send()
3134}
3135
3136const opCreateSipMediaApplicationCall = "CreateSipMediaApplicationCall"
3137
3138// CreateSipMediaApplicationCallRequest generates a "aws/request.Request" representing the
3139// client's request for the CreateSipMediaApplicationCall operation. The "output" return
3140// value will be populated with the request's response once the request completes
3141// successfully.
3142//
3143// Use "Send" method on the returned Request to send the API call to the service.
3144// the "output" return value is not valid until after Send returns without error.
3145//
3146// See CreateSipMediaApplicationCall for more information on using the CreateSipMediaApplicationCall
3147// API call, and error handling.
3148//
3149// This method is useful when you want to inject custom logic or configuration
3150// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3151//
3152//
3153//    // Example sending a request using the CreateSipMediaApplicationCallRequest method.
3154//    req, resp := client.CreateSipMediaApplicationCallRequest(params)
3155//
3156//    err := req.Send()
3157//    if err == nil { // resp is now filled
3158//        fmt.Println(resp)
3159//    }
3160//
3161// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipMediaApplicationCall
3162func (c *Chime) CreateSipMediaApplicationCallRequest(input *CreateSipMediaApplicationCallInput) (req *request.Request, output *CreateSipMediaApplicationCallOutput) {
3163	op := &request.Operation{
3164		Name:       opCreateSipMediaApplicationCall,
3165		HTTPMethod: "POST",
3166		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}/calls",
3167	}
3168
3169	if input == nil {
3170		input = &CreateSipMediaApplicationCallInput{}
3171	}
3172
3173	output = &CreateSipMediaApplicationCallOutput{}
3174	req = c.newRequest(op, input, output)
3175	return
3176}
3177
3178// CreateSipMediaApplicationCall API operation for Amazon Chime.
3179//
3180// Creates an outbound call to a phone number from the phone number specified
3181// in the request, and it invokes the endpoint of the specified sipMediaApplicationId.
3182//
3183// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3184// with awserr.Error's Code and Message methods to get detailed information about
3185// the error.
3186//
3187// See the AWS API reference guide for Amazon Chime's
3188// API operation CreateSipMediaApplicationCall for usage and error information.
3189//
3190// Returned Error Types:
3191//   * BadRequestException
3192//   The input parameters don't match the service's restrictions.
3193//
3194//   * ForbiddenException
3195//   The client is permanently forbidden from making the request.
3196//
3197//   * ResourceLimitExceededException
3198//   The request exceeds the resource limit.
3199//
3200//   * ThrottledClientException
3201//   The client exceeded its request rate limit.
3202//
3203//   * UnauthorizedClientException
3204//   The client is not currently authorized to make the request.
3205//
3206//   * ServiceUnavailableException
3207//   The service is currently unavailable.
3208//
3209//   * ServiceFailureException
3210//   The service encountered an unexpected error.
3211//
3212// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipMediaApplicationCall
3213func (c *Chime) CreateSipMediaApplicationCall(input *CreateSipMediaApplicationCallInput) (*CreateSipMediaApplicationCallOutput, error) {
3214	req, out := c.CreateSipMediaApplicationCallRequest(input)
3215	return out, req.Send()
3216}
3217
3218// CreateSipMediaApplicationCallWithContext is the same as CreateSipMediaApplicationCall with the addition of
3219// the ability to pass a context and additional request options.
3220//
3221// See CreateSipMediaApplicationCall for details on how to use this API operation.
3222//
3223// The context must be non-nil and will be used for request cancellation. If
3224// the context is nil a panic will occur. In the future the SDK may create
3225// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3226// for more information on using Contexts.
3227func (c *Chime) CreateSipMediaApplicationCallWithContext(ctx aws.Context, input *CreateSipMediaApplicationCallInput, opts ...request.Option) (*CreateSipMediaApplicationCallOutput, error) {
3228	req, out := c.CreateSipMediaApplicationCallRequest(input)
3229	req.SetContext(ctx)
3230	req.ApplyOptions(opts...)
3231	return out, req.Send()
3232}
3233
3234const opCreateSipRule = "CreateSipRule"
3235
3236// CreateSipRuleRequest generates a "aws/request.Request" representing the
3237// client's request for the CreateSipRule operation. The "output" return
3238// value will be populated with the request's response once the request completes
3239// successfully.
3240//
3241// Use "Send" method on the returned Request to send the API call to the service.
3242// the "output" return value is not valid until after Send returns without error.
3243//
3244// See CreateSipRule for more information on using the CreateSipRule
3245// API call, and error handling.
3246//
3247// This method is useful when you want to inject custom logic or configuration
3248// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3249//
3250//
3251//    // Example sending a request using the CreateSipRuleRequest method.
3252//    req, resp := client.CreateSipRuleRequest(params)
3253//
3254//    err := req.Send()
3255//    if err == nil { // resp is now filled
3256//        fmt.Println(resp)
3257//    }
3258//
3259// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipRule
3260func (c *Chime) CreateSipRuleRequest(input *CreateSipRuleInput) (req *request.Request, output *CreateSipRuleOutput) {
3261	op := &request.Operation{
3262		Name:       opCreateSipRule,
3263		HTTPMethod: "POST",
3264		HTTPPath:   "/sip-rules",
3265	}
3266
3267	if input == nil {
3268		input = &CreateSipRuleInput{}
3269	}
3270
3271	output = &CreateSipRuleOutput{}
3272	req = c.newRequest(op, input, output)
3273	return
3274}
3275
3276// CreateSipRule API operation for Amazon Chime.
3277//
3278// Creates a SIP rule which can be used to run a SIP media application as a
3279// target for a specific trigger type.
3280//
3281// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3282// with awserr.Error's Code and Message methods to get detailed information about
3283// the error.
3284//
3285// See the AWS API reference guide for Amazon Chime's
3286// API operation CreateSipRule for usage and error information.
3287//
3288// Returned Error Types:
3289//   * BadRequestException
3290//   The input parameters don't match the service's restrictions.
3291//
3292//   * ForbiddenException
3293//   The client is permanently forbidden from making the request.
3294//
3295//   * AccessDeniedException
3296//   You don't have permissions to perform the requested operation.
3297//
3298//   * UnauthorizedClientException
3299//   The client is not currently authorized to make the request.
3300//
3301//   * ThrottledClientException
3302//   The client exceeded its request rate limit.
3303//
3304//   * ResourceLimitExceededException
3305//   The request exceeds the resource limit.
3306//
3307//   * ConflictException
3308//   The request could not be processed because of conflict in the current state
3309//   of the resource.
3310//
3311//   * ServiceUnavailableException
3312//   The service is currently unavailable.
3313//
3314//   * ServiceFailureException
3315//   The service encountered an unexpected error.
3316//
3317// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipRule
3318func (c *Chime) CreateSipRule(input *CreateSipRuleInput) (*CreateSipRuleOutput, error) {
3319	req, out := c.CreateSipRuleRequest(input)
3320	return out, req.Send()
3321}
3322
3323// CreateSipRuleWithContext is the same as CreateSipRule with the addition of
3324// the ability to pass a context and additional request options.
3325//
3326// See CreateSipRule for details on how to use this API operation.
3327//
3328// The context must be non-nil and will be used for request cancellation. If
3329// the context is nil a panic will occur. In the future the SDK may create
3330// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3331// for more information on using Contexts.
3332func (c *Chime) CreateSipRuleWithContext(ctx aws.Context, input *CreateSipRuleInput, opts ...request.Option) (*CreateSipRuleOutput, error) {
3333	req, out := c.CreateSipRuleRequest(input)
3334	req.SetContext(ctx)
3335	req.ApplyOptions(opts...)
3336	return out, req.Send()
3337}
3338
3339const opCreateUser = "CreateUser"
3340
3341// CreateUserRequest generates a "aws/request.Request" representing the
3342// client's request for the CreateUser operation. The "output" return
3343// value will be populated with the request's response once the request completes
3344// successfully.
3345//
3346// Use "Send" method on the returned Request to send the API call to the service.
3347// the "output" return value is not valid until after Send returns without error.
3348//
3349// See CreateUser for more information on using the CreateUser
3350// API call, and error handling.
3351//
3352// This method is useful when you want to inject custom logic or configuration
3353// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3354//
3355//
3356//    // Example sending a request using the CreateUserRequest method.
3357//    req, resp := client.CreateUserRequest(params)
3358//
3359//    err := req.Send()
3360//    if err == nil { // resp is now filled
3361//        fmt.Println(resp)
3362//    }
3363//
3364// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateUser
3365func (c *Chime) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) {
3366	op := &request.Operation{
3367		Name:       opCreateUser,
3368		HTTPMethod: "POST",
3369		HTTPPath:   "/accounts/{accountId}/users?operation=create",
3370	}
3371
3372	if input == nil {
3373		input = &CreateUserInput{}
3374	}
3375
3376	output = &CreateUserOutput{}
3377	req = c.newRequest(op, input, output)
3378	return
3379}
3380
3381// CreateUser API operation for Amazon Chime.
3382//
3383// Creates a user under the specified Amazon Chime account.
3384//
3385// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3386// with awserr.Error's Code and Message methods to get detailed information about
3387// the error.
3388//
3389// See the AWS API reference guide for Amazon Chime's
3390// API operation CreateUser for usage and error information.
3391//
3392// Returned Error Types:
3393//   * UnauthorizedClientException
3394//   The client is not currently authorized to make the request.
3395//
3396//   * NotFoundException
3397//   One or more of the resources in the request does not exist in the system.
3398//
3399//   * ConflictException
3400//   The request could not be processed because of conflict in the current state
3401//   of the resource.
3402//
3403//   * ForbiddenException
3404//   The client is permanently forbidden from making the request.
3405//
3406//   * BadRequestException
3407//   The input parameters don't match the service's restrictions.
3408//
3409//   * ThrottledClientException
3410//   The client exceeded its request rate limit.
3411//
3412//   * ServiceUnavailableException
3413//   The service is currently unavailable.
3414//
3415//   * ServiceFailureException
3416//   The service encountered an unexpected error.
3417//
3418// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateUser
3419func (c *Chime) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) {
3420	req, out := c.CreateUserRequest(input)
3421	return out, req.Send()
3422}
3423
3424// CreateUserWithContext is the same as CreateUser with the addition of
3425// the ability to pass a context and additional request options.
3426//
3427// See CreateUser for details on how to use this API operation.
3428//
3429// The context must be non-nil and will be used for request cancellation. If
3430// the context is nil a panic will occur. In the future the SDK may create
3431// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3432// for more information on using Contexts.
3433func (c *Chime) CreateUserWithContext(ctx aws.Context, input *CreateUserInput, opts ...request.Option) (*CreateUserOutput, error) {
3434	req, out := c.CreateUserRequest(input)
3435	req.SetContext(ctx)
3436	req.ApplyOptions(opts...)
3437	return out, req.Send()
3438}
3439
3440const opCreateVoiceConnector = "CreateVoiceConnector"
3441
3442// CreateVoiceConnectorRequest generates a "aws/request.Request" representing the
3443// client's request for the CreateVoiceConnector operation. The "output" return
3444// value will be populated with the request's response once the request completes
3445// successfully.
3446//
3447// Use "Send" method on the returned Request to send the API call to the service.
3448// the "output" return value is not valid until after Send returns without error.
3449//
3450// See CreateVoiceConnector for more information on using the CreateVoiceConnector
3451// API call, and error handling.
3452//
3453// This method is useful when you want to inject custom logic or configuration
3454// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3455//
3456//
3457//    // Example sending a request using the CreateVoiceConnectorRequest method.
3458//    req, resp := client.CreateVoiceConnectorRequest(params)
3459//
3460//    err := req.Send()
3461//    if err == nil { // resp is now filled
3462//        fmt.Println(resp)
3463//    }
3464//
3465// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnector
3466func (c *Chime) CreateVoiceConnectorRequest(input *CreateVoiceConnectorInput) (req *request.Request, output *CreateVoiceConnectorOutput) {
3467	op := &request.Operation{
3468		Name:       opCreateVoiceConnector,
3469		HTTPMethod: "POST",
3470		HTTPPath:   "/voice-connectors",
3471	}
3472
3473	if input == nil {
3474		input = &CreateVoiceConnectorInput{}
3475	}
3476
3477	output = &CreateVoiceConnectorOutput{}
3478	req = c.newRequest(op, input, output)
3479	return
3480}
3481
3482// CreateVoiceConnector API operation for Amazon Chime.
3483//
3484// Creates an Amazon Chime Voice Connector under the administrator's AWS account.
3485// You can choose to create an Amazon Chime Voice Connector in a specific AWS
3486// Region.
3487//
3488// Enabling CreateVoiceConnectorRequest$RequireEncryption configures your Amazon
3489// Chime Voice Connector to use TLS transport for SIP signaling and Secure RTP
3490// (SRTP) for media. Inbound calls use TLS transport, and unencrypted outbound
3491// calls are blocked.
3492//
3493// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3494// with awserr.Error's Code and Message methods to get detailed information about
3495// the error.
3496//
3497// See the AWS API reference guide for Amazon Chime's
3498// API operation CreateVoiceConnector for usage and error information.
3499//
3500// Returned Error Types:
3501//   * BadRequestException
3502//   The input parameters don't match the service's restrictions.
3503//
3504//   * ForbiddenException
3505//   The client is permanently forbidden from making the request.
3506//
3507//   * AccessDeniedException
3508//   You don't have permissions to perform the requested operation.
3509//
3510//   * UnauthorizedClientException
3511//   The client is not currently authorized to make the request.
3512//
3513//   * ThrottledClientException
3514//   The client exceeded its request rate limit.
3515//
3516//   * ResourceLimitExceededException
3517//   The request exceeds the resource limit.
3518//
3519//   * ServiceUnavailableException
3520//   The service is currently unavailable.
3521//
3522//   * ServiceFailureException
3523//   The service encountered an unexpected error.
3524//
3525// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnector
3526func (c *Chime) CreateVoiceConnector(input *CreateVoiceConnectorInput) (*CreateVoiceConnectorOutput, error) {
3527	req, out := c.CreateVoiceConnectorRequest(input)
3528	return out, req.Send()
3529}
3530
3531// CreateVoiceConnectorWithContext is the same as CreateVoiceConnector with the addition of
3532// the ability to pass a context and additional request options.
3533//
3534// See CreateVoiceConnector for details on how to use this API operation.
3535//
3536// The context must be non-nil and will be used for request cancellation. If
3537// the context is nil a panic will occur. In the future the SDK may create
3538// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3539// for more information on using Contexts.
3540func (c *Chime) CreateVoiceConnectorWithContext(ctx aws.Context, input *CreateVoiceConnectorInput, opts ...request.Option) (*CreateVoiceConnectorOutput, error) {
3541	req, out := c.CreateVoiceConnectorRequest(input)
3542	req.SetContext(ctx)
3543	req.ApplyOptions(opts...)
3544	return out, req.Send()
3545}
3546
3547const opCreateVoiceConnectorGroup = "CreateVoiceConnectorGroup"
3548
3549// CreateVoiceConnectorGroupRequest generates a "aws/request.Request" representing the
3550// client's request for the CreateVoiceConnectorGroup operation. The "output" return
3551// value will be populated with the request's response once the request completes
3552// successfully.
3553//
3554// Use "Send" method on the returned Request to send the API call to the service.
3555// the "output" return value is not valid until after Send returns without error.
3556//
3557// See CreateVoiceConnectorGroup for more information on using the CreateVoiceConnectorGroup
3558// API call, and error handling.
3559//
3560// This method is useful when you want to inject custom logic or configuration
3561// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3562//
3563//
3564//    // Example sending a request using the CreateVoiceConnectorGroupRequest method.
3565//    req, resp := client.CreateVoiceConnectorGroupRequest(params)
3566//
3567//    err := req.Send()
3568//    if err == nil { // resp is now filled
3569//        fmt.Println(resp)
3570//    }
3571//
3572// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnectorGroup
3573func (c *Chime) CreateVoiceConnectorGroupRequest(input *CreateVoiceConnectorGroupInput) (req *request.Request, output *CreateVoiceConnectorGroupOutput) {
3574	op := &request.Operation{
3575		Name:       opCreateVoiceConnectorGroup,
3576		HTTPMethod: "POST",
3577		HTTPPath:   "/voice-connector-groups",
3578	}
3579
3580	if input == nil {
3581		input = &CreateVoiceConnectorGroupInput{}
3582	}
3583
3584	output = &CreateVoiceConnectorGroupOutput{}
3585	req = c.newRequest(op, input, output)
3586	return
3587}
3588
3589// CreateVoiceConnectorGroup API operation for Amazon Chime.
3590//
3591// Creates an Amazon Chime Voice Connector group under the administrator's AWS
3592// account. You can associate Amazon Chime Voice Connectors with the Amazon
3593// Chime Voice Connector group by including VoiceConnectorItems in the request.
3594//
3595// You can include Amazon Chime Voice Connectors from different AWS Regions
3596// in your group. This creates a fault tolerant mechanism for fallback in case
3597// of availability events.
3598//
3599// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3600// with awserr.Error's Code and Message methods to get detailed information about
3601// the error.
3602//
3603// See the AWS API reference guide for Amazon Chime's
3604// API operation CreateVoiceConnectorGroup for usage and error information.
3605//
3606// Returned Error Types:
3607//   * BadRequestException
3608//   The input parameters don't match the service's restrictions.
3609//
3610//   * ForbiddenException
3611//   The client is permanently forbidden from making the request.
3612//
3613//   * AccessDeniedException
3614//   You don't have permissions to perform the requested operation.
3615//
3616//   * UnauthorizedClientException
3617//   The client is not currently authorized to make the request.
3618//
3619//   * ThrottledClientException
3620//   The client exceeded its request rate limit.
3621//
3622//   * ResourceLimitExceededException
3623//   The request exceeds the resource limit.
3624//
3625//   * ServiceUnavailableException
3626//   The service is currently unavailable.
3627//
3628//   * ServiceFailureException
3629//   The service encountered an unexpected error.
3630//
3631// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnectorGroup
3632func (c *Chime) CreateVoiceConnectorGroup(input *CreateVoiceConnectorGroupInput) (*CreateVoiceConnectorGroupOutput, error) {
3633	req, out := c.CreateVoiceConnectorGroupRequest(input)
3634	return out, req.Send()
3635}
3636
3637// CreateVoiceConnectorGroupWithContext is the same as CreateVoiceConnectorGroup with the addition of
3638// the ability to pass a context and additional request options.
3639//
3640// See CreateVoiceConnectorGroup for details on how to use this API operation.
3641//
3642// The context must be non-nil and will be used for request cancellation. If
3643// the context is nil a panic will occur. In the future the SDK may create
3644// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3645// for more information on using Contexts.
3646func (c *Chime) CreateVoiceConnectorGroupWithContext(ctx aws.Context, input *CreateVoiceConnectorGroupInput, opts ...request.Option) (*CreateVoiceConnectorGroupOutput, error) {
3647	req, out := c.CreateVoiceConnectorGroupRequest(input)
3648	req.SetContext(ctx)
3649	req.ApplyOptions(opts...)
3650	return out, req.Send()
3651}
3652
3653const opDeleteAccount = "DeleteAccount"
3654
3655// DeleteAccountRequest generates a "aws/request.Request" representing the
3656// client's request for the DeleteAccount operation. The "output" return
3657// value will be populated with the request's response once the request completes
3658// successfully.
3659//
3660// Use "Send" method on the returned Request to send the API call to the service.
3661// the "output" return value is not valid until after Send returns without error.
3662//
3663// See DeleteAccount for more information on using the DeleteAccount
3664// API call, and error handling.
3665//
3666// This method is useful when you want to inject custom logic or configuration
3667// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3668//
3669//
3670//    // Example sending a request using the DeleteAccountRequest method.
3671//    req, resp := client.DeleteAccountRequest(params)
3672//
3673//    err := req.Send()
3674//    if err == nil { // resp is now filled
3675//        fmt.Println(resp)
3676//    }
3677//
3678// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAccount
3679func (c *Chime) DeleteAccountRequest(input *DeleteAccountInput) (req *request.Request, output *DeleteAccountOutput) {
3680	op := &request.Operation{
3681		Name:       opDeleteAccount,
3682		HTTPMethod: "DELETE",
3683		HTTPPath:   "/accounts/{accountId}",
3684	}
3685
3686	if input == nil {
3687		input = &DeleteAccountInput{}
3688	}
3689
3690	output = &DeleteAccountOutput{}
3691	req = c.newRequest(op, input, output)
3692	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3693	return
3694}
3695
3696// DeleteAccount API operation for Amazon Chime.
3697//
3698// Deletes the specified Amazon Chime account. You must suspend all users before
3699// deleting Team account. You can use the BatchSuspendUser action to dodo.
3700//
3701// For EnterpriseLWA and EnterpriseAD accounts, you must release the claimed
3702// domains for your Amazon Chime account before deletion. As soon as you release
3703// the domain, all users under that account are suspended.
3704//
3705// Deleted accounts appear in your Disabled accounts list for 90 days. To restore
3706// deleted account from your Disabled accounts list, you must contact AWS Support.
3707//
3708// After 90 days, deleted accounts are permanently removed from your Disabled
3709// accounts list.
3710//
3711// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3712// with awserr.Error's Code and Message methods to get detailed information about
3713// the error.
3714//
3715// See the AWS API reference guide for Amazon Chime's
3716// API operation DeleteAccount for usage and error information.
3717//
3718// Returned Error Types:
3719//   * UnauthorizedClientException
3720//   The client is not currently authorized to make the request.
3721//
3722//   * NotFoundException
3723//   One or more of the resources in the request does not exist in the system.
3724//
3725//   * ForbiddenException
3726//   The client is permanently forbidden from making the request.
3727//
3728//   * BadRequestException
3729//   The input parameters don't match the service's restrictions.
3730//
3731//   * ThrottledClientException
3732//   The client exceeded its request rate limit.
3733//
3734//   * UnprocessableEntityException
3735//   The request was well-formed but was unable to be followed due to semantic
3736//   errors.
3737//
3738//   * ServiceUnavailableException
3739//   The service is currently unavailable.
3740//
3741//   * ServiceFailureException
3742//   The service encountered an unexpected error.
3743//
3744// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAccount
3745func (c *Chime) DeleteAccount(input *DeleteAccountInput) (*DeleteAccountOutput, error) {
3746	req, out := c.DeleteAccountRequest(input)
3747	return out, req.Send()
3748}
3749
3750// DeleteAccountWithContext is the same as DeleteAccount with the addition of
3751// the ability to pass a context and additional request options.
3752//
3753// See DeleteAccount for details on how to use this API operation.
3754//
3755// The context must be non-nil and will be used for request cancellation. If
3756// the context is nil a panic will occur. In the future the SDK may create
3757// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3758// for more information on using Contexts.
3759func (c *Chime) DeleteAccountWithContext(ctx aws.Context, input *DeleteAccountInput, opts ...request.Option) (*DeleteAccountOutput, error) {
3760	req, out := c.DeleteAccountRequest(input)
3761	req.SetContext(ctx)
3762	req.ApplyOptions(opts...)
3763	return out, req.Send()
3764}
3765
3766const opDeleteAppInstance = "DeleteAppInstance"
3767
3768// DeleteAppInstanceRequest generates a "aws/request.Request" representing the
3769// client's request for the DeleteAppInstance operation. The "output" return
3770// value will be populated with the request's response once the request completes
3771// successfully.
3772//
3773// Use "Send" method on the returned Request to send the API call to the service.
3774// the "output" return value is not valid until after Send returns without error.
3775//
3776// See DeleteAppInstance for more information on using the DeleteAppInstance
3777// API call, and error handling.
3778//
3779// This method is useful when you want to inject custom logic or configuration
3780// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3781//
3782//
3783//    // Example sending a request using the DeleteAppInstanceRequest method.
3784//    req, resp := client.DeleteAppInstanceRequest(params)
3785//
3786//    err := req.Send()
3787//    if err == nil { // resp is now filled
3788//        fmt.Println(resp)
3789//    }
3790//
3791// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstance
3792func (c *Chime) DeleteAppInstanceRequest(input *DeleteAppInstanceInput) (req *request.Request, output *DeleteAppInstanceOutput) {
3793	op := &request.Operation{
3794		Name:       opDeleteAppInstance,
3795		HTTPMethod: "DELETE",
3796		HTTPPath:   "/app-instances/{appInstanceArn}",
3797	}
3798
3799	if input == nil {
3800		input = &DeleteAppInstanceInput{}
3801	}
3802
3803	output = &DeleteAppInstanceOutput{}
3804	req = c.newRequest(op, input, output)
3805	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3806	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
3807	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
3808	return
3809}
3810
3811// DeleteAppInstance API operation for Amazon Chime.
3812//
3813// Deletes an AppInstance and all associated data asynchronously.
3814//
3815// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3816// with awserr.Error's Code and Message methods to get detailed information about
3817// the error.
3818//
3819// See the AWS API reference guide for Amazon Chime's
3820// API operation DeleteAppInstance for usage and error information.
3821//
3822// Returned Error Types:
3823//   * BadRequestException
3824//   The input parameters don't match the service's restrictions.
3825//
3826//   * ForbiddenException
3827//   The client is permanently forbidden from making the request.
3828//
3829//   * ThrottledClientException
3830//   The client exceeded its request rate limit.
3831//
3832//   * UnauthorizedClientException
3833//   The client is not currently authorized to make the request.
3834//
3835//   * ServiceUnavailableException
3836//   The service is currently unavailable.
3837//
3838//   * ServiceFailureException
3839//   The service encountered an unexpected error.
3840//
3841// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstance
3842func (c *Chime) DeleteAppInstance(input *DeleteAppInstanceInput) (*DeleteAppInstanceOutput, error) {
3843	req, out := c.DeleteAppInstanceRequest(input)
3844	return out, req.Send()
3845}
3846
3847// DeleteAppInstanceWithContext is the same as DeleteAppInstance with the addition of
3848// the ability to pass a context and additional request options.
3849//
3850// See DeleteAppInstance for details on how to use this API operation.
3851//
3852// The context must be non-nil and will be used for request cancellation. If
3853// the context is nil a panic will occur. In the future the SDK may create
3854// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3855// for more information on using Contexts.
3856func (c *Chime) DeleteAppInstanceWithContext(ctx aws.Context, input *DeleteAppInstanceInput, opts ...request.Option) (*DeleteAppInstanceOutput, error) {
3857	req, out := c.DeleteAppInstanceRequest(input)
3858	req.SetContext(ctx)
3859	req.ApplyOptions(opts...)
3860	return out, req.Send()
3861}
3862
3863const opDeleteAppInstanceAdmin = "DeleteAppInstanceAdmin"
3864
3865// DeleteAppInstanceAdminRequest generates a "aws/request.Request" representing the
3866// client's request for the DeleteAppInstanceAdmin operation. The "output" return
3867// value will be populated with the request's response once the request completes
3868// successfully.
3869//
3870// Use "Send" method on the returned Request to send the API call to the service.
3871// the "output" return value is not valid until after Send returns without error.
3872//
3873// See DeleteAppInstanceAdmin for more information on using the DeleteAppInstanceAdmin
3874// API call, and error handling.
3875//
3876// This method is useful when you want to inject custom logic or configuration
3877// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3878//
3879//
3880//    // Example sending a request using the DeleteAppInstanceAdminRequest method.
3881//    req, resp := client.DeleteAppInstanceAdminRequest(params)
3882//
3883//    err := req.Send()
3884//    if err == nil { // resp is now filled
3885//        fmt.Println(resp)
3886//    }
3887//
3888// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceAdmin
3889func (c *Chime) DeleteAppInstanceAdminRequest(input *DeleteAppInstanceAdminInput) (req *request.Request, output *DeleteAppInstanceAdminOutput) {
3890	op := &request.Operation{
3891		Name:       opDeleteAppInstanceAdmin,
3892		HTTPMethod: "DELETE",
3893		HTTPPath:   "/app-instances/{appInstanceArn}/admins/{appInstanceAdminArn}",
3894	}
3895
3896	if input == nil {
3897		input = &DeleteAppInstanceAdminInput{}
3898	}
3899
3900	output = &DeleteAppInstanceAdminOutput{}
3901	req = c.newRequest(op, input, output)
3902	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3903	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
3904	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
3905	return
3906}
3907
3908// DeleteAppInstanceAdmin API operation for Amazon Chime.
3909//
3910// Demotes an AppInstanceAdmin to an AppInstanceUser. This action does not delete
3911// the user.
3912//
3913// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3914// with awserr.Error's Code and Message methods to get detailed information about
3915// the error.
3916//
3917// See the AWS API reference guide for Amazon Chime's
3918// API operation DeleteAppInstanceAdmin for usage and error information.
3919//
3920// Returned Error Types:
3921//   * BadRequestException
3922//   The input parameters don't match the service's restrictions.
3923//
3924//   * ConflictException
3925//   The request could not be processed because of conflict in the current state
3926//   of the resource.
3927//
3928//   * ForbiddenException
3929//   The client is permanently forbidden from making the request.
3930//
3931//   * ThrottledClientException
3932//   The client exceeded its request rate limit.
3933//
3934//   * UnauthorizedClientException
3935//   The client is not currently authorized to make the request.
3936//
3937//   * ServiceUnavailableException
3938//   The service is currently unavailable.
3939//
3940//   * ServiceFailureException
3941//   The service encountered an unexpected error.
3942//
3943// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceAdmin
3944func (c *Chime) DeleteAppInstanceAdmin(input *DeleteAppInstanceAdminInput) (*DeleteAppInstanceAdminOutput, error) {
3945	req, out := c.DeleteAppInstanceAdminRequest(input)
3946	return out, req.Send()
3947}
3948
3949// DeleteAppInstanceAdminWithContext is the same as DeleteAppInstanceAdmin with the addition of
3950// the ability to pass a context and additional request options.
3951//
3952// See DeleteAppInstanceAdmin for details on how to use this API operation.
3953//
3954// The context must be non-nil and will be used for request cancellation. If
3955// the context is nil a panic will occur. In the future the SDK may create
3956// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3957// for more information on using Contexts.
3958func (c *Chime) DeleteAppInstanceAdminWithContext(ctx aws.Context, input *DeleteAppInstanceAdminInput, opts ...request.Option) (*DeleteAppInstanceAdminOutput, error) {
3959	req, out := c.DeleteAppInstanceAdminRequest(input)
3960	req.SetContext(ctx)
3961	req.ApplyOptions(opts...)
3962	return out, req.Send()
3963}
3964
3965const opDeleteAppInstanceStreamingConfigurations = "DeleteAppInstanceStreamingConfigurations"
3966
3967// DeleteAppInstanceStreamingConfigurationsRequest generates a "aws/request.Request" representing the
3968// client's request for the DeleteAppInstanceStreamingConfigurations operation. The "output" return
3969// value will be populated with the request's response once the request completes
3970// successfully.
3971//
3972// Use "Send" method on the returned Request to send the API call to the service.
3973// the "output" return value is not valid until after Send returns without error.
3974//
3975// See DeleteAppInstanceStreamingConfigurations for more information on using the DeleteAppInstanceStreamingConfigurations
3976// API call, and error handling.
3977//
3978// This method is useful when you want to inject custom logic or configuration
3979// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3980//
3981//
3982//    // Example sending a request using the DeleteAppInstanceStreamingConfigurationsRequest method.
3983//    req, resp := client.DeleteAppInstanceStreamingConfigurationsRequest(params)
3984//
3985//    err := req.Send()
3986//    if err == nil { // resp is now filled
3987//        fmt.Println(resp)
3988//    }
3989//
3990// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceStreamingConfigurations
3991func (c *Chime) DeleteAppInstanceStreamingConfigurationsRequest(input *DeleteAppInstanceStreamingConfigurationsInput) (req *request.Request, output *DeleteAppInstanceStreamingConfigurationsOutput) {
3992	op := &request.Operation{
3993		Name:       opDeleteAppInstanceStreamingConfigurations,
3994		HTTPMethod: "DELETE",
3995		HTTPPath:   "/app-instances/{appInstanceArn}/streaming-configurations",
3996	}
3997
3998	if input == nil {
3999		input = &DeleteAppInstanceStreamingConfigurationsInput{}
4000	}
4001
4002	output = &DeleteAppInstanceStreamingConfigurationsOutput{}
4003	req = c.newRequest(op, input, output)
4004	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4005	return
4006}
4007
4008// DeleteAppInstanceStreamingConfigurations API operation for Amazon Chime.
4009//
4010// Deletes the streaming configurations of an AppInstance.
4011//
4012// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4013// with awserr.Error's Code and Message methods to get detailed information about
4014// the error.
4015//
4016// See the AWS API reference guide for Amazon Chime's
4017// API operation DeleteAppInstanceStreamingConfigurations for usage and error information.
4018//
4019// Returned Error Types:
4020//   * BadRequestException
4021//   The input parameters don't match the service's restrictions.
4022//
4023//   * ForbiddenException
4024//   The client is permanently forbidden from making the request.
4025//
4026//   * NotFoundException
4027//   One or more of the resources in the request does not exist in the system.
4028//
4029//   * UnauthorizedClientException
4030//   The client is not currently authorized to make the request.
4031//
4032//   * ThrottledClientException
4033//   The client exceeded its request rate limit.
4034//
4035//   * ServiceUnavailableException
4036//   The service is currently unavailable.
4037//
4038//   * ServiceFailureException
4039//   The service encountered an unexpected error.
4040//
4041// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceStreamingConfigurations
4042func (c *Chime) DeleteAppInstanceStreamingConfigurations(input *DeleteAppInstanceStreamingConfigurationsInput) (*DeleteAppInstanceStreamingConfigurationsOutput, error) {
4043	req, out := c.DeleteAppInstanceStreamingConfigurationsRequest(input)
4044	return out, req.Send()
4045}
4046
4047// DeleteAppInstanceStreamingConfigurationsWithContext is the same as DeleteAppInstanceStreamingConfigurations with the addition of
4048// the ability to pass a context and additional request options.
4049//
4050// See DeleteAppInstanceStreamingConfigurations for details on how to use this API operation.
4051//
4052// The context must be non-nil and will be used for request cancellation. If
4053// the context is nil a panic will occur. In the future the SDK may create
4054// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4055// for more information on using Contexts.
4056func (c *Chime) DeleteAppInstanceStreamingConfigurationsWithContext(ctx aws.Context, input *DeleteAppInstanceStreamingConfigurationsInput, opts ...request.Option) (*DeleteAppInstanceStreamingConfigurationsOutput, error) {
4057	req, out := c.DeleteAppInstanceStreamingConfigurationsRequest(input)
4058	req.SetContext(ctx)
4059	req.ApplyOptions(opts...)
4060	return out, req.Send()
4061}
4062
4063const opDeleteAppInstanceUser = "DeleteAppInstanceUser"
4064
4065// DeleteAppInstanceUserRequest generates a "aws/request.Request" representing the
4066// client's request for the DeleteAppInstanceUser operation. The "output" return
4067// value will be populated with the request's response once the request completes
4068// successfully.
4069//
4070// Use "Send" method on the returned Request to send the API call to the service.
4071// the "output" return value is not valid until after Send returns without error.
4072//
4073// See DeleteAppInstanceUser for more information on using the DeleteAppInstanceUser
4074// API call, and error handling.
4075//
4076// This method is useful when you want to inject custom logic or configuration
4077// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4078//
4079//
4080//    // Example sending a request using the DeleteAppInstanceUserRequest method.
4081//    req, resp := client.DeleteAppInstanceUserRequest(params)
4082//
4083//    err := req.Send()
4084//    if err == nil { // resp is now filled
4085//        fmt.Println(resp)
4086//    }
4087//
4088// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceUser
4089func (c *Chime) DeleteAppInstanceUserRequest(input *DeleteAppInstanceUserInput) (req *request.Request, output *DeleteAppInstanceUserOutput) {
4090	op := &request.Operation{
4091		Name:       opDeleteAppInstanceUser,
4092		HTTPMethod: "DELETE",
4093		HTTPPath:   "/app-instance-users/{appInstanceUserArn}",
4094	}
4095
4096	if input == nil {
4097		input = &DeleteAppInstanceUserInput{}
4098	}
4099
4100	output = &DeleteAppInstanceUserOutput{}
4101	req = c.newRequest(op, input, output)
4102	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4103	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
4104	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
4105	return
4106}
4107
4108// DeleteAppInstanceUser API operation for Amazon Chime.
4109//
4110// Deletes an AppInstanceUser.
4111//
4112// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4113// with awserr.Error's Code and Message methods to get detailed information about
4114// the error.
4115//
4116// See the AWS API reference guide for Amazon Chime's
4117// API operation DeleteAppInstanceUser for usage and error information.
4118//
4119// Returned Error Types:
4120//   * BadRequestException
4121//   The input parameters don't match the service's restrictions.
4122//
4123//   * ForbiddenException
4124//   The client is permanently forbidden from making the request.
4125//
4126//   * ThrottledClientException
4127//   The client exceeded its request rate limit.
4128//
4129//   * UnauthorizedClientException
4130//   The client is not currently authorized to make the request.
4131//
4132//   * ServiceUnavailableException
4133//   The service is currently unavailable.
4134//
4135//   * ServiceFailureException
4136//   The service encountered an unexpected error.
4137//
4138// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceUser
4139func (c *Chime) DeleteAppInstanceUser(input *DeleteAppInstanceUserInput) (*DeleteAppInstanceUserOutput, error) {
4140	req, out := c.DeleteAppInstanceUserRequest(input)
4141	return out, req.Send()
4142}
4143
4144// DeleteAppInstanceUserWithContext is the same as DeleteAppInstanceUser with the addition of
4145// the ability to pass a context and additional request options.
4146//
4147// See DeleteAppInstanceUser for details on how to use this API operation.
4148//
4149// The context must be non-nil and will be used for request cancellation. If
4150// the context is nil a panic will occur. In the future the SDK may create
4151// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4152// for more information on using Contexts.
4153func (c *Chime) DeleteAppInstanceUserWithContext(ctx aws.Context, input *DeleteAppInstanceUserInput, opts ...request.Option) (*DeleteAppInstanceUserOutput, error) {
4154	req, out := c.DeleteAppInstanceUserRequest(input)
4155	req.SetContext(ctx)
4156	req.ApplyOptions(opts...)
4157	return out, req.Send()
4158}
4159
4160const opDeleteAttendee = "DeleteAttendee"
4161
4162// DeleteAttendeeRequest generates a "aws/request.Request" representing the
4163// client's request for the DeleteAttendee operation. The "output" return
4164// value will be populated with the request's response once the request completes
4165// successfully.
4166//
4167// Use "Send" method on the returned Request to send the API call to the service.
4168// the "output" return value is not valid until after Send returns without error.
4169//
4170// See DeleteAttendee for more information on using the DeleteAttendee
4171// API call, and error handling.
4172//
4173// This method is useful when you want to inject custom logic or configuration
4174// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4175//
4176//
4177//    // Example sending a request using the DeleteAttendeeRequest method.
4178//    req, resp := client.DeleteAttendeeRequest(params)
4179//
4180//    err := req.Send()
4181//    if err == nil { // resp is now filled
4182//        fmt.Println(resp)
4183//    }
4184//
4185// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAttendee
4186func (c *Chime) DeleteAttendeeRequest(input *DeleteAttendeeInput) (req *request.Request, output *DeleteAttendeeOutput) {
4187	op := &request.Operation{
4188		Name:       opDeleteAttendee,
4189		HTTPMethod: "DELETE",
4190		HTTPPath:   "/meetings/{meetingId}/attendees/{attendeeId}",
4191	}
4192
4193	if input == nil {
4194		input = &DeleteAttendeeInput{}
4195	}
4196
4197	output = &DeleteAttendeeOutput{}
4198	req = c.newRequest(op, input, output)
4199	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4200	return
4201}
4202
4203// DeleteAttendee API operation for Amazon Chime.
4204//
4205// Deletes an attendee from the specified Amazon Chime SDK meeting and deletes
4206// their JoinToken. Attendees are automatically deleted when a Amazon Chime
4207// SDK meeting is deleted. For more information about the Amazon Chime SDK,
4208// see Using the Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
4209// in the Amazon Chime Developer Guide.
4210//
4211// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4212// with awserr.Error's Code and Message methods to get detailed information about
4213// the error.
4214//
4215// See the AWS API reference guide for Amazon Chime's
4216// API operation DeleteAttendee for usage and error information.
4217//
4218// Returned Error Types:
4219//   * BadRequestException
4220//   The input parameters don't match the service's restrictions.
4221//
4222//   * ForbiddenException
4223//   The client is permanently forbidden from making the request.
4224//
4225//   * ThrottledClientException
4226//   The client exceeded its request rate limit.
4227//
4228//   * NotFoundException
4229//   One or more of the resources in the request does not exist in the system.
4230//
4231//   * UnauthorizedClientException
4232//   The client is not currently authorized to make the request.
4233//
4234//   * ServiceUnavailableException
4235//   The service is currently unavailable.
4236//
4237//   * ServiceFailureException
4238//   The service encountered an unexpected error.
4239//
4240// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAttendee
4241func (c *Chime) DeleteAttendee(input *DeleteAttendeeInput) (*DeleteAttendeeOutput, error) {
4242	req, out := c.DeleteAttendeeRequest(input)
4243	return out, req.Send()
4244}
4245
4246// DeleteAttendeeWithContext is the same as DeleteAttendee with the addition of
4247// the ability to pass a context and additional request options.
4248//
4249// See DeleteAttendee for details on how to use this API operation.
4250//
4251// The context must be non-nil and will be used for request cancellation. If
4252// the context is nil a panic will occur. In the future the SDK may create
4253// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4254// for more information on using Contexts.
4255func (c *Chime) DeleteAttendeeWithContext(ctx aws.Context, input *DeleteAttendeeInput, opts ...request.Option) (*DeleteAttendeeOutput, error) {
4256	req, out := c.DeleteAttendeeRequest(input)
4257	req.SetContext(ctx)
4258	req.ApplyOptions(opts...)
4259	return out, req.Send()
4260}
4261
4262const opDeleteChannel = "DeleteChannel"
4263
4264// DeleteChannelRequest generates a "aws/request.Request" representing the
4265// client's request for the DeleteChannel operation. The "output" return
4266// value will be populated with the request's response once the request completes
4267// successfully.
4268//
4269// Use "Send" method on the returned Request to send the API call to the service.
4270// the "output" return value is not valid until after Send returns without error.
4271//
4272// See DeleteChannel for more information on using the DeleteChannel
4273// API call, and error handling.
4274//
4275// This method is useful when you want to inject custom logic or configuration
4276// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4277//
4278//
4279//    // Example sending a request using the DeleteChannelRequest method.
4280//    req, resp := client.DeleteChannelRequest(params)
4281//
4282//    err := req.Send()
4283//    if err == nil { // resp is now filled
4284//        fmt.Println(resp)
4285//    }
4286//
4287// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannel
4288func (c *Chime) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) {
4289	op := &request.Operation{
4290		Name:       opDeleteChannel,
4291		HTTPMethod: "DELETE",
4292		HTTPPath:   "/channels/{channelArn}",
4293	}
4294
4295	if input == nil {
4296		input = &DeleteChannelInput{}
4297	}
4298
4299	output = &DeleteChannelOutput{}
4300	req = c.newRequest(op, input, output)
4301	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4302	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
4303	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
4304	return
4305}
4306
4307// DeleteChannel API operation for Amazon Chime.
4308//
4309// Immediately makes a channel and its memberships inaccessible and marks them
4310// for deletion. This is an irreversible process.
4311//
4312// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
4313// of the user that makes the API call as the value in the header.
4314//
4315// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4316// with awserr.Error's Code and Message methods to get detailed information about
4317// the error.
4318//
4319// See the AWS API reference guide for Amazon Chime's
4320// API operation DeleteChannel for usage and error information.
4321//
4322// Returned Error Types:
4323//   * BadRequestException
4324//   The input parameters don't match the service's restrictions.
4325//
4326//   * ForbiddenException
4327//   The client is permanently forbidden from making the request.
4328//
4329//   * UnauthorizedClientException
4330//   The client is not currently authorized to make the request.
4331//
4332//   * ThrottledClientException
4333//   The client exceeded its request rate limit.
4334//
4335//   * ServiceUnavailableException
4336//   The service is currently unavailable.
4337//
4338//   * ServiceFailureException
4339//   The service encountered an unexpected error.
4340//
4341// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannel
4342func (c *Chime) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error) {
4343	req, out := c.DeleteChannelRequest(input)
4344	return out, req.Send()
4345}
4346
4347// DeleteChannelWithContext is the same as DeleteChannel with the addition of
4348// the ability to pass a context and additional request options.
4349//
4350// See DeleteChannel for details on how to use this API operation.
4351//
4352// The context must be non-nil and will be used for request cancellation. If
4353// the context is nil a panic will occur. In the future the SDK may create
4354// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4355// for more information on using Contexts.
4356func (c *Chime) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error) {
4357	req, out := c.DeleteChannelRequest(input)
4358	req.SetContext(ctx)
4359	req.ApplyOptions(opts...)
4360	return out, req.Send()
4361}
4362
4363const opDeleteChannelBan = "DeleteChannelBan"
4364
4365// DeleteChannelBanRequest generates a "aws/request.Request" representing the
4366// client's request for the DeleteChannelBan operation. The "output" return
4367// value will be populated with the request's response once the request completes
4368// successfully.
4369//
4370// Use "Send" method on the returned Request to send the API call to the service.
4371// the "output" return value is not valid until after Send returns without error.
4372//
4373// See DeleteChannelBan for more information on using the DeleteChannelBan
4374// API call, and error handling.
4375//
4376// This method is useful when you want to inject custom logic or configuration
4377// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4378//
4379//
4380//    // Example sending a request using the DeleteChannelBanRequest method.
4381//    req, resp := client.DeleteChannelBanRequest(params)
4382//
4383//    err := req.Send()
4384//    if err == nil { // resp is now filled
4385//        fmt.Println(resp)
4386//    }
4387//
4388// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelBan
4389func (c *Chime) DeleteChannelBanRequest(input *DeleteChannelBanInput) (req *request.Request, output *DeleteChannelBanOutput) {
4390	op := &request.Operation{
4391		Name:       opDeleteChannelBan,
4392		HTTPMethod: "DELETE",
4393		HTTPPath:   "/channels/{channelArn}/bans/{memberArn}",
4394	}
4395
4396	if input == nil {
4397		input = &DeleteChannelBanInput{}
4398	}
4399
4400	output = &DeleteChannelBanOutput{}
4401	req = c.newRequest(op, input, output)
4402	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4403	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
4404	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
4405	return
4406}
4407
4408// DeleteChannelBan API operation for Amazon Chime.
4409//
4410// Removes a user from a channel's ban list.
4411//
4412// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
4413// of the user that makes the API call as the value in the header.
4414//
4415// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4416// with awserr.Error's Code and Message methods to get detailed information about
4417// the error.
4418//
4419// See the AWS API reference guide for Amazon Chime's
4420// API operation DeleteChannelBan for usage and error information.
4421//
4422// Returned Error Types:
4423//   * BadRequestException
4424//   The input parameters don't match the service's restrictions.
4425//
4426//   * ForbiddenException
4427//   The client is permanently forbidden from making the request.
4428//
4429//   * UnauthorizedClientException
4430//   The client is not currently authorized to make the request.
4431//
4432//   * ThrottledClientException
4433//   The client exceeded its request rate limit.
4434//
4435//   * ServiceUnavailableException
4436//   The service is currently unavailable.
4437//
4438//   * ServiceFailureException
4439//   The service encountered an unexpected error.
4440//
4441// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelBan
4442func (c *Chime) DeleteChannelBan(input *DeleteChannelBanInput) (*DeleteChannelBanOutput, error) {
4443	req, out := c.DeleteChannelBanRequest(input)
4444	return out, req.Send()
4445}
4446
4447// DeleteChannelBanWithContext is the same as DeleteChannelBan with the addition of
4448// the ability to pass a context and additional request options.
4449//
4450// See DeleteChannelBan for details on how to use this API operation.
4451//
4452// The context must be non-nil and will be used for request cancellation. If
4453// the context is nil a panic will occur. In the future the SDK may create
4454// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4455// for more information on using Contexts.
4456func (c *Chime) DeleteChannelBanWithContext(ctx aws.Context, input *DeleteChannelBanInput, opts ...request.Option) (*DeleteChannelBanOutput, error) {
4457	req, out := c.DeleteChannelBanRequest(input)
4458	req.SetContext(ctx)
4459	req.ApplyOptions(opts...)
4460	return out, req.Send()
4461}
4462
4463const opDeleteChannelMembership = "DeleteChannelMembership"
4464
4465// DeleteChannelMembershipRequest generates a "aws/request.Request" representing the
4466// client's request for the DeleteChannelMembership operation. The "output" return
4467// value will be populated with the request's response once the request completes
4468// successfully.
4469//
4470// Use "Send" method on the returned Request to send the API call to the service.
4471// the "output" return value is not valid until after Send returns without error.
4472//
4473// See DeleteChannelMembership for more information on using the DeleteChannelMembership
4474// API call, and error handling.
4475//
4476// This method is useful when you want to inject custom logic or configuration
4477// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4478//
4479//
4480//    // Example sending a request using the DeleteChannelMembershipRequest method.
4481//    req, resp := client.DeleteChannelMembershipRequest(params)
4482//
4483//    err := req.Send()
4484//    if err == nil { // resp is now filled
4485//        fmt.Println(resp)
4486//    }
4487//
4488// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelMembership
4489func (c *Chime) DeleteChannelMembershipRequest(input *DeleteChannelMembershipInput) (req *request.Request, output *DeleteChannelMembershipOutput) {
4490	op := &request.Operation{
4491		Name:       opDeleteChannelMembership,
4492		HTTPMethod: "DELETE",
4493		HTTPPath:   "/channels/{channelArn}/memberships/{memberArn}",
4494	}
4495
4496	if input == nil {
4497		input = &DeleteChannelMembershipInput{}
4498	}
4499
4500	output = &DeleteChannelMembershipOutput{}
4501	req = c.newRequest(op, input, output)
4502	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4503	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
4504	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
4505	return
4506}
4507
4508// DeleteChannelMembership API operation for Amazon Chime.
4509//
4510// Removes a member from a channel.
4511//
4512// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
4513// of the user that makes the API call as the value in the header.
4514//
4515// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4516// with awserr.Error's Code and Message methods to get detailed information about
4517// the error.
4518//
4519// See the AWS API reference guide for Amazon Chime's
4520// API operation DeleteChannelMembership for usage and error information.
4521//
4522// Returned Error Types:
4523//   * BadRequestException
4524//   The input parameters don't match the service's restrictions.
4525//
4526//   * ForbiddenException
4527//   The client is permanently forbidden from making the request.
4528//
4529//   * UnauthorizedClientException
4530//   The client is not currently authorized to make the request.
4531//
4532//   * ConflictException
4533//   The request could not be processed because of conflict in the current state
4534//   of the resource.
4535//
4536//   * ThrottledClientException
4537//   The client exceeded its request rate limit.
4538//
4539//   * ServiceUnavailableException
4540//   The service is currently unavailable.
4541//
4542//   * ServiceFailureException
4543//   The service encountered an unexpected error.
4544//
4545// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelMembership
4546func (c *Chime) DeleteChannelMembership(input *DeleteChannelMembershipInput) (*DeleteChannelMembershipOutput, error) {
4547	req, out := c.DeleteChannelMembershipRequest(input)
4548	return out, req.Send()
4549}
4550
4551// DeleteChannelMembershipWithContext is the same as DeleteChannelMembership with the addition of
4552// the ability to pass a context and additional request options.
4553//
4554// See DeleteChannelMembership for details on how to use this API operation.
4555//
4556// The context must be non-nil and will be used for request cancellation. If
4557// the context is nil a panic will occur. In the future the SDK may create
4558// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4559// for more information on using Contexts.
4560func (c *Chime) DeleteChannelMembershipWithContext(ctx aws.Context, input *DeleteChannelMembershipInput, opts ...request.Option) (*DeleteChannelMembershipOutput, error) {
4561	req, out := c.DeleteChannelMembershipRequest(input)
4562	req.SetContext(ctx)
4563	req.ApplyOptions(opts...)
4564	return out, req.Send()
4565}
4566
4567const opDeleteChannelMessage = "DeleteChannelMessage"
4568
4569// DeleteChannelMessageRequest generates a "aws/request.Request" representing the
4570// client's request for the DeleteChannelMessage operation. The "output" return
4571// value will be populated with the request's response once the request completes
4572// successfully.
4573//
4574// Use "Send" method on the returned Request to send the API call to the service.
4575// the "output" return value is not valid until after Send returns without error.
4576//
4577// See DeleteChannelMessage for more information on using the DeleteChannelMessage
4578// API call, and error handling.
4579//
4580// This method is useful when you want to inject custom logic or configuration
4581// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4582//
4583//
4584//    // Example sending a request using the DeleteChannelMessageRequest method.
4585//    req, resp := client.DeleteChannelMessageRequest(params)
4586//
4587//    err := req.Send()
4588//    if err == nil { // resp is now filled
4589//        fmt.Println(resp)
4590//    }
4591//
4592// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelMessage
4593func (c *Chime) DeleteChannelMessageRequest(input *DeleteChannelMessageInput) (req *request.Request, output *DeleteChannelMessageOutput) {
4594	op := &request.Operation{
4595		Name:       opDeleteChannelMessage,
4596		HTTPMethod: "DELETE",
4597		HTTPPath:   "/channels/{channelArn}/messages/{messageId}",
4598	}
4599
4600	if input == nil {
4601		input = &DeleteChannelMessageInput{}
4602	}
4603
4604	output = &DeleteChannelMessageOutput{}
4605	req = c.newRequest(op, input, output)
4606	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4607	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
4608	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
4609	return
4610}
4611
4612// DeleteChannelMessage API operation for Amazon Chime.
4613//
4614// Deletes a channel message. Only admins can perform this action. Deletion
4615// makes messages inaccessible immediately. A background process deletes any
4616// revisions created by UpdateChannelMessage.
4617//
4618// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
4619// of the user that makes the API call as the value in the header.
4620//
4621// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4622// with awserr.Error's Code and Message methods to get detailed information about
4623// the error.
4624//
4625// See the AWS API reference guide for Amazon Chime's
4626// API operation DeleteChannelMessage for usage and error information.
4627//
4628// Returned Error Types:
4629//   * BadRequestException
4630//   The input parameters don't match the service's restrictions.
4631//
4632//   * ForbiddenException
4633//   The client is permanently forbidden from making the request.
4634//
4635//   * UnauthorizedClientException
4636//   The client is not currently authorized to make the request.
4637//
4638//   * ThrottledClientException
4639//   The client exceeded its request rate limit.
4640//
4641//   * ServiceUnavailableException
4642//   The service is currently unavailable.
4643//
4644//   * ServiceFailureException
4645//   The service encountered an unexpected error.
4646//
4647// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelMessage
4648func (c *Chime) DeleteChannelMessage(input *DeleteChannelMessageInput) (*DeleteChannelMessageOutput, error) {
4649	req, out := c.DeleteChannelMessageRequest(input)
4650	return out, req.Send()
4651}
4652
4653// DeleteChannelMessageWithContext is the same as DeleteChannelMessage with the addition of
4654// the ability to pass a context and additional request options.
4655//
4656// See DeleteChannelMessage for details on how to use this API operation.
4657//
4658// The context must be non-nil and will be used for request cancellation. If
4659// the context is nil a panic will occur. In the future the SDK may create
4660// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4661// for more information on using Contexts.
4662func (c *Chime) DeleteChannelMessageWithContext(ctx aws.Context, input *DeleteChannelMessageInput, opts ...request.Option) (*DeleteChannelMessageOutput, error) {
4663	req, out := c.DeleteChannelMessageRequest(input)
4664	req.SetContext(ctx)
4665	req.ApplyOptions(opts...)
4666	return out, req.Send()
4667}
4668
4669const opDeleteChannelModerator = "DeleteChannelModerator"
4670
4671// DeleteChannelModeratorRequest generates a "aws/request.Request" representing the
4672// client's request for the DeleteChannelModerator operation. The "output" return
4673// value will be populated with the request's response once the request completes
4674// successfully.
4675//
4676// Use "Send" method on the returned Request to send the API call to the service.
4677// the "output" return value is not valid until after Send returns without error.
4678//
4679// See DeleteChannelModerator for more information on using the DeleteChannelModerator
4680// API call, and error handling.
4681//
4682// This method is useful when you want to inject custom logic or configuration
4683// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4684//
4685//
4686//    // Example sending a request using the DeleteChannelModeratorRequest method.
4687//    req, resp := client.DeleteChannelModeratorRequest(params)
4688//
4689//    err := req.Send()
4690//    if err == nil { // resp is now filled
4691//        fmt.Println(resp)
4692//    }
4693//
4694// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelModerator
4695func (c *Chime) DeleteChannelModeratorRequest(input *DeleteChannelModeratorInput) (req *request.Request, output *DeleteChannelModeratorOutput) {
4696	op := &request.Operation{
4697		Name:       opDeleteChannelModerator,
4698		HTTPMethod: "DELETE",
4699		HTTPPath:   "/channels/{channelArn}/moderators/{channelModeratorArn}",
4700	}
4701
4702	if input == nil {
4703		input = &DeleteChannelModeratorInput{}
4704	}
4705
4706	output = &DeleteChannelModeratorOutput{}
4707	req = c.newRequest(op, input, output)
4708	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4709	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
4710	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
4711	return
4712}
4713
4714// DeleteChannelModerator API operation for Amazon Chime.
4715//
4716// Deletes a channel moderator.
4717//
4718// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
4719// of the user that makes the API call as the value in the header.
4720//
4721// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4722// with awserr.Error's Code and Message methods to get detailed information about
4723// the error.
4724//
4725// See the AWS API reference guide for Amazon Chime's
4726// API operation DeleteChannelModerator for usage and error information.
4727//
4728// Returned Error Types:
4729//   * BadRequestException
4730//   The input parameters don't match the service's restrictions.
4731//
4732//   * ForbiddenException
4733//   The client is permanently forbidden from making the request.
4734//
4735//   * UnauthorizedClientException
4736//   The client is not currently authorized to make the request.
4737//
4738//   * ThrottledClientException
4739//   The client exceeded its request rate limit.
4740//
4741//   * ServiceUnavailableException
4742//   The service is currently unavailable.
4743//
4744//   * ServiceFailureException
4745//   The service encountered an unexpected error.
4746//
4747// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelModerator
4748func (c *Chime) DeleteChannelModerator(input *DeleteChannelModeratorInput) (*DeleteChannelModeratorOutput, error) {
4749	req, out := c.DeleteChannelModeratorRequest(input)
4750	return out, req.Send()
4751}
4752
4753// DeleteChannelModeratorWithContext is the same as DeleteChannelModerator with the addition of
4754// the ability to pass a context and additional request options.
4755//
4756// See DeleteChannelModerator for details on how to use this API operation.
4757//
4758// The context must be non-nil and will be used for request cancellation. If
4759// the context is nil a panic will occur. In the future the SDK may create
4760// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4761// for more information on using Contexts.
4762func (c *Chime) DeleteChannelModeratorWithContext(ctx aws.Context, input *DeleteChannelModeratorInput, opts ...request.Option) (*DeleteChannelModeratorOutput, error) {
4763	req, out := c.DeleteChannelModeratorRequest(input)
4764	req.SetContext(ctx)
4765	req.ApplyOptions(opts...)
4766	return out, req.Send()
4767}
4768
4769const opDeleteEventsConfiguration = "DeleteEventsConfiguration"
4770
4771// DeleteEventsConfigurationRequest generates a "aws/request.Request" representing the
4772// client's request for the DeleteEventsConfiguration operation. The "output" return
4773// value will be populated with the request's response once the request completes
4774// successfully.
4775//
4776// Use "Send" method on the returned Request to send the API call to the service.
4777// the "output" return value is not valid until after Send returns without error.
4778//
4779// See DeleteEventsConfiguration for more information on using the DeleteEventsConfiguration
4780// API call, and error handling.
4781//
4782// This method is useful when you want to inject custom logic or configuration
4783// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4784//
4785//
4786//    // Example sending a request using the DeleteEventsConfigurationRequest method.
4787//    req, resp := client.DeleteEventsConfigurationRequest(params)
4788//
4789//    err := req.Send()
4790//    if err == nil { // resp is now filled
4791//        fmt.Println(resp)
4792//    }
4793//
4794// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteEventsConfiguration
4795func (c *Chime) DeleteEventsConfigurationRequest(input *DeleteEventsConfigurationInput) (req *request.Request, output *DeleteEventsConfigurationOutput) {
4796	op := &request.Operation{
4797		Name:       opDeleteEventsConfiguration,
4798		HTTPMethod: "DELETE",
4799		HTTPPath:   "/accounts/{accountId}/bots/{botId}/events-configuration",
4800	}
4801
4802	if input == nil {
4803		input = &DeleteEventsConfigurationInput{}
4804	}
4805
4806	output = &DeleteEventsConfigurationOutput{}
4807	req = c.newRequest(op, input, output)
4808	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4809	return
4810}
4811
4812// DeleteEventsConfiguration API operation for Amazon Chime.
4813//
4814// Deletes the events configuration that allows a bot to receive outgoing events.
4815//
4816// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4817// with awserr.Error's Code and Message methods to get detailed information about
4818// the error.
4819//
4820// See the AWS API reference guide for Amazon Chime's
4821// API operation DeleteEventsConfiguration for usage and error information.
4822//
4823// Returned Error Types:
4824//   * ServiceUnavailableException
4825//   The service is currently unavailable.
4826//
4827//   * ServiceFailureException
4828//   The service encountered an unexpected error.
4829//
4830//   * ForbiddenException
4831//   The client is permanently forbidden from making the request.
4832//
4833//   * BadRequestException
4834//   The input parameters don't match the service's restrictions.
4835//
4836//   * UnauthorizedClientException
4837//   The client is not currently authorized to make the request.
4838//
4839//   * ResourceLimitExceededException
4840//   The request exceeds the resource limit.
4841//
4842// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteEventsConfiguration
4843func (c *Chime) DeleteEventsConfiguration(input *DeleteEventsConfigurationInput) (*DeleteEventsConfigurationOutput, error) {
4844	req, out := c.DeleteEventsConfigurationRequest(input)
4845	return out, req.Send()
4846}
4847
4848// DeleteEventsConfigurationWithContext is the same as DeleteEventsConfiguration with the addition of
4849// the ability to pass a context and additional request options.
4850//
4851// See DeleteEventsConfiguration for details on how to use this API operation.
4852//
4853// The context must be non-nil and will be used for request cancellation. If
4854// the context is nil a panic will occur. In the future the SDK may create
4855// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4856// for more information on using Contexts.
4857func (c *Chime) DeleteEventsConfigurationWithContext(ctx aws.Context, input *DeleteEventsConfigurationInput, opts ...request.Option) (*DeleteEventsConfigurationOutput, error) {
4858	req, out := c.DeleteEventsConfigurationRequest(input)
4859	req.SetContext(ctx)
4860	req.ApplyOptions(opts...)
4861	return out, req.Send()
4862}
4863
4864const opDeleteMeeting = "DeleteMeeting"
4865
4866// DeleteMeetingRequest generates a "aws/request.Request" representing the
4867// client's request for the DeleteMeeting operation. The "output" return
4868// value will be populated with the request's response once the request completes
4869// successfully.
4870//
4871// Use "Send" method on the returned Request to send the API call to the service.
4872// the "output" return value is not valid until after Send returns without error.
4873//
4874// See DeleteMeeting for more information on using the DeleteMeeting
4875// API call, and error handling.
4876//
4877// This method is useful when you want to inject custom logic or configuration
4878// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4879//
4880//
4881//    // Example sending a request using the DeleteMeetingRequest method.
4882//    req, resp := client.DeleteMeetingRequest(params)
4883//
4884//    err := req.Send()
4885//    if err == nil { // resp is now filled
4886//        fmt.Println(resp)
4887//    }
4888//
4889// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteMeeting
4890func (c *Chime) DeleteMeetingRequest(input *DeleteMeetingInput) (req *request.Request, output *DeleteMeetingOutput) {
4891	op := &request.Operation{
4892		Name:       opDeleteMeeting,
4893		HTTPMethod: "DELETE",
4894		HTTPPath:   "/meetings/{meetingId}",
4895	}
4896
4897	if input == nil {
4898		input = &DeleteMeetingInput{}
4899	}
4900
4901	output = &DeleteMeetingOutput{}
4902	req = c.newRequest(op, input, output)
4903	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4904	return
4905}
4906
4907// DeleteMeeting API operation for Amazon Chime.
4908//
4909// Deletes the specified Amazon Chime SDK meeting. The operation deletes all
4910// attendees, disconnects all clients, and prevents new clients from joining
4911// the meeting. For more information about the Amazon Chime SDK, see Using the
4912// Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
4913// in the Amazon Chime Developer Guide.
4914//
4915// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4916// with awserr.Error's Code and Message methods to get detailed information about
4917// the error.
4918//
4919// See the AWS API reference guide for Amazon Chime's
4920// API operation DeleteMeeting for usage and error information.
4921//
4922// Returned Error Types:
4923//   * BadRequestException
4924//   The input parameters don't match the service's restrictions.
4925//
4926//   * ForbiddenException
4927//   The client is permanently forbidden from making the request.
4928//
4929//   * ThrottledClientException
4930//   The client exceeded its request rate limit.
4931//
4932//   * NotFoundException
4933//   One or more of the resources in the request does not exist in the system.
4934//
4935//   * UnauthorizedClientException
4936//   The client is not currently authorized to make the request.
4937//
4938//   * ServiceUnavailableException
4939//   The service is currently unavailable.
4940//
4941//   * ServiceFailureException
4942//   The service encountered an unexpected error.
4943//
4944// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteMeeting
4945func (c *Chime) DeleteMeeting(input *DeleteMeetingInput) (*DeleteMeetingOutput, error) {
4946	req, out := c.DeleteMeetingRequest(input)
4947	return out, req.Send()
4948}
4949
4950// DeleteMeetingWithContext is the same as DeleteMeeting with the addition of
4951// the ability to pass a context and additional request options.
4952//
4953// See DeleteMeeting for details on how to use this API operation.
4954//
4955// The context must be non-nil and will be used for request cancellation. If
4956// the context is nil a panic will occur. In the future the SDK may create
4957// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4958// for more information on using Contexts.
4959func (c *Chime) DeleteMeetingWithContext(ctx aws.Context, input *DeleteMeetingInput, opts ...request.Option) (*DeleteMeetingOutput, error) {
4960	req, out := c.DeleteMeetingRequest(input)
4961	req.SetContext(ctx)
4962	req.ApplyOptions(opts...)
4963	return out, req.Send()
4964}
4965
4966const opDeletePhoneNumber = "DeletePhoneNumber"
4967
4968// DeletePhoneNumberRequest generates a "aws/request.Request" representing the
4969// client's request for the DeletePhoneNumber operation. The "output" return
4970// value will be populated with the request's response once the request completes
4971// successfully.
4972//
4973// Use "Send" method on the returned Request to send the API call to the service.
4974// the "output" return value is not valid until after Send returns without error.
4975//
4976// See DeletePhoneNumber for more information on using the DeletePhoneNumber
4977// API call, and error handling.
4978//
4979// This method is useful when you want to inject custom logic or configuration
4980// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4981//
4982//
4983//    // Example sending a request using the DeletePhoneNumberRequest method.
4984//    req, resp := client.DeletePhoneNumberRequest(params)
4985//
4986//    err := req.Send()
4987//    if err == nil { // resp is now filled
4988//        fmt.Println(resp)
4989//    }
4990//
4991// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeletePhoneNumber
4992func (c *Chime) DeletePhoneNumberRequest(input *DeletePhoneNumberInput) (req *request.Request, output *DeletePhoneNumberOutput) {
4993	op := &request.Operation{
4994		Name:       opDeletePhoneNumber,
4995		HTTPMethod: "DELETE",
4996		HTTPPath:   "/phone-numbers/{phoneNumberId}",
4997	}
4998
4999	if input == nil {
5000		input = &DeletePhoneNumberInput{}
5001	}
5002
5003	output = &DeletePhoneNumberOutput{}
5004	req = c.newRequest(op, input, output)
5005	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5006	return
5007}
5008
5009// DeletePhoneNumber API operation for Amazon Chime.
5010//
5011// Moves the specified phone number into the Deletion queue. A phone number
5012// must be disassociated from any users or Amazon Chime Voice Connectors before
5013// it can be deleted.
5014//
5015// Deleted phone numbers remain in the Deletion queue for 7 days before they
5016// are deleted permanently.
5017//
5018// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5019// with awserr.Error's Code and Message methods to get detailed information about
5020// the error.
5021//
5022// See the AWS API reference guide for Amazon Chime's
5023// API operation DeletePhoneNumber for usage and error information.
5024//
5025// Returned Error Types:
5026//   * UnauthorizedClientException
5027//   The client is not currently authorized to make the request.
5028//
5029//   * NotFoundException
5030//   One or more of the resources in the request does not exist in the system.
5031//
5032//   * ForbiddenException
5033//   The client is permanently forbidden from making the request.
5034//
5035//   * BadRequestException
5036//   The input parameters don't match the service's restrictions.
5037//
5038//   * ThrottledClientException
5039//   The client exceeded its request rate limit.
5040//
5041//   * ServiceUnavailableException
5042//   The service is currently unavailable.
5043//
5044//   * ServiceFailureException
5045//   The service encountered an unexpected error.
5046//
5047// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeletePhoneNumber
5048func (c *Chime) DeletePhoneNumber(input *DeletePhoneNumberInput) (*DeletePhoneNumberOutput, error) {
5049	req, out := c.DeletePhoneNumberRequest(input)
5050	return out, req.Send()
5051}
5052
5053// DeletePhoneNumberWithContext is the same as DeletePhoneNumber with the addition of
5054// the ability to pass a context and additional request options.
5055//
5056// See DeletePhoneNumber for details on how to use this API operation.
5057//
5058// The context must be non-nil and will be used for request cancellation. If
5059// the context is nil a panic will occur. In the future the SDK may create
5060// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5061// for more information on using Contexts.
5062func (c *Chime) DeletePhoneNumberWithContext(ctx aws.Context, input *DeletePhoneNumberInput, opts ...request.Option) (*DeletePhoneNumberOutput, error) {
5063	req, out := c.DeletePhoneNumberRequest(input)
5064	req.SetContext(ctx)
5065	req.ApplyOptions(opts...)
5066	return out, req.Send()
5067}
5068
5069const opDeleteProxySession = "DeleteProxySession"
5070
5071// DeleteProxySessionRequest generates a "aws/request.Request" representing the
5072// client's request for the DeleteProxySession operation. The "output" return
5073// value will be populated with the request's response once the request completes
5074// successfully.
5075//
5076// Use "Send" method on the returned Request to send the API call to the service.
5077// the "output" return value is not valid until after Send returns without error.
5078//
5079// See DeleteProxySession for more information on using the DeleteProxySession
5080// API call, and error handling.
5081//
5082// This method is useful when you want to inject custom logic or configuration
5083// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5084//
5085//
5086//    // Example sending a request using the DeleteProxySessionRequest method.
5087//    req, resp := client.DeleteProxySessionRequest(params)
5088//
5089//    err := req.Send()
5090//    if err == nil { // resp is now filled
5091//        fmt.Println(resp)
5092//    }
5093//
5094// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteProxySession
5095func (c *Chime) DeleteProxySessionRequest(input *DeleteProxySessionInput) (req *request.Request, output *DeleteProxySessionOutput) {
5096	op := &request.Operation{
5097		Name:       opDeleteProxySession,
5098		HTTPMethod: "DELETE",
5099		HTTPPath:   "/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}",
5100	}
5101
5102	if input == nil {
5103		input = &DeleteProxySessionInput{}
5104	}
5105
5106	output = &DeleteProxySessionOutput{}
5107	req = c.newRequest(op, input, output)
5108	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5109	return
5110}
5111
5112// DeleteProxySession API operation for Amazon Chime.
5113//
5114// Deletes the specified proxy session from the specified Amazon Chime Voice
5115// Connector.
5116//
5117// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5118// with awserr.Error's Code and Message methods to get detailed information about
5119// the error.
5120//
5121// See the AWS API reference guide for Amazon Chime's
5122// API operation DeleteProxySession for usage and error information.
5123//
5124// Returned Error Types:
5125//   * UnauthorizedClientException
5126//   The client is not currently authorized to make the request.
5127//
5128//   * NotFoundException
5129//   One or more of the resources in the request does not exist in the system.
5130//
5131//   * ForbiddenException
5132//   The client is permanently forbidden from making the request.
5133//
5134//   * BadRequestException
5135//   The input parameters don't match the service's restrictions.
5136//
5137//   * ThrottledClientException
5138//   The client exceeded its request rate limit.
5139//
5140//   * ServiceUnavailableException
5141//   The service is currently unavailable.
5142//
5143//   * ServiceFailureException
5144//   The service encountered an unexpected error.
5145//
5146// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteProxySession
5147func (c *Chime) DeleteProxySession(input *DeleteProxySessionInput) (*DeleteProxySessionOutput, error) {
5148	req, out := c.DeleteProxySessionRequest(input)
5149	return out, req.Send()
5150}
5151
5152// DeleteProxySessionWithContext is the same as DeleteProxySession with the addition of
5153// the ability to pass a context and additional request options.
5154//
5155// See DeleteProxySession for details on how to use this API operation.
5156//
5157// The context must be non-nil and will be used for request cancellation. If
5158// the context is nil a panic will occur. In the future the SDK may create
5159// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5160// for more information on using Contexts.
5161func (c *Chime) DeleteProxySessionWithContext(ctx aws.Context, input *DeleteProxySessionInput, opts ...request.Option) (*DeleteProxySessionOutput, error) {
5162	req, out := c.DeleteProxySessionRequest(input)
5163	req.SetContext(ctx)
5164	req.ApplyOptions(opts...)
5165	return out, req.Send()
5166}
5167
5168const opDeleteRoom = "DeleteRoom"
5169
5170// DeleteRoomRequest generates a "aws/request.Request" representing the
5171// client's request for the DeleteRoom operation. The "output" return
5172// value will be populated with the request's response once the request completes
5173// successfully.
5174//
5175// Use "Send" method on the returned Request to send the API call to the service.
5176// the "output" return value is not valid until after Send returns without error.
5177//
5178// See DeleteRoom for more information on using the DeleteRoom
5179// API call, and error handling.
5180//
5181// This method is useful when you want to inject custom logic or configuration
5182// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5183//
5184//
5185//    // Example sending a request using the DeleteRoomRequest method.
5186//    req, resp := client.DeleteRoomRequest(params)
5187//
5188//    err := req.Send()
5189//    if err == nil { // resp is now filled
5190//        fmt.Println(resp)
5191//    }
5192//
5193// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoom
5194func (c *Chime) DeleteRoomRequest(input *DeleteRoomInput) (req *request.Request, output *DeleteRoomOutput) {
5195	op := &request.Operation{
5196		Name:       opDeleteRoom,
5197		HTTPMethod: "DELETE",
5198		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}",
5199	}
5200
5201	if input == nil {
5202		input = &DeleteRoomInput{}
5203	}
5204
5205	output = &DeleteRoomOutput{}
5206	req = c.newRequest(op, input, output)
5207	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5208	return
5209}
5210
5211// DeleteRoom API operation for Amazon Chime.
5212//
5213// Deletes a chat room in an Amazon Chime Enterprise account.
5214//
5215// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5216// with awserr.Error's Code and Message methods to get detailed information about
5217// the error.
5218//
5219// See the AWS API reference guide for Amazon Chime's
5220// API operation DeleteRoom for usage and error information.
5221//
5222// Returned Error Types:
5223//   * BadRequestException
5224//   The input parameters don't match the service's restrictions.
5225//
5226//   * ForbiddenException
5227//   The client is permanently forbidden from making the request.
5228//
5229//   * NotFoundException
5230//   One or more of the resources in the request does not exist in the system.
5231//
5232//   * UnauthorizedClientException
5233//   The client is not currently authorized to make the request.
5234//
5235//   * ThrottledClientException
5236//   The client exceeded its request rate limit.
5237//
5238//   * ServiceUnavailableException
5239//   The service is currently unavailable.
5240//
5241//   * ServiceFailureException
5242//   The service encountered an unexpected error.
5243//
5244// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoom
5245func (c *Chime) DeleteRoom(input *DeleteRoomInput) (*DeleteRoomOutput, error) {
5246	req, out := c.DeleteRoomRequest(input)
5247	return out, req.Send()
5248}
5249
5250// DeleteRoomWithContext is the same as DeleteRoom with the addition of
5251// the ability to pass a context and additional request options.
5252//
5253// See DeleteRoom for details on how to use this API operation.
5254//
5255// The context must be non-nil and will be used for request cancellation. If
5256// the context is nil a panic will occur. In the future the SDK may create
5257// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5258// for more information on using Contexts.
5259func (c *Chime) DeleteRoomWithContext(ctx aws.Context, input *DeleteRoomInput, opts ...request.Option) (*DeleteRoomOutput, error) {
5260	req, out := c.DeleteRoomRequest(input)
5261	req.SetContext(ctx)
5262	req.ApplyOptions(opts...)
5263	return out, req.Send()
5264}
5265
5266const opDeleteRoomMembership = "DeleteRoomMembership"
5267
5268// DeleteRoomMembershipRequest generates a "aws/request.Request" representing the
5269// client's request for the DeleteRoomMembership operation. The "output" return
5270// value will be populated with the request's response once the request completes
5271// successfully.
5272//
5273// Use "Send" method on the returned Request to send the API call to the service.
5274// the "output" return value is not valid until after Send returns without error.
5275//
5276// See DeleteRoomMembership for more information on using the DeleteRoomMembership
5277// API call, and error handling.
5278//
5279// This method is useful when you want to inject custom logic or configuration
5280// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5281//
5282//
5283//    // Example sending a request using the DeleteRoomMembershipRequest method.
5284//    req, resp := client.DeleteRoomMembershipRequest(params)
5285//
5286//    err := req.Send()
5287//    if err == nil { // resp is now filled
5288//        fmt.Println(resp)
5289//    }
5290//
5291// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoomMembership
5292func (c *Chime) DeleteRoomMembershipRequest(input *DeleteRoomMembershipInput) (req *request.Request, output *DeleteRoomMembershipOutput) {
5293	op := &request.Operation{
5294		Name:       opDeleteRoomMembership,
5295		HTTPMethod: "DELETE",
5296		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}/memberships/{memberId}",
5297	}
5298
5299	if input == nil {
5300		input = &DeleteRoomMembershipInput{}
5301	}
5302
5303	output = &DeleteRoomMembershipOutput{}
5304	req = c.newRequest(op, input, output)
5305	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5306	return
5307}
5308
5309// DeleteRoomMembership API operation for Amazon Chime.
5310//
5311// Removes a member from a chat room in an Amazon Chime Enterprise account.
5312//
5313// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5314// with awserr.Error's Code and Message methods to get detailed information about
5315// the error.
5316//
5317// See the AWS API reference guide for Amazon Chime's
5318// API operation DeleteRoomMembership for usage and error information.
5319//
5320// Returned Error Types:
5321//   * UnauthorizedClientException
5322//   The client is not currently authorized to make the request.
5323//
5324//   * NotFoundException
5325//   One or more of the resources in the request does not exist in the system.
5326//
5327//   * BadRequestException
5328//   The input parameters don't match the service's restrictions.
5329//
5330//   * ForbiddenException
5331//   The client is permanently forbidden from making the request.
5332//
5333//   * ThrottledClientException
5334//   The client exceeded its request rate limit.
5335//
5336//   * ServiceUnavailableException
5337//   The service is currently unavailable.
5338//
5339//   * ServiceFailureException
5340//   The service encountered an unexpected error.
5341//
5342// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoomMembership
5343func (c *Chime) DeleteRoomMembership(input *DeleteRoomMembershipInput) (*DeleteRoomMembershipOutput, error) {
5344	req, out := c.DeleteRoomMembershipRequest(input)
5345	return out, req.Send()
5346}
5347
5348// DeleteRoomMembershipWithContext is the same as DeleteRoomMembership with the addition of
5349// the ability to pass a context and additional request options.
5350//
5351// See DeleteRoomMembership for details on how to use this API operation.
5352//
5353// The context must be non-nil and will be used for request cancellation. If
5354// the context is nil a panic will occur. In the future the SDK may create
5355// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5356// for more information on using Contexts.
5357func (c *Chime) DeleteRoomMembershipWithContext(ctx aws.Context, input *DeleteRoomMembershipInput, opts ...request.Option) (*DeleteRoomMembershipOutput, error) {
5358	req, out := c.DeleteRoomMembershipRequest(input)
5359	req.SetContext(ctx)
5360	req.ApplyOptions(opts...)
5361	return out, req.Send()
5362}
5363
5364const opDeleteSipMediaApplication = "DeleteSipMediaApplication"
5365
5366// DeleteSipMediaApplicationRequest generates a "aws/request.Request" representing the
5367// client's request for the DeleteSipMediaApplication operation. The "output" return
5368// value will be populated with the request's response once the request completes
5369// successfully.
5370//
5371// Use "Send" method on the returned Request to send the API call to the service.
5372// the "output" return value is not valid until after Send returns without error.
5373//
5374// See DeleteSipMediaApplication for more information on using the DeleteSipMediaApplication
5375// API call, and error handling.
5376//
5377// This method is useful when you want to inject custom logic or configuration
5378// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5379//
5380//
5381//    // Example sending a request using the DeleteSipMediaApplicationRequest method.
5382//    req, resp := client.DeleteSipMediaApplicationRequest(params)
5383//
5384//    err := req.Send()
5385//    if err == nil { // resp is now filled
5386//        fmt.Println(resp)
5387//    }
5388//
5389// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteSipMediaApplication
5390func (c *Chime) DeleteSipMediaApplicationRequest(input *DeleteSipMediaApplicationInput) (req *request.Request, output *DeleteSipMediaApplicationOutput) {
5391	op := &request.Operation{
5392		Name:       opDeleteSipMediaApplication,
5393		HTTPMethod: "DELETE",
5394		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}",
5395	}
5396
5397	if input == nil {
5398		input = &DeleteSipMediaApplicationInput{}
5399	}
5400
5401	output = &DeleteSipMediaApplicationOutput{}
5402	req = c.newRequest(op, input, output)
5403	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5404	return
5405}
5406
5407// DeleteSipMediaApplication API operation for Amazon Chime.
5408//
5409// Deletes a SIP media application.
5410//
5411// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5412// with awserr.Error's Code and Message methods to get detailed information about
5413// the error.
5414//
5415// See the AWS API reference guide for Amazon Chime's
5416// API operation DeleteSipMediaApplication for usage and error information.
5417//
5418// Returned Error Types:
5419//   * UnauthorizedClientException
5420//   The client is not currently authorized to make the request.
5421//
5422//   * NotFoundException
5423//   One or more of the resources in the request does not exist in the system.
5424//
5425//   * ForbiddenException
5426//   The client is permanently forbidden from making the request.
5427//
5428//   * BadRequestException
5429//   The input parameters don't match the service's restrictions.
5430//
5431//   * ConflictException
5432//   The request could not be processed because of conflict in the current state
5433//   of the resource.
5434//
5435//   * ThrottledClientException
5436//   The client exceeded its request rate limit.
5437//
5438//   * ServiceUnavailableException
5439//   The service is currently unavailable.
5440//
5441//   * ServiceFailureException
5442//   The service encountered an unexpected error.
5443//
5444// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteSipMediaApplication
5445func (c *Chime) DeleteSipMediaApplication(input *DeleteSipMediaApplicationInput) (*DeleteSipMediaApplicationOutput, error) {
5446	req, out := c.DeleteSipMediaApplicationRequest(input)
5447	return out, req.Send()
5448}
5449
5450// DeleteSipMediaApplicationWithContext is the same as DeleteSipMediaApplication with the addition of
5451// the ability to pass a context and additional request options.
5452//
5453// See DeleteSipMediaApplication for details on how to use this API operation.
5454//
5455// The context must be non-nil and will be used for request cancellation. If
5456// the context is nil a panic will occur. In the future the SDK may create
5457// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5458// for more information on using Contexts.
5459func (c *Chime) DeleteSipMediaApplicationWithContext(ctx aws.Context, input *DeleteSipMediaApplicationInput, opts ...request.Option) (*DeleteSipMediaApplicationOutput, error) {
5460	req, out := c.DeleteSipMediaApplicationRequest(input)
5461	req.SetContext(ctx)
5462	req.ApplyOptions(opts...)
5463	return out, req.Send()
5464}
5465
5466const opDeleteSipRule = "DeleteSipRule"
5467
5468// DeleteSipRuleRequest generates a "aws/request.Request" representing the
5469// client's request for the DeleteSipRule operation. The "output" return
5470// value will be populated with the request's response once the request completes
5471// successfully.
5472//
5473// Use "Send" method on the returned Request to send the API call to the service.
5474// the "output" return value is not valid until after Send returns without error.
5475//
5476// See DeleteSipRule for more information on using the DeleteSipRule
5477// API call, and error handling.
5478//
5479// This method is useful when you want to inject custom logic or configuration
5480// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5481//
5482//
5483//    // Example sending a request using the DeleteSipRuleRequest method.
5484//    req, resp := client.DeleteSipRuleRequest(params)
5485//
5486//    err := req.Send()
5487//    if err == nil { // resp is now filled
5488//        fmt.Println(resp)
5489//    }
5490//
5491// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteSipRule
5492func (c *Chime) DeleteSipRuleRequest(input *DeleteSipRuleInput) (req *request.Request, output *DeleteSipRuleOutput) {
5493	op := &request.Operation{
5494		Name:       opDeleteSipRule,
5495		HTTPMethod: "DELETE",
5496		HTTPPath:   "/sip-rules/{sipRuleId}",
5497	}
5498
5499	if input == nil {
5500		input = &DeleteSipRuleInput{}
5501	}
5502
5503	output = &DeleteSipRuleOutput{}
5504	req = c.newRequest(op, input, output)
5505	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5506	return
5507}
5508
5509// DeleteSipRule API operation for Amazon Chime.
5510//
5511// Deletes a SIP rule. You must disable a SIP rule before you can delete it.
5512//
5513// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5514// with awserr.Error's Code and Message methods to get detailed information about
5515// the error.
5516//
5517// See the AWS API reference guide for Amazon Chime's
5518// API operation DeleteSipRule for usage and error information.
5519//
5520// Returned Error Types:
5521//   * UnauthorizedClientException
5522//   The client is not currently authorized to make the request.
5523//
5524//   * NotFoundException
5525//   One or more of the resources in the request does not exist in the system.
5526//
5527//   * ForbiddenException
5528//   The client is permanently forbidden from making the request.
5529//
5530//   * BadRequestException
5531//   The input parameters don't match the service's restrictions.
5532//
5533//   * ConflictException
5534//   The request could not be processed because of conflict in the current state
5535//   of the resource.
5536//
5537//   * ThrottledClientException
5538//   The client exceeded its request rate limit.
5539//
5540//   * ServiceUnavailableException
5541//   The service is currently unavailable.
5542//
5543//   * ServiceFailureException
5544//   The service encountered an unexpected error.
5545//
5546// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteSipRule
5547func (c *Chime) DeleteSipRule(input *DeleteSipRuleInput) (*DeleteSipRuleOutput, error) {
5548	req, out := c.DeleteSipRuleRequest(input)
5549	return out, req.Send()
5550}
5551
5552// DeleteSipRuleWithContext is the same as DeleteSipRule with the addition of
5553// the ability to pass a context and additional request options.
5554//
5555// See DeleteSipRule for details on how to use this API operation.
5556//
5557// The context must be non-nil and will be used for request cancellation. If
5558// the context is nil a panic will occur. In the future the SDK may create
5559// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5560// for more information on using Contexts.
5561func (c *Chime) DeleteSipRuleWithContext(ctx aws.Context, input *DeleteSipRuleInput, opts ...request.Option) (*DeleteSipRuleOutput, error) {
5562	req, out := c.DeleteSipRuleRequest(input)
5563	req.SetContext(ctx)
5564	req.ApplyOptions(opts...)
5565	return out, req.Send()
5566}
5567
5568const opDeleteVoiceConnector = "DeleteVoiceConnector"
5569
5570// DeleteVoiceConnectorRequest generates a "aws/request.Request" representing the
5571// client's request for the DeleteVoiceConnector operation. The "output" return
5572// value will be populated with the request's response once the request completes
5573// successfully.
5574//
5575// Use "Send" method on the returned Request to send the API call to the service.
5576// the "output" return value is not valid until after Send returns without error.
5577//
5578// See DeleteVoiceConnector for more information on using the DeleteVoiceConnector
5579// API call, and error handling.
5580//
5581// This method is useful when you want to inject custom logic or configuration
5582// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5583//
5584//
5585//    // Example sending a request using the DeleteVoiceConnectorRequest method.
5586//    req, resp := client.DeleteVoiceConnectorRequest(params)
5587//
5588//    err := req.Send()
5589//    if err == nil { // resp is now filled
5590//        fmt.Println(resp)
5591//    }
5592//
5593// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnector
5594func (c *Chime) DeleteVoiceConnectorRequest(input *DeleteVoiceConnectorInput) (req *request.Request, output *DeleteVoiceConnectorOutput) {
5595	op := &request.Operation{
5596		Name:       opDeleteVoiceConnector,
5597		HTTPMethod: "DELETE",
5598		HTTPPath:   "/voice-connectors/{voiceConnectorId}",
5599	}
5600
5601	if input == nil {
5602		input = &DeleteVoiceConnectorInput{}
5603	}
5604
5605	output = &DeleteVoiceConnectorOutput{}
5606	req = c.newRequest(op, input, output)
5607	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5608	return
5609}
5610
5611// DeleteVoiceConnector API operation for Amazon Chime.
5612//
5613// Deletes the specified Amazon Chime Voice Connector. Any phone numbers associated
5614// with the Amazon Chime Voice Connector must be disassociated from it before
5615// it can be deleted.
5616//
5617// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5618// with awserr.Error's Code and Message methods to get detailed information about
5619// the error.
5620//
5621// See the AWS API reference guide for Amazon Chime's
5622// API operation DeleteVoiceConnector for usage and error information.
5623//
5624// Returned Error Types:
5625//   * UnauthorizedClientException
5626//   The client is not currently authorized to make the request.
5627//
5628//   * NotFoundException
5629//   One or more of the resources in the request does not exist in the system.
5630//
5631//   * ForbiddenException
5632//   The client is permanently forbidden from making the request.
5633//
5634//   * BadRequestException
5635//   The input parameters don't match the service's restrictions.
5636//
5637//   * ConflictException
5638//   The request could not be processed because of conflict in the current state
5639//   of the resource.
5640//
5641//   * ThrottledClientException
5642//   The client exceeded its request rate limit.
5643//
5644//   * ServiceUnavailableException
5645//   The service is currently unavailable.
5646//
5647//   * ServiceFailureException
5648//   The service encountered an unexpected error.
5649//
5650// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnector
5651func (c *Chime) DeleteVoiceConnector(input *DeleteVoiceConnectorInput) (*DeleteVoiceConnectorOutput, error) {
5652	req, out := c.DeleteVoiceConnectorRequest(input)
5653	return out, req.Send()
5654}
5655
5656// DeleteVoiceConnectorWithContext is the same as DeleteVoiceConnector with the addition of
5657// the ability to pass a context and additional request options.
5658//
5659// See DeleteVoiceConnector for details on how to use this API operation.
5660//
5661// The context must be non-nil and will be used for request cancellation. If
5662// the context is nil a panic will occur. In the future the SDK may create
5663// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5664// for more information on using Contexts.
5665func (c *Chime) DeleteVoiceConnectorWithContext(ctx aws.Context, input *DeleteVoiceConnectorInput, opts ...request.Option) (*DeleteVoiceConnectorOutput, error) {
5666	req, out := c.DeleteVoiceConnectorRequest(input)
5667	req.SetContext(ctx)
5668	req.ApplyOptions(opts...)
5669	return out, req.Send()
5670}
5671
5672const opDeleteVoiceConnectorEmergencyCallingConfiguration = "DeleteVoiceConnectorEmergencyCallingConfiguration"
5673
5674// DeleteVoiceConnectorEmergencyCallingConfigurationRequest generates a "aws/request.Request" representing the
5675// client's request for the DeleteVoiceConnectorEmergencyCallingConfiguration operation. The "output" return
5676// value will be populated with the request's response once the request completes
5677// successfully.
5678//
5679// Use "Send" method on the returned Request to send the API call to the service.
5680// the "output" return value is not valid until after Send returns without error.
5681//
5682// See DeleteVoiceConnectorEmergencyCallingConfiguration for more information on using the DeleteVoiceConnectorEmergencyCallingConfiguration
5683// API call, and error handling.
5684//
5685// This method is useful when you want to inject custom logic or configuration
5686// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5687//
5688//
5689//    // Example sending a request using the DeleteVoiceConnectorEmergencyCallingConfigurationRequest method.
5690//    req, resp := client.DeleteVoiceConnectorEmergencyCallingConfigurationRequest(params)
5691//
5692//    err := req.Send()
5693//    if err == nil { // resp is now filled
5694//        fmt.Println(resp)
5695//    }
5696//
5697// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorEmergencyCallingConfiguration
5698func (c *Chime) DeleteVoiceConnectorEmergencyCallingConfigurationRequest(input *DeleteVoiceConnectorEmergencyCallingConfigurationInput) (req *request.Request, output *DeleteVoiceConnectorEmergencyCallingConfigurationOutput) {
5699	op := &request.Operation{
5700		Name:       opDeleteVoiceConnectorEmergencyCallingConfiguration,
5701		HTTPMethod: "DELETE",
5702		HTTPPath:   "/voice-connectors/{voiceConnectorId}/emergency-calling-configuration",
5703	}
5704
5705	if input == nil {
5706		input = &DeleteVoiceConnectorEmergencyCallingConfigurationInput{}
5707	}
5708
5709	output = &DeleteVoiceConnectorEmergencyCallingConfigurationOutput{}
5710	req = c.newRequest(op, input, output)
5711	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5712	return
5713}
5714
5715// DeleteVoiceConnectorEmergencyCallingConfiguration API operation for Amazon Chime.
5716//
5717// Deletes the emergency calling configuration details from the specified Amazon
5718// Chime Voice Connector.
5719//
5720// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5721// with awserr.Error's Code and Message methods to get detailed information about
5722// the error.
5723//
5724// See the AWS API reference guide for Amazon Chime's
5725// API operation DeleteVoiceConnectorEmergencyCallingConfiguration for usage and error information.
5726//
5727// Returned Error Types:
5728//   * UnauthorizedClientException
5729//   The client is not currently authorized to make the request.
5730//
5731//   * NotFoundException
5732//   One or more of the resources in the request does not exist in the system.
5733//
5734//   * ForbiddenException
5735//   The client is permanently forbidden from making the request.
5736//
5737//   * BadRequestException
5738//   The input parameters don't match the service's restrictions.
5739//
5740//   * ThrottledClientException
5741//   The client exceeded its request rate limit.
5742//
5743//   * ServiceUnavailableException
5744//   The service is currently unavailable.
5745//
5746//   * ServiceFailureException
5747//   The service encountered an unexpected error.
5748//
5749// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorEmergencyCallingConfiguration
5750func (c *Chime) DeleteVoiceConnectorEmergencyCallingConfiguration(input *DeleteVoiceConnectorEmergencyCallingConfigurationInput) (*DeleteVoiceConnectorEmergencyCallingConfigurationOutput, error) {
5751	req, out := c.DeleteVoiceConnectorEmergencyCallingConfigurationRequest(input)
5752	return out, req.Send()
5753}
5754
5755// DeleteVoiceConnectorEmergencyCallingConfigurationWithContext is the same as DeleteVoiceConnectorEmergencyCallingConfiguration with the addition of
5756// the ability to pass a context and additional request options.
5757//
5758// See DeleteVoiceConnectorEmergencyCallingConfiguration for details on how to use this API operation.
5759//
5760// The context must be non-nil and will be used for request cancellation. If
5761// the context is nil a panic will occur. In the future the SDK may create
5762// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5763// for more information on using Contexts.
5764func (c *Chime) DeleteVoiceConnectorEmergencyCallingConfigurationWithContext(ctx aws.Context, input *DeleteVoiceConnectorEmergencyCallingConfigurationInput, opts ...request.Option) (*DeleteVoiceConnectorEmergencyCallingConfigurationOutput, error) {
5765	req, out := c.DeleteVoiceConnectorEmergencyCallingConfigurationRequest(input)
5766	req.SetContext(ctx)
5767	req.ApplyOptions(opts...)
5768	return out, req.Send()
5769}
5770
5771const opDeleteVoiceConnectorGroup = "DeleteVoiceConnectorGroup"
5772
5773// DeleteVoiceConnectorGroupRequest generates a "aws/request.Request" representing the
5774// client's request for the DeleteVoiceConnectorGroup operation. The "output" return
5775// value will be populated with the request's response once the request completes
5776// successfully.
5777//
5778// Use "Send" method on the returned Request to send the API call to the service.
5779// the "output" return value is not valid until after Send returns without error.
5780//
5781// See DeleteVoiceConnectorGroup for more information on using the DeleteVoiceConnectorGroup
5782// API call, and error handling.
5783//
5784// This method is useful when you want to inject custom logic or configuration
5785// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5786//
5787//
5788//    // Example sending a request using the DeleteVoiceConnectorGroupRequest method.
5789//    req, resp := client.DeleteVoiceConnectorGroupRequest(params)
5790//
5791//    err := req.Send()
5792//    if err == nil { // resp is now filled
5793//        fmt.Println(resp)
5794//    }
5795//
5796// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorGroup
5797func (c *Chime) DeleteVoiceConnectorGroupRequest(input *DeleteVoiceConnectorGroupInput) (req *request.Request, output *DeleteVoiceConnectorGroupOutput) {
5798	op := &request.Operation{
5799		Name:       opDeleteVoiceConnectorGroup,
5800		HTTPMethod: "DELETE",
5801		HTTPPath:   "/voice-connector-groups/{voiceConnectorGroupId}",
5802	}
5803
5804	if input == nil {
5805		input = &DeleteVoiceConnectorGroupInput{}
5806	}
5807
5808	output = &DeleteVoiceConnectorGroupOutput{}
5809	req = c.newRequest(op, input, output)
5810	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5811	return
5812}
5813
5814// DeleteVoiceConnectorGroup API operation for Amazon Chime.
5815//
5816// Deletes the specified Amazon Chime Voice Connector group. Any VoiceConnectorItems
5817// and phone numbers associated with the group must be removed before it can
5818// be deleted.
5819//
5820// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5821// with awserr.Error's Code and Message methods to get detailed information about
5822// the error.
5823//
5824// See the AWS API reference guide for Amazon Chime's
5825// API operation DeleteVoiceConnectorGroup for usage and error information.
5826//
5827// Returned Error Types:
5828//   * UnauthorizedClientException
5829//   The client is not currently authorized to make the request.
5830//
5831//   * NotFoundException
5832//   One or more of the resources in the request does not exist in the system.
5833//
5834//   * ForbiddenException
5835//   The client is permanently forbidden from making the request.
5836//
5837//   * BadRequestException
5838//   The input parameters don't match the service's restrictions.
5839//
5840//   * ConflictException
5841//   The request could not be processed because of conflict in the current state
5842//   of the resource.
5843//
5844//   * ThrottledClientException
5845//   The client exceeded its request rate limit.
5846//
5847//   * ServiceUnavailableException
5848//   The service is currently unavailable.
5849//
5850//   * ServiceFailureException
5851//   The service encountered an unexpected error.
5852//
5853// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorGroup
5854func (c *Chime) DeleteVoiceConnectorGroup(input *DeleteVoiceConnectorGroupInput) (*DeleteVoiceConnectorGroupOutput, error) {
5855	req, out := c.DeleteVoiceConnectorGroupRequest(input)
5856	return out, req.Send()
5857}
5858
5859// DeleteVoiceConnectorGroupWithContext is the same as DeleteVoiceConnectorGroup with the addition of
5860// the ability to pass a context and additional request options.
5861//
5862// See DeleteVoiceConnectorGroup for details on how to use this API operation.
5863//
5864// The context must be non-nil and will be used for request cancellation. If
5865// the context is nil a panic will occur. In the future the SDK may create
5866// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5867// for more information on using Contexts.
5868func (c *Chime) DeleteVoiceConnectorGroupWithContext(ctx aws.Context, input *DeleteVoiceConnectorGroupInput, opts ...request.Option) (*DeleteVoiceConnectorGroupOutput, error) {
5869	req, out := c.DeleteVoiceConnectorGroupRequest(input)
5870	req.SetContext(ctx)
5871	req.ApplyOptions(opts...)
5872	return out, req.Send()
5873}
5874
5875const opDeleteVoiceConnectorOrigination = "DeleteVoiceConnectorOrigination"
5876
5877// DeleteVoiceConnectorOriginationRequest generates a "aws/request.Request" representing the
5878// client's request for the DeleteVoiceConnectorOrigination operation. The "output" return
5879// value will be populated with the request's response once the request completes
5880// successfully.
5881//
5882// Use "Send" method on the returned Request to send the API call to the service.
5883// the "output" return value is not valid until after Send returns without error.
5884//
5885// See DeleteVoiceConnectorOrigination for more information on using the DeleteVoiceConnectorOrigination
5886// API call, and error handling.
5887//
5888// This method is useful when you want to inject custom logic or configuration
5889// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5890//
5891//
5892//    // Example sending a request using the DeleteVoiceConnectorOriginationRequest method.
5893//    req, resp := client.DeleteVoiceConnectorOriginationRequest(params)
5894//
5895//    err := req.Send()
5896//    if err == nil { // resp is now filled
5897//        fmt.Println(resp)
5898//    }
5899//
5900// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorOrigination
5901func (c *Chime) DeleteVoiceConnectorOriginationRequest(input *DeleteVoiceConnectorOriginationInput) (req *request.Request, output *DeleteVoiceConnectorOriginationOutput) {
5902	op := &request.Operation{
5903		Name:       opDeleteVoiceConnectorOrigination,
5904		HTTPMethod: "DELETE",
5905		HTTPPath:   "/voice-connectors/{voiceConnectorId}/origination",
5906	}
5907
5908	if input == nil {
5909		input = &DeleteVoiceConnectorOriginationInput{}
5910	}
5911
5912	output = &DeleteVoiceConnectorOriginationOutput{}
5913	req = c.newRequest(op, input, output)
5914	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5915	return
5916}
5917
5918// DeleteVoiceConnectorOrigination API operation for Amazon Chime.
5919//
5920// Deletes the origination settings for the specified Amazon Chime Voice Connector.
5921//
5922// If emergency calling is configured for the Amazon Chime Voice Connector,
5923// it must be deleted prior to deleting the origination settings.
5924//
5925// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5926// with awserr.Error's Code and Message methods to get detailed information about
5927// the error.
5928//
5929// See the AWS API reference guide for Amazon Chime's
5930// API operation DeleteVoiceConnectorOrigination for usage and error information.
5931//
5932// Returned Error Types:
5933//   * UnauthorizedClientException
5934//   The client is not currently authorized to make the request.
5935//
5936//   * NotFoundException
5937//   One or more of the resources in the request does not exist in the system.
5938//
5939//   * ForbiddenException
5940//   The client is permanently forbidden from making the request.
5941//
5942//   * BadRequestException
5943//   The input parameters don't match the service's restrictions.
5944//
5945//   * ThrottledClientException
5946//   The client exceeded its request rate limit.
5947//
5948//   * ServiceUnavailableException
5949//   The service is currently unavailable.
5950//
5951//   * ServiceFailureException
5952//   The service encountered an unexpected error.
5953//
5954// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorOrigination
5955func (c *Chime) DeleteVoiceConnectorOrigination(input *DeleteVoiceConnectorOriginationInput) (*DeleteVoiceConnectorOriginationOutput, error) {
5956	req, out := c.DeleteVoiceConnectorOriginationRequest(input)
5957	return out, req.Send()
5958}
5959
5960// DeleteVoiceConnectorOriginationWithContext is the same as DeleteVoiceConnectorOrigination with the addition of
5961// the ability to pass a context and additional request options.
5962//
5963// See DeleteVoiceConnectorOrigination for details on how to use this API operation.
5964//
5965// The context must be non-nil and will be used for request cancellation. If
5966// the context is nil a panic will occur. In the future the SDK may create
5967// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5968// for more information on using Contexts.
5969func (c *Chime) DeleteVoiceConnectorOriginationWithContext(ctx aws.Context, input *DeleteVoiceConnectorOriginationInput, opts ...request.Option) (*DeleteVoiceConnectorOriginationOutput, error) {
5970	req, out := c.DeleteVoiceConnectorOriginationRequest(input)
5971	req.SetContext(ctx)
5972	req.ApplyOptions(opts...)
5973	return out, req.Send()
5974}
5975
5976const opDeleteVoiceConnectorProxy = "DeleteVoiceConnectorProxy"
5977
5978// DeleteVoiceConnectorProxyRequest generates a "aws/request.Request" representing the
5979// client's request for the DeleteVoiceConnectorProxy operation. The "output" return
5980// value will be populated with the request's response once the request completes
5981// successfully.
5982//
5983// Use "Send" method on the returned Request to send the API call to the service.
5984// the "output" return value is not valid until after Send returns without error.
5985//
5986// See DeleteVoiceConnectorProxy for more information on using the DeleteVoiceConnectorProxy
5987// API call, and error handling.
5988//
5989// This method is useful when you want to inject custom logic or configuration
5990// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5991//
5992//
5993//    // Example sending a request using the DeleteVoiceConnectorProxyRequest method.
5994//    req, resp := client.DeleteVoiceConnectorProxyRequest(params)
5995//
5996//    err := req.Send()
5997//    if err == nil { // resp is now filled
5998//        fmt.Println(resp)
5999//    }
6000//
6001// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorProxy
6002func (c *Chime) DeleteVoiceConnectorProxyRequest(input *DeleteVoiceConnectorProxyInput) (req *request.Request, output *DeleteVoiceConnectorProxyOutput) {
6003	op := &request.Operation{
6004		Name:       opDeleteVoiceConnectorProxy,
6005		HTTPMethod: "DELETE",
6006		HTTPPath:   "/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy",
6007	}
6008
6009	if input == nil {
6010		input = &DeleteVoiceConnectorProxyInput{}
6011	}
6012
6013	output = &DeleteVoiceConnectorProxyOutput{}
6014	req = c.newRequest(op, input, output)
6015	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6016	return
6017}
6018
6019// DeleteVoiceConnectorProxy API operation for Amazon Chime.
6020//
6021// Deletes the proxy configuration from the specified Amazon Chime Voice Connector.
6022//
6023// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6024// with awserr.Error's Code and Message methods to get detailed information about
6025// the error.
6026//
6027// See the AWS API reference guide for Amazon Chime's
6028// API operation DeleteVoiceConnectorProxy for usage and error information.
6029//
6030// Returned Error Types:
6031//   * UnauthorizedClientException
6032//   The client is not currently authorized to make the request.
6033//
6034//   * NotFoundException
6035//   One or more of the resources in the request does not exist in the system.
6036//
6037//   * ForbiddenException
6038//   The client is permanently forbidden from making the request.
6039//
6040//   * BadRequestException
6041//   The input parameters don't match the service's restrictions.
6042//
6043//   * ThrottledClientException
6044//   The client exceeded its request rate limit.
6045//
6046//   * ServiceUnavailableException
6047//   The service is currently unavailable.
6048//
6049//   * ServiceFailureException
6050//   The service encountered an unexpected error.
6051//
6052// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorProxy
6053func (c *Chime) DeleteVoiceConnectorProxy(input *DeleteVoiceConnectorProxyInput) (*DeleteVoiceConnectorProxyOutput, error) {
6054	req, out := c.DeleteVoiceConnectorProxyRequest(input)
6055	return out, req.Send()
6056}
6057
6058// DeleteVoiceConnectorProxyWithContext is the same as DeleteVoiceConnectorProxy with the addition of
6059// the ability to pass a context and additional request options.
6060//
6061// See DeleteVoiceConnectorProxy for details on how to use this API operation.
6062//
6063// The context must be non-nil and will be used for request cancellation. If
6064// the context is nil a panic will occur. In the future the SDK may create
6065// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6066// for more information on using Contexts.
6067func (c *Chime) DeleteVoiceConnectorProxyWithContext(ctx aws.Context, input *DeleteVoiceConnectorProxyInput, opts ...request.Option) (*DeleteVoiceConnectorProxyOutput, error) {
6068	req, out := c.DeleteVoiceConnectorProxyRequest(input)
6069	req.SetContext(ctx)
6070	req.ApplyOptions(opts...)
6071	return out, req.Send()
6072}
6073
6074const opDeleteVoiceConnectorStreamingConfiguration = "DeleteVoiceConnectorStreamingConfiguration"
6075
6076// DeleteVoiceConnectorStreamingConfigurationRequest generates a "aws/request.Request" representing the
6077// client's request for the DeleteVoiceConnectorStreamingConfiguration operation. The "output" return
6078// value will be populated with the request's response once the request completes
6079// successfully.
6080//
6081// Use "Send" method on the returned Request to send the API call to the service.
6082// the "output" return value is not valid until after Send returns without error.
6083//
6084// See DeleteVoiceConnectorStreamingConfiguration for more information on using the DeleteVoiceConnectorStreamingConfiguration
6085// API call, and error handling.
6086//
6087// This method is useful when you want to inject custom logic or configuration
6088// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6089//
6090//
6091//    // Example sending a request using the DeleteVoiceConnectorStreamingConfigurationRequest method.
6092//    req, resp := client.DeleteVoiceConnectorStreamingConfigurationRequest(params)
6093//
6094//    err := req.Send()
6095//    if err == nil { // resp is now filled
6096//        fmt.Println(resp)
6097//    }
6098//
6099// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorStreamingConfiguration
6100func (c *Chime) DeleteVoiceConnectorStreamingConfigurationRequest(input *DeleteVoiceConnectorStreamingConfigurationInput) (req *request.Request, output *DeleteVoiceConnectorStreamingConfigurationOutput) {
6101	op := &request.Operation{
6102		Name:       opDeleteVoiceConnectorStreamingConfiguration,
6103		HTTPMethod: "DELETE",
6104		HTTPPath:   "/voice-connectors/{voiceConnectorId}/streaming-configuration",
6105	}
6106
6107	if input == nil {
6108		input = &DeleteVoiceConnectorStreamingConfigurationInput{}
6109	}
6110
6111	output = &DeleteVoiceConnectorStreamingConfigurationOutput{}
6112	req = c.newRequest(op, input, output)
6113	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6114	return
6115}
6116
6117// DeleteVoiceConnectorStreamingConfiguration API operation for Amazon Chime.
6118//
6119// Deletes the streaming configuration for the specified Amazon Chime Voice
6120// Connector.
6121//
6122// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6123// with awserr.Error's Code and Message methods to get detailed information about
6124// the error.
6125//
6126// See the AWS API reference guide for Amazon Chime's
6127// API operation DeleteVoiceConnectorStreamingConfiguration for usage and error information.
6128//
6129// Returned Error Types:
6130//   * UnauthorizedClientException
6131//   The client is not currently authorized to make the request.
6132//
6133//   * NotFoundException
6134//   One or more of the resources in the request does not exist in the system.
6135//
6136//   * ForbiddenException
6137//   The client is permanently forbidden from making the request.
6138//
6139//   * BadRequestException
6140//   The input parameters don't match the service's restrictions.
6141//
6142//   * ThrottledClientException
6143//   The client exceeded its request rate limit.
6144//
6145//   * ServiceUnavailableException
6146//   The service is currently unavailable.
6147//
6148//   * ServiceFailureException
6149//   The service encountered an unexpected error.
6150//
6151// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorStreamingConfiguration
6152func (c *Chime) DeleteVoiceConnectorStreamingConfiguration(input *DeleteVoiceConnectorStreamingConfigurationInput) (*DeleteVoiceConnectorStreamingConfigurationOutput, error) {
6153	req, out := c.DeleteVoiceConnectorStreamingConfigurationRequest(input)
6154	return out, req.Send()
6155}
6156
6157// DeleteVoiceConnectorStreamingConfigurationWithContext is the same as DeleteVoiceConnectorStreamingConfiguration with the addition of
6158// the ability to pass a context and additional request options.
6159//
6160// See DeleteVoiceConnectorStreamingConfiguration for details on how to use this API operation.
6161//
6162// The context must be non-nil and will be used for request cancellation. If
6163// the context is nil a panic will occur. In the future the SDK may create
6164// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6165// for more information on using Contexts.
6166func (c *Chime) DeleteVoiceConnectorStreamingConfigurationWithContext(ctx aws.Context, input *DeleteVoiceConnectorStreamingConfigurationInput, opts ...request.Option) (*DeleteVoiceConnectorStreamingConfigurationOutput, error) {
6167	req, out := c.DeleteVoiceConnectorStreamingConfigurationRequest(input)
6168	req.SetContext(ctx)
6169	req.ApplyOptions(opts...)
6170	return out, req.Send()
6171}
6172
6173const opDeleteVoiceConnectorTermination = "DeleteVoiceConnectorTermination"
6174
6175// DeleteVoiceConnectorTerminationRequest generates a "aws/request.Request" representing the
6176// client's request for the DeleteVoiceConnectorTermination operation. The "output" return
6177// value will be populated with the request's response once the request completes
6178// successfully.
6179//
6180// Use "Send" method on the returned Request to send the API call to the service.
6181// the "output" return value is not valid until after Send returns without error.
6182//
6183// See DeleteVoiceConnectorTermination for more information on using the DeleteVoiceConnectorTermination
6184// API call, and error handling.
6185//
6186// This method is useful when you want to inject custom logic or configuration
6187// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6188//
6189//
6190//    // Example sending a request using the DeleteVoiceConnectorTerminationRequest method.
6191//    req, resp := client.DeleteVoiceConnectorTerminationRequest(params)
6192//
6193//    err := req.Send()
6194//    if err == nil { // resp is now filled
6195//        fmt.Println(resp)
6196//    }
6197//
6198// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTermination
6199func (c *Chime) DeleteVoiceConnectorTerminationRequest(input *DeleteVoiceConnectorTerminationInput) (req *request.Request, output *DeleteVoiceConnectorTerminationOutput) {
6200	op := &request.Operation{
6201		Name:       opDeleteVoiceConnectorTermination,
6202		HTTPMethod: "DELETE",
6203		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination",
6204	}
6205
6206	if input == nil {
6207		input = &DeleteVoiceConnectorTerminationInput{}
6208	}
6209
6210	output = &DeleteVoiceConnectorTerminationOutput{}
6211	req = c.newRequest(op, input, output)
6212	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6213	return
6214}
6215
6216// DeleteVoiceConnectorTermination API operation for Amazon Chime.
6217//
6218// Deletes the termination settings for the specified Amazon Chime Voice Connector.
6219//
6220// If emergency calling is configured for the Amazon Chime Voice Connector,
6221// it must be deleted prior to deleting the termination settings.
6222//
6223// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6224// with awserr.Error's Code and Message methods to get detailed information about
6225// the error.
6226//
6227// See the AWS API reference guide for Amazon Chime's
6228// API operation DeleteVoiceConnectorTermination for usage and error information.
6229//
6230// Returned Error Types:
6231//   * UnauthorizedClientException
6232//   The client is not currently authorized to make the request.
6233//
6234//   * NotFoundException
6235//   One or more of the resources in the request does not exist in the system.
6236//
6237//   * ForbiddenException
6238//   The client is permanently forbidden from making the request.
6239//
6240//   * BadRequestException
6241//   The input parameters don't match the service's restrictions.
6242//
6243//   * ThrottledClientException
6244//   The client exceeded its request rate limit.
6245//
6246//   * ServiceUnavailableException
6247//   The service is currently unavailable.
6248//
6249//   * ServiceFailureException
6250//   The service encountered an unexpected error.
6251//
6252// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTermination
6253func (c *Chime) DeleteVoiceConnectorTermination(input *DeleteVoiceConnectorTerminationInput) (*DeleteVoiceConnectorTerminationOutput, error) {
6254	req, out := c.DeleteVoiceConnectorTerminationRequest(input)
6255	return out, req.Send()
6256}
6257
6258// DeleteVoiceConnectorTerminationWithContext is the same as DeleteVoiceConnectorTermination with the addition of
6259// the ability to pass a context and additional request options.
6260//
6261// See DeleteVoiceConnectorTermination for details on how to use this API operation.
6262//
6263// The context must be non-nil and will be used for request cancellation. If
6264// the context is nil a panic will occur. In the future the SDK may create
6265// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6266// for more information on using Contexts.
6267func (c *Chime) DeleteVoiceConnectorTerminationWithContext(ctx aws.Context, input *DeleteVoiceConnectorTerminationInput, opts ...request.Option) (*DeleteVoiceConnectorTerminationOutput, error) {
6268	req, out := c.DeleteVoiceConnectorTerminationRequest(input)
6269	req.SetContext(ctx)
6270	req.ApplyOptions(opts...)
6271	return out, req.Send()
6272}
6273
6274const opDeleteVoiceConnectorTerminationCredentials = "DeleteVoiceConnectorTerminationCredentials"
6275
6276// DeleteVoiceConnectorTerminationCredentialsRequest generates a "aws/request.Request" representing the
6277// client's request for the DeleteVoiceConnectorTerminationCredentials operation. The "output" return
6278// value will be populated with the request's response once the request completes
6279// successfully.
6280//
6281// Use "Send" method on the returned Request to send the API call to the service.
6282// the "output" return value is not valid until after Send returns without error.
6283//
6284// See DeleteVoiceConnectorTerminationCredentials for more information on using the DeleteVoiceConnectorTerminationCredentials
6285// API call, and error handling.
6286//
6287// This method is useful when you want to inject custom logic or configuration
6288// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6289//
6290//
6291//    // Example sending a request using the DeleteVoiceConnectorTerminationCredentialsRequest method.
6292//    req, resp := client.DeleteVoiceConnectorTerminationCredentialsRequest(params)
6293//
6294//    err := req.Send()
6295//    if err == nil { // resp is now filled
6296//        fmt.Println(resp)
6297//    }
6298//
6299// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTerminationCredentials
6300func (c *Chime) DeleteVoiceConnectorTerminationCredentialsRequest(input *DeleteVoiceConnectorTerminationCredentialsInput) (req *request.Request, output *DeleteVoiceConnectorTerminationCredentialsOutput) {
6301	op := &request.Operation{
6302		Name:       opDeleteVoiceConnectorTerminationCredentials,
6303		HTTPMethod: "POST",
6304		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination/credentials?operation=delete",
6305	}
6306
6307	if input == nil {
6308		input = &DeleteVoiceConnectorTerminationCredentialsInput{}
6309	}
6310
6311	output = &DeleteVoiceConnectorTerminationCredentialsOutput{}
6312	req = c.newRequest(op, input, output)
6313	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6314	return
6315}
6316
6317// DeleteVoiceConnectorTerminationCredentials API operation for Amazon Chime.
6318//
6319// Deletes the specified SIP credentials used by your equipment to authenticate
6320// during call termination.
6321//
6322// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6323// with awserr.Error's Code and Message methods to get detailed information about
6324// the error.
6325//
6326// See the AWS API reference guide for Amazon Chime's
6327// API operation DeleteVoiceConnectorTerminationCredentials for usage and error information.
6328//
6329// Returned Error Types:
6330//   * UnauthorizedClientException
6331//   The client is not currently authorized to make the request.
6332//
6333//   * NotFoundException
6334//   One or more of the resources in the request does not exist in the system.
6335//
6336//   * ForbiddenException
6337//   The client is permanently forbidden from making the request.
6338//
6339//   * BadRequestException
6340//   The input parameters don't match the service's restrictions.
6341//
6342//   * ThrottledClientException
6343//   The client exceeded its request rate limit.
6344//
6345//   * ServiceUnavailableException
6346//   The service is currently unavailable.
6347//
6348//   * ServiceFailureException
6349//   The service encountered an unexpected error.
6350//
6351// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTerminationCredentials
6352func (c *Chime) DeleteVoiceConnectorTerminationCredentials(input *DeleteVoiceConnectorTerminationCredentialsInput) (*DeleteVoiceConnectorTerminationCredentialsOutput, error) {
6353	req, out := c.DeleteVoiceConnectorTerminationCredentialsRequest(input)
6354	return out, req.Send()
6355}
6356
6357// DeleteVoiceConnectorTerminationCredentialsWithContext is the same as DeleteVoiceConnectorTerminationCredentials with the addition of
6358// the ability to pass a context and additional request options.
6359//
6360// See DeleteVoiceConnectorTerminationCredentials for details on how to use this API operation.
6361//
6362// The context must be non-nil and will be used for request cancellation. If
6363// the context is nil a panic will occur. In the future the SDK may create
6364// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6365// for more information on using Contexts.
6366func (c *Chime) DeleteVoiceConnectorTerminationCredentialsWithContext(ctx aws.Context, input *DeleteVoiceConnectorTerminationCredentialsInput, opts ...request.Option) (*DeleteVoiceConnectorTerminationCredentialsOutput, error) {
6367	req, out := c.DeleteVoiceConnectorTerminationCredentialsRequest(input)
6368	req.SetContext(ctx)
6369	req.ApplyOptions(opts...)
6370	return out, req.Send()
6371}
6372
6373const opDescribeAppInstance = "DescribeAppInstance"
6374
6375// DescribeAppInstanceRequest generates a "aws/request.Request" representing the
6376// client's request for the DescribeAppInstance operation. The "output" return
6377// value will be populated with the request's response once the request completes
6378// successfully.
6379//
6380// Use "Send" method on the returned Request to send the API call to the service.
6381// the "output" return value is not valid until after Send returns without error.
6382//
6383// See DescribeAppInstance for more information on using the DescribeAppInstance
6384// API call, and error handling.
6385//
6386// This method is useful when you want to inject custom logic or configuration
6387// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6388//
6389//
6390//    // Example sending a request using the DescribeAppInstanceRequest method.
6391//    req, resp := client.DescribeAppInstanceRequest(params)
6392//
6393//    err := req.Send()
6394//    if err == nil { // resp is now filled
6395//        fmt.Println(resp)
6396//    }
6397//
6398// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstance
6399func (c *Chime) DescribeAppInstanceRequest(input *DescribeAppInstanceInput) (req *request.Request, output *DescribeAppInstanceOutput) {
6400	op := &request.Operation{
6401		Name:       opDescribeAppInstance,
6402		HTTPMethod: "GET",
6403		HTTPPath:   "/app-instances/{appInstanceArn}",
6404	}
6405
6406	if input == nil {
6407		input = &DescribeAppInstanceInput{}
6408	}
6409
6410	output = &DescribeAppInstanceOutput{}
6411	req = c.newRequest(op, input, output)
6412	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
6413	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
6414	return
6415}
6416
6417// DescribeAppInstance API operation for Amazon Chime.
6418//
6419// Returns the full details of an AppInstance.
6420//
6421// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6422// with awserr.Error's Code and Message methods to get detailed information about
6423// the error.
6424//
6425// See the AWS API reference guide for Amazon Chime's
6426// API operation DescribeAppInstance for usage and error information.
6427//
6428// Returned Error Types:
6429//   * BadRequestException
6430//   The input parameters don't match the service's restrictions.
6431//
6432//   * ForbiddenException
6433//   The client is permanently forbidden from making the request.
6434//
6435//   * ThrottledClientException
6436//   The client exceeded its request rate limit.
6437//
6438//   * UnauthorizedClientException
6439//   The client is not currently authorized to make the request.
6440//
6441//   * ServiceUnavailableException
6442//   The service is currently unavailable.
6443//
6444//   * ServiceFailureException
6445//   The service encountered an unexpected error.
6446//
6447// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstance
6448func (c *Chime) DescribeAppInstance(input *DescribeAppInstanceInput) (*DescribeAppInstanceOutput, error) {
6449	req, out := c.DescribeAppInstanceRequest(input)
6450	return out, req.Send()
6451}
6452
6453// DescribeAppInstanceWithContext is the same as DescribeAppInstance with the addition of
6454// the ability to pass a context and additional request options.
6455//
6456// See DescribeAppInstance for details on how to use this API operation.
6457//
6458// The context must be non-nil and will be used for request cancellation. If
6459// the context is nil a panic will occur. In the future the SDK may create
6460// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6461// for more information on using Contexts.
6462func (c *Chime) DescribeAppInstanceWithContext(ctx aws.Context, input *DescribeAppInstanceInput, opts ...request.Option) (*DescribeAppInstanceOutput, error) {
6463	req, out := c.DescribeAppInstanceRequest(input)
6464	req.SetContext(ctx)
6465	req.ApplyOptions(opts...)
6466	return out, req.Send()
6467}
6468
6469const opDescribeAppInstanceAdmin = "DescribeAppInstanceAdmin"
6470
6471// DescribeAppInstanceAdminRequest generates a "aws/request.Request" representing the
6472// client's request for the DescribeAppInstanceAdmin operation. The "output" return
6473// value will be populated with the request's response once the request completes
6474// successfully.
6475//
6476// Use "Send" method on the returned Request to send the API call to the service.
6477// the "output" return value is not valid until after Send returns without error.
6478//
6479// See DescribeAppInstanceAdmin for more information on using the DescribeAppInstanceAdmin
6480// API call, and error handling.
6481//
6482// This method is useful when you want to inject custom logic or configuration
6483// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6484//
6485//
6486//    // Example sending a request using the DescribeAppInstanceAdminRequest method.
6487//    req, resp := client.DescribeAppInstanceAdminRequest(params)
6488//
6489//    err := req.Send()
6490//    if err == nil { // resp is now filled
6491//        fmt.Println(resp)
6492//    }
6493//
6494// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstanceAdmin
6495func (c *Chime) DescribeAppInstanceAdminRequest(input *DescribeAppInstanceAdminInput) (req *request.Request, output *DescribeAppInstanceAdminOutput) {
6496	op := &request.Operation{
6497		Name:       opDescribeAppInstanceAdmin,
6498		HTTPMethod: "GET",
6499		HTTPPath:   "/app-instances/{appInstanceArn}/admins/{appInstanceAdminArn}",
6500	}
6501
6502	if input == nil {
6503		input = &DescribeAppInstanceAdminInput{}
6504	}
6505
6506	output = &DescribeAppInstanceAdminOutput{}
6507	req = c.newRequest(op, input, output)
6508	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
6509	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
6510	return
6511}
6512
6513// DescribeAppInstanceAdmin API operation for Amazon Chime.
6514//
6515// Returns the full details of an AppInstanceAdmin.
6516//
6517// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6518// with awserr.Error's Code and Message methods to get detailed information about
6519// the error.
6520//
6521// See the AWS API reference guide for Amazon Chime's
6522// API operation DescribeAppInstanceAdmin for usage and error information.
6523//
6524// Returned Error Types:
6525//   * BadRequestException
6526//   The input parameters don't match the service's restrictions.
6527//
6528//   * ForbiddenException
6529//   The client is permanently forbidden from making the request.
6530//
6531//   * ThrottledClientException
6532//   The client exceeded its request rate limit.
6533//
6534//   * UnauthorizedClientException
6535//   The client is not currently authorized to make the request.
6536//
6537//   * ServiceUnavailableException
6538//   The service is currently unavailable.
6539//
6540//   * ServiceFailureException
6541//   The service encountered an unexpected error.
6542//
6543// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstanceAdmin
6544func (c *Chime) DescribeAppInstanceAdmin(input *DescribeAppInstanceAdminInput) (*DescribeAppInstanceAdminOutput, error) {
6545	req, out := c.DescribeAppInstanceAdminRequest(input)
6546	return out, req.Send()
6547}
6548
6549// DescribeAppInstanceAdminWithContext is the same as DescribeAppInstanceAdmin with the addition of
6550// the ability to pass a context and additional request options.
6551//
6552// See DescribeAppInstanceAdmin for details on how to use this API operation.
6553//
6554// The context must be non-nil and will be used for request cancellation. If
6555// the context is nil a panic will occur. In the future the SDK may create
6556// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6557// for more information on using Contexts.
6558func (c *Chime) DescribeAppInstanceAdminWithContext(ctx aws.Context, input *DescribeAppInstanceAdminInput, opts ...request.Option) (*DescribeAppInstanceAdminOutput, error) {
6559	req, out := c.DescribeAppInstanceAdminRequest(input)
6560	req.SetContext(ctx)
6561	req.ApplyOptions(opts...)
6562	return out, req.Send()
6563}
6564
6565const opDescribeAppInstanceUser = "DescribeAppInstanceUser"
6566
6567// DescribeAppInstanceUserRequest generates a "aws/request.Request" representing the
6568// client's request for the DescribeAppInstanceUser operation. The "output" return
6569// value will be populated with the request's response once the request completes
6570// successfully.
6571//
6572// Use "Send" method on the returned Request to send the API call to the service.
6573// the "output" return value is not valid until after Send returns without error.
6574//
6575// See DescribeAppInstanceUser for more information on using the DescribeAppInstanceUser
6576// API call, and error handling.
6577//
6578// This method is useful when you want to inject custom logic or configuration
6579// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6580//
6581//
6582//    // Example sending a request using the DescribeAppInstanceUserRequest method.
6583//    req, resp := client.DescribeAppInstanceUserRequest(params)
6584//
6585//    err := req.Send()
6586//    if err == nil { // resp is now filled
6587//        fmt.Println(resp)
6588//    }
6589//
6590// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstanceUser
6591func (c *Chime) DescribeAppInstanceUserRequest(input *DescribeAppInstanceUserInput) (req *request.Request, output *DescribeAppInstanceUserOutput) {
6592	op := &request.Operation{
6593		Name:       opDescribeAppInstanceUser,
6594		HTTPMethod: "GET",
6595		HTTPPath:   "/app-instance-users/{appInstanceUserArn}",
6596	}
6597
6598	if input == nil {
6599		input = &DescribeAppInstanceUserInput{}
6600	}
6601
6602	output = &DescribeAppInstanceUserOutput{}
6603	req = c.newRequest(op, input, output)
6604	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
6605	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
6606	return
6607}
6608
6609// DescribeAppInstanceUser API operation for Amazon Chime.
6610//
6611// Returns the full details of an AppInstanceUser .
6612//
6613// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6614// with awserr.Error's Code and Message methods to get detailed information about
6615// the error.
6616//
6617// See the AWS API reference guide for Amazon Chime's
6618// API operation DescribeAppInstanceUser for usage and error information.
6619//
6620// Returned Error Types:
6621//   * BadRequestException
6622//   The input parameters don't match the service's restrictions.
6623//
6624//   * ForbiddenException
6625//   The client is permanently forbidden from making the request.
6626//
6627//   * ThrottledClientException
6628//   The client exceeded its request rate limit.
6629//
6630//   * UnauthorizedClientException
6631//   The client is not currently authorized to make the request.
6632//
6633//   * ServiceUnavailableException
6634//   The service is currently unavailable.
6635//
6636//   * ServiceFailureException
6637//   The service encountered an unexpected error.
6638//
6639// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstanceUser
6640func (c *Chime) DescribeAppInstanceUser(input *DescribeAppInstanceUserInput) (*DescribeAppInstanceUserOutput, error) {
6641	req, out := c.DescribeAppInstanceUserRequest(input)
6642	return out, req.Send()
6643}
6644
6645// DescribeAppInstanceUserWithContext is the same as DescribeAppInstanceUser with the addition of
6646// the ability to pass a context and additional request options.
6647//
6648// See DescribeAppInstanceUser for details on how to use this API operation.
6649//
6650// The context must be non-nil and will be used for request cancellation. If
6651// the context is nil a panic will occur. In the future the SDK may create
6652// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6653// for more information on using Contexts.
6654func (c *Chime) DescribeAppInstanceUserWithContext(ctx aws.Context, input *DescribeAppInstanceUserInput, opts ...request.Option) (*DescribeAppInstanceUserOutput, error) {
6655	req, out := c.DescribeAppInstanceUserRequest(input)
6656	req.SetContext(ctx)
6657	req.ApplyOptions(opts...)
6658	return out, req.Send()
6659}
6660
6661const opDescribeChannel = "DescribeChannel"
6662
6663// DescribeChannelRequest generates a "aws/request.Request" representing the
6664// client's request for the DescribeChannel operation. The "output" return
6665// value will be populated with the request's response once the request completes
6666// successfully.
6667//
6668// Use "Send" method on the returned Request to send the API call to the service.
6669// the "output" return value is not valid until after Send returns without error.
6670//
6671// See DescribeChannel for more information on using the DescribeChannel
6672// API call, and error handling.
6673//
6674// This method is useful when you want to inject custom logic or configuration
6675// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6676//
6677//
6678//    // Example sending a request using the DescribeChannelRequest method.
6679//    req, resp := client.DescribeChannelRequest(params)
6680//
6681//    err := req.Send()
6682//    if err == nil { // resp is now filled
6683//        fmt.Println(resp)
6684//    }
6685//
6686// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannel
6687func (c *Chime) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput) {
6688	op := &request.Operation{
6689		Name:       opDescribeChannel,
6690		HTTPMethod: "GET",
6691		HTTPPath:   "/channels/{channelArn}",
6692	}
6693
6694	if input == nil {
6695		input = &DescribeChannelInput{}
6696	}
6697
6698	output = &DescribeChannelOutput{}
6699	req = c.newRequest(op, input, output)
6700	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
6701	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
6702	return
6703}
6704
6705// DescribeChannel API operation for Amazon Chime.
6706//
6707// Returns the full details of a channel in an Amazon Chime AppInstance.
6708//
6709// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
6710// of the user that makes the API call as the value in the header.
6711//
6712// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6713// with awserr.Error's Code and Message methods to get detailed information about
6714// the error.
6715//
6716// See the AWS API reference guide for Amazon Chime's
6717// API operation DescribeChannel for usage and error information.
6718//
6719// Returned Error Types:
6720//   * BadRequestException
6721//   The input parameters don't match the service's restrictions.
6722//
6723//   * ForbiddenException
6724//   The client is permanently forbidden from making the request.
6725//
6726//   * UnauthorizedClientException
6727//   The client is not currently authorized to make the request.
6728//
6729//   * ThrottledClientException
6730//   The client exceeded its request rate limit.
6731//
6732//   * ServiceUnavailableException
6733//   The service is currently unavailable.
6734//
6735//   * ServiceFailureException
6736//   The service encountered an unexpected error.
6737//
6738// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannel
6739func (c *Chime) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error) {
6740	req, out := c.DescribeChannelRequest(input)
6741	return out, req.Send()
6742}
6743
6744// DescribeChannelWithContext is the same as DescribeChannel with the addition of
6745// the ability to pass a context and additional request options.
6746//
6747// See DescribeChannel for details on how to use this API operation.
6748//
6749// The context must be non-nil and will be used for request cancellation. If
6750// the context is nil a panic will occur. In the future the SDK may create
6751// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6752// for more information on using Contexts.
6753func (c *Chime) DescribeChannelWithContext(ctx aws.Context, input *DescribeChannelInput, opts ...request.Option) (*DescribeChannelOutput, error) {
6754	req, out := c.DescribeChannelRequest(input)
6755	req.SetContext(ctx)
6756	req.ApplyOptions(opts...)
6757	return out, req.Send()
6758}
6759
6760const opDescribeChannelBan = "DescribeChannelBan"
6761
6762// DescribeChannelBanRequest generates a "aws/request.Request" representing the
6763// client's request for the DescribeChannelBan operation. The "output" return
6764// value will be populated with the request's response once the request completes
6765// successfully.
6766//
6767// Use "Send" method on the returned Request to send the API call to the service.
6768// the "output" return value is not valid until after Send returns without error.
6769//
6770// See DescribeChannelBan for more information on using the DescribeChannelBan
6771// API call, and error handling.
6772//
6773// This method is useful when you want to inject custom logic or configuration
6774// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6775//
6776//
6777//    // Example sending a request using the DescribeChannelBanRequest method.
6778//    req, resp := client.DescribeChannelBanRequest(params)
6779//
6780//    err := req.Send()
6781//    if err == nil { // resp is now filled
6782//        fmt.Println(resp)
6783//    }
6784//
6785// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelBan
6786func (c *Chime) DescribeChannelBanRequest(input *DescribeChannelBanInput) (req *request.Request, output *DescribeChannelBanOutput) {
6787	op := &request.Operation{
6788		Name:       opDescribeChannelBan,
6789		HTTPMethod: "GET",
6790		HTTPPath:   "/channels/{channelArn}/bans/{memberArn}",
6791	}
6792
6793	if input == nil {
6794		input = &DescribeChannelBanInput{}
6795	}
6796
6797	output = &DescribeChannelBanOutput{}
6798	req = c.newRequest(op, input, output)
6799	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
6800	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
6801	return
6802}
6803
6804// DescribeChannelBan API operation for Amazon Chime.
6805//
6806// Returns the full details of a channel ban.
6807//
6808// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
6809// of the user that makes the API call as the value in the header.
6810//
6811// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6812// with awserr.Error's Code and Message methods to get detailed information about
6813// the error.
6814//
6815// See the AWS API reference guide for Amazon Chime's
6816// API operation DescribeChannelBan for usage and error information.
6817//
6818// Returned Error Types:
6819//   * BadRequestException
6820//   The input parameters don't match the service's restrictions.
6821//
6822//   * ForbiddenException
6823//   The client is permanently forbidden from making the request.
6824//
6825//   * NotFoundException
6826//   One or more of the resources in the request does not exist in the system.
6827//
6828//   * UnauthorizedClientException
6829//   The client is not currently authorized to make the request.
6830//
6831//   * ThrottledClientException
6832//   The client exceeded its request rate limit.
6833//
6834//   * ServiceUnavailableException
6835//   The service is currently unavailable.
6836//
6837//   * ServiceFailureException
6838//   The service encountered an unexpected error.
6839//
6840// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelBan
6841func (c *Chime) DescribeChannelBan(input *DescribeChannelBanInput) (*DescribeChannelBanOutput, error) {
6842	req, out := c.DescribeChannelBanRequest(input)
6843	return out, req.Send()
6844}
6845
6846// DescribeChannelBanWithContext is the same as DescribeChannelBan with the addition of
6847// the ability to pass a context and additional request options.
6848//
6849// See DescribeChannelBan for details on how to use this API operation.
6850//
6851// The context must be non-nil and will be used for request cancellation. If
6852// the context is nil a panic will occur. In the future the SDK may create
6853// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6854// for more information on using Contexts.
6855func (c *Chime) DescribeChannelBanWithContext(ctx aws.Context, input *DescribeChannelBanInput, opts ...request.Option) (*DescribeChannelBanOutput, error) {
6856	req, out := c.DescribeChannelBanRequest(input)
6857	req.SetContext(ctx)
6858	req.ApplyOptions(opts...)
6859	return out, req.Send()
6860}
6861
6862const opDescribeChannelMembership = "DescribeChannelMembership"
6863
6864// DescribeChannelMembershipRequest generates a "aws/request.Request" representing the
6865// client's request for the DescribeChannelMembership operation. The "output" return
6866// value will be populated with the request's response once the request completes
6867// successfully.
6868//
6869// Use "Send" method on the returned Request to send the API call to the service.
6870// the "output" return value is not valid until after Send returns without error.
6871//
6872// See DescribeChannelMembership for more information on using the DescribeChannelMembership
6873// API call, and error handling.
6874//
6875// This method is useful when you want to inject custom logic or configuration
6876// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6877//
6878//
6879//    // Example sending a request using the DescribeChannelMembershipRequest method.
6880//    req, resp := client.DescribeChannelMembershipRequest(params)
6881//
6882//    err := req.Send()
6883//    if err == nil { // resp is now filled
6884//        fmt.Println(resp)
6885//    }
6886//
6887// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelMembership
6888func (c *Chime) DescribeChannelMembershipRequest(input *DescribeChannelMembershipInput) (req *request.Request, output *DescribeChannelMembershipOutput) {
6889	op := &request.Operation{
6890		Name:       opDescribeChannelMembership,
6891		HTTPMethod: "GET",
6892		HTTPPath:   "/channels/{channelArn}/memberships/{memberArn}",
6893	}
6894
6895	if input == nil {
6896		input = &DescribeChannelMembershipInput{}
6897	}
6898
6899	output = &DescribeChannelMembershipOutput{}
6900	req = c.newRequest(op, input, output)
6901	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
6902	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
6903	return
6904}
6905
6906// DescribeChannelMembership API operation for Amazon Chime.
6907//
6908// Returns the full details of a user's channel membership.
6909//
6910// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
6911// of the user that makes the API call as the value in the header.
6912//
6913// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6914// with awserr.Error's Code and Message methods to get detailed information about
6915// the error.
6916//
6917// See the AWS API reference guide for Amazon Chime's
6918// API operation DescribeChannelMembership for usage and error information.
6919//
6920// Returned Error Types:
6921//   * BadRequestException
6922//   The input parameters don't match the service's restrictions.
6923//
6924//   * ForbiddenException
6925//   The client is permanently forbidden from making the request.
6926//
6927//   * NotFoundException
6928//   One or more of the resources in the request does not exist in the system.
6929//
6930//   * UnauthorizedClientException
6931//   The client is not currently authorized to make the request.
6932//
6933//   * ThrottledClientException
6934//   The client exceeded its request rate limit.
6935//
6936//   * ServiceUnavailableException
6937//   The service is currently unavailable.
6938//
6939//   * ServiceFailureException
6940//   The service encountered an unexpected error.
6941//
6942// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelMembership
6943func (c *Chime) DescribeChannelMembership(input *DescribeChannelMembershipInput) (*DescribeChannelMembershipOutput, error) {
6944	req, out := c.DescribeChannelMembershipRequest(input)
6945	return out, req.Send()
6946}
6947
6948// DescribeChannelMembershipWithContext is the same as DescribeChannelMembership with the addition of
6949// the ability to pass a context and additional request options.
6950//
6951// See DescribeChannelMembership for details on how to use this API operation.
6952//
6953// The context must be non-nil and will be used for request cancellation. If
6954// the context is nil a panic will occur. In the future the SDK may create
6955// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6956// for more information on using Contexts.
6957func (c *Chime) DescribeChannelMembershipWithContext(ctx aws.Context, input *DescribeChannelMembershipInput, opts ...request.Option) (*DescribeChannelMembershipOutput, error) {
6958	req, out := c.DescribeChannelMembershipRequest(input)
6959	req.SetContext(ctx)
6960	req.ApplyOptions(opts...)
6961	return out, req.Send()
6962}
6963
6964const opDescribeChannelMembershipForAppInstanceUser = "DescribeChannelMembershipForAppInstanceUser"
6965
6966// DescribeChannelMembershipForAppInstanceUserRequest generates a "aws/request.Request" representing the
6967// client's request for the DescribeChannelMembershipForAppInstanceUser operation. The "output" return
6968// value will be populated with the request's response once the request completes
6969// successfully.
6970//
6971// Use "Send" method on the returned Request to send the API call to the service.
6972// the "output" return value is not valid until after Send returns without error.
6973//
6974// See DescribeChannelMembershipForAppInstanceUser for more information on using the DescribeChannelMembershipForAppInstanceUser
6975// API call, and error handling.
6976//
6977// This method is useful when you want to inject custom logic or configuration
6978// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6979//
6980//
6981//    // Example sending a request using the DescribeChannelMembershipForAppInstanceUserRequest method.
6982//    req, resp := client.DescribeChannelMembershipForAppInstanceUserRequest(params)
6983//
6984//    err := req.Send()
6985//    if err == nil { // resp is now filled
6986//        fmt.Println(resp)
6987//    }
6988//
6989// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelMembershipForAppInstanceUser
6990func (c *Chime) DescribeChannelMembershipForAppInstanceUserRequest(input *DescribeChannelMembershipForAppInstanceUserInput) (req *request.Request, output *DescribeChannelMembershipForAppInstanceUserOutput) {
6991	op := &request.Operation{
6992		Name:       opDescribeChannelMembershipForAppInstanceUser,
6993		HTTPMethod: "GET",
6994		HTTPPath:   "/channels/{channelArn}?scope=app-instance-user-membership",
6995	}
6996
6997	if input == nil {
6998		input = &DescribeChannelMembershipForAppInstanceUserInput{}
6999	}
7000
7001	output = &DescribeChannelMembershipForAppInstanceUserOutput{}
7002	req = c.newRequest(op, input, output)
7003	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
7004	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
7005	return
7006}
7007
7008// DescribeChannelMembershipForAppInstanceUser API operation for Amazon Chime.
7009//
7010// Returns the details of a channel based on the membership of the specified
7011// AppInstanceUser.
7012//
7013// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
7014// of the user that makes the API call as the value in the header.
7015//
7016// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7017// with awserr.Error's Code and Message methods to get detailed information about
7018// the error.
7019//
7020// See the AWS API reference guide for Amazon Chime's
7021// API operation DescribeChannelMembershipForAppInstanceUser for usage and error information.
7022//
7023// Returned Error Types:
7024//   * BadRequestException
7025//   The input parameters don't match the service's restrictions.
7026//
7027//   * ForbiddenException
7028//   The client is permanently forbidden from making the request.
7029//
7030//   * UnauthorizedClientException
7031//   The client is not currently authorized to make the request.
7032//
7033//   * ThrottledClientException
7034//   The client exceeded its request rate limit.
7035//
7036//   * ServiceUnavailableException
7037//   The service is currently unavailable.
7038//
7039//   * ServiceFailureException
7040//   The service encountered an unexpected error.
7041//
7042// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelMembershipForAppInstanceUser
7043func (c *Chime) DescribeChannelMembershipForAppInstanceUser(input *DescribeChannelMembershipForAppInstanceUserInput) (*DescribeChannelMembershipForAppInstanceUserOutput, error) {
7044	req, out := c.DescribeChannelMembershipForAppInstanceUserRequest(input)
7045	return out, req.Send()
7046}
7047
7048// DescribeChannelMembershipForAppInstanceUserWithContext is the same as DescribeChannelMembershipForAppInstanceUser with the addition of
7049// the ability to pass a context and additional request options.
7050//
7051// See DescribeChannelMembershipForAppInstanceUser for details on how to use this API operation.
7052//
7053// The context must be non-nil and will be used for request cancellation. If
7054// the context is nil a panic will occur. In the future the SDK may create
7055// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7056// for more information on using Contexts.
7057func (c *Chime) DescribeChannelMembershipForAppInstanceUserWithContext(ctx aws.Context, input *DescribeChannelMembershipForAppInstanceUserInput, opts ...request.Option) (*DescribeChannelMembershipForAppInstanceUserOutput, error) {
7058	req, out := c.DescribeChannelMembershipForAppInstanceUserRequest(input)
7059	req.SetContext(ctx)
7060	req.ApplyOptions(opts...)
7061	return out, req.Send()
7062}
7063
7064const opDescribeChannelModeratedByAppInstanceUser = "DescribeChannelModeratedByAppInstanceUser"
7065
7066// DescribeChannelModeratedByAppInstanceUserRequest generates a "aws/request.Request" representing the
7067// client's request for the DescribeChannelModeratedByAppInstanceUser operation. The "output" return
7068// value will be populated with the request's response once the request completes
7069// successfully.
7070//
7071// Use "Send" method on the returned Request to send the API call to the service.
7072// the "output" return value is not valid until after Send returns without error.
7073//
7074// See DescribeChannelModeratedByAppInstanceUser for more information on using the DescribeChannelModeratedByAppInstanceUser
7075// API call, and error handling.
7076//
7077// This method is useful when you want to inject custom logic or configuration
7078// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7079//
7080//
7081//    // Example sending a request using the DescribeChannelModeratedByAppInstanceUserRequest method.
7082//    req, resp := client.DescribeChannelModeratedByAppInstanceUserRequest(params)
7083//
7084//    err := req.Send()
7085//    if err == nil { // resp is now filled
7086//        fmt.Println(resp)
7087//    }
7088//
7089// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelModeratedByAppInstanceUser
7090func (c *Chime) DescribeChannelModeratedByAppInstanceUserRequest(input *DescribeChannelModeratedByAppInstanceUserInput) (req *request.Request, output *DescribeChannelModeratedByAppInstanceUserOutput) {
7091	op := &request.Operation{
7092		Name:       opDescribeChannelModeratedByAppInstanceUser,
7093		HTTPMethod: "GET",
7094		HTTPPath:   "/channels/{channelArn}?scope=app-instance-user-moderated-channel",
7095	}
7096
7097	if input == nil {
7098		input = &DescribeChannelModeratedByAppInstanceUserInput{}
7099	}
7100
7101	output = &DescribeChannelModeratedByAppInstanceUserOutput{}
7102	req = c.newRequest(op, input, output)
7103	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
7104	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
7105	return
7106}
7107
7108// DescribeChannelModeratedByAppInstanceUser API operation for Amazon Chime.
7109//
7110// Returns the full details of a channel moderated by the specified AppInstanceUser.
7111//
7112// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
7113// of the user that makes the API call as the value in the header.
7114//
7115// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7116// with awserr.Error's Code and Message methods to get detailed information about
7117// the error.
7118//
7119// See the AWS API reference guide for Amazon Chime's
7120// API operation DescribeChannelModeratedByAppInstanceUser for usage and error information.
7121//
7122// Returned Error Types:
7123//   * BadRequestException
7124//   The input parameters don't match the service's restrictions.
7125//
7126//   * ForbiddenException
7127//   The client is permanently forbidden from making the request.
7128//
7129//   * UnauthorizedClientException
7130//   The client is not currently authorized to make the request.
7131//
7132//   * ThrottledClientException
7133//   The client exceeded its request rate limit.
7134//
7135//   * ServiceUnavailableException
7136//   The service is currently unavailable.
7137//
7138//   * ServiceFailureException
7139//   The service encountered an unexpected error.
7140//
7141// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelModeratedByAppInstanceUser
7142func (c *Chime) DescribeChannelModeratedByAppInstanceUser(input *DescribeChannelModeratedByAppInstanceUserInput) (*DescribeChannelModeratedByAppInstanceUserOutput, error) {
7143	req, out := c.DescribeChannelModeratedByAppInstanceUserRequest(input)
7144	return out, req.Send()
7145}
7146
7147// DescribeChannelModeratedByAppInstanceUserWithContext is the same as DescribeChannelModeratedByAppInstanceUser with the addition of
7148// the ability to pass a context and additional request options.
7149//
7150// See DescribeChannelModeratedByAppInstanceUser for details on how to use this API operation.
7151//
7152// The context must be non-nil and will be used for request cancellation. If
7153// the context is nil a panic will occur. In the future the SDK may create
7154// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7155// for more information on using Contexts.
7156func (c *Chime) DescribeChannelModeratedByAppInstanceUserWithContext(ctx aws.Context, input *DescribeChannelModeratedByAppInstanceUserInput, opts ...request.Option) (*DescribeChannelModeratedByAppInstanceUserOutput, error) {
7157	req, out := c.DescribeChannelModeratedByAppInstanceUserRequest(input)
7158	req.SetContext(ctx)
7159	req.ApplyOptions(opts...)
7160	return out, req.Send()
7161}
7162
7163const opDescribeChannelModerator = "DescribeChannelModerator"
7164
7165// DescribeChannelModeratorRequest generates a "aws/request.Request" representing the
7166// client's request for the DescribeChannelModerator operation. The "output" return
7167// value will be populated with the request's response once the request completes
7168// successfully.
7169//
7170// Use "Send" method on the returned Request to send the API call to the service.
7171// the "output" return value is not valid until after Send returns without error.
7172//
7173// See DescribeChannelModerator for more information on using the DescribeChannelModerator
7174// API call, and error handling.
7175//
7176// This method is useful when you want to inject custom logic or configuration
7177// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7178//
7179//
7180//    // Example sending a request using the DescribeChannelModeratorRequest method.
7181//    req, resp := client.DescribeChannelModeratorRequest(params)
7182//
7183//    err := req.Send()
7184//    if err == nil { // resp is now filled
7185//        fmt.Println(resp)
7186//    }
7187//
7188// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelModerator
7189func (c *Chime) DescribeChannelModeratorRequest(input *DescribeChannelModeratorInput) (req *request.Request, output *DescribeChannelModeratorOutput) {
7190	op := &request.Operation{
7191		Name:       opDescribeChannelModerator,
7192		HTTPMethod: "GET",
7193		HTTPPath:   "/channels/{channelArn}/moderators/{channelModeratorArn}",
7194	}
7195
7196	if input == nil {
7197		input = &DescribeChannelModeratorInput{}
7198	}
7199
7200	output = &DescribeChannelModeratorOutput{}
7201	req = c.newRequest(op, input, output)
7202	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
7203	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
7204	return
7205}
7206
7207// DescribeChannelModerator API operation for Amazon Chime.
7208//
7209// Returns the full details of a single ChannelModerator.
7210//
7211// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
7212// of the user that makes the API call as the value in the header.
7213//
7214// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7215// with awserr.Error's Code and Message methods to get detailed information about
7216// the error.
7217//
7218// See the AWS API reference guide for Amazon Chime's
7219// API operation DescribeChannelModerator for usage and error information.
7220//
7221// Returned Error Types:
7222//   * BadRequestException
7223//   The input parameters don't match the service's restrictions.
7224//
7225//   * ForbiddenException
7226//   The client is permanently forbidden from making the request.
7227//
7228//   * NotFoundException
7229//   One or more of the resources in the request does not exist in the system.
7230//
7231//   * UnauthorizedClientException
7232//   The client is not currently authorized to make the request.
7233//
7234//   * ThrottledClientException
7235//   The client exceeded its request rate limit.
7236//
7237//   * ServiceUnavailableException
7238//   The service is currently unavailable.
7239//
7240//   * ServiceFailureException
7241//   The service encountered an unexpected error.
7242//
7243// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelModerator
7244func (c *Chime) DescribeChannelModerator(input *DescribeChannelModeratorInput) (*DescribeChannelModeratorOutput, error) {
7245	req, out := c.DescribeChannelModeratorRequest(input)
7246	return out, req.Send()
7247}
7248
7249// DescribeChannelModeratorWithContext is the same as DescribeChannelModerator with the addition of
7250// the ability to pass a context and additional request options.
7251//
7252// See DescribeChannelModerator for details on how to use this API operation.
7253//
7254// The context must be non-nil and will be used for request cancellation. If
7255// the context is nil a panic will occur. In the future the SDK may create
7256// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7257// for more information on using Contexts.
7258func (c *Chime) DescribeChannelModeratorWithContext(ctx aws.Context, input *DescribeChannelModeratorInput, opts ...request.Option) (*DescribeChannelModeratorOutput, error) {
7259	req, out := c.DescribeChannelModeratorRequest(input)
7260	req.SetContext(ctx)
7261	req.ApplyOptions(opts...)
7262	return out, req.Send()
7263}
7264
7265const opDisassociatePhoneNumberFromUser = "DisassociatePhoneNumberFromUser"
7266
7267// DisassociatePhoneNumberFromUserRequest generates a "aws/request.Request" representing the
7268// client's request for the DisassociatePhoneNumberFromUser operation. The "output" return
7269// value will be populated with the request's response once the request completes
7270// successfully.
7271//
7272// Use "Send" method on the returned Request to send the API call to the service.
7273// the "output" return value is not valid until after Send returns without error.
7274//
7275// See DisassociatePhoneNumberFromUser for more information on using the DisassociatePhoneNumberFromUser
7276// API call, and error handling.
7277//
7278// This method is useful when you want to inject custom logic or configuration
7279// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7280//
7281//
7282//    // Example sending a request using the DisassociatePhoneNumberFromUserRequest method.
7283//    req, resp := client.DisassociatePhoneNumberFromUserRequest(params)
7284//
7285//    err := req.Send()
7286//    if err == nil { // resp is now filled
7287//        fmt.Println(resp)
7288//    }
7289//
7290// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumberFromUser
7291func (c *Chime) DisassociatePhoneNumberFromUserRequest(input *DisassociatePhoneNumberFromUserInput) (req *request.Request, output *DisassociatePhoneNumberFromUserOutput) {
7292	op := &request.Operation{
7293		Name:       opDisassociatePhoneNumberFromUser,
7294		HTTPMethod: "POST",
7295		HTTPPath:   "/accounts/{accountId}/users/{userId}?operation=disassociate-phone-number",
7296	}
7297
7298	if input == nil {
7299		input = &DisassociatePhoneNumberFromUserInput{}
7300	}
7301
7302	output = &DisassociatePhoneNumberFromUserOutput{}
7303	req = c.newRequest(op, input, output)
7304	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
7305	return
7306}
7307
7308// DisassociatePhoneNumberFromUser API operation for Amazon Chime.
7309//
7310// Disassociates the primary provisioned phone number from the specified Amazon
7311// Chime user.
7312//
7313// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7314// with awserr.Error's Code and Message methods to get detailed information about
7315// the error.
7316//
7317// See the AWS API reference guide for Amazon Chime's
7318// API operation DisassociatePhoneNumberFromUser for usage and error information.
7319//
7320// Returned Error Types:
7321//   * UnauthorizedClientException
7322//   The client is not currently authorized to make the request.
7323//
7324//   * NotFoundException
7325//   One or more of the resources in the request does not exist in the system.
7326//
7327//   * ForbiddenException
7328//   The client is permanently forbidden from making the request.
7329//
7330//   * BadRequestException
7331//   The input parameters don't match the service's restrictions.
7332//
7333//   * ThrottledClientException
7334//   The client exceeded its request rate limit.
7335//
7336//   * ServiceUnavailableException
7337//   The service is currently unavailable.
7338//
7339//   * ServiceFailureException
7340//   The service encountered an unexpected error.
7341//
7342// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumberFromUser
7343func (c *Chime) DisassociatePhoneNumberFromUser(input *DisassociatePhoneNumberFromUserInput) (*DisassociatePhoneNumberFromUserOutput, error) {
7344	req, out := c.DisassociatePhoneNumberFromUserRequest(input)
7345	return out, req.Send()
7346}
7347
7348// DisassociatePhoneNumberFromUserWithContext is the same as DisassociatePhoneNumberFromUser with the addition of
7349// the ability to pass a context and additional request options.
7350//
7351// See DisassociatePhoneNumberFromUser for details on how to use this API operation.
7352//
7353// The context must be non-nil and will be used for request cancellation. If
7354// the context is nil a panic will occur. In the future the SDK may create
7355// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7356// for more information on using Contexts.
7357func (c *Chime) DisassociatePhoneNumberFromUserWithContext(ctx aws.Context, input *DisassociatePhoneNumberFromUserInput, opts ...request.Option) (*DisassociatePhoneNumberFromUserOutput, error) {
7358	req, out := c.DisassociatePhoneNumberFromUserRequest(input)
7359	req.SetContext(ctx)
7360	req.ApplyOptions(opts...)
7361	return out, req.Send()
7362}
7363
7364const opDisassociatePhoneNumbersFromVoiceConnector = "DisassociatePhoneNumbersFromVoiceConnector"
7365
7366// DisassociatePhoneNumbersFromVoiceConnectorRequest generates a "aws/request.Request" representing the
7367// client's request for the DisassociatePhoneNumbersFromVoiceConnector operation. The "output" return
7368// value will be populated with the request's response once the request completes
7369// successfully.
7370//
7371// Use "Send" method on the returned Request to send the API call to the service.
7372// the "output" return value is not valid until after Send returns without error.
7373//
7374// See DisassociatePhoneNumbersFromVoiceConnector for more information on using the DisassociatePhoneNumbersFromVoiceConnector
7375// API call, and error handling.
7376//
7377// This method is useful when you want to inject custom logic or configuration
7378// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7379//
7380//
7381//    // Example sending a request using the DisassociatePhoneNumbersFromVoiceConnectorRequest method.
7382//    req, resp := client.DisassociatePhoneNumbersFromVoiceConnectorRequest(params)
7383//
7384//    err := req.Send()
7385//    if err == nil { // resp is now filled
7386//        fmt.Println(resp)
7387//    }
7388//
7389// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnector
7390func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorRequest(input *DisassociatePhoneNumbersFromVoiceConnectorInput) (req *request.Request, output *DisassociatePhoneNumbersFromVoiceConnectorOutput) {
7391	op := &request.Operation{
7392		Name:       opDisassociatePhoneNumbersFromVoiceConnector,
7393		HTTPMethod: "POST",
7394		HTTPPath:   "/voice-connectors/{voiceConnectorId}?operation=disassociate-phone-numbers",
7395	}
7396
7397	if input == nil {
7398		input = &DisassociatePhoneNumbersFromVoiceConnectorInput{}
7399	}
7400
7401	output = &DisassociatePhoneNumbersFromVoiceConnectorOutput{}
7402	req = c.newRequest(op, input, output)
7403	return
7404}
7405
7406// DisassociatePhoneNumbersFromVoiceConnector API operation for Amazon Chime.
7407//
7408// Disassociates the specified phone numbers from the specified Amazon Chime
7409// Voice Connector.
7410//
7411// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7412// with awserr.Error's Code and Message methods to get detailed information about
7413// the error.
7414//
7415// See the AWS API reference guide for Amazon Chime's
7416// API operation DisassociatePhoneNumbersFromVoiceConnector for usage and error information.
7417//
7418// Returned Error Types:
7419//   * UnauthorizedClientException
7420//   The client is not currently authorized to make the request.
7421//
7422//   * NotFoundException
7423//   One or more of the resources in the request does not exist in the system.
7424//
7425//   * ForbiddenException
7426//   The client is permanently forbidden from making the request.
7427//
7428//   * BadRequestException
7429//   The input parameters don't match the service's restrictions.
7430//
7431//   * ThrottledClientException
7432//   The client exceeded its request rate limit.
7433//
7434//   * ServiceUnavailableException
7435//   The service is currently unavailable.
7436//
7437//   * ServiceFailureException
7438//   The service encountered an unexpected error.
7439//
7440// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnector
7441func (c *Chime) DisassociatePhoneNumbersFromVoiceConnector(input *DisassociatePhoneNumbersFromVoiceConnectorInput) (*DisassociatePhoneNumbersFromVoiceConnectorOutput, error) {
7442	req, out := c.DisassociatePhoneNumbersFromVoiceConnectorRequest(input)
7443	return out, req.Send()
7444}
7445
7446// DisassociatePhoneNumbersFromVoiceConnectorWithContext is the same as DisassociatePhoneNumbersFromVoiceConnector with the addition of
7447// the ability to pass a context and additional request options.
7448//
7449// See DisassociatePhoneNumbersFromVoiceConnector for details on how to use this API operation.
7450//
7451// The context must be non-nil and will be used for request cancellation. If
7452// the context is nil a panic will occur. In the future the SDK may create
7453// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7454// for more information on using Contexts.
7455func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorWithContext(ctx aws.Context, input *DisassociatePhoneNumbersFromVoiceConnectorInput, opts ...request.Option) (*DisassociatePhoneNumbersFromVoiceConnectorOutput, error) {
7456	req, out := c.DisassociatePhoneNumbersFromVoiceConnectorRequest(input)
7457	req.SetContext(ctx)
7458	req.ApplyOptions(opts...)
7459	return out, req.Send()
7460}
7461
7462const opDisassociatePhoneNumbersFromVoiceConnectorGroup = "DisassociatePhoneNumbersFromVoiceConnectorGroup"
7463
7464// DisassociatePhoneNumbersFromVoiceConnectorGroupRequest generates a "aws/request.Request" representing the
7465// client's request for the DisassociatePhoneNumbersFromVoiceConnectorGroup operation. The "output" return
7466// value will be populated with the request's response once the request completes
7467// successfully.
7468//
7469// Use "Send" method on the returned Request to send the API call to the service.
7470// the "output" return value is not valid until after Send returns without error.
7471//
7472// See DisassociatePhoneNumbersFromVoiceConnectorGroup for more information on using the DisassociatePhoneNumbersFromVoiceConnectorGroup
7473// API call, and error handling.
7474//
7475// This method is useful when you want to inject custom logic or configuration
7476// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7477//
7478//
7479//    // Example sending a request using the DisassociatePhoneNumbersFromVoiceConnectorGroupRequest method.
7480//    req, resp := client.DisassociatePhoneNumbersFromVoiceConnectorGroupRequest(params)
7481//
7482//    err := req.Send()
7483//    if err == nil { // resp is now filled
7484//        fmt.Println(resp)
7485//    }
7486//
7487// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroup
7488func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorGroupRequest(input *DisassociatePhoneNumbersFromVoiceConnectorGroupInput) (req *request.Request, output *DisassociatePhoneNumbersFromVoiceConnectorGroupOutput) {
7489	op := &request.Operation{
7490		Name:       opDisassociatePhoneNumbersFromVoiceConnectorGroup,
7491		HTTPMethod: "POST",
7492		HTTPPath:   "/voice-connector-groups/{voiceConnectorGroupId}?operation=disassociate-phone-numbers",
7493	}
7494
7495	if input == nil {
7496		input = &DisassociatePhoneNumbersFromVoiceConnectorGroupInput{}
7497	}
7498
7499	output = &DisassociatePhoneNumbersFromVoiceConnectorGroupOutput{}
7500	req = c.newRequest(op, input, output)
7501	return
7502}
7503
7504// DisassociatePhoneNumbersFromVoiceConnectorGroup API operation for Amazon Chime.
7505//
7506// Disassociates the specified phone numbers from the specified Amazon Chime
7507// Voice Connector group.
7508//
7509// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7510// with awserr.Error's Code and Message methods to get detailed information about
7511// the error.
7512//
7513// See the AWS API reference guide for Amazon Chime's
7514// API operation DisassociatePhoneNumbersFromVoiceConnectorGroup for usage and error information.
7515//
7516// Returned Error Types:
7517//   * UnauthorizedClientException
7518//   The client is not currently authorized to make the request.
7519//
7520//   * NotFoundException
7521//   One or more of the resources in the request does not exist in the system.
7522//
7523//   * ForbiddenException
7524//   The client is permanently forbidden from making the request.
7525//
7526//   * BadRequestException
7527//   The input parameters don't match the service's restrictions.
7528//
7529//   * ThrottledClientException
7530//   The client exceeded its request rate limit.
7531//
7532//   * ServiceUnavailableException
7533//   The service is currently unavailable.
7534//
7535//   * ServiceFailureException
7536//   The service encountered an unexpected error.
7537//
7538// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroup
7539func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorGroup(input *DisassociatePhoneNumbersFromVoiceConnectorGroupInput) (*DisassociatePhoneNumbersFromVoiceConnectorGroupOutput, error) {
7540	req, out := c.DisassociatePhoneNumbersFromVoiceConnectorGroupRequest(input)
7541	return out, req.Send()
7542}
7543
7544// DisassociatePhoneNumbersFromVoiceConnectorGroupWithContext is the same as DisassociatePhoneNumbersFromVoiceConnectorGroup with the addition of
7545// the ability to pass a context and additional request options.
7546//
7547// See DisassociatePhoneNumbersFromVoiceConnectorGroup for details on how to use this API operation.
7548//
7549// The context must be non-nil and will be used for request cancellation. If
7550// the context is nil a panic will occur. In the future the SDK may create
7551// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7552// for more information on using Contexts.
7553func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorGroupWithContext(ctx aws.Context, input *DisassociatePhoneNumbersFromVoiceConnectorGroupInput, opts ...request.Option) (*DisassociatePhoneNumbersFromVoiceConnectorGroupOutput, error) {
7554	req, out := c.DisassociatePhoneNumbersFromVoiceConnectorGroupRequest(input)
7555	req.SetContext(ctx)
7556	req.ApplyOptions(opts...)
7557	return out, req.Send()
7558}
7559
7560const opDisassociateSigninDelegateGroupsFromAccount = "DisassociateSigninDelegateGroupsFromAccount"
7561
7562// DisassociateSigninDelegateGroupsFromAccountRequest generates a "aws/request.Request" representing the
7563// client's request for the DisassociateSigninDelegateGroupsFromAccount operation. The "output" return
7564// value will be populated with the request's response once the request completes
7565// successfully.
7566//
7567// Use "Send" method on the returned Request to send the API call to the service.
7568// the "output" return value is not valid until after Send returns without error.
7569//
7570// See DisassociateSigninDelegateGroupsFromAccount for more information on using the DisassociateSigninDelegateGroupsFromAccount
7571// API call, and error handling.
7572//
7573// This method is useful when you want to inject custom logic or configuration
7574// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7575//
7576//
7577//    // Example sending a request using the DisassociateSigninDelegateGroupsFromAccountRequest method.
7578//    req, resp := client.DisassociateSigninDelegateGroupsFromAccountRequest(params)
7579//
7580//    err := req.Send()
7581//    if err == nil { // resp is now filled
7582//        fmt.Println(resp)
7583//    }
7584//
7585// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociateSigninDelegateGroupsFromAccount
7586func (c *Chime) DisassociateSigninDelegateGroupsFromAccountRequest(input *DisassociateSigninDelegateGroupsFromAccountInput) (req *request.Request, output *DisassociateSigninDelegateGroupsFromAccountOutput) {
7587	op := &request.Operation{
7588		Name:       opDisassociateSigninDelegateGroupsFromAccount,
7589		HTTPMethod: "POST",
7590		HTTPPath:   "/accounts/{accountId}?operation=disassociate-signin-delegate-groups",
7591	}
7592
7593	if input == nil {
7594		input = &DisassociateSigninDelegateGroupsFromAccountInput{}
7595	}
7596
7597	output = &DisassociateSigninDelegateGroupsFromAccountOutput{}
7598	req = c.newRequest(op, input, output)
7599	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
7600	return
7601}
7602
7603// DisassociateSigninDelegateGroupsFromAccount API operation for Amazon Chime.
7604//
7605// Disassociates the specified sign-in delegate groups from the specified Amazon
7606// Chime account.
7607//
7608// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7609// with awserr.Error's Code and Message methods to get detailed information about
7610// the error.
7611//
7612// See the AWS API reference guide for Amazon Chime's
7613// API operation DisassociateSigninDelegateGroupsFromAccount for usage and error information.
7614//
7615// Returned Error Types:
7616//   * UnauthorizedClientException
7617//   The client is not currently authorized to make the request.
7618//
7619//   * NotFoundException
7620//   One or more of the resources in the request does not exist in the system.
7621//
7622//   * ForbiddenException
7623//   The client is permanently forbidden from making the request.
7624//
7625//   * BadRequestException
7626//   The input parameters don't match the service's restrictions.
7627//
7628//   * ThrottledClientException
7629//   The client exceeded its request rate limit.
7630//
7631//   * ServiceUnavailableException
7632//   The service is currently unavailable.
7633//
7634//   * ServiceFailureException
7635//   The service encountered an unexpected error.
7636//
7637// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociateSigninDelegateGroupsFromAccount
7638func (c *Chime) DisassociateSigninDelegateGroupsFromAccount(input *DisassociateSigninDelegateGroupsFromAccountInput) (*DisassociateSigninDelegateGroupsFromAccountOutput, error) {
7639	req, out := c.DisassociateSigninDelegateGroupsFromAccountRequest(input)
7640	return out, req.Send()
7641}
7642
7643// DisassociateSigninDelegateGroupsFromAccountWithContext is the same as DisassociateSigninDelegateGroupsFromAccount with the addition of
7644// the ability to pass a context and additional request options.
7645//
7646// See DisassociateSigninDelegateGroupsFromAccount for details on how to use this API operation.
7647//
7648// The context must be non-nil and will be used for request cancellation. If
7649// the context is nil a panic will occur. In the future the SDK may create
7650// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7651// for more information on using Contexts.
7652func (c *Chime) DisassociateSigninDelegateGroupsFromAccountWithContext(ctx aws.Context, input *DisassociateSigninDelegateGroupsFromAccountInput, opts ...request.Option) (*DisassociateSigninDelegateGroupsFromAccountOutput, error) {
7653	req, out := c.DisassociateSigninDelegateGroupsFromAccountRequest(input)
7654	req.SetContext(ctx)
7655	req.ApplyOptions(opts...)
7656	return out, req.Send()
7657}
7658
7659const opGetAccount = "GetAccount"
7660
7661// GetAccountRequest generates a "aws/request.Request" representing the
7662// client's request for the GetAccount operation. The "output" return
7663// value will be populated with the request's response once the request completes
7664// successfully.
7665//
7666// Use "Send" method on the returned Request to send the API call to the service.
7667// the "output" return value is not valid until after Send returns without error.
7668//
7669// See GetAccount for more information on using the GetAccount
7670// API call, and error handling.
7671//
7672// This method is useful when you want to inject custom logic or configuration
7673// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7674//
7675//
7676//    // Example sending a request using the GetAccountRequest method.
7677//    req, resp := client.GetAccountRequest(params)
7678//
7679//    err := req.Send()
7680//    if err == nil { // resp is now filled
7681//        fmt.Println(resp)
7682//    }
7683//
7684// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccount
7685func (c *Chime) GetAccountRequest(input *GetAccountInput) (req *request.Request, output *GetAccountOutput) {
7686	op := &request.Operation{
7687		Name:       opGetAccount,
7688		HTTPMethod: "GET",
7689		HTTPPath:   "/accounts/{accountId}",
7690	}
7691
7692	if input == nil {
7693		input = &GetAccountInput{}
7694	}
7695
7696	output = &GetAccountOutput{}
7697	req = c.newRequest(op, input, output)
7698	return
7699}
7700
7701// GetAccount API operation for Amazon Chime.
7702//
7703// Retrieves details for the specified Amazon Chime account, such as account
7704// type and supported licenses.
7705//
7706// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7707// with awserr.Error's Code and Message methods to get detailed information about
7708// the error.
7709//
7710// See the AWS API reference guide for Amazon Chime's
7711// API operation GetAccount for usage and error information.
7712//
7713// Returned Error Types:
7714//   * UnauthorizedClientException
7715//   The client is not currently authorized to make the request.
7716//
7717//   * NotFoundException
7718//   One or more of the resources in the request does not exist in the system.
7719//
7720//   * ForbiddenException
7721//   The client is permanently forbidden from making the request.
7722//
7723//   * BadRequestException
7724//   The input parameters don't match the service's restrictions.
7725//
7726//   * ThrottledClientException
7727//   The client exceeded its request rate limit.
7728//
7729//   * ServiceUnavailableException
7730//   The service is currently unavailable.
7731//
7732//   * ServiceFailureException
7733//   The service encountered an unexpected error.
7734//
7735// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccount
7736func (c *Chime) GetAccount(input *GetAccountInput) (*GetAccountOutput, error) {
7737	req, out := c.GetAccountRequest(input)
7738	return out, req.Send()
7739}
7740
7741// GetAccountWithContext is the same as GetAccount with the addition of
7742// the ability to pass a context and additional request options.
7743//
7744// See GetAccount for details on how to use this API operation.
7745//
7746// The context must be non-nil and will be used for request cancellation. If
7747// the context is nil a panic will occur. In the future the SDK may create
7748// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7749// for more information on using Contexts.
7750func (c *Chime) GetAccountWithContext(ctx aws.Context, input *GetAccountInput, opts ...request.Option) (*GetAccountOutput, error) {
7751	req, out := c.GetAccountRequest(input)
7752	req.SetContext(ctx)
7753	req.ApplyOptions(opts...)
7754	return out, req.Send()
7755}
7756
7757const opGetAccountSettings = "GetAccountSettings"
7758
7759// GetAccountSettingsRequest generates a "aws/request.Request" representing the
7760// client's request for the GetAccountSettings operation. The "output" return
7761// value will be populated with the request's response once the request completes
7762// successfully.
7763//
7764// Use "Send" method on the returned Request to send the API call to the service.
7765// the "output" return value is not valid until after Send returns without error.
7766//
7767// See GetAccountSettings for more information on using the GetAccountSettings
7768// API call, and error handling.
7769//
7770// This method is useful when you want to inject custom logic or configuration
7771// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7772//
7773//
7774//    // Example sending a request using the GetAccountSettingsRequest method.
7775//    req, resp := client.GetAccountSettingsRequest(params)
7776//
7777//    err := req.Send()
7778//    if err == nil { // resp is now filled
7779//        fmt.Println(resp)
7780//    }
7781//
7782// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccountSettings
7783func (c *Chime) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput) {
7784	op := &request.Operation{
7785		Name:       opGetAccountSettings,
7786		HTTPMethod: "GET",
7787		HTTPPath:   "/accounts/{accountId}/settings",
7788	}
7789
7790	if input == nil {
7791		input = &GetAccountSettingsInput{}
7792	}
7793
7794	output = &GetAccountSettingsOutput{}
7795	req = c.newRequest(op, input, output)
7796	return
7797}
7798
7799// GetAccountSettings API operation for Amazon Chime.
7800//
7801// Retrieves account settings for the specified Amazon Chime account ID, such
7802// as remote control and dialout settings. For more information about these
7803// settings, see Use the Policies Page (https://docs.aws.amazon.com/chime/latest/ag/policies.html)
7804// in the Amazon Chime Administration Guide.
7805//
7806// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7807// with awserr.Error's Code and Message methods to get detailed information about
7808// the error.
7809//
7810// See the AWS API reference guide for Amazon Chime's
7811// API operation GetAccountSettings for usage and error information.
7812//
7813// Returned Error Types:
7814//   * UnauthorizedClientException
7815//   The client is not currently authorized to make the request.
7816//
7817//   * NotFoundException
7818//   One or more of the resources in the request does not exist in the system.
7819//
7820//   * BadRequestException
7821//   The input parameters don't match the service's restrictions.
7822//
7823//   * ForbiddenException
7824//   The client is permanently forbidden from making the request.
7825//
7826//   * ThrottledClientException
7827//   The client exceeded its request rate limit.
7828//
7829//   * ServiceUnavailableException
7830//   The service is currently unavailable.
7831//
7832//   * ServiceFailureException
7833//   The service encountered an unexpected error.
7834//
7835// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccountSettings
7836func (c *Chime) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error) {
7837	req, out := c.GetAccountSettingsRequest(input)
7838	return out, req.Send()
7839}
7840
7841// GetAccountSettingsWithContext is the same as GetAccountSettings with the addition of
7842// the ability to pass a context and additional request options.
7843//
7844// See GetAccountSettings for details on how to use this API operation.
7845//
7846// The context must be non-nil and will be used for request cancellation. If
7847// the context is nil a panic will occur. In the future the SDK may create
7848// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7849// for more information on using Contexts.
7850func (c *Chime) GetAccountSettingsWithContext(ctx aws.Context, input *GetAccountSettingsInput, opts ...request.Option) (*GetAccountSettingsOutput, error) {
7851	req, out := c.GetAccountSettingsRequest(input)
7852	req.SetContext(ctx)
7853	req.ApplyOptions(opts...)
7854	return out, req.Send()
7855}
7856
7857const opGetAppInstanceRetentionSettings = "GetAppInstanceRetentionSettings"
7858
7859// GetAppInstanceRetentionSettingsRequest generates a "aws/request.Request" representing the
7860// client's request for the GetAppInstanceRetentionSettings operation. The "output" return
7861// value will be populated with the request's response once the request completes
7862// successfully.
7863//
7864// Use "Send" method on the returned Request to send the API call to the service.
7865// the "output" return value is not valid until after Send returns without error.
7866//
7867// See GetAppInstanceRetentionSettings for more information on using the GetAppInstanceRetentionSettings
7868// API call, and error handling.
7869//
7870// This method is useful when you want to inject custom logic or configuration
7871// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7872//
7873//
7874//    // Example sending a request using the GetAppInstanceRetentionSettingsRequest method.
7875//    req, resp := client.GetAppInstanceRetentionSettingsRequest(params)
7876//
7877//    err := req.Send()
7878//    if err == nil { // resp is now filled
7879//        fmt.Println(resp)
7880//    }
7881//
7882// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAppInstanceRetentionSettings
7883func (c *Chime) GetAppInstanceRetentionSettingsRequest(input *GetAppInstanceRetentionSettingsInput) (req *request.Request, output *GetAppInstanceRetentionSettingsOutput) {
7884	op := &request.Operation{
7885		Name:       opGetAppInstanceRetentionSettings,
7886		HTTPMethod: "GET",
7887		HTTPPath:   "/app-instances/{appInstanceArn}/retention-settings",
7888	}
7889
7890	if input == nil {
7891		input = &GetAppInstanceRetentionSettingsInput{}
7892	}
7893
7894	output = &GetAppInstanceRetentionSettingsOutput{}
7895	req = c.newRequest(op, input, output)
7896	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
7897	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
7898	return
7899}
7900
7901// GetAppInstanceRetentionSettings API operation for Amazon Chime.
7902//
7903// Gets the retention settings for an AppInstance.
7904//
7905// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7906// with awserr.Error's Code and Message methods to get detailed information about
7907// the error.
7908//
7909// See the AWS API reference guide for Amazon Chime's
7910// API operation GetAppInstanceRetentionSettings for usage and error information.
7911//
7912// Returned Error Types:
7913//   * UnauthorizedClientException
7914//   The client is not currently authorized to make the request.
7915//
7916//   * NotFoundException
7917//   One or more of the resources in the request does not exist in the system.
7918//
7919//   * BadRequestException
7920//   The input parameters don't match the service's restrictions.
7921//
7922//   * ForbiddenException
7923//   The client is permanently forbidden from making the request.
7924//
7925//   * ThrottledClientException
7926//   The client exceeded its request rate limit.
7927//
7928//   * ServiceUnavailableException
7929//   The service is currently unavailable.
7930//
7931//   * ServiceFailureException
7932//   The service encountered an unexpected error.
7933//
7934// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAppInstanceRetentionSettings
7935func (c *Chime) GetAppInstanceRetentionSettings(input *GetAppInstanceRetentionSettingsInput) (*GetAppInstanceRetentionSettingsOutput, error) {
7936	req, out := c.GetAppInstanceRetentionSettingsRequest(input)
7937	return out, req.Send()
7938}
7939
7940// GetAppInstanceRetentionSettingsWithContext is the same as GetAppInstanceRetentionSettings with the addition of
7941// the ability to pass a context and additional request options.
7942//
7943// See GetAppInstanceRetentionSettings for details on how to use this API operation.
7944//
7945// The context must be non-nil and will be used for request cancellation. If
7946// the context is nil a panic will occur. In the future the SDK may create
7947// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7948// for more information on using Contexts.
7949func (c *Chime) GetAppInstanceRetentionSettingsWithContext(ctx aws.Context, input *GetAppInstanceRetentionSettingsInput, opts ...request.Option) (*GetAppInstanceRetentionSettingsOutput, error) {
7950	req, out := c.GetAppInstanceRetentionSettingsRequest(input)
7951	req.SetContext(ctx)
7952	req.ApplyOptions(opts...)
7953	return out, req.Send()
7954}
7955
7956const opGetAppInstanceStreamingConfigurations = "GetAppInstanceStreamingConfigurations"
7957
7958// GetAppInstanceStreamingConfigurationsRequest generates a "aws/request.Request" representing the
7959// client's request for the GetAppInstanceStreamingConfigurations operation. The "output" return
7960// value will be populated with the request's response once the request completes
7961// successfully.
7962//
7963// Use "Send" method on the returned Request to send the API call to the service.
7964// the "output" return value is not valid until after Send returns without error.
7965//
7966// See GetAppInstanceStreamingConfigurations for more information on using the GetAppInstanceStreamingConfigurations
7967// API call, and error handling.
7968//
7969// This method is useful when you want to inject custom logic or configuration
7970// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7971//
7972//
7973//    // Example sending a request using the GetAppInstanceStreamingConfigurationsRequest method.
7974//    req, resp := client.GetAppInstanceStreamingConfigurationsRequest(params)
7975//
7976//    err := req.Send()
7977//    if err == nil { // resp is now filled
7978//        fmt.Println(resp)
7979//    }
7980//
7981// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAppInstanceStreamingConfigurations
7982func (c *Chime) GetAppInstanceStreamingConfigurationsRequest(input *GetAppInstanceStreamingConfigurationsInput) (req *request.Request, output *GetAppInstanceStreamingConfigurationsOutput) {
7983	op := &request.Operation{
7984		Name:       opGetAppInstanceStreamingConfigurations,
7985		HTTPMethod: "GET",
7986		HTTPPath:   "/app-instances/{appInstanceArn}/streaming-configurations",
7987	}
7988
7989	if input == nil {
7990		input = &GetAppInstanceStreamingConfigurationsInput{}
7991	}
7992
7993	output = &GetAppInstanceStreamingConfigurationsOutput{}
7994	req = c.newRequest(op, input, output)
7995	return
7996}
7997
7998// GetAppInstanceStreamingConfigurations API operation for Amazon Chime.
7999//
8000// Gets the streaming settings for an AppInstance.
8001//
8002// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8003// with awserr.Error's Code and Message methods to get detailed information about
8004// the error.
8005//
8006// See the AWS API reference guide for Amazon Chime's
8007// API operation GetAppInstanceStreamingConfigurations for usage and error information.
8008//
8009// Returned Error Types:
8010//   * BadRequestException
8011//   The input parameters don't match the service's restrictions.
8012//
8013//   * ForbiddenException
8014//   The client is permanently forbidden from making the request.
8015//
8016//   * NotFoundException
8017//   One or more of the resources in the request does not exist in the system.
8018//
8019//   * UnauthorizedClientException
8020//   The client is not currently authorized to make the request.
8021//
8022//   * ThrottledClientException
8023//   The client exceeded its request rate limit.
8024//
8025//   * ServiceUnavailableException
8026//   The service is currently unavailable.
8027//
8028//   * ServiceFailureException
8029//   The service encountered an unexpected error.
8030//
8031// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAppInstanceStreamingConfigurations
8032func (c *Chime) GetAppInstanceStreamingConfigurations(input *GetAppInstanceStreamingConfigurationsInput) (*GetAppInstanceStreamingConfigurationsOutput, error) {
8033	req, out := c.GetAppInstanceStreamingConfigurationsRequest(input)
8034	return out, req.Send()
8035}
8036
8037// GetAppInstanceStreamingConfigurationsWithContext is the same as GetAppInstanceStreamingConfigurations with the addition of
8038// the ability to pass a context and additional request options.
8039//
8040// See GetAppInstanceStreamingConfigurations for details on how to use this API operation.
8041//
8042// The context must be non-nil and will be used for request cancellation. If
8043// the context is nil a panic will occur. In the future the SDK may create
8044// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8045// for more information on using Contexts.
8046func (c *Chime) GetAppInstanceStreamingConfigurationsWithContext(ctx aws.Context, input *GetAppInstanceStreamingConfigurationsInput, opts ...request.Option) (*GetAppInstanceStreamingConfigurationsOutput, error) {
8047	req, out := c.GetAppInstanceStreamingConfigurationsRequest(input)
8048	req.SetContext(ctx)
8049	req.ApplyOptions(opts...)
8050	return out, req.Send()
8051}
8052
8053const opGetAttendee = "GetAttendee"
8054
8055// GetAttendeeRequest generates a "aws/request.Request" representing the
8056// client's request for the GetAttendee operation. The "output" return
8057// value will be populated with the request's response once the request completes
8058// successfully.
8059//
8060// Use "Send" method on the returned Request to send the API call to the service.
8061// the "output" return value is not valid until after Send returns without error.
8062//
8063// See GetAttendee for more information on using the GetAttendee
8064// API call, and error handling.
8065//
8066// This method is useful when you want to inject custom logic or configuration
8067// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8068//
8069//
8070//    // Example sending a request using the GetAttendeeRequest method.
8071//    req, resp := client.GetAttendeeRequest(params)
8072//
8073//    err := req.Send()
8074//    if err == nil { // resp is now filled
8075//        fmt.Println(resp)
8076//    }
8077//
8078// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAttendee
8079func (c *Chime) GetAttendeeRequest(input *GetAttendeeInput) (req *request.Request, output *GetAttendeeOutput) {
8080	op := &request.Operation{
8081		Name:       opGetAttendee,
8082		HTTPMethod: "GET",
8083		HTTPPath:   "/meetings/{meetingId}/attendees/{attendeeId}",
8084	}
8085
8086	if input == nil {
8087		input = &GetAttendeeInput{}
8088	}
8089
8090	output = &GetAttendeeOutput{}
8091	req = c.newRequest(op, input, output)
8092	return
8093}
8094
8095// GetAttendee API operation for Amazon Chime.
8096//
8097// Gets the Amazon Chime SDK attendee details for a specified meeting ID and
8098// attendee ID. For more information about the Amazon Chime SDK, see Using the
8099// Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
8100// in the Amazon Chime Developer Guide .
8101//
8102// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8103// with awserr.Error's Code and Message methods to get detailed information about
8104// the error.
8105//
8106// See the AWS API reference guide for Amazon Chime's
8107// API operation GetAttendee for usage and error information.
8108//
8109// Returned Error Types:
8110//   * BadRequestException
8111//   The input parameters don't match the service's restrictions.
8112//
8113//   * ForbiddenException
8114//   The client is permanently forbidden from making the request.
8115//
8116//   * NotFoundException
8117//   One or more of the resources in the request does not exist in the system.
8118//
8119//   * ThrottledClientException
8120//   The client exceeded its request rate limit.
8121//
8122//   * UnauthorizedClientException
8123//   The client is not currently authorized to make the request.
8124//
8125//   * ServiceUnavailableException
8126//   The service is currently unavailable.
8127//
8128//   * ServiceFailureException
8129//   The service encountered an unexpected error.
8130//
8131// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAttendee
8132func (c *Chime) GetAttendee(input *GetAttendeeInput) (*GetAttendeeOutput, error) {
8133	req, out := c.GetAttendeeRequest(input)
8134	return out, req.Send()
8135}
8136
8137// GetAttendeeWithContext is the same as GetAttendee with the addition of
8138// the ability to pass a context and additional request options.
8139//
8140// See GetAttendee for details on how to use this API operation.
8141//
8142// The context must be non-nil and will be used for request cancellation. If
8143// the context is nil a panic will occur. In the future the SDK may create
8144// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8145// for more information on using Contexts.
8146func (c *Chime) GetAttendeeWithContext(ctx aws.Context, input *GetAttendeeInput, opts ...request.Option) (*GetAttendeeOutput, error) {
8147	req, out := c.GetAttendeeRequest(input)
8148	req.SetContext(ctx)
8149	req.ApplyOptions(opts...)
8150	return out, req.Send()
8151}
8152
8153const opGetBot = "GetBot"
8154
8155// GetBotRequest generates a "aws/request.Request" representing the
8156// client's request for the GetBot operation. The "output" return
8157// value will be populated with the request's response once the request completes
8158// successfully.
8159//
8160// Use "Send" method on the returned Request to send the API call to the service.
8161// the "output" return value is not valid until after Send returns without error.
8162//
8163// See GetBot for more information on using the GetBot
8164// API call, and error handling.
8165//
8166// This method is useful when you want to inject custom logic or configuration
8167// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8168//
8169//
8170//    // Example sending a request using the GetBotRequest method.
8171//    req, resp := client.GetBotRequest(params)
8172//
8173//    err := req.Send()
8174//    if err == nil { // resp is now filled
8175//        fmt.Println(resp)
8176//    }
8177//
8178// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetBot
8179func (c *Chime) GetBotRequest(input *GetBotInput) (req *request.Request, output *GetBotOutput) {
8180	op := &request.Operation{
8181		Name:       opGetBot,
8182		HTTPMethod: "GET",
8183		HTTPPath:   "/accounts/{accountId}/bots/{botId}",
8184	}
8185
8186	if input == nil {
8187		input = &GetBotInput{}
8188	}
8189
8190	output = &GetBotOutput{}
8191	req = c.newRequest(op, input, output)
8192	return
8193}
8194
8195// GetBot API operation for Amazon Chime.
8196//
8197// Retrieves details for the specified bot, such as bot email address, bot type,
8198// status, and display name.
8199//
8200// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8201// with awserr.Error's Code and Message methods to get detailed information about
8202// the error.
8203//
8204// See the AWS API reference guide for Amazon Chime's
8205// API operation GetBot for usage and error information.
8206//
8207// Returned Error Types:
8208//   * ServiceUnavailableException
8209//   The service is currently unavailable.
8210//
8211//   * ServiceFailureException
8212//   The service encountered an unexpected error.
8213//
8214//   * ForbiddenException
8215//   The client is permanently forbidden from making the request.
8216//
8217//   * UnauthorizedClientException
8218//   The client is not currently authorized to make the request.
8219//
8220//   * NotFoundException
8221//   One or more of the resources in the request does not exist in the system.
8222//
8223//   * BadRequestException
8224//   The input parameters don't match the service's restrictions.
8225//
8226//   * ThrottledClientException
8227//   The client exceeded its request rate limit.
8228//
8229// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetBot
8230func (c *Chime) GetBot(input *GetBotInput) (*GetBotOutput, error) {
8231	req, out := c.GetBotRequest(input)
8232	return out, req.Send()
8233}
8234
8235// GetBotWithContext is the same as GetBot with the addition of
8236// the ability to pass a context and additional request options.
8237//
8238// See GetBot for details on how to use this API operation.
8239//
8240// The context must be non-nil and will be used for request cancellation. If
8241// the context is nil a panic will occur. In the future the SDK may create
8242// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8243// for more information on using Contexts.
8244func (c *Chime) GetBotWithContext(ctx aws.Context, input *GetBotInput, opts ...request.Option) (*GetBotOutput, error) {
8245	req, out := c.GetBotRequest(input)
8246	req.SetContext(ctx)
8247	req.ApplyOptions(opts...)
8248	return out, req.Send()
8249}
8250
8251const opGetChannelMessage = "GetChannelMessage"
8252
8253// GetChannelMessageRequest generates a "aws/request.Request" representing the
8254// client's request for the GetChannelMessage operation. The "output" return
8255// value will be populated with the request's response once the request completes
8256// successfully.
8257//
8258// Use "Send" method on the returned Request to send the API call to the service.
8259// the "output" return value is not valid until after Send returns without error.
8260//
8261// See GetChannelMessage for more information on using the GetChannelMessage
8262// API call, and error handling.
8263//
8264// This method is useful when you want to inject custom logic or configuration
8265// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8266//
8267//
8268//    // Example sending a request using the GetChannelMessageRequest method.
8269//    req, resp := client.GetChannelMessageRequest(params)
8270//
8271//    err := req.Send()
8272//    if err == nil { // resp is now filled
8273//        fmt.Println(resp)
8274//    }
8275//
8276// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetChannelMessage
8277func (c *Chime) GetChannelMessageRequest(input *GetChannelMessageInput) (req *request.Request, output *GetChannelMessageOutput) {
8278	op := &request.Operation{
8279		Name:       opGetChannelMessage,
8280		HTTPMethod: "GET",
8281		HTTPPath:   "/channels/{channelArn}/messages/{messageId}",
8282	}
8283
8284	if input == nil {
8285		input = &GetChannelMessageInput{}
8286	}
8287
8288	output = &GetChannelMessageOutput{}
8289	req = c.newRequest(op, input, output)
8290	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
8291	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
8292	return
8293}
8294
8295// GetChannelMessage API operation for Amazon Chime.
8296//
8297// Gets the full details of a channel message.
8298//
8299// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
8300// of the user that makes the API call as the value in the header.
8301//
8302// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8303// with awserr.Error's Code and Message methods to get detailed information about
8304// the error.
8305//
8306// See the AWS API reference guide for Amazon Chime's
8307// API operation GetChannelMessage for usage and error information.
8308//
8309// Returned Error Types:
8310//   * BadRequestException
8311//   The input parameters don't match the service's restrictions.
8312//
8313//   * ForbiddenException
8314//   The client is permanently forbidden from making the request.
8315//
8316//   * NotFoundException
8317//   One or more of the resources in the request does not exist in the system.
8318//
8319//   * UnauthorizedClientException
8320//   The client is not currently authorized to make the request.
8321//
8322//   * ThrottledClientException
8323//   The client exceeded its request rate limit.
8324//
8325//   * ServiceUnavailableException
8326//   The service is currently unavailable.
8327//
8328//   * ServiceFailureException
8329//   The service encountered an unexpected error.
8330//
8331// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetChannelMessage
8332func (c *Chime) GetChannelMessage(input *GetChannelMessageInput) (*GetChannelMessageOutput, error) {
8333	req, out := c.GetChannelMessageRequest(input)
8334	return out, req.Send()
8335}
8336
8337// GetChannelMessageWithContext is the same as GetChannelMessage with the addition of
8338// the ability to pass a context and additional request options.
8339//
8340// See GetChannelMessage for details on how to use this API operation.
8341//
8342// The context must be non-nil and will be used for request cancellation. If
8343// the context is nil a panic will occur. In the future the SDK may create
8344// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8345// for more information on using Contexts.
8346func (c *Chime) GetChannelMessageWithContext(ctx aws.Context, input *GetChannelMessageInput, opts ...request.Option) (*GetChannelMessageOutput, error) {
8347	req, out := c.GetChannelMessageRequest(input)
8348	req.SetContext(ctx)
8349	req.ApplyOptions(opts...)
8350	return out, req.Send()
8351}
8352
8353const opGetEventsConfiguration = "GetEventsConfiguration"
8354
8355// GetEventsConfigurationRequest generates a "aws/request.Request" representing the
8356// client's request for the GetEventsConfiguration operation. The "output" return
8357// value will be populated with the request's response once the request completes
8358// successfully.
8359//
8360// Use "Send" method on the returned Request to send the API call to the service.
8361// the "output" return value is not valid until after Send returns without error.
8362//
8363// See GetEventsConfiguration for more information on using the GetEventsConfiguration
8364// API call, and error handling.
8365//
8366// This method is useful when you want to inject custom logic or configuration
8367// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8368//
8369//
8370//    // Example sending a request using the GetEventsConfigurationRequest method.
8371//    req, resp := client.GetEventsConfigurationRequest(params)
8372//
8373//    err := req.Send()
8374//    if err == nil { // resp is now filled
8375//        fmt.Println(resp)
8376//    }
8377//
8378// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetEventsConfiguration
8379func (c *Chime) GetEventsConfigurationRequest(input *GetEventsConfigurationInput) (req *request.Request, output *GetEventsConfigurationOutput) {
8380	op := &request.Operation{
8381		Name:       opGetEventsConfiguration,
8382		HTTPMethod: "GET",
8383		HTTPPath:   "/accounts/{accountId}/bots/{botId}/events-configuration",
8384	}
8385
8386	if input == nil {
8387		input = &GetEventsConfigurationInput{}
8388	}
8389
8390	output = &GetEventsConfigurationOutput{}
8391	req = c.newRequest(op, input, output)
8392	return
8393}
8394
8395// GetEventsConfiguration API operation for Amazon Chime.
8396//
8397// Gets details for an events configuration that allows a bot to receive outgoing
8398// events, such as an HTTPS endpoint or Lambda function ARN.
8399//
8400// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8401// with awserr.Error's Code and Message methods to get detailed information about
8402// the error.
8403//
8404// See the AWS API reference guide for Amazon Chime's
8405// API operation GetEventsConfiguration for usage and error information.
8406//
8407// Returned Error Types:
8408//   * ServiceUnavailableException
8409//   The service is currently unavailable.
8410//
8411//   * ServiceFailureException
8412//   The service encountered an unexpected error.
8413//
8414//   * ForbiddenException
8415//   The client is permanently forbidden from making the request.
8416//
8417//   * BadRequestException
8418//   The input parameters don't match the service's restrictions.
8419//
8420//   * UnauthorizedClientException
8421//   The client is not currently authorized to make the request.
8422//
8423//   * ResourceLimitExceededException
8424//   The request exceeds the resource limit.
8425//
8426//   * NotFoundException
8427//   One or more of the resources in the request does not exist in the system.
8428//
8429// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetEventsConfiguration
8430func (c *Chime) GetEventsConfiguration(input *GetEventsConfigurationInput) (*GetEventsConfigurationOutput, error) {
8431	req, out := c.GetEventsConfigurationRequest(input)
8432	return out, req.Send()
8433}
8434
8435// GetEventsConfigurationWithContext is the same as GetEventsConfiguration with the addition of
8436// the ability to pass a context and additional request options.
8437//
8438// See GetEventsConfiguration for details on how to use this API operation.
8439//
8440// The context must be non-nil and will be used for request cancellation. If
8441// the context is nil a panic will occur. In the future the SDK may create
8442// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8443// for more information on using Contexts.
8444func (c *Chime) GetEventsConfigurationWithContext(ctx aws.Context, input *GetEventsConfigurationInput, opts ...request.Option) (*GetEventsConfigurationOutput, error) {
8445	req, out := c.GetEventsConfigurationRequest(input)
8446	req.SetContext(ctx)
8447	req.ApplyOptions(opts...)
8448	return out, req.Send()
8449}
8450
8451const opGetGlobalSettings = "GetGlobalSettings"
8452
8453// GetGlobalSettingsRequest generates a "aws/request.Request" representing the
8454// client's request for the GetGlobalSettings operation. The "output" return
8455// value will be populated with the request's response once the request completes
8456// successfully.
8457//
8458// Use "Send" method on the returned Request to send the API call to the service.
8459// the "output" return value is not valid until after Send returns without error.
8460//
8461// See GetGlobalSettings for more information on using the GetGlobalSettings
8462// API call, and error handling.
8463//
8464// This method is useful when you want to inject custom logic or configuration
8465// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8466//
8467//
8468//    // Example sending a request using the GetGlobalSettingsRequest method.
8469//    req, resp := client.GetGlobalSettingsRequest(params)
8470//
8471//    err := req.Send()
8472//    if err == nil { // resp is now filled
8473//        fmt.Println(resp)
8474//    }
8475//
8476// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetGlobalSettings
8477func (c *Chime) GetGlobalSettingsRequest(input *GetGlobalSettingsInput) (req *request.Request, output *GetGlobalSettingsOutput) {
8478	op := &request.Operation{
8479		Name:       opGetGlobalSettings,
8480		HTTPMethod: "GET",
8481		HTTPPath:   "/settings",
8482	}
8483
8484	if input == nil {
8485		input = &GetGlobalSettingsInput{}
8486	}
8487
8488	output = &GetGlobalSettingsOutput{}
8489	req = c.newRequest(op, input, output)
8490	return
8491}
8492
8493// GetGlobalSettings API operation for Amazon Chime.
8494//
8495// Retrieves global settings for the administrator's AWS account, such as Amazon
8496// Chime Business Calling and Amazon Chime Voice Connector settings.
8497//
8498// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8499// with awserr.Error's Code and Message methods to get detailed information about
8500// the error.
8501//
8502// See the AWS API reference guide for Amazon Chime's
8503// API operation GetGlobalSettings for usage and error information.
8504//
8505// Returned Error Types:
8506//   * UnauthorizedClientException
8507//   The client is not currently authorized to make the request.
8508//
8509//   * ForbiddenException
8510//   The client is permanently forbidden from making the request.
8511//
8512//   * BadRequestException
8513//   The input parameters don't match the service's restrictions.
8514//
8515//   * ThrottledClientException
8516//   The client exceeded its request rate limit.
8517//
8518//   * ServiceUnavailableException
8519//   The service is currently unavailable.
8520//
8521//   * ServiceFailureException
8522//   The service encountered an unexpected error.
8523//
8524// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetGlobalSettings
8525func (c *Chime) GetGlobalSettings(input *GetGlobalSettingsInput) (*GetGlobalSettingsOutput, error) {
8526	req, out := c.GetGlobalSettingsRequest(input)
8527	return out, req.Send()
8528}
8529
8530// GetGlobalSettingsWithContext is the same as GetGlobalSettings with the addition of
8531// the ability to pass a context and additional request options.
8532//
8533// See GetGlobalSettings for details on how to use this API operation.
8534//
8535// The context must be non-nil and will be used for request cancellation. If
8536// the context is nil a panic will occur. In the future the SDK may create
8537// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8538// for more information on using Contexts.
8539func (c *Chime) GetGlobalSettingsWithContext(ctx aws.Context, input *GetGlobalSettingsInput, opts ...request.Option) (*GetGlobalSettingsOutput, error) {
8540	req, out := c.GetGlobalSettingsRequest(input)
8541	req.SetContext(ctx)
8542	req.ApplyOptions(opts...)
8543	return out, req.Send()
8544}
8545
8546const opGetMeeting = "GetMeeting"
8547
8548// GetMeetingRequest generates a "aws/request.Request" representing the
8549// client's request for the GetMeeting operation. The "output" return
8550// value will be populated with the request's response once the request completes
8551// successfully.
8552//
8553// Use "Send" method on the returned Request to send the API call to the service.
8554// the "output" return value is not valid until after Send returns without error.
8555//
8556// See GetMeeting for more information on using the GetMeeting
8557// API call, and error handling.
8558//
8559// This method is useful when you want to inject custom logic or configuration
8560// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8561//
8562//
8563//    // Example sending a request using the GetMeetingRequest method.
8564//    req, resp := client.GetMeetingRequest(params)
8565//
8566//    err := req.Send()
8567//    if err == nil { // resp is now filled
8568//        fmt.Println(resp)
8569//    }
8570//
8571// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMeeting
8572func (c *Chime) GetMeetingRequest(input *GetMeetingInput) (req *request.Request, output *GetMeetingOutput) {
8573	op := &request.Operation{
8574		Name:       opGetMeeting,
8575		HTTPMethod: "GET",
8576		HTTPPath:   "/meetings/{meetingId}",
8577	}
8578
8579	if input == nil {
8580		input = &GetMeetingInput{}
8581	}
8582
8583	output = &GetMeetingOutput{}
8584	req = c.newRequest(op, input, output)
8585	return
8586}
8587
8588// GetMeeting API operation for Amazon Chime.
8589//
8590// Gets the Amazon Chime SDK meeting details for the specified meeting ID. For
8591// more information about the Amazon Chime SDK, see Using the Amazon Chime SDK
8592// (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html) in the Amazon
8593// Chime Developer Guide .
8594//
8595// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8596// with awserr.Error's Code and Message methods to get detailed information about
8597// the error.
8598//
8599// See the AWS API reference guide for Amazon Chime's
8600// API operation GetMeeting for usage and error information.
8601//
8602// Returned Error Types:
8603//   * BadRequestException
8604//   The input parameters don't match the service's restrictions.
8605//
8606//   * ForbiddenException
8607//   The client is permanently forbidden from making the request.
8608//
8609//   * NotFoundException
8610//   One or more of the resources in the request does not exist in the system.
8611//
8612//   * ThrottledClientException
8613//   The client exceeded its request rate limit.
8614//
8615//   * UnauthorizedClientException
8616//   The client is not currently authorized to make the request.
8617//
8618//   * ServiceUnavailableException
8619//   The service is currently unavailable.
8620//
8621//   * ServiceFailureException
8622//   The service encountered an unexpected error.
8623//
8624// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMeeting
8625func (c *Chime) GetMeeting(input *GetMeetingInput) (*GetMeetingOutput, error) {
8626	req, out := c.GetMeetingRequest(input)
8627	return out, req.Send()
8628}
8629
8630// GetMeetingWithContext is the same as GetMeeting with the addition of
8631// the ability to pass a context and additional request options.
8632//
8633// See GetMeeting for details on how to use this API operation.
8634//
8635// The context must be non-nil and will be used for request cancellation. If
8636// the context is nil a panic will occur. In the future the SDK may create
8637// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8638// for more information on using Contexts.
8639func (c *Chime) GetMeetingWithContext(ctx aws.Context, input *GetMeetingInput, opts ...request.Option) (*GetMeetingOutput, error) {
8640	req, out := c.GetMeetingRequest(input)
8641	req.SetContext(ctx)
8642	req.ApplyOptions(opts...)
8643	return out, req.Send()
8644}
8645
8646const opGetMessagingSessionEndpoint = "GetMessagingSessionEndpoint"
8647
8648// GetMessagingSessionEndpointRequest generates a "aws/request.Request" representing the
8649// client's request for the GetMessagingSessionEndpoint operation. The "output" return
8650// value will be populated with the request's response once the request completes
8651// successfully.
8652//
8653// Use "Send" method on the returned Request to send the API call to the service.
8654// the "output" return value is not valid until after Send returns without error.
8655//
8656// See GetMessagingSessionEndpoint for more information on using the GetMessagingSessionEndpoint
8657// API call, and error handling.
8658//
8659// This method is useful when you want to inject custom logic or configuration
8660// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8661//
8662//
8663//    // Example sending a request using the GetMessagingSessionEndpointRequest method.
8664//    req, resp := client.GetMessagingSessionEndpointRequest(params)
8665//
8666//    err := req.Send()
8667//    if err == nil { // resp is now filled
8668//        fmt.Println(resp)
8669//    }
8670//
8671// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMessagingSessionEndpoint
8672func (c *Chime) GetMessagingSessionEndpointRequest(input *GetMessagingSessionEndpointInput) (req *request.Request, output *GetMessagingSessionEndpointOutput) {
8673	op := &request.Operation{
8674		Name:       opGetMessagingSessionEndpoint,
8675		HTTPMethod: "GET",
8676		HTTPPath:   "/endpoints/messaging-session",
8677	}
8678
8679	if input == nil {
8680		input = &GetMessagingSessionEndpointInput{}
8681	}
8682
8683	output = &GetMessagingSessionEndpointOutput{}
8684	req = c.newRequest(op, input, output)
8685	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
8686	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
8687	return
8688}
8689
8690// GetMessagingSessionEndpoint API operation for Amazon Chime.
8691//
8692// The details of the endpoint for the messaging session.
8693//
8694// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8695// with awserr.Error's Code and Message methods to get detailed information about
8696// the error.
8697//
8698// See the AWS API reference guide for Amazon Chime's
8699// API operation GetMessagingSessionEndpoint for usage and error information.
8700//
8701// Returned Error Types:
8702//   * UnauthorizedClientException
8703//   The client is not currently authorized to make the request.
8704//
8705//   * ForbiddenException
8706//   The client is permanently forbidden from making the request.
8707//
8708//   * ThrottledClientException
8709//   The client exceeded its request rate limit.
8710//
8711//   * ServiceUnavailableException
8712//   The service is currently unavailable.
8713//
8714//   * ServiceFailureException
8715//   The service encountered an unexpected error.
8716//
8717// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMessagingSessionEndpoint
8718func (c *Chime) GetMessagingSessionEndpoint(input *GetMessagingSessionEndpointInput) (*GetMessagingSessionEndpointOutput, error) {
8719	req, out := c.GetMessagingSessionEndpointRequest(input)
8720	return out, req.Send()
8721}
8722
8723// GetMessagingSessionEndpointWithContext is the same as GetMessagingSessionEndpoint with the addition of
8724// the ability to pass a context and additional request options.
8725//
8726// See GetMessagingSessionEndpoint for details on how to use this API operation.
8727//
8728// The context must be non-nil and will be used for request cancellation. If
8729// the context is nil a panic will occur. In the future the SDK may create
8730// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8731// for more information on using Contexts.
8732func (c *Chime) GetMessagingSessionEndpointWithContext(ctx aws.Context, input *GetMessagingSessionEndpointInput, opts ...request.Option) (*GetMessagingSessionEndpointOutput, error) {
8733	req, out := c.GetMessagingSessionEndpointRequest(input)
8734	req.SetContext(ctx)
8735	req.ApplyOptions(opts...)
8736	return out, req.Send()
8737}
8738
8739const opGetPhoneNumber = "GetPhoneNumber"
8740
8741// GetPhoneNumberRequest generates a "aws/request.Request" representing the
8742// client's request for the GetPhoneNumber operation. The "output" return
8743// value will be populated with the request's response once the request completes
8744// successfully.
8745//
8746// Use "Send" method on the returned Request to send the API call to the service.
8747// the "output" return value is not valid until after Send returns without error.
8748//
8749// See GetPhoneNumber for more information on using the GetPhoneNumber
8750// API call, and error handling.
8751//
8752// This method is useful when you want to inject custom logic or configuration
8753// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8754//
8755//
8756//    // Example sending a request using the GetPhoneNumberRequest method.
8757//    req, resp := client.GetPhoneNumberRequest(params)
8758//
8759//    err := req.Send()
8760//    if err == nil { // resp is now filled
8761//        fmt.Println(resp)
8762//    }
8763//
8764// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumber
8765func (c *Chime) GetPhoneNumberRequest(input *GetPhoneNumberInput) (req *request.Request, output *GetPhoneNumberOutput) {
8766	op := &request.Operation{
8767		Name:       opGetPhoneNumber,
8768		HTTPMethod: "GET",
8769		HTTPPath:   "/phone-numbers/{phoneNumberId}",
8770	}
8771
8772	if input == nil {
8773		input = &GetPhoneNumberInput{}
8774	}
8775
8776	output = &GetPhoneNumberOutput{}
8777	req = c.newRequest(op, input, output)
8778	return
8779}
8780
8781// GetPhoneNumber API operation for Amazon Chime.
8782//
8783// Retrieves details for the specified phone number ID, such as associations,
8784// capabilities, and product type.
8785//
8786// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8787// with awserr.Error's Code and Message methods to get detailed information about
8788// the error.
8789//
8790// See the AWS API reference guide for Amazon Chime's
8791// API operation GetPhoneNumber for usage and error information.
8792//
8793// Returned Error Types:
8794//   * UnauthorizedClientException
8795//   The client is not currently authorized to make the request.
8796//
8797//   * NotFoundException
8798//   One or more of the resources in the request does not exist in the system.
8799//
8800//   * ForbiddenException
8801//   The client is permanently forbidden from making the request.
8802//
8803//   * BadRequestException
8804//   The input parameters don't match the service's restrictions.
8805//
8806//   * ThrottledClientException
8807//   The client exceeded its request rate limit.
8808//
8809//   * ServiceUnavailableException
8810//   The service is currently unavailable.
8811//
8812//   * ServiceFailureException
8813//   The service encountered an unexpected error.
8814//
8815// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumber
8816func (c *Chime) GetPhoneNumber(input *GetPhoneNumberInput) (*GetPhoneNumberOutput, error) {
8817	req, out := c.GetPhoneNumberRequest(input)
8818	return out, req.Send()
8819}
8820
8821// GetPhoneNumberWithContext is the same as GetPhoneNumber with the addition of
8822// the ability to pass a context and additional request options.
8823//
8824// See GetPhoneNumber for details on how to use this API operation.
8825//
8826// The context must be non-nil and will be used for request cancellation. If
8827// the context is nil a panic will occur. In the future the SDK may create
8828// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8829// for more information on using Contexts.
8830func (c *Chime) GetPhoneNumberWithContext(ctx aws.Context, input *GetPhoneNumberInput, opts ...request.Option) (*GetPhoneNumberOutput, error) {
8831	req, out := c.GetPhoneNumberRequest(input)
8832	req.SetContext(ctx)
8833	req.ApplyOptions(opts...)
8834	return out, req.Send()
8835}
8836
8837const opGetPhoneNumberOrder = "GetPhoneNumberOrder"
8838
8839// GetPhoneNumberOrderRequest generates a "aws/request.Request" representing the
8840// client's request for the GetPhoneNumberOrder operation. The "output" return
8841// value will be populated with the request's response once the request completes
8842// successfully.
8843//
8844// Use "Send" method on the returned Request to send the API call to the service.
8845// the "output" return value is not valid until after Send returns without error.
8846//
8847// See GetPhoneNumberOrder for more information on using the GetPhoneNumberOrder
8848// API call, and error handling.
8849//
8850// This method is useful when you want to inject custom logic or configuration
8851// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8852//
8853//
8854//    // Example sending a request using the GetPhoneNumberOrderRequest method.
8855//    req, resp := client.GetPhoneNumberOrderRequest(params)
8856//
8857//    err := req.Send()
8858//    if err == nil { // resp is now filled
8859//        fmt.Println(resp)
8860//    }
8861//
8862// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberOrder
8863func (c *Chime) GetPhoneNumberOrderRequest(input *GetPhoneNumberOrderInput) (req *request.Request, output *GetPhoneNumberOrderOutput) {
8864	op := &request.Operation{
8865		Name:       opGetPhoneNumberOrder,
8866		HTTPMethod: "GET",
8867		HTTPPath:   "/phone-number-orders/{phoneNumberOrderId}",
8868	}
8869
8870	if input == nil {
8871		input = &GetPhoneNumberOrderInput{}
8872	}
8873
8874	output = &GetPhoneNumberOrderOutput{}
8875	req = c.newRequest(op, input, output)
8876	return
8877}
8878
8879// GetPhoneNumberOrder API operation for Amazon Chime.
8880//
8881// Retrieves details for the specified phone number order, such as the order
8882// creation timestamp, phone numbers in E.164 format, product type, and order
8883// status.
8884//
8885// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8886// with awserr.Error's Code and Message methods to get detailed information about
8887// the error.
8888//
8889// See the AWS API reference guide for Amazon Chime's
8890// API operation GetPhoneNumberOrder for usage and error information.
8891//
8892// Returned Error Types:
8893//   * UnauthorizedClientException
8894//   The client is not currently authorized to make the request.
8895//
8896//   * NotFoundException
8897//   One or more of the resources in the request does not exist in the system.
8898//
8899//   * ForbiddenException
8900//   The client is permanently forbidden from making the request.
8901//
8902//   * BadRequestException
8903//   The input parameters don't match the service's restrictions.
8904//
8905//   * ThrottledClientException
8906//   The client exceeded its request rate limit.
8907//
8908//   * ServiceUnavailableException
8909//   The service is currently unavailable.
8910//
8911//   * ServiceFailureException
8912//   The service encountered an unexpected error.
8913//
8914// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberOrder
8915func (c *Chime) GetPhoneNumberOrder(input *GetPhoneNumberOrderInput) (*GetPhoneNumberOrderOutput, error) {
8916	req, out := c.GetPhoneNumberOrderRequest(input)
8917	return out, req.Send()
8918}
8919
8920// GetPhoneNumberOrderWithContext is the same as GetPhoneNumberOrder with the addition of
8921// the ability to pass a context and additional request options.
8922//
8923// See GetPhoneNumberOrder for details on how to use this API operation.
8924//
8925// The context must be non-nil and will be used for request cancellation. If
8926// the context is nil a panic will occur. In the future the SDK may create
8927// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8928// for more information on using Contexts.
8929func (c *Chime) GetPhoneNumberOrderWithContext(ctx aws.Context, input *GetPhoneNumberOrderInput, opts ...request.Option) (*GetPhoneNumberOrderOutput, error) {
8930	req, out := c.GetPhoneNumberOrderRequest(input)
8931	req.SetContext(ctx)
8932	req.ApplyOptions(opts...)
8933	return out, req.Send()
8934}
8935
8936const opGetPhoneNumberSettings = "GetPhoneNumberSettings"
8937
8938// GetPhoneNumberSettingsRequest generates a "aws/request.Request" representing the
8939// client's request for the GetPhoneNumberSettings operation. The "output" return
8940// value will be populated with the request's response once the request completes
8941// successfully.
8942//
8943// Use "Send" method on the returned Request to send the API call to the service.
8944// the "output" return value is not valid until after Send returns without error.
8945//
8946// See GetPhoneNumberSettings for more information on using the GetPhoneNumberSettings
8947// API call, and error handling.
8948//
8949// This method is useful when you want to inject custom logic or configuration
8950// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8951//
8952//
8953//    // Example sending a request using the GetPhoneNumberSettingsRequest method.
8954//    req, resp := client.GetPhoneNumberSettingsRequest(params)
8955//
8956//    err := req.Send()
8957//    if err == nil { // resp is now filled
8958//        fmt.Println(resp)
8959//    }
8960//
8961// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberSettings
8962func (c *Chime) GetPhoneNumberSettingsRequest(input *GetPhoneNumberSettingsInput) (req *request.Request, output *GetPhoneNumberSettingsOutput) {
8963	op := &request.Operation{
8964		Name:       opGetPhoneNumberSettings,
8965		HTTPMethod: "GET",
8966		HTTPPath:   "/settings/phone-number",
8967	}
8968
8969	if input == nil {
8970		input = &GetPhoneNumberSettingsInput{}
8971	}
8972
8973	output = &GetPhoneNumberSettingsOutput{}
8974	req = c.newRequest(op, input, output)
8975	return
8976}
8977
8978// GetPhoneNumberSettings API operation for Amazon Chime.
8979//
8980// Retrieves the phone number settings for the administrator's AWS account,
8981// such as the default outbound calling name.
8982//
8983// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8984// with awserr.Error's Code and Message methods to get detailed information about
8985// the error.
8986//
8987// See the AWS API reference guide for Amazon Chime's
8988// API operation GetPhoneNumberSettings for usage and error information.
8989//
8990// Returned Error Types:
8991//   * UnauthorizedClientException
8992//   The client is not currently authorized to make the request.
8993//
8994//   * ForbiddenException
8995//   The client is permanently forbidden from making the request.
8996//
8997//   * BadRequestException
8998//   The input parameters don't match the service's restrictions.
8999//
9000//   * ThrottledClientException
9001//   The client exceeded its request rate limit.
9002//
9003//   * ServiceUnavailableException
9004//   The service is currently unavailable.
9005//
9006//   * ServiceFailureException
9007//   The service encountered an unexpected error.
9008//
9009// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberSettings
9010func (c *Chime) GetPhoneNumberSettings(input *GetPhoneNumberSettingsInput) (*GetPhoneNumberSettingsOutput, error) {
9011	req, out := c.GetPhoneNumberSettingsRequest(input)
9012	return out, req.Send()
9013}
9014
9015// GetPhoneNumberSettingsWithContext is the same as GetPhoneNumberSettings with the addition of
9016// the ability to pass a context and additional request options.
9017//
9018// See GetPhoneNumberSettings for details on how to use this API operation.
9019//
9020// The context must be non-nil and will be used for request cancellation. If
9021// the context is nil a panic will occur. In the future the SDK may create
9022// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9023// for more information on using Contexts.
9024func (c *Chime) GetPhoneNumberSettingsWithContext(ctx aws.Context, input *GetPhoneNumberSettingsInput, opts ...request.Option) (*GetPhoneNumberSettingsOutput, error) {
9025	req, out := c.GetPhoneNumberSettingsRequest(input)
9026	req.SetContext(ctx)
9027	req.ApplyOptions(opts...)
9028	return out, req.Send()
9029}
9030
9031const opGetProxySession = "GetProxySession"
9032
9033// GetProxySessionRequest generates a "aws/request.Request" representing the
9034// client's request for the GetProxySession operation. The "output" return
9035// value will be populated with the request's response once the request completes
9036// successfully.
9037//
9038// Use "Send" method on the returned Request to send the API call to the service.
9039// the "output" return value is not valid until after Send returns without error.
9040//
9041// See GetProxySession for more information on using the GetProxySession
9042// API call, and error handling.
9043//
9044// This method is useful when you want to inject custom logic or configuration
9045// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9046//
9047//
9048//    // Example sending a request using the GetProxySessionRequest method.
9049//    req, resp := client.GetProxySessionRequest(params)
9050//
9051//    err := req.Send()
9052//    if err == nil { // resp is now filled
9053//        fmt.Println(resp)
9054//    }
9055//
9056// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetProxySession
9057func (c *Chime) GetProxySessionRequest(input *GetProxySessionInput) (req *request.Request, output *GetProxySessionOutput) {
9058	op := &request.Operation{
9059		Name:       opGetProxySession,
9060		HTTPMethod: "GET",
9061		HTTPPath:   "/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}",
9062	}
9063
9064	if input == nil {
9065		input = &GetProxySessionInput{}
9066	}
9067
9068	output = &GetProxySessionOutput{}
9069	req = c.newRequest(op, input, output)
9070	return
9071}
9072
9073// GetProxySession API operation for Amazon Chime.
9074//
9075// Gets the specified proxy session details for the specified Amazon Chime Voice
9076// Connector.
9077//
9078// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9079// with awserr.Error's Code and Message methods to get detailed information about
9080// the error.
9081//
9082// See the AWS API reference guide for Amazon Chime's
9083// API operation GetProxySession for usage and error information.
9084//
9085// Returned Error Types:
9086//   * UnauthorizedClientException
9087//   The client is not currently authorized to make the request.
9088//
9089//   * NotFoundException
9090//   One or more of the resources in the request does not exist in the system.
9091//
9092//   * ForbiddenException
9093//   The client is permanently forbidden from making the request.
9094//
9095//   * BadRequestException
9096//   The input parameters don't match the service's restrictions.
9097//
9098//   * ThrottledClientException
9099//   The client exceeded its request rate limit.
9100//
9101//   * ServiceUnavailableException
9102//   The service is currently unavailable.
9103//
9104//   * ServiceFailureException
9105//   The service encountered an unexpected error.
9106//
9107// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetProxySession
9108func (c *Chime) GetProxySession(input *GetProxySessionInput) (*GetProxySessionOutput, error) {
9109	req, out := c.GetProxySessionRequest(input)
9110	return out, req.Send()
9111}
9112
9113// GetProxySessionWithContext is the same as GetProxySession with the addition of
9114// the ability to pass a context and additional request options.
9115//
9116// See GetProxySession for details on how to use this API operation.
9117//
9118// The context must be non-nil and will be used for request cancellation. If
9119// the context is nil a panic will occur. In the future the SDK may create
9120// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9121// for more information on using Contexts.
9122func (c *Chime) GetProxySessionWithContext(ctx aws.Context, input *GetProxySessionInput, opts ...request.Option) (*GetProxySessionOutput, error) {
9123	req, out := c.GetProxySessionRequest(input)
9124	req.SetContext(ctx)
9125	req.ApplyOptions(opts...)
9126	return out, req.Send()
9127}
9128
9129const opGetRetentionSettings = "GetRetentionSettings"
9130
9131// GetRetentionSettingsRequest generates a "aws/request.Request" representing the
9132// client's request for the GetRetentionSettings operation. The "output" return
9133// value will be populated with the request's response once the request completes
9134// successfully.
9135//
9136// Use "Send" method on the returned Request to send the API call to the service.
9137// the "output" return value is not valid until after Send returns without error.
9138//
9139// See GetRetentionSettings for more information on using the GetRetentionSettings
9140// API call, and error handling.
9141//
9142// This method is useful when you want to inject custom logic or configuration
9143// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9144//
9145//
9146//    // Example sending a request using the GetRetentionSettingsRequest method.
9147//    req, resp := client.GetRetentionSettingsRequest(params)
9148//
9149//    err := req.Send()
9150//    if err == nil { // resp is now filled
9151//        fmt.Println(resp)
9152//    }
9153//
9154// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettings
9155func (c *Chime) GetRetentionSettingsRequest(input *GetRetentionSettingsInput) (req *request.Request, output *GetRetentionSettingsOutput) {
9156	op := &request.Operation{
9157		Name:       opGetRetentionSettings,
9158		HTTPMethod: "GET",
9159		HTTPPath:   "/accounts/{accountId}/retention-settings",
9160	}
9161
9162	if input == nil {
9163		input = &GetRetentionSettingsInput{}
9164	}
9165
9166	output = &GetRetentionSettingsOutput{}
9167	req = c.newRequest(op, input, output)
9168	return
9169}
9170
9171// GetRetentionSettings API operation for Amazon Chime.
9172//
9173// Gets the retention settings for the specified Amazon Chime Enterprise account.
9174// For more information about retention settings, see Managing Chat Retention
9175// Policies (https://docs.aws.amazon.com/chime/latest/ag/chat-retention.html)
9176// in the Amazon Chime Administration Guide.
9177//
9178// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9179// with awserr.Error's Code and Message methods to get detailed information about
9180// the error.
9181//
9182// See the AWS API reference guide for Amazon Chime's
9183// API operation GetRetentionSettings for usage and error information.
9184//
9185// Returned Error Types:
9186//   * UnauthorizedClientException
9187//   The client is not currently authorized to make the request.
9188//
9189//   * NotFoundException
9190//   One or more of the resources in the request does not exist in the system.
9191//
9192//   * BadRequestException
9193//   The input parameters don't match the service's restrictions.
9194//
9195//   * ForbiddenException
9196//   The client is permanently forbidden from making the request.
9197//
9198//   * ThrottledClientException
9199//   The client exceeded its request rate limit.
9200//
9201//   * ServiceUnavailableException
9202//   The service is currently unavailable.
9203//
9204//   * ServiceFailureException
9205//   The service encountered an unexpected error.
9206//
9207// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettings
9208func (c *Chime) GetRetentionSettings(input *GetRetentionSettingsInput) (*GetRetentionSettingsOutput, error) {
9209	req, out := c.GetRetentionSettingsRequest(input)
9210	return out, req.Send()
9211}
9212
9213// GetRetentionSettingsWithContext is the same as GetRetentionSettings with the addition of
9214// the ability to pass a context and additional request options.
9215//
9216// See GetRetentionSettings for details on how to use this API operation.
9217//
9218// The context must be non-nil and will be used for request cancellation. If
9219// the context is nil a panic will occur. In the future the SDK may create
9220// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9221// for more information on using Contexts.
9222func (c *Chime) GetRetentionSettingsWithContext(ctx aws.Context, input *GetRetentionSettingsInput, opts ...request.Option) (*GetRetentionSettingsOutput, error) {
9223	req, out := c.GetRetentionSettingsRequest(input)
9224	req.SetContext(ctx)
9225	req.ApplyOptions(opts...)
9226	return out, req.Send()
9227}
9228
9229const opGetRoom = "GetRoom"
9230
9231// GetRoomRequest generates a "aws/request.Request" representing the
9232// client's request for the GetRoom operation. The "output" return
9233// value will be populated with the request's response once the request completes
9234// successfully.
9235//
9236// Use "Send" method on the returned Request to send the API call to the service.
9237// the "output" return value is not valid until after Send returns without error.
9238//
9239// See GetRoom for more information on using the GetRoom
9240// API call, and error handling.
9241//
9242// This method is useful when you want to inject custom logic or configuration
9243// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9244//
9245//
9246//    // Example sending a request using the GetRoomRequest method.
9247//    req, resp := client.GetRoomRequest(params)
9248//
9249//    err := req.Send()
9250//    if err == nil { // resp is now filled
9251//        fmt.Println(resp)
9252//    }
9253//
9254// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRoom
9255func (c *Chime) GetRoomRequest(input *GetRoomInput) (req *request.Request, output *GetRoomOutput) {
9256	op := &request.Operation{
9257		Name:       opGetRoom,
9258		HTTPMethod: "GET",
9259		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}",
9260	}
9261
9262	if input == nil {
9263		input = &GetRoomInput{}
9264	}
9265
9266	output = &GetRoomOutput{}
9267	req = c.newRequest(op, input, output)
9268	return
9269}
9270
9271// GetRoom API operation for Amazon Chime.
9272//
9273// Retrieves room details, such as the room name, for a room in an Amazon Chime
9274// Enterprise account.
9275//
9276// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9277// with awserr.Error's Code and Message methods to get detailed information about
9278// the error.
9279//
9280// See the AWS API reference guide for Amazon Chime's
9281// API operation GetRoom for usage and error information.
9282//
9283// Returned Error Types:
9284//   * BadRequestException
9285//   The input parameters don't match the service's restrictions.
9286//
9287//   * ForbiddenException
9288//   The client is permanently forbidden from making the request.
9289//
9290//   * NotFoundException
9291//   One or more of the resources in the request does not exist in the system.
9292//
9293//   * UnauthorizedClientException
9294//   The client is not currently authorized to make the request.
9295//
9296//   * ThrottledClientException
9297//   The client exceeded its request rate limit.
9298//
9299//   * ServiceUnavailableException
9300//   The service is currently unavailable.
9301//
9302//   * ServiceFailureException
9303//   The service encountered an unexpected error.
9304//
9305// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRoom
9306func (c *Chime) GetRoom(input *GetRoomInput) (*GetRoomOutput, error) {
9307	req, out := c.GetRoomRequest(input)
9308	return out, req.Send()
9309}
9310
9311// GetRoomWithContext is the same as GetRoom with the addition of
9312// the ability to pass a context and additional request options.
9313//
9314// See GetRoom for details on how to use this API operation.
9315//
9316// The context must be non-nil and will be used for request cancellation. If
9317// the context is nil a panic will occur. In the future the SDK may create
9318// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9319// for more information on using Contexts.
9320func (c *Chime) GetRoomWithContext(ctx aws.Context, input *GetRoomInput, opts ...request.Option) (*GetRoomOutput, error) {
9321	req, out := c.GetRoomRequest(input)
9322	req.SetContext(ctx)
9323	req.ApplyOptions(opts...)
9324	return out, req.Send()
9325}
9326
9327const opGetSipMediaApplication = "GetSipMediaApplication"
9328
9329// GetSipMediaApplicationRequest generates a "aws/request.Request" representing the
9330// client's request for the GetSipMediaApplication operation. The "output" return
9331// value will be populated with the request's response once the request completes
9332// successfully.
9333//
9334// Use "Send" method on the returned Request to send the API call to the service.
9335// the "output" return value is not valid until after Send returns without error.
9336//
9337// See GetSipMediaApplication for more information on using the GetSipMediaApplication
9338// API call, and error handling.
9339//
9340// This method is useful when you want to inject custom logic or configuration
9341// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9342//
9343//
9344//    // Example sending a request using the GetSipMediaApplicationRequest method.
9345//    req, resp := client.GetSipMediaApplicationRequest(params)
9346//
9347//    err := req.Send()
9348//    if err == nil { // resp is now filled
9349//        fmt.Println(resp)
9350//    }
9351//
9352// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipMediaApplication
9353func (c *Chime) GetSipMediaApplicationRequest(input *GetSipMediaApplicationInput) (req *request.Request, output *GetSipMediaApplicationOutput) {
9354	op := &request.Operation{
9355		Name:       opGetSipMediaApplication,
9356		HTTPMethod: "GET",
9357		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}",
9358	}
9359
9360	if input == nil {
9361		input = &GetSipMediaApplicationInput{}
9362	}
9363
9364	output = &GetSipMediaApplicationOutput{}
9365	req = c.newRequest(op, input, output)
9366	return
9367}
9368
9369// GetSipMediaApplication API operation for Amazon Chime.
9370//
9371// Retrieves the information for a SIP media application, including name, AWS
9372// Region, and endpoints.
9373//
9374// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9375// with awserr.Error's Code and Message methods to get detailed information about
9376// the error.
9377//
9378// See the AWS API reference guide for Amazon Chime's
9379// API operation GetSipMediaApplication for usage and error information.
9380//
9381// Returned Error Types:
9382//   * UnauthorizedClientException
9383//   The client is not currently authorized to make the request.
9384//
9385//   * NotFoundException
9386//   One or more of the resources in the request does not exist in the system.
9387//
9388//   * ForbiddenException
9389//   The client is permanently forbidden from making the request.
9390//
9391//   * BadRequestException
9392//   The input parameters don't match the service's restrictions.
9393//
9394//   * ThrottledClientException
9395//   The client exceeded its request rate limit.
9396//
9397//   * ServiceUnavailableException
9398//   The service is currently unavailable.
9399//
9400//   * ServiceFailureException
9401//   The service encountered an unexpected error.
9402//
9403// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipMediaApplication
9404func (c *Chime) GetSipMediaApplication(input *GetSipMediaApplicationInput) (*GetSipMediaApplicationOutput, error) {
9405	req, out := c.GetSipMediaApplicationRequest(input)
9406	return out, req.Send()
9407}
9408
9409// GetSipMediaApplicationWithContext is the same as GetSipMediaApplication with the addition of
9410// the ability to pass a context and additional request options.
9411//
9412// See GetSipMediaApplication for details on how to use this API operation.
9413//
9414// The context must be non-nil and will be used for request cancellation. If
9415// the context is nil a panic will occur. In the future the SDK may create
9416// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9417// for more information on using Contexts.
9418func (c *Chime) GetSipMediaApplicationWithContext(ctx aws.Context, input *GetSipMediaApplicationInput, opts ...request.Option) (*GetSipMediaApplicationOutput, error) {
9419	req, out := c.GetSipMediaApplicationRequest(input)
9420	req.SetContext(ctx)
9421	req.ApplyOptions(opts...)
9422	return out, req.Send()
9423}
9424
9425const opGetSipMediaApplicationLoggingConfiguration = "GetSipMediaApplicationLoggingConfiguration"
9426
9427// GetSipMediaApplicationLoggingConfigurationRequest generates a "aws/request.Request" representing the
9428// client's request for the GetSipMediaApplicationLoggingConfiguration operation. The "output" return
9429// value will be populated with the request's response once the request completes
9430// successfully.
9431//
9432// Use "Send" method on the returned Request to send the API call to the service.
9433// the "output" return value is not valid until after Send returns without error.
9434//
9435// See GetSipMediaApplicationLoggingConfiguration for more information on using the GetSipMediaApplicationLoggingConfiguration
9436// API call, and error handling.
9437//
9438// This method is useful when you want to inject custom logic or configuration
9439// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9440//
9441//
9442//    // Example sending a request using the GetSipMediaApplicationLoggingConfigurationRequest method.
9443//    req, resp := client.GetSipMediaApplicationLoggingConfigurationRequest(params)
9444//
9445//    err := req.Send()
9446//    if err == nil { // resp is now filled
9447//        fmt.Println(resp)
9448//    }
9449//
9450// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipMediaApplicationLoggingConfiguration
9451func (c *Chime) GetSipMediaApplicationLoggingConfigurationRequest(input *GetSipMediaApplicationLoggingConfigurationInput) (req *request.Request, output *GetSipMediaApplicationLoggingConfigurationOutput) {
9452	op := &request.Operation{
9453		Name:       opGetSipMediaApplicationLoggingConfiguration,
9454		HTTPMethod: "GET",
9455		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}/logging-configuration",
9456	}
9457
9458	if input == nil {
9459		input = &GetSipMediaApplicationLoggingConfigurationInput{}
9460	}
9461
9462	output = &GetSipMediaApplicationLoggingConfigurationOutput{}
9463	req = c.newRequest(op, input, output)
9464	return
9465}
9466
9467// GetSipMediaApplicationLoggingConfiguration API operation for Amazon Chime.
9468//
9469// Returns the logging configuration for the specified SIP media application.
9470//
9471// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9472// with awserr.Error's Code and Message methods to get detailed information about
9473// the error.
9474//
9475// See the AWS API reference guide for Amazon Chime's
9476// API operation GetSipMediaApplicationLoggingConfiguration for usage and error information.
9477//
9478// Returned Error Types:
9479//   * UnauthorizedClientException
9480//   The client is not currently authorized to make the request.
9481//
9482//   * NotFoundException
9483//   One or more of the resources in the request does not exist in the system.
9484//
9485//   * ForbiddenException
9486//   The client is permanently forbidden from making the request.
9487//
9488//   * BadRequestException
9489//   The input parameters don't match the service's restrictions.
9490//
9491//   * ThrottledClientException
9492//   The client exceeded its request rate limit.
9493//
9494//   * ServiceUnavailableException
9495//   The service is currently unavailable.
9496//
9497//   * ServiceFailureException
9498//   The service encountered an unexpected error.
9499//
9500// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipMediaApplicationLoggingConfiguration
9501func (c *Chime) GetSipMediaApplicationLoggingConfiguration(input *GetSipMediaApplicationLoggingConfigurationInput) (*GetSipMediaApplicationLoggingConfigurationOutput, error) {
9502	req, out := c.GetSipMediaApplicationLoggingConfigurationRequest(input)
9503	return out, req.Send()
9504}
9505
9506// GetSipMediaApplicationLoggingConfigurationWithContext is the same as GetSipMediaApplicationLoggingConfiguration with the addition of
9507// the ability to pass a context and additional request options.
9508//
9509// See GetSipMediaApplicationLoggingConfiguration for details on how to use this API operation.
9510//
9511// The context must be non-nil and will be used for request cancellation. If
9512// the context is nil a panic will occur. In the future the SDK may create
9513// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9514// for more information on using Contexts.
9515func (c *Chime) GetSipMediaApplicationLoggingConfigurationWithContext(ctx aws.Context, input *GetSipMediaApplicationLoggingConfigurationInput, opts ...request.Option) (*GetSipMediaApplicationLoggingConfigurationOutput, error) {
9516	req, out := c.GetSipMediaApplicationLoggingConfigurationRequest(input)
9517	req.SetContext(ctx)
9518	req.ApplyOptions(opts...)
9519	return out, req.Send()
9520}
9521
9522const opGetSipRule = "GetSipRule"
9523
9524// GetSipRuleRequest generates a "aws/request.Request" representing the
9525// client's request for the GetSipRule operation. The "output" return
9526// value will be populated with the request's response once the request completes
9527// successfully.
9528//
9529// Use "Send" method on the returned Request to send the API call to the service.
9530// the "output" return value is not valid until after Send returns without error.
9531//
9532// See GetSipRule for more information on using the GetSipRule
9533// API call, and error handling.
9534//
9535// This method is useful when you want to inject custom logic or configuration
9536// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9537//
9538//
9539//    // Example sending a request using the GetSipRuleRequest method.
9540//    req, resp := client.GetSipRuleRequest(params)
9541//
9542//    err := req.Send()
9543//    if err == nil { // resp is now filled
9544//        fmt.Println(resp)
9545//    }
9546//
9547// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipRule
9548func (c *Chime) GetSipRuleRequest(input *GetSipRuleInput) (req *request.Request, output *GetSipRuleOutput) {
9549	op := &request.Operation{
9550		Name:       opGetSipRule,
9551		HTTPMethod: "GET",
9552		HTTPPath:   "/sip-rules/{sipRuleId}",
9553	}
9554
9555	if input == nil {
9556		input = &GetSipRuleInput{}
9557	}
9558
9559	output = &GetSipRuleOutput{}
9560	req = c.newRequest(op, input, output)
9561	return
9562}
9563
9564// GetSipRule API operation for Amazon Chime.
9565//
9566// Retrieves the details of a SIP rule, such as the rule ID, name, triggers,
9567// and target endpoints.
9568//
9569// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9570// with awserr.Error's Code and Message methods to get detailed information about
9571// the error.
9572//
9573// See the AWS API reference guide for Amazon Chime's
9574// API operation GetSipRule for usage and error information.
9575//
9576// Returned Error Types:
9577//   * UnauthorizedClientException
9578//   The client is not currently authorized to make the request.
9579//
9580//   * NotFoundException
9581//   One or more of the resources in the request does not exist in the system.
9582//
9583//   * ForbiddenException
9584//   The client is permanently forbidden from making the request.
9585//
9586//   * BadRequestException
9587//   The input parameters don't match the service's restrictions.
9588//
9589//   * ThrottledClientException
9590//   The client exceeded its request rate limit.
9591//
9592//   * ServiceUnavailableException
9593//   The service is currently unavailable.
9594//
9595//   * ServiceFailureException
9596//   The service encountered an unexpected error.
9597//
9598// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipRule
9599func (c *Chime) GetSipRule(input *GetSipRuleInput) (*GetSipRuleOutput, error) {
9600	req, out := c.GetSipRuleRequest(input)
9601	return out, req.Send()
9602}
9603
9604// GetSipRuleWithContext is the same as GetSipRule with the addition of
9605// the ability to pass a context and additional request options.
9606//
9607// See GetSipRule for details on how to use this API operation.
9608//
9609// The context must be non-nil and will be used for request cancellation. If
9610// the context is nil a panic will occur. In the future the SDK may create
9611// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9612// for more information on using Contexts.
9613func (c *Chime) GetSipRuleWithContext(ctx aws.Context, input *GetSipRuleInput, opts ...request.Option) (*GetSipRuleOutput, error) {
9614	req, out := c.GetSipRuleRequest(input)
9615	req.SetContext(ctx)
9616	req.ApplyOptions(opts...)
9617	return out, req.Send()
9618}
9619
9620const opGetUser = "GetUser"
9621
9622// GetUserRequest generates a "aws/request.Request" representing the
9623// client's request for the GetUser operation. The "output" return
9624// value will be populated with the request's response once the request completes
9625// successfully.
9626//
9627// Use "Send" method on the returned Request to send the API call to the service.
9628// the "output" return value is not valid until after Send returns without error.
9629//
9630// See GetUser for more information on using the GetUser
9631// API call, and error handling.
9632//
9633// This method is useful when you want to inject custom logic or configuration
9634// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9635//
9636//
9637//    // Example sending a request using the GetUserRequest method.
9638//    req, resp := client.GetUserRequest(params)
9639//
9640//    err := req.Send()
9641//    if err == nil { // resp is now filled
9642//        fmt.Println(resp)
9643//    }
9644//
9645// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUser
9646func (c *Chime) GetUserRequest(input *GetUserInput) (req *request.Request, output *GetUserOutput) {
9647	op := &request.Operation{
9648		Name:       opGetUser,
9649		HTTPMethod: "GET",
9650		HTTPPath:   "/accounts/{accountId}/users/{userId}",
9651	}
9652
9653	if input == nil {
9654		input = &GetUserInput{}
9655	}
9656
9657	output = &GetUserOutput{}
9658	req = c.newRequest(op, input, output)
9659	return
9660}
9661
9662// GetUser API operation for Amazon Chime.
9663//
9664// Retrieves details for the specified user ID, such as primary email address,
9665// license type,and personal meeting PIN.
9666//
9667// To retrieve user details with an email address instead of a user ID, use
9668// the ListUsers action, and then filter by email address.
9669//
9670// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9671// with awserr.Error's Code and Message methods to get detailed information about
9672// the error.
9673//
9674// See the AWS API reference guide for Amazon Chime's
9675// API operation GetUser for usage and error information.
9676//
9677// Returned Error Types:
9678//   * UnauthorizedClientException
9679//   The client is not currently authorized to make the request.
9680//
9681//   * NotFoundException
9682//   One or more of the resources in the request does not exist in the system.
9683//
9684//   * ForbiddenException
9685//   The client is permanently forbidden from making the request.
9686//
9687//   * BadRequestException
9688//   The input parameters don't match the service's restrictions.
9689//
9690//   * ThrottledClientException
9691//   The client exceeded its request rate limit.
9692//
9693//   * ServiceUnavailableException
9694//   The service is currently unavailable.
9695//
9696//   * ServiceFailureException
9697//   The service encountered an unexpected error.
9698//
9699// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUser
9700func (c *Chime) GetUser(input *GetUserInput) (*GetUserOutput, error) {
9701	req, out := c.GetUserRequest(input)
9702	return out, req.Send()
9703}
9704
9705// GetUserWithContext is the same as GetUser with the addition of
9706// the ability to pass a context and additional request options.
9707//
9708// See GetUser for details on how to use this API operation.
9709//
9710// The context must be non-nil and will be used for request cancellation. If
9711// the context is nil a panic will occur. In the future the SDK may create
9712// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9713// for more information on using Contexts.
9714func (c *Chime) GetUserWithContext(ctx aws.Context, input *GetUserInput, opts ...request.Option) (*GetUserOutput, error) {
9715	req, out := c.GetUserRequest(input)
9716	req.SetContext(ctx)
9717	req.ApplyOptions(opts...)
9718	return out, req.Send()
9719}
9720
9721const opGetUserSettings = "GetUserSettings"
9722
9723// GetUserSettingsRequest generates a "aws/request.Request" representing the
9724// client's request for the GetUserSettings operation. The "output" return
9725// value will be populated with the request's response once the request completes
9726// successfully.
9727//
9728// Use "Send" method on the returned Request to send the API call to the service.
9729// the "output" return value is not valid until after Send returns without error.
9730//
9731// See GetUserSettings for more information on using the GetUserSettings
9732// API call, and error handling.
9733//
9734// This method is useful when you want to inject custom logic or configuration
9735// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9736//
9737//
9738//    // Example sending a request using the GetUserSettingsRequest method.
9739//    req, resp := client.GetUserSettingsRequest(params)
9740//
9741//    err := req.Send()
9742//    if err == nil { // resp is now filled
9743//        fmt.Println(resp)
9744//    }
9745//
9746// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUserSettings
9747func (c *Chime) GetUserSettingsRequest(input *GetUserSettingsInput) (req *request.Request, output *GetUserSettingsOutput) {
9748	op := &request.Operation{
9749		Name:       opGetUserSettings,
9750		HTTPMethod: "GET",
9751		HTTPPath:   "/accounts/{accountId}/users/{userId}/settings",
9752	}
9753
9754	if input == nil {
9755		input = &GetUserSettingsInput{}
9756	}
9757
9758	output = &GetUserSettingsOutput{}
9759	req = c.newRequest(op, input, output)
9760	return
9761}
9762
9763// GetUserSettings API operation for Amazon Chime.
9764//
9765// Retrieves settings for the specified user ID, such as any associated phone
9766// number settings.
9767//
9768// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9769// with awserr.Error's Code and Message methods to get detailed information about
9770// the error.
9771//
9772// See the AWS API reference guide for Amazon Chime's
9773// API operation GetUserSettings for usage and error information.
9774//
9775// Returned Error Types:
9776//   * UnauthorizedClientException
9777//   The client is not currently authorized to make the request.
9778//
9779//   * NotFoundException
9780//   One or more of the resources in the request does not exist in the system.
9781//
9782//   * ForbiddenException
9783//   The client is permanently forbidden from making the request.
9784//
9785//   * BadRequestException
9786//   The input parameters don't match the service's restrictions.
9787//
9788//   * ThrottledClientException
9789//   The client exceeded its request rate limit.
9790//
9791//   * ServiceUnavailableException
9792//   The service is currently unavailable.
9793//
9794//   * ServiceFailureException
9795//   The service encountered an unexpected error.
9796//
9797// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUserSettings
9798func (c *Chime) GetUserSettings(input *GetUserSettingsInput) (*GetUserSettingsOutput, error) {
9799	req, out := c.GetUserSettingsRequest(input)
9800	return out, req.Send()
9801}
9802
9803// GetUserSettingsWithContext is the same as GetUserSettings with the addition of
9804// the ability to pass a context and additional request options.
9805//
9806// See GetUserSettings for details on how to use this API operation.
9807//
9808// The context must be non-nil and will be used for request cancellation. If
9809// the context is nil a panic will occur. In the future the SDK may create
9810// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9811// for more information on using Contexts.
9812func (c *Chime) GetUserSettingsWithContext(ctx aws.Context, input *GetUserSettingsInput, opts ...request.Option) (*GetUserSettingsOutput, error) {
9813	req, out := c.GetUserSettingsRequest(input)
9814	req.SetContext(ctx)
9815	req.ApplyOptions(opts...)
9816	return out, req.Send()
9817}
9818
9819const opGetVoiceConnector = "GetVoiceConnector"
9820
9821// GetVoiceConnectorRequest generates a "aws/request.Request" representing the
9822// client's request for the GetVoiceConnector operation. The "output" return
9823// value will be populated with the request's response once the request completes
9824// successfully.
9825//
9826// Use "Send" method on the returned Request to send the API call to the service.
9827// the "output" return value is not valid until after Send returns without error.
9828//
9829// See GetVoiceConnector for more information on using the GetVoiceConnector
9830// API call, and error handling.
9831//
9832// This method is useful when you want to inject custom logic or configuration
9833// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9834//
9835//
9836//    // Example sending a request using the GetVoiceConnectorRequest method.
9837//    req, resp := client.GetVoiceConnectorRequest(params)
9838//
9839//    err := req.Send()
9840//    if err == nil { // resp is now filled
9841//        fmt.Println(resp)
9842//    }
9843//
9844// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnector
9845func (c *Chime) GetVoiceConnectorRequest(input *GetVoiceConnectorInput) (req *request.Request, output *GetVoiceConnectorOutput) {
9846	op := &request.Operation{
9847		Name:       opGetVoiceConnector,
9848		HTTPMethod: "GET",
9849		HTTPPath:   "/voice-connectors/{voiceConnectorId}",
9850	}
9851
9852	if input == nil {
9853		input = &GetVoiceConnectorInput{}
9854	}
9855
9856	output = &GetVoiceConnectorOutput{}
9857	req = c.newRequest(op, input, output)
9858	return
9859}
9860
9861// GetVoiceConnector API operation for Amazon Chime.
9862//
9863// Retrieves details for the specified Amazon Chime Voice Connector, such as
9864// timestamps,name, outbound host, and encryption requirements.
9865//
9866// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9867// with awserr.Error's Code and Message methods to get detailed information about
9868// the error.
9869//
9870// See the AWS API reference guide for Amazon Chime's
9871// API operation GetVoiceConnector for usage and error information.
9872//
9873// Returned Error Types:
9874//   * UnauthorizedClientException
9875//   The client is not currently authorized to make the request.
9876//
9877//   * NotFoundException
9878//   One or more of the resources in the request does not exist in the system.
9879//
9880//   * ForbiddenException
9881//   The client is permanently forbidden from making the request.
9882//
9883//   * BadRequestException
9884//   The input parameters don't match the service's restrictions.
9885//
9886//   * ThrottledClientException
9887//   The client exceeded its request rate limit.
9888//
9889//   * ServiceUnavailableException
9890//   The service is currently unavailable.
9891//
9892//   * ServiceFailureException
9893//   The service encountered an unexpected error.
9894//
9895// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnector
9896func (c *Chime) GetVoiceConnector(input *GetVoiceConnectorInput) (*GetVoiceConnectorOutput, error) {
9897	req, out := c.GetVoiceConnectorRequest(input)
9898	return out, req.Send()
9899}
9900
9901// GetVoiceConnectorWithContext is the same as GetVoiceConnector with the addition of
9902// the ability to pass a context and additional request options.
9903//
9904// See GetVoiceConnector for details on how to use this API operation.
9905//
9906// The context must be non-nil and will be used for request cancellation. If
9907// the context is nil a panic will occur. In the future the SDK may create
9908// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9909// for more information on using Contexts.
9910func (c *Chime) GetVoiceConnectorWithContext(ctx aws.Context, input *GetVoiceConnectorInput, opts ...request.Option) (*GetVoiceConnectorOutput, error) {
9911	req, out := c.GetVoiceConnectorRequest(input)
9912	req.SetContext(ctx)
9913	req.ApplyOptions(opts...)
9914	return out, req.Send()
9915}
9916
9917const opGetVoiceConnectorEmergencyCallingConfiguration = "GetVoiceConnectorEmergencyCallingConfiguration"
9918
9919// GetVoiceConnectorEmergencyCallingConfigurationRequest generates a "aws/request.Request" representing the
9920// client's request for the GetVoiceConnectorEmergencyCallingConfiguration operation. The "output" return
9921// value will be populated with the request's response once the request completes
9922// successfully.
9923//
9924// Use "Send" method on the returned Request to send the API call to the service.
9925// the "output" return value is not valid until after Send returns without error.
9926//
9927// See GetVoiceConnectorEmergencyCallingConfiguration for more information on using the GetVoiceConnectorEmergencyCallingConfiguration
9928// API call, and error handling.
9929//
9930// This method is useful when you want to inject custom logic or configuration
9931// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9932//
9933//
9934//    // Example sending a request using the GetVoiceConnectorEmergencyCallingConfigurationRequest method.
9935//    req, resp := client.GetVoiceConnectorEmergencyCallingConfigurationRequest(params)
9936//
9937//    err := req.Send()
9938//    if err == nil { // resp is now filled
9939//        fmt.Println(resp)
9940//    }
9941//
9942// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorEmergencyCallingConfiguration
9943func (c *Chime) GetVoiceConnectorEmergencyCallingConfigurationRequest(input *GetVoiceConnectorEmergencyCallingConfigurationInput) (req *request.Request, output *GetVoiceConnectorEmergencyCallingConfigurationOutput) {
9944	op := &request.Operation{
9945		Name:       opGetVoiceConnectorEmergencyCallingConfiguration,
9946		HTTPMethod: "GET",
9947		HTTPPath:   "/voice-connectors/{voiceConnectorId}/emergency-calling-configuration",
9948	}
9949
9950	if input == nil {
9951		input = &GetVoiceConnectorEmergencyCallingConfigurationInput{}
9952	}
9953
9954	output = &GetVoiceConnectorEmergencyCallingConfigurationOutput{}
9955	req = c.newRequest(op, input, output)
9956	return
9957}
9958
9959// GetVoiceConnectorEmergencyCallingConfiguration API operation for Amazon Chime.
9960//
9961// Gets the emergency calling configuration details for the specified Amazon
9962// Chime Voice Connector.
9963//
9964// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9965// with awserr.Error's Code and Message methods to get detailed information about
9966// the error.
9967//
9968// See the AWS API reference guide for Amazon Chime's
9969// API operation GetVoiceConnectorEmergencyCallingConfiguration for usage and error information.
9970//
9971// Returned Error Types:
9972//   * UnauthorizedClientException
9973//   The client is not currently authorized to make the request.
9974//
9975//   * NotFoundException
9976//   One or more of the resources in the request does not exist in the system.
9977//
9978//   * ForbiddenException
9979//   The client is permanently forbidden from making the request.
9980//
9981//   * BadRequestException
9982//   The input parameters don't match the service's restrictions.
9983//
9984//   * ThrottledClientException
9985//   The client exceeded its request rate limit.
9986//
9987//   * ServiceUnavailableException
9988//   The service is currently unavailable.
9989//
9990//   * ServiceFailureException
9991//   The service encountered an unexpected error.
9992//
9993// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorEmergencyCallingConfiguration
9994func (c *Chime) GetVoiceConnectorEmergencyCallingConfiguration(input *GetVoiceConnectorEmergencyCallingConfigurationInput) (*GetVoiceConnectorEmergencyCallingConfigurationOutput, error) {
9995	req, out := c.GetVoiceConnectorEmergencyCallingConfigurationRequest(input)
9996	return out, req.Send()
9997}
9998
9999// GetVoiceConnectorEmergencyCallingConfigurationWithContext is the same as GetVoiceConnectorEmergencyCallingConfiguration with the addition of
10000// the ability to pass a context and additional request options.
10001//
10002// See GetVoiceConnectorEmergencyCallingConfiguration for details on how to use this API operation.
10003//
10004// The context must be non-nil and will be used for request cancellation. If
10005// the context is nil a panic will occur. In the future the SDK may create
10006// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10007// for more information on using Contexts.
10008func (c *Chime) GetVoiceConnectorEmergencyCallingConfigurationWithContext(ctx aws.Context, input *GetVoiceConnectorEmergencyCallingConfigurationInput, opts ...request.Option) (*GetVoiceConnectorEmergencyCallingConfigurationOutput, error) {
10009	req, out := c.GetVoiceConnectorEmergencyCallingConfigurationRequest(input)
10010	req.SetContext(ctx)
10011	req.ApplyOptions(opts...)
10012	return out, req.Send()
10013}
10014
10015const opGetVoiceConnectorGroup = "GetVoiceConnectorGroup"
10016
10017// GetVoiceConnectorGroupRequest generates a "aws/request.Request" representing the
10018// client's request for the GetVoiceConnectorGroup operation. The "output" return
10019// value will be populated with the request's response once the request completes
10020// successfully.
10021//
10022// Use "Send" method on the returned Request to send the API call to the service.
10023// the "output" return value is not valid until after Send returns without error.
10024//
10025// See GetVoiceConnectorGroup for more information on using the GetVoiceConnectorGroup
10026// API call, and error handling.
10027//
10028// This method is useful when you want to inject custom logic or configuration
10029// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10030//
10031//
10032//    // Example sending a request using the GetVoiceConnectorGroupRequest method.
10033//    req, resp := client.GetVoiceConnectorGroupRequest(params)
10034//
10035//    err := req.Send()
10036//    if err == nil { // resp is now filled
10037//        fmt.Println(resp)
10038//    }
10039//
10040// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorGroup
10041func (c *Chime) GetVoiceConnectorGroupRequest(input *GetVoiceConnectorGroupInput) (req *request.Request, output *GetVoiceConnectorGroupOutput) {
10042	op := &request.Operation{
10043		Name:       opGetVoiceConnectorGroup,
10044		HTTPMethod: "GET",
10045		HTTPPath:   "/voice-connector-groups/{voiceConnectorGroupId}",
10046	}
10047
10048	if input == nil {
10049		input = &GetVoiceConnectorGroupInput{}
10050	}
10051
10052	output = &GetVoiceConnectorGroupOutput{}
10053	req = c.newRequest(op, input, output)
10054	return
10055}
10056
10057// GetVoiceConnectorGroup API operation for Amazon Chime.
10058//
10059// Retrieves details for the specified Amazon Chime Voice Connector group, such
10060// as timestamps,name, and associated VoiceConnectorItems.
10061//
10062// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10063// with awserr.Error's Code and Message methods to get detailed information about
10064// the error.
10065//
10066// See the AWS API reference guide for Amazon Chime's
10067// API operation GetVoiceConnectorGroup for usage and error information.
10068//
10069// Returned Error Types:
10070//   * UnauthorizedClientException
10071//   The client is not currently authorized to make the request.
10072//
10073//   * NotFoundException
10074//   One or more of the resources in the request does not exist in the system.
10075//
10076//   * ForbiddenException
10077//   The client is permanently forbidden from making the request.
10078//
10079//   * BadRequestException
10080//   The input parameters don't match the service's restrictions.
10081//
10082//   * ThrottledClientException
10083//   The client exceeded its request rate limit.
10084//
10085//   * ServiceUnavailableException
10086//   The service is currently unavailable.
10087//
10088//   * ServiceFailureException
10089//   The service encountered an unexpected error.
10090//
10091// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorGroup
10092func (c *Chime) GetVoiceConnectorGroup(input *GetVoiceConnectorGroupInput) (*GetVoiceConnectorGroupOutput, error) {
10093	req, out := c.GetVoiceConnectorGroupRequest(input)
10094	return out, req.Send()
10095}
10096
10097// GetVoiceConnectorGroupWithContext is the same as GetVoiceConnectorGroup with the addition of
10098// the ability to pass a context and additional request options.
10099//
10100// See GetVoiceConnectorGroup for details on how to use this API operation.
10101//
10102// The context must be non-nil and will be used for request cancellation. If
10103// the context is nil a panic will occur. In the future the SDK may create
10104// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10105// for more information on using Contexts.
10106func (c *Chime) GetVoiceConnectorGroupWithContext(ctx aws.Context, input *GetVoiceConnectorGroupInput, opts ...request.Option) (*GetVoiceConnectorGroupOutput, error) {
10107	req, out := c.GetVoiceConnectorGroupRequest(input)
10108	req.SetContext(ctx)
10109	req.ApplyOptions(opts...)
10110	return out, req.Send()
10111}
10112
10113const opGetVoiceConnectorLoggingConfiguration = "GetVoiceConnectorLoggingConfiguration"
10114
10115// GetVoiceConnectorLoggingConfigurationRequest generates a "aws/request.Request" representing the
10116// client's request for the GetVoiceConnectorLoggingConfiguration operation. The "output" return
10117// value will be populated with the request's response once the request completes
10118// successfully.
10119//
10120// Use "Send" method on the returned Request to send the API call to the service.
10121// the "output" return value is not valid until after Send returns without error.
10122//
10123// See GetVoiceConnectorLoggingConfiguration for more information on using the GetVoiceConnectorLoggingConfiguration
10124// API call, and error handling.
10125//
10126// This method is useful when you want to inject custom logic or configuration
10127// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10128//
10129//
10130//    // Example sending a request using the GetVoiceConnectorLoggingConfigurationRequest method.
10131//    req, resp := client.GetVoiceConnectorLoggingConfigurationRequest(params)
10132//
10133//    err := req.Send()
10134//    if err == nil { // resp is now filled
10135//        fmt.Println(resp)
10136//    }
10137//
10138// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorLoggingConfiguration
10139func (c *Chime) GetVoiceConnectorLoggingConfigurationRequest(input *GetVoiceConnectorLoggingConfigurationInput) (req *request.Request, output *GetVoiceConnectorLoggingConfigurationOutput) {
10140	op := &request.Operation{
10141		Name:       opGetVoiceConnectorLoggingConfiguration,
10142		HTTPMethod: "GET",
10143		HTTPPath:   "/voice-connectors/{voiceConnectorId}/logging-configuration",
10144	}
10145
10146	if input == nil {
10147		input = &GetVoiceConnectorLoggingConfigurationInput{}
10148	}
10149
10150	output = &GetVoiceConnectorLoggingConfigurationOutput{}
10151	req = c.newRequest(op, input, output)
10152	return
10153}
10154
10155// GetVoiceConnectorLoggingConfiguration API operation for Amazon Chime.
10156//
10157// Retrieves the logging configuration details for the specified Amazon Chime
10158// Voice Connector. Shows whether SIP message logs are enabled for sending to
10159// Amazon CloudWatch Logs.
10160//
10161// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10162// with awserr.Error's Code and Message methods to get detailed information about
10163// the error.
10164//
10165// See the AWS API reference guide for Amazon Chime's
10166// API operation GetVoiceConnectorLoggingConfiguration for usage and error information.
10167//
10168// Returned Error Types:
10169//   * UnauthorizedClientException
10170//   The client is not currently authorized to make the request.
10171//
10172//   * NotFoundException
10173//   One or more of the resources in the request does not exist in the system.
10174//
10175//   * ForbiddenException
10176//   The client is permanently forbidden from making the request.
10177//
10178//   * BadRequestException
10179//   The input parameters don't match the service's restrictions.
10180//
10181//   * ThrottledClientException
10182//   The client exceeded its request rate limit.
10183//
10184//   * ServiceUnavailableException
10185//   The service is currently unavailable.
10186//
10187//   * ServiceFailureException
10188//   The service encountered an unexpected error.
10189//
10190// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorLoggingConfiguration
10191func (c *Chime) GetVoiceConnectorLoggingConfiguration(input *GetVoiceConnectorLoggingConfigurationInput) (*GetVoiceConnectorLoggingConfigurationOutput, error) {
10192	req, out := c.GetVoiceConnectorLoggingConfigurationRequest(input)
10193	return out, req.Send()
10194}
10195
10196// GetVoiceConnectorLoggingConfigurationWithContext is the same as GetVoiceConnectorLoggingConfiguration with the addition of
10197// the ability to pass a context and additional request options.
10198//
10199// See GetVoiceConnectorLoggingConfiguration for details on how to use this API operation.
10200//
10201// The context must be non-nil and will be used for request cancellation. If
10202// the context is nil a panic will occur. In the future the SDK may create
10203// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10204// for more information on using Contexts.
10205func (c *Chime) GetVoiceConnectorLoggingConfigurationWithContext(ctx aws.Context, input *GetVoiceConnectorLoggingConfigurationInput, opts ...request.Option) (*GetVoiceConnectorLoggingConfigurationOutput, error) {
10206	req, out := c.GetVoiceConnectorLoggingConfigurationRequest(input)
10207	req.SetContext(ctx)
10208	req.ApplyOptions(opts...)
10209	return out, req.Send()
10210}
10211
10212const opGetVoiceConnectorOrigination = "GetVoiceConnectorOrigination"
10213
10214// GetVoiceConnectorOriginationRequest generates a "aws/request.Request" representing the
10215// client's request for the GetVoiceConnectorOrigination operation. The "output" return
10216// value will be populated with the request's response once the request completes
10217// successfully.
10218//
10219// Use "Send" method on the returned Request to send the API call to the service.
10220// the "output" return value is not valid until after Send returns without error.
10221//
10222// See GetVoiceConnectorOrigination for more information on using the GetVoiceConnectorOrigination
10223// API call, and error handling.
10224//
10225// This method is useful when you want to inject custom logic or configuration
10226// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10227//
10228//
10229//    // Example sending a request using the GetVoiceConnectorOriginationRequest method.
10230//    req, resp := client.GetVoiceConnectorOriginationRequest(params)
10231//
10232//    err := req.Send()
10233//    if err == nil { // resp is now filled
10234//        fmt.Println(resp)
10235//    }
10236//
10237// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorOrigination
10238func (c *Chime) GetVoiceConnectorOriginationRequest(input *GetVoiceConnectorOriginationInput) (req *request.Request, output *GetVoiceConnectorOriginationOutput) {
10239	op := &request.Operation{
10240		Name:       opGetVoiceConnectorOrigination,
10241		HTTPMethod: "GET",
10242		HTTPPath:   "/voice-connectors/{voiceConnectorId}/origination",
10243	}
10244
10245	if input == nil {
10246		input = &GetVoiceConnectorOriginationInput{}
10247	}
10248
10249	output = &GetVoiceConnectorOriginationOutput{}
10250	req = c.newRequest(op, input, output)
10251	return
10252}
10253
10254// GetVoiceConnectorOrigination API operation for Amazon Chime.
10255//
10256// Retrieves origination setting details for the specified Amazon Chime Voice
10257// Connector.
10258//
10259// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10260// with awserr.Error's Code and Message methods to get detailed information about
10261// the error.
10262//
10263// See the AWS API reference guide for Amazon Chime's
10264// API operation GetVoiceConnectorOrigination for usage and error information.
10265//
10266// Returned Error Types:
10267//   * UnauthorizedClientException
10268//   The client is not currently authorized to make the request.
10269//
10270//   * NotFoundException
10271//   One or more of the resources in the request does not exist in the system.
10272//
10273//   * ForbiddenException
10274//   The client is permanently forbidden from making the request.
10275//
10276//   * BadRequestException
10277//   The input parameters don't match the service's restrictions.
10278//
10279//   * ThrottledClientException
10280//   The client exceeded its request rate limit.
10281//
10282//   * ServiceUnavailableException
10283//   The service is currently unavailable.
10284//
10285//   * ServiceFailureException
10286//   The service encountered an unexpected error.
10287//
10288// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorOrigination
10289func (c *Chime) GetVoiceConnectorOrigination(input *GetVoiceConnectorOriginationInput) (*GetVoiceConnectorOriginationOutput, error) {
10290	req, out := c.GetVoiceConnectorOriginationRequest(input)
10291	return out, req.Send()
10292}
10293
10294// GetVoiceConnectorOriginationWithContext is the same as GetVoiceConnectorOrigination with the addition of
10295// the ability to pass a context and additional request options.
10296//
10297// See GetVoiceConnectorOrigination for details on how to use this API operation.
10298//
10299// The context must be non-nil and will be used for request cancellation. If
10300// the context is nil a panic will occur. In the future the SDK may create
10301// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10302// for more information on using Contexts.
10303func (c *Chime) GetVoiceConnectorOriginationWithContext(ctx aws.Context, input *GetVoiceConnectorOriginationInput, opts ...request.Option) (*GetVoiceConnectorOriginationOutput, error) {
10304	req, out := c.GetVoiceConnectorOriginationRequest(input)
10305	req.SetContext(ctx)
10306	req.ApplyOptions(opts...)
10307	return out, req.Send()
10308}
10309
10310const opGetVoiceConnectorProxy = "GetVoiceConnectorProxy"
10311
10312// GetVoiceConnectorProxyRequest generates a "aws/request.Request" representing the
10313// client's request for the GetVoiceConnectorProxy operation. The "output" return
10314// value will be populated with the request's response once the request completes
10315// successfully.
10316//
10317// Use "Send" method on the returned Request to send the API call to the service.
10318// the "output" return value is not valid until after Send returns without error.
10319//
10320// See GetVoiceConnectorProxy for more information on using the GetVoiceConnectorProxy
10321// API call, and error handling.
10322//
10323// This method is useful when you want to inject custom logic or configuration
10324// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10325//
10326//
10327//    // Example sending a request using the GetVoiceConnectorProxyRequest method.
10328//    req, resp := client.GetVoiceConnectorProxyRequest(params)
10329//
10330//    err := req.Send()
10331//    if err == nil { // resp is now filled
10332//        fmt.Println(resp)
10333//    }
10334//
10335// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorProxy
10336func (c *Chime) GetVoiceConnectorProxyRequest(input *GetVoiceConnectorProxyInput) (req *request.Request, output *GetVoiceConnectorProxyOutput) {
10337	op := &request.Operation{
10338		Name:       opGetVoiceConnectorProxy,
10339		HTTPMethod: "GET",
10340		HTTPPath:   "/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy",
10341	}
10342
10343	if input == nil {
10344		input = &GetVoiceConnectorProxyInput{}
10345	}
10346
10347	output = &GetVoiceConnectorProxyOutput{}
10348	req = c.newRequest(op, input, output)
10349	return
10350}
10351
10352// GetVoiceConnectorProxy API operation for Amazon Chime.
10353//
10354// Gets the proxy configuration details for the specified Amazon Chime Voice
10355// Connector.
10356//
10357// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10358// with awserr.Error's Code and Message methods to get detailed information about
10359// the error.
10360//
10361// See the AWS API reference guide for Amazon Chime's
10362// API operation GetVoiceConnectorProxy for usage and error information.
10363//
10364// Returned Error Types:
10365//   * UnauthorizedClientException
10366//   The client is not currently authorized to make the request.
10367//
10368//   * NotFoundException
10369//   One or more of the resources in the request does not exist in the system.
10370//
10371//   * ForbiddenException
10372//   The client is permanently forbidden from making the request.
10373//
10374//   * BadRequestException
10375//   The input parameters don't match the service's restrictions.
10376//
10377//   * ThrottledClientException
10378//   The client exceeded its request rate limit.
10379//
10380//   * ServiceUnavailableException
10381//   The service is currently unavailable.
10382//
10383//   * ServiceFailureException
10384//   The service encountered an unexpected error.
10385//
10386// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorProxy
10387func (c *Chime) GetVoiceConnectorProxy(input *GetVoiceConnectorProxyInput) (*GetVoiceConnectorProxyOutput, error) {
10388	req, out := c.GetVoiceConnectorProxyRequest(input)
10389	return out, req.Send()
10390}
10391
10392// GetVoiceConnectorProxyWithContext is the same as GetVoiceConnectorProxy with the addition of
10393// the ability to pass a context and additional request options.
10394//
10395// See GetVoiceConnectorProxy for details on how to use this API operation.
10396//
10397// The context must be non-nil and will be used for request cancellation. If
10398// the context is nil a panic will occur. In the future the SDK may create
10399// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10400// for more information on using Contexts.
10401func (c *Chime) GetVoiceConnectorProxyWithContext(ctx aws.Context, input *GetVoiceConnectorProxyInput, opts ...request.Option) (*GetVoiceConnectorProxyOutput, error) {
10402	req, out := c.GetVoiceConnectorProxyRequest(input)
10403	req.SetContext(ctx)
10404	req.ApplyOptions(opts...)
10405	return out, req.Send()
10406}
10407
10408const opGetVoiceConnectorStreamingConfiguration = "GetVoiceConnectorStreamingConfiguration"
10409
10410// GetVoiceConnectorStreamingConfigurationRequest generates a "aws/request.Request" representing the
10411// client's request for the GetVoiceConnectorStreamingConfiguration operation. The "output" return
10412// value will be populated with the request's response once the request completes
10413// successfully.
10414//
10415// Use "Send" method on the returned Request to send the API call to the service.
10416// the "output" return value is not valid until after Send returns without error.
10417//
10418// See GetVoiceConnectorStreamingConfiguration for more information on using the GetVoiceConnectorStreamingConfiguration
10419// API call, and error handling.
10420//
10421// This method is useful when you want to inject custom logic or configuration
10422// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10423//
10424//
10425//    // Example sending a request using the GetVoiceConnectorStreamingConfigurationRequest method.
10426//    req, resp := client.GetVoiceConnectorStreamingConfigurationRequest(params)
10427//
10428//    err := req.Send()
10429//    if err == nil { // resp is now filled
10430//        fmt.Println(resp)
10431//    }
10432//
10433// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorStreamingConfiguration
10434func (c *Chime) GetVoiceConnectorStreamingConfigurationRequest(input *GetVoiceConnectorStreamingConfigurationInput) (req *request.Request, output *GetVoiceConnectorStreamingConfigurationOutput) {
10435	op := &request.Operation{
10436		Name:       opGetVoiceConnectorStreamingConfiguration,
10437		HTTPMethod: "GET",
10438		HTTPPath:   "/voice-connectors/{voiceConnectorId}/streaming-configuration",
10439	}
10440
10441	if input == nil {
10442		input = &GetVoiceConnectorStreamingConfigurationInput{}
10443	}
10444
10445	output = &GetVoiceConnectorStreamingConfigurationOutput{}
10446	req = c.newRequest(op, input, output)
10447	return
10448}
10449
10450// GetVoiceConnectorStreamingConfiguration API operation for Amazon Chime.
10451//
10452// Retrieves the streaming configuration details for the specified Amazon Chime
10453// Voice Connector. Shows whether media streaming is enabled for sending to
10454// Amazon Kinesis. It also shows the retention period, in hours, for the Amazon
10455// Kinesis data.
10456//
10457// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10458// with awserr.Error's Code and Message methods to get detailed information about
10459// the error.
10460//
10461// See the AWS API reference guide for Amazon Chime's
10462// API operation GetVoiceConnectorStreamingConfiguration for usage and error information.
10463//
10464// Returned Error Types:
10465//   * UnauthorizedClientException
10466//   The client is not currently authorized to make the request.
10467//
10468//   * NotFoundException
10469//   One or more of the resources in the request does not exist in the system.
10470//
10471//   * ForbiddenException
10472//   The client is permanently forbidden from making the request.
10473//
10474//   * BadRequestException
10475//   The input parameters don't match the service's restrictions.
10476//
10477//   * ThrottledClientException
10478//   The client exceeded its request rate limit.
10479//
10480//   * ServiceUnavailableException
10481//   The service is currently unavailable.
10482//
10483//   * ServiceFailureException
10484//   The service encountered an unexpected error.
10485//
10486// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorStreamingConfiguration
10487func (c *Chime) GetVoiceConnectorStreamingConfiguration(input *GetVoiceConnectorStreamingConfigurationInput) (*GetVoiceConnectorStreamingConfigurationOutput, error) {
10488	req, out := c.GetVoiceConnectorStreamingConfigurationRequest(input)
10489	return out, req.Send()
10490}
10491
10492// GetVoiceConnectorStreamingConfigurationWithContext is the same as GetVoiceConnectorStreamingConfiguration with the addition of
10493// the ability to pass a context and additional request options.
10494//
10495// See GetVoiceConnectorStreamingConfiguration for details on how to use this API operation.
10496//
10497// The context must be non-nil and will be used for request cancellation. If
10498// the context is nil a panic will occur. In the future the SDK may create
10499// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10500// for more information on using Contexts.
10501func (c *Chime) GetVoiceConnectorStreamingConfigurationWithContext(ctx aws.Context, input *GetVoiceConnectorStreamingConfigurationInput, opts ...request.Option) (*GetVoiceConnectorStreamingConfigurationOutput, error) {
10502	req, out := c.GetVoiceConnectorStreamingConfigurationRequest(input)
10503	req.SetContext(ctx)
10504	req.ApplyOptions(opts...)
10505	return out, req.Send()
10506}
10507
10508const opGetVoiceConnectorTermination = "GetVoiceConnectorTermination"
10509
10510// GetVoiceConnectorTerminationRequest generates a "aws/request.Request" representing the
10511// client's request for the GetVoiceConnectorTermination operation. The "output" return
10512// value will be populated with the request's response once the request completes
10513// successfully.
10514//
10515// Use "Send" method on the returned Request to send the API call to the service.
10516// the "output" return value is not valid until after Send returns without error.
10517//
10518// See GetVoiceConnectorTermination for more information on using the GetVoiceConnectorTermination
10519// API call, and error handling.
10520//
10521// This method is useful when you want to inject custom logic or configuration
10522// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10523//
10524//
10525//    // Example sending a request using the GetVoiceConnectorTerminationRequest method.
10526//    req, resp := client.GetVoiceConnectorTerminationRequest(params)
10527//
10528//    err := req.Send()
10529//    if err == nil { // resp is now filled
10530//        fmt.Println(resp)
10531//    }
10532//
10533// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorTermination
10534func (c *Chime) GetVoiceConnectorTerminationRequest(input *GetVoiceConnectorTerminationInput) (req *request.Request, output *GetVoiceConnectorTerminationOutput) {
10535	op := &request.Operation{
10536		Name:       opGetVoiceConnectorTermination,
10537		HTTPMethod: "GET",
10538		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination",
10539	}
10540
10541	if input == nil {
10542		input = &GetVoiceConnectorTerminationInput{}
10543	}
10544
10545	output = &GetVoiceConnectorTerminationOutput{}
10546	req = c.newRequest(op, input, output)
10547	return
10548}
10549
10550// GetVoiceConnectorTermination API operation for Amazon Chime.
10551//
10552// Retrieves termination setting details for the specified Amazon Chime Voice
10553// Connector.
10554//
10555// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10556// with awserr.Error's Code and Message methods to get detailed information about
10557// the error.
10558//
10559// See the AWS API reference guide for Amazon Chime's
10560// API operation GetVoiceConnectorTermination for usage and error information.
10561//
10562// Returned Error Types:
10563//   * UnauthorizedClientException
10564//   The client is not currently authorized to make the request.
10565//
10566//   * NotFoundException
10567//   One or more of the resources in the request does not exist in the system.
10568//
10569//   * ForbiddenException
10570//   The client is permanently forbidden from making the request.
10571//
10572//   * BadRequestException
10573//   The input parameters don't match the service's restrictions.
10574//
10575//   * ThrottledClientException
10576//   The client exceeded its request rate limit.
10577//
10578//   * ServiceUnavailableException
10579//   The service is currently unavailable.
10580//
10581//   * ServiceFailureException
10582//   The service encountered an unexpected error.
10583//
10584// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorTermination
10585func (c *Chime) GetVoiceConnectorTermination(input *GetVoiceConnectorTerminationInput) (*GetVoiceConnectorTerminationOutput, error) {
10586	req, out := c.GetVoiceConnectorTerminationRequest(input)
10587	return out, req.Send()
10588}
10589
10590// GetVoiceConnectorTerminationWithContext is the same as GetVoiceConnectorTermination with the addition of
10591// the ability to pass a context and additional request options.
10592//
10593// See GetVoiceConnectorTermination for details on how to use this API operation.
10594//
10595// The context must be non-nil and will be used for request cancellation. If
10596// the context is nil a panic will occur. In the future the SDK may create
10597// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10598// for more information on using Contexts.
10599func (c *Chime) GetVoiceConnectorTerminationWithContext(ctx aws.Context, input *GetVoiceConnectorTerminationInput, opts ...request.Option) (*GetVoiceConnectorTerminationOutput, error) {
10600	req, out := c.GetVoiceConnectorTerminationRequest(input)
10601	req.SetContext(ctx)
10602	req.ApplyOptions(opts...)
10603	return out, req.Send()
10604}
10605
10606const opGetVoiceConnectorTerminationHealth = "GetVoiceConnectorTerminationHealth"
10607
10608// GetVoiceConnectorTerminationHealthRequest generates a "aws/request.Request" representing the
10609// client's request for the GetVoiceConnectorTerminationHealth operation. The "output" return
10610// value will be populated with the request's response once the request completes
10611// successfully.
10612//
10613// Use "Send" method on the returned Request to send the API call to the service.
10614// the "output" return value is not valid until after Send returns without error.
10615//
10616// See GetVoiceConnectorTerminationHealth for more information on using the GetVoiceConnectorTerminationHealth
10617// API call, and error handling.
10618//
10619// This method is useful when you want to inject custom logic or configuration
10620// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10621//
10622//
10623//    // Example sending a request using the GetVoiceConnectorTerminationHealthRequest method.
10624//    req, resp := client.GetVoiceConnectorTerminationHealthRequest(params)
10625//
10626//    err := req.Send()
10627//    if err == nil { // resp is now filled
10628//        fmt.Println(resp)
10629//    }
10630//
10631// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorTerminationHealth
10632func (c *Chime) GetVoiceConnectorTerminationHealthRequest(input *GetVoiceConnectorTerminationHealthInput) (req *request.Request, output *GetVoiceConnectorTerminationHealthOutput) {
10633	op := &request.Operation{
10634		Name:       opGetVoiceConnectorTerminationHealth,
10635		HTTPMethod: "GET",
10636		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination/health",
10637	}
10638
10639	if input == nil {
10640		input = &GetVoiceConnectorTerminationHealthInput{}
10641	}
10642
10643	output = &GetVoiceConnectorTerminationHealthOutput{}
10644	req = c.newRequest(op, input, output)
10645	return
10646}
10647
10648// GetVoiceConnectorTerminationHealth API operation for Amazon Chime.
10649//
10650// Retrieves information about the last time a SIP OPTIONS ping was received
10651// from your SIP infrastructure for the specified Amazon Chime Voice Connector.
10652//
10653// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10654// with awserr.Error's Code and Message methods to get detailed information about
10655// the error.
10656//
10657// See the AWS API reference guide for Amazon Chime's
10658// API operation GetVoiceConnectorTerminationHealth for usage and error information.
10659//
10660// Returned Error Types:
10661//   * UnauthorizedClientException
10662//   The client is not currently authorized to make the request.
10663//
10664//   * NotFoundException
10665//   One or more of the resources in the request does not exist in the system.
10666//
10667//   * ForbiddenException
10668//   The client is permanently forbidden from making the request.
10669//
10670//   * BadRequestException
10671//   The input parameters don't match the service's restrictions.
10672//
10673//   * ThrottledClientException
10674//   The client exceeded its request rate limit.
10675//
10676//   * ServiceUnavailableException
10677//   The service is currently unavailable.
10678//
10679//   * ServiceFailureException
10680//   The service encountered an unexpected error.
10681//
10682// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorTerminationHealth
10683func (c *Chime) GetVoiceConnectorTerminationHealth(input *GetVoiceConnectorTerminationHealthInput) (*GetVoiceConnectorTerminationHealthOutput, error) {
10684	req, out := c.GetVoiceConnectorTerminationHealthRequest(input)
10685	return out, req.Send()
10686}
10687
10688// GetVoiceConnectorTerminationHealthWithContext is the same as GetVoiceConnectorTerminationHealth with the addition of
10689// the ability to pass a context and additional request options.
10690//
10691// See GetVoiceConnectorTerminationHealth for details on how to use this API operation.
10692//
10693// The context must be non-nil and will be used for request cancellation. If
10694// the context is nil a panic will occur. In the future the SDK may create
10695// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10696// for more information on using Contexts.
10697func (c *Chime) GetVoiceConnectorTerminationHealthWithContext(ctx aws.Context, input *GetVoiceConnectorTerminationHealthInput, opts ...request.Option) (*GetVoiceConnectorTerminationHealthOutput, error) {
10698	req, out := c.GetVoiceConnectorTerminationHealthRequest(input)
10699	req.SetContext(ctx)
10700	req.ApplyOptions(opts...)
10701	return out, req.Send()
10702}
10703
10704const opInviteUsers = "InviteUsers"
10705
10706// InviteUsersRequest generates a "aws/request.Request" representing the
10707// client's request for the InviteUsers operation. The "output" return
10708// value will be populated with the request's response once the request completes
10709// successfully.
10710//
10711// Use "Send" method on the returned Request to send the API call to the service.
10712// the "output" return value is not valid until after Send returns without error.
10713//
10714// See InviteUsers for more information on using the InviteUsers
10715// API call, and error handling.
10716//
10717// This method is useful when you want to inject custom logic or configuration
10718// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10719//
10720//
10721//    // Example sending a request using the InviteUsersRequest method.
10722//    req, resp := client.InviteUsersRequest(params)
10723//
10724//    err := req.Send()
10725//    if err == nil { // resp is now filled
10726//        fmt.Println(resp)
10727//    }
10728//
10729// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/InviteUsers
10730func (c *Chime) InviteUsersRequest(input *InviteUsersInput) (req *request.Request, output *InviteUsersOutput) {
10731	op := &request.Operation{
10732		Name:       opInviteUsers,
10733		HTTPMethod: "POST",
10734		HTTPPath:   "/accounts/{accountId}/users?operation=add",
10735	}
10736
10737	if input == nil {
10738		input = &InviteUsersInput{}
10739	}
10740
10741	output = &InviteUsersOutput{}
10742	req = c.newRequest(op, input, output)
10743	return
10744}
10745
10746// InviteUsers API operation for Amazon Chime.
10747//
10748// Sends email to a maximum of 50 users, inviting them to the specified Amazon
10749// Chime Team account. Only Team account types are currently supported for this
10750// action.
10751//
10752// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10753// with awserr.Error's Code and Message methods to get detailed information about
10754// the error.
10755//
10756// See the AWS API reference guide for Amazon Chime's
10757// API operation InviteUsers for usage and error information.
10758//
10759// Returned Error Types:
10760//   * UnauthorizedClientException
10761//   The client is not currently authorized to make the request.
10762//
10763//   * NotFoundException
10764//   One or more of the resources in the request does not exist in the system.
10765//
10766//   * ForbiddenException
10767//   The client is permanently forbidden from making the request.
10768//
10769//   * BadRequestException
10770//   The input parameters don't match the service's restrictions.
10771//
10772//   * ThrottledClientException
10773//   The client exceeded its request rate limit.
10774//
10775//   * ServiceUnavailableException
10776//   The service is currently unavailable.
10777//
10778//   * ServiceFailureException
10779//   The service encountered an unexpected error.
10780//
10781// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/InviteUsers
10782func (c *Chime) InviteUsers(input *InviteUsersInput) (*InviteUsersOutput, error) {
10783	req, out := c.InviteUsersRequest(input)
10784	return out, req.Send()
10785}
10786
10787// InviteUsersWithContext is the same as InviteUsers with the addition of
10788// the ability to pass a context and additional request options.
10789//
10790// See InviteUsers for details on how to use this API operation.
10791//
10792// The context must be non-nil and will be used for request cancellation. If
10793// the context is nil a panic will occur. In the future the SDK may create
10794// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10795// for more information on using Contexts.
10796func (c *Chime) InviteUsersWithContext(ctx aws.Context, input *InviteUsersInput, opts ...request.Option) (*InviteUsersOutput, error) {
10797	req, out := c.InviteUsersRequest(input)
10798	req.SetContext(ctx)
10799	req.ApplyOptions(opts...)
10800	return out, req.Send()
10801}
10802
10803const opListAccounts = "ListAccounts"
10804
10805// ListAccountsRequest generates a "aws/request.Request" representing the
10806// client's request for the ListAccounts operation. The "output" return
10807// value will be populated with the request's response once the request completes
10808// successfully.
10809//
10810// Use "Send" method on the returned Request to send the API call to the service.
10811// the "output" return value is not valid until after Send returns without error.
10812//
10813// See ListAccounts for more information on using the ListAccounts
10814// API call, and error handling.
10815//
10816// This method is useful when you want to inject custom logic or configuration
10817// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10818//
10819//
10820//    // Example sending a request using the ListAccountsRequest method.
10821//    req, resp := client.ListAccountsRequest(params)
10822//
10823//    err := req.Send()
10824//    if err == nil { // resp is now filled
10825//        fmt.Println(resp)
10826//    }
10827//
10828// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAccounts
10829func (c *Chime) ListAccountsRequest(input *ListAccountsInput) (req *request.Request, output *ListAccountsOutput) {
10830	op := &request.Operation{
10831		Name:       opListAccounts,
10832		HTTPMethod: "GET",
10833		HTTPPath:   "/accounts",
10834		Paginator: &request.Paginator{
10835			InputTokens:     []string{"NextToken"},
10836			OutputTokens:    []string{"NextToken"},
10837			LimitToken:      "MaxResults",
10838			TruncationToken: "",
10839		},
10840	}
10841
10842	if input == nil {
10843		input = &ListAccountsInput{}
10844	}
10845
10846	output = &ListAccountsOutput{}
10847	req = c.newRequest(op, input, output)
10848	return
10849}
10850
10851// ListAccounts API operation for Amazon Chime.
10852//
10853// Lists the Amazon Chime accounts under the administrator's AWS account. You
10854// can filter accounts by account name prefix. To find out which Amazon Chime
10855// account a user belongs to, you can filter by the user's email address, which
10856// returns one account result.
10857//
10858// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10859// with awserr.Error's Code and Message methods to get detailed information about
10860// the error.
10861//
10862// See the AWS API reference guide for Amazon Chime's
10863// API operation ListAccounts for usage and error information.
10864//
10865// Returned Error Types:
10866//   * UnauthorizedClientException
10867//   The client is not currently authorized to make the request.
10868//
10869//   * NotFoundException
10870//   One or more of the resources in the request does not exist in the system.
10871//
10872//   * ForbiddenException
10873//   The client is permanently forbidden from making the request.
10874//
10875//   * BadRequestException
10876//   The input parameters don't match the service's restrictions.
10877//
10878//   * ThrottledClientException
10879//   The client exceeded its request rate limit.
10880//
10881//   * ServiceUnavailableException
10882//   The service is currently unavailable.
10883//
10884//   * ServiceFailureException
10885//   The service encountered an unexpected error.
10886//
10887// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAccounts
10888func (c *Chime) ListAccounts(input *ListAccountsInput) (*ListAccountsOutput, error) {
10889	req, out := c.ListAccountsRequest(input)
10890	return out, req.Send()
10891}
10892
10893// ListAccountsWithContext is the same as ListAccounts with the addition of
10894// the ability to pass a context and additional request options.
10895//
10896// See ListAccounts for details on how to use this API operation.
10897//
10898// The context must be non-nil and will be used for request cancellation. If
10899// the context is nil a panic will occur. In the future the SDK may create
10900// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10901// for more information on using Contexts.
10902func (c *Chime) ListAccountsWithContext(ctx aws.Context, input *ListAccountsInput, opts ...request.Option) (*ListAccountsOutput, error) {
10903	req, out := c.ListAccountsRequest(input)
10904	req.SetContext(ctx)
10905	req.ApplyOptions(opts...)
10906	return out, req.Send()
10907}
10908
10909// ListAccountsPages iterates over the pages of a ListAccounts operation,
10910// calling the "fn" function with the response data for each page. To stop
10911// iterating, return false from the fn function.
10912//
10913// See ListAccounts method for more information on how to use this operation.
10914//
10915// Note: This operation can generate multiple requests to a service.
10916//
10917//    // Example iterating over at most 3 pages of a ListAccounts operation.
10918//    pageNum := 0
10919//    err := client.ListAccountsPages(params,
10920//        func(page *chime.ListAccountsOutput, lastPage bool) bool {
10921//            pageNum++
10922//            fmt.Println(page)
10923//            return pageNum <= 3
10924//        })
10925//
10926func (c *Chime) ListAccountsPages(input *ListAccountsInput, fn func(*ListAccountsOutput, bool) bool) error {
10927	return c.ListAccountsPagesWithContext(aws.BackgroundContext(), input, fn)
10928}
10929
10930// ListAccountsPagesWithContext same as ListAccountsPages except
10931// it takes a Context and allows setting request options on the pages.
10932//
10933// The context must be non-nil and will be used for request cancellation. If
10934// the context is nil a panic will occur. In the future the SDK may create
10935// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10936// for more information on using Contexts.
10937func (c *Chime) ListAccountsPagesWithContext(ctx aws.Context, input *ListAccountsInput, fn func(*ListAccountsOutput, bool) bool, opts ...request.Option) error {
10938	p := request.Pagination{
10939		NewRequest: func() (*request.Request, error) {
10940			var inCpy *ListAccountsInput
10941			if input != nil {
10942				tmp := *input
10943				inCpy = &tmp
10944			}
10945			req, _ := c.ListAccountsRequest(inCpy)
10946			req.SetContext(ctx)
10947			req.ApplyOptions(opts...)
10948			return req, nil
10949		},
10950	}
10951
10952	for p.Next() {
10953		if !fn(p.Page().(*ListAccountsOutput), !p.HasNextPage()) {
10954			break
10955		}
10956	}
10957
10958	return p.Err()
10959}
10960
10961const opListAppInstanceAdmins = "ListAppInstanceAdmins"
10962
10963// ListAppInstanceAdminsRequest generates a "aws/request.Request" representing the
10964// client's request for the ListAppInstanceAdmins operation. The "output" return
10965// value will be populated with the request's response once the request completes
10966// successfully.
10967//
10968// Use "Send" method on the returned Request to send the API call to the service.
10969// the "output" return value is not valid until after Send returns without error.
10970//
10971// See ListAppInstanceAdmins for more information on using the ListAppInstanceAdmins
10972// API call, and error handling.
10973//
10974// This method is useful when you want to inject custom logic or configuration
10975// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10976//
10977//
10978//    // Example sending a request using the ListAppInstanceAdminsRequest method.
10979//    req, resp := client.ListAppInstanceAdminsRequest(params)
10980//
10981//    err := req.Send()
10982//    if err == nil { // resp is now filled
10983//        fmt.Println(resp)
10984//    }
10985//
10986// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstanceAdmins
10987func (c *Chime) ListAppInstanceAdminsRequest(input *ListAppInstanceAdminsInput) (req *request.Request, output *ListAppInstanceAdminsOutput) {
10988	op := &request.Operation{
10989		Name:       opListAppInstanceAdmins,
10990		HTTPMethod: "GET",
10991		HTTPPath:   "/app-instances/{appInstanceArn}/admins",
10992		Paginator: &request.Paginator{
10993			InputTokens:     []string{"NextToken"},
10994			OutputTokens:    []string{"NextToken"},
10995			LimitToken:      "MaxResults",
10996			TruncationToken: "",
10997		},
10998	}
10999
11000	if input == nil {
11001		input = &ListAppInstanceAdminsInput{}
11002	}
11003
11004	output = &ListAppInstanceAdminsOutput{}
11005	req = c.newRequest(op, input, output)
11006	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
11007	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
11008	return
11009}
11010
11011// ListAppInstanceAdmins API operation for Amazon Chime.
11012//
11013// Returns a list of the administrators in the AppInstance.
11014//
11015// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11016// with awserr.Error's Code and Message methods to get detailed information about
11017// the error.
11018//
11019// See the AWS API reference guide for Amazon Chime's
11020// API operation ListAppInstanceAdmins for usage and error information.
11021//
11022// Returned Error Types:
11023//   * BadRequestException
11024//   The input parameters don't match the service's restrictions.
11025//
11026//   * ForbiddenException
11027//   The client is permanently forbidden from making the request.
11028//
11029//   * ThrottledClientException
11030//   The client exceeded its request rate limit.
11031//
11032//   * UnauthorizedClientException
11033//   The client is not currently authorized to make the request.
11034//
11035//   * ServiceUnavailableException
11036//   The service is currently unavailable.
11037//
11038//   * ServiceFailureException
11039//   The service encountered an unexpected error.
11040//
11041// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstanceAdmins
11042func (c *Chime) ListAppInstanceAdmins(input *ListAppInstanceAdminsInput) (*ListAppInstanceAdminsOutput, error) {
11043	req, out := c.ListAppInstanceAdminsRequest(input)
11044	return out, req.Send()
11045}
11046
11047// ListAppInstanceAdminsWithContext is the same as ListAppInstanceAdmins with the addition of
11048// the ability to pass a context and additional request options.
11049//
11050// See ListAppInstanceAdmins for details on how to use this API operation.
11051//
11052// The context must be non-nil and will be used for request cancellation. If
11053// the context is nil a panic will occur. In the future the SDK may create
11054// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11055// for more information on using Contexts.
11056func (c *Chime) ListAppInstanceAdminsWithContext(ctx aws.Context, input *ListAppInstanceAdminsInput, opts ...request.Option) (*ListAppInstanceAdminsOutput, error) {
11057	req, out := c.ListAppInstanceAdminsRequest(input)
11058	req.SetContext(ctx)
11059	req.ApplyOptions(opts...)
11060	return out, req.Send()
11061}
11062
11063// ListAppInstanceAdminsPages iterates over the pages of a ListAppInstanceAdmins operation,
11064// calling the "fn" function with the response data for each page. To stop
11065// iterating, return false from the fn function.
11066//
11067// See ListAppInstanceAdmins method for more information on how to use this operation.
11068//
11069// Note: This operation can generate multiple requests to a service.
11070//
11071//    // Example iterating over at most 3 pages of a ListAppInstanceAdmins operation.
11072//    pageNum := 0
11073//    err := client.ListAppInstanceAdminsPages(params,
11074//        func(page *chime.ListAppInstanceAdminsOutput, lastPage bool) bool {
11075//            pageNum++
11076//            fmt.Println(page)
11077//            return pageNum <= 3
11078//        })
11079//
11080func (c *Chime) ListAppInstanceAdminsPages(input *ListAppInstanceAdminsInput, fn func(*ListAppInstanceAdminsOutput, bool) bool) error {
11081	return c.ListAppInstanceAdminsPagesWithContext(aws.BackgroundContext(), input, fn)
11082}
11083
11084// ListAppInstanceAdminsPagesWithContext same as ListAppInstanceAdminsPages except
11085// it takes a Context and allows setting request options on the pages.
11086//
11087// The context must be non-nil and will be used for request cancellation. If
11088// the context is nil a panic will occur. In the future the SDK may create
11089// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11090// for more information on using Contexts.
11091func (c *Chime) ListAppInstanceAdminsPagesWithContext(ctx aws.Context, input *ListAppInstanceAdminsInput, fn func(*ListAppInstanceAdminsOutput, bool) bool, opts ...request.Option) error {
11092	p := request.Pagination{
11093		NewRequest: func() (*request.Request, error) {
11094			var inCpy *ListAppInstanceAdminsInput
11095			if input != nil {
11096				tmp := *input
11097				inCpy = &tmp
11098			}
11099			req, _ := c.ListAppInstanceAdminsRequest(inCpy)
11100			req.SetContext(ctx)
11101			req.ApplyOptions(opts...)
11102			return req, nil
11103		},
11104	}
11105
11106	for p.Next() {
11107		if !fn(p.Page().(*ListAppInstanceAdminsOutput), !p.HasNextPage()) {
11108			break
11109		}
11110	}
11111
11112	return p.Err()
11113}
11114
11115const opListAppInstanceUsers = "ListAppInstanceUsers"
11116
11117// ListAppInstanceUsersRequest generates a "aws/request.Request" representing the
11118// client's request for the ListAppInstanceUsers operation. The "output" return
11119// value will be populated with the request's response once the request completes
11120// successfully.
11121//
11122// Use "Send" method on the returned Request to send the API call to the service.
11123// the "output" return value is not valid until after Send returns without error.
11124//
11125// See ListAppInstanceUsers for more information on using the ListAppInstanceUsers
11126// API call, and error handling.
11127//
11128// This method is useful when you want to inject custom logic or configuration
11129// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11130//
11131//
11132//    // Example sending a request using the ListAppInstanceUsersRequest method.
11133//    req, resp := client.ListAppInstanceUsersRequest(params)
11134//
11135//    err := req.Send()
11136//    if err == nil { // resp is now filled
11137//        fmt.Println(resp)
11138//    }
11139//
11140// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstanceUsers
11141func (c *Chime) ListAppInstanceUsersRequest(input *ListAppInstanceUsersInput) (req *request.Request, output *ListAppInstanceUsersOutput) {
11142	op := &request.Operation{
11143		Name:       opListAppInstanceUsers,
11144		HTTPMethod: "GET",
11145		HTTPPath:   "/app-instance-users",
11146		Paginator: &request.Paginator{
11147			InputTokens:     []string{"NextToken"},
11148			OutputTokens:    []string{"NextToken"},
11149			LimitToken:      "MaxResults",
11150			TruncationToken: "",
11151		},
11152	}
11153
11154	if input == nil {
11155		input = &ListAppInstanceUsersInput{}
11156	}
11157
11158	output = &ListAppInstanceUsersOutput{}
11159	req = c.newRequest(op, input, output)
11160	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
11161	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
11162	return
11163}
11164
11165// ListAppInstanceUsers API operation for Amazon Chime.
11166//
11167// List all AppInstanceUsers created under a single AppInstance.
11168//
11169// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11170// with awserr.Error's Code and Message methods to get detailed information about
11171// the error.
11172//
11173// See the AWS API reference guide for Amazon Chime's
11174// API operation ListAppInstanceUsers for usage and error information.
11175//
11176// Returned Error Types:
11177//   * BadRequestException
11178//   The input parameters don't match the service's restrictions.
11179//
11180//   * ForbiddenException
11181//   The client is permanently forbidden from making the request.
11182//
11183//   * ThrottledClientException
11184//   The client exceeded its request rate limit.
11185//
11186//   * UnauthorizedClientException
11187//   The client is not currently authorized to make the request.
11188//
11189//   * ServiceUnavailableException
11190//   The service is currently unavailable.
11191//
11192//   * ServiceFailureException
11193//   The service encountered an unexpected error.
11194//
11195// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstanceUsers
11196func (c *Chime) ListAppInstanceUsers(input *ListAppInstanceUsersInput) (*ListAppInstanceUsersOutput, error) {
11197	req, out := c.ListAppInstanceUsersRequest(input)
11198	return out, req.Send()
11199}
11200
11201// ListAppInstanceUsersWithContext is the same as ListAppInstanceUsers with the addition of
11202// the ability to pass a context and additional request options.
11203//
11204// See ListAppInstanceUsers for details on how to use this API operation.
11205//
11206// The context must be non-nil and will be used for request cancellation. If
11207// the context is nil a panic will occur. In the future the SDK may create
11208// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11209// for more information on using Contexts.
11210func (c *Chime) ListAppInstanceUsersWithContext(ctx aws.Context, input *ListAppInstanceUsersInput, opts ...request.Option) (*ListAppInstanceUsersOutput, error) {
11211	req, out := c.ListAppInstanceUsersRequest(input)
11212	req.SetContext(ctx)
11213	req.ApplyOptions(opts...)
11214	return out, req.Send()
11215}
11216
11217// ListAppInstanceUsersPages iterates over the pages of a ListAppInstanceUsers operation,
11218// calling the "fn" function with the response data for each page. To stop
11219// iterating, return false from the fn function.
11220//
11221// See ListAppInstanceUsers method for more information on how to use this operation.
11222//
11223// Note: This operation can generate multiple requests to a service.
11224//
11225//    // Example iterating over at most 3 pages of a ListAppInstanceUsers operation.
11226//    pageNum := 0
11227//    err := client.ListAppInstanceUsersPages(params,
11228//        func(page *chime.ListAppInstanceUsersOutput, lastPage bool) bool {
11229//            pageNum++
11230//            fmt.Println(page)
11231//            return pageNum <= 3
11232//        })
11233//
11234func (c *Chime) ListAppInstanceUsersPages(input *ListAppInstanceUsersInput, fn func(*ListAppInstanceUsersOutput, bool) bool) error {
11235	return c.ListAppInstanceUsersPagesWithContext(aws.BackgroundContext(), input, fn)
11236}
11237
11238// ListAppInstanceUsersPagesWithContext same as ListAppInstanceUsersPages except
11239// it takes a Context and allows setting request options on the pages.
11240//
11241// The context must be non-nil and will be used for request cancellation. If
11242// the context is nil a panic will occur. In the future the SDK may create
11243// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11244// for more information on using Contexts.
11245func (c *Chime) ListAppInstanceUsersPagesWithContext(ctx aws.Context, input *ListAppInstanceUsersInput, fn func(*ListAppInstanceUsersOutput, bool) bool, opts ...request.Option) error {
11246	p := request.Pagination{
11247		NewRequest: func() (*request.Request, error) {
11248			var inCpy *ListAppInstanceUsersInput
11249			if input != nil {
11250				tmp := *input
11251				inCpy = &tmp
11252			}
11253			req, _ := c.ListAppInstanceUsersRequest(inCpy)
11254			req.SetContext(ctx)
11255			req.ApplyOptions(opts...)
11256			return req, nil
11257		},
11258	}
11259
11260	for p.Next() {
11261		if !fn(p.Page().(*ListAppInstanceUsersOutput), !p.HasNextPage()) {
11262			break
11263		}
11264	}
11265
11266	return p.Err()
11267}
11268
11269const opListAppInstances = "ListAppInstances"
11270
11271// ListAppInstancesRequest generates a "aws/request.Request" representing the
11272// client's request for the ListAppInstances operation. The "output" return
11273// value will be populated with the request's response once the request completes
11274// successfully.
11275//
11276// Use "Send" method on the returned Request to send the API call to the service.
11277// the "output" return value is not valid until after Send returns without error.
11278//
11279// See ListAppInstances for more information on using the ListAppInstances
11280// API call, and error handling.
11281//
11282// This method is useful when you want to inject custom logic or configuration
11283// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11284//
11285//
11286//    // Example sending a request using the ListAppInstancesRequest method.
11287//    req, resp := client.ListAppInstancesRequest(params)
11288//
11289//    err := req.Send()
11290//    if err == nil { // resp is now filled
11291//        fmt.Println(resp)
11292//    }
11293//
11294// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstances
11295func (c *Chime) ListAppInstancesRequest(input *ListAppInstancesInput) (req *request.Request, output *ListAppInstancesOutput) {
11296	op := &request.Operation{
11297		Name:       opListAppInstances,
11298		HTTPMethod: "GET",
11299		HTTPPath:   "/app-instances",
11300		Paginator: &request.Paginator{
11301			InputTokens:     []string{"NextToken"},
11302			OutputTokens:    []string{"NextToken"},
11303			LimitToken:      "MaxResults",
11304			TruncationToken: "",
11305		},
11306	}
11307
11308	if input == nil {
11309		input = &ListAppInstancesInput{}
11310	}
11311
11312	output = &ListAppInstancesOutput{}
11313	req = c.newRequest(op, input, output)
11314	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
11315	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
11316	return
11317}
11318
11319// ListAppInstances API operation for Amazon Chime.
11320//
11321// Lists all Amazon Chime AppInstances created under a single AWS account.
11322//
11323// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11324// with awserr.Error's Code and Message methods to get detailed information about
11325// the error.
11326//
11327// See the AWS API reference guide for Amazon Chime's
11328// API operation ListAppInstances for usage and error information.
11329//
11330// Returned Error Types:
11331//   * BadRequestException
11332//   The input parameters don't match the service's restrictions.
11333//
11334//   * ForbiddenException
11335//   The client is permanently forbidden from making the request.
11336//
11337//   * ThrottledClientException
11338//   The client exceeded its request rate limit.
11339//
11340//   * UnauthorizedClientException
11341//   The client is not currently authorized to make the request.
11342//
11343//   * ServiceUnavailableException
11344//   The service is currently unavailable.
11345//
11346//   * ServiceFailureException
11347//   The service encountered an unexpected error.
11348//
11349// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstances
11350func (c *Chime) ListAppInstances(input *ListAppInstancesInput) (*ListAppInstancesOutput, error) {
11351	req, out := c.ListAppInstancesRequest(input)
11352	return out, req.Send()
11353}
11354
11355// ListAppInstancesWithContext is the same as ListAppInstances with the addition of
11356// the ability to pass a context and additional request options.
11357//
11358// See ListAppInstances for details on how to use this API operation.
11359//
11360// The context must be non-nil and will be used for request cancellation. If
11361// the context is nil a panic will occur. In the future the SDK may create
11362// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11363// for more information on using Contexts.
11364func (c *Chime) ListAppInstancesWithContext(ctx aws.Context, input *ListAppInstancesInput, opts ...request.Option) (*ListAppInstancesOutput, error) {
11365	req, out := c.ListAppInstancesRequest(input)
11366	req.SetContext(ctx)
11367	req.ApplyOptions(opts...)
11368	return out, req.Send()
11369}
11370
11371// ListAppInstancesPages iterates over the pages of a ListAppInstances operation,
11372// calling the "fn" function with the response data for each page. To stop
11373// iterating, return false from the fn function.
11374//
11375// See ListAppInstances method for more information on how to use this operation.
11376//
11377// Note: This operation can generate multiple requests to a service.
11378//
11379//    // Example iterating over at most 3 pages of a ListAppInstances operation.
11380//    pageNum := 0
11381//    err := client.ListAppInstancesPages(params,
11382//        func(page *chime.ListAppInstancesOutput, lastPage bool) bool {
11383//            pageNum++
11384//            fmt.Println(page)
11385//            return pageNum <= 3
11386//        })
11387//
11388func (c *Chime) ListAppInstancesPages(input *ListAppInstancesInput, fn func(*ListAppInstancesOutput, bool) bool) error {
11389	return c.ListAppInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
11390}
11391
11392// ListAppInstancesPagesWithContext same as ListAppInstancesPages except
11393// it takes a Context and allows setting request options on the pages.
11394//
11395// The context must be non-nil and will be used for request cancellation. If
11396// the context is nil a panic will occur. In the future the SDK may create
11397// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11398// for more information on using Contexts.
11399func (c *Chime) ListAppInstancesPagesWithContext(ctx aws.Context, input *ListAppInstancesInput, fn func(*ListAppInstancesOutput, bool) bool, opts ...request.Option) error {
11400	p := request.Pagination{
11401		NewRequest: func() (*request.Request, error) {
11402			var inCpy *ListAppInstancesInput
11403			if input != nil {
11404				tmp := *input
11405				inCpy = &tmp
11406			}
11407			req, _ := c.ListAppInstancesRequest(inCpy)
11408			req.SetContext(ctx)
11409			req.ApplyOptions(opts...)
11410			return req, nil
11411		},
11412	}
11413
11414	for p.Next() {
11415		if !fn(p.Page().(*ListAppInstancesOutput), !p.HasNextPage()) {
11416			break
11417		}
11418	}
11419
11420	return p.Err()
11421}
11422
11423const opListAttendeeTags = "ListAttendeeTags"
11424
11425// ListAttendeeTagsRequest generates a "aws/request.Request" representing the
11426// client's request for the ListAttendeeTags operation. The "output" return
11427// value will be populated with the request's response once the request completes
11428// successfully.
11429//
11430// Use "Send" method on the returned Request to send the API call to the service.
11431// the "output" return value is not valid until after Send returns without error.
11432//
11433// See ListAttendeeTags for more information on using the ListAttendeeTags
11434// API call, and error handling.
11435//
11436// This method is useful when you want to inject custom logic or configuration
11437// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11438//
11439//
11440//    // Example sending a request using the ListAttendeeTagsRequest method.
11441//    req, resp := client.ListAttendeeTagsRequest(params)
11442//
11443//    err := req.Send()
11444//    if err == nil { // resp is now filled
11445//        fmt.Println(resp)
11446//    }
11447//
11448// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAttendeeTags
11449func (c *Chime) ListAttendeeTagsRequest(input *ListAttendeeTagsInput) (req *request.Request, output *ListAttendeeTagsOutput) {
11450	op := &request.Operation{
11451		Name:       opListAttendeeTags,
11452		HTTPMethod: "GET",
11453		HTTPPath:   "/meetings/{meetingId}/attendees/{attendeeId}/tags",
11454	}
11455
11456	if input == nil {
11457		input = &ListAttendeeTagsInput{}
11458	}
11459
11460	output = &ListAttendeeTagsOutput{}
11461	req = c.newRequest(op, input, output)
11462	return
11463}
11464
11465// ListAttendeeTags API operation for Amazon Chime.
11466//
11467// Lists the tags applied to an Amazon Chime SDK attendee resource.
11468//
11469// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11470// with awserr.Error's Code and Message methods to get detailed information about
11471// the error.
11472//
11473// See the AWS API reference guide for Amazon Chime's
11474// API operation ListAttendeeTags for usage and error information.
11475//
11476// Returned Error Types:
11477//   * BadRequestException
11478//   The input parameters don't match the service's restrictions.
11479//
11480//   * ForbiddenException
11481//   The client is permanently forbidden from making the request.
11482//
11483//   * NotFoundException
11484//   One or more of the resources in the request does not exist in the system.
11485//
11486//   * ThrottledClientException
11487//   The client exceeded its request rate limit.
11488//
11489//   * UnauthorizedClientException
11490//   The client is not currently authorized to make the request.
11491//
11492//   * ServiceUnavailableException
11493//   The service is currently unavailable.
11494//
11495//   * ServiceFailureException
11496//   The service encountered an unexpected error.
11497//
11498// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAttendeeTags
11499func (c *Chime) ListAttendeeTags(input *ListAttendeeTagsInput) (*ListAttendeeTagsOutput, error) {
11500	req, out := c.ListAttendeeTagsRequest(input)
11501	return out, req.Send()
11502}
11503
11504// ListAttendeeTagsWithContext is the same as ListAttendeeTags with the addition of
11505// the ability to pass a context and additional request options.
11506//
11507// See ListAttendeeTags for details on how to use this API operation.
11508//
11509// The context must be non-nil and will be used for request cancellation. If
11510// the context is nil a panic will occur. In the future the SDK may create
11511// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11512// for more information on using Contexts.
11513func (c *Chime) ListAttendeeTagsWithContext(ctx aws.Context, input *ListAttendeeTagsInput, opts ...request.Option) (*ListAttendeeTagsOutput, error) {
11514	req, out := c.ListAttendeeTagsRequest(input)
11515	req.SetContext(ctx)
11516	req.ApplyOptions(opts...)
11517	return out, req.Send()
11518}
11519
11520const opListAttendees = "ListAttendees"
11521
11522// ListAttendeesRequest generates a "aws/request.Request" representing the
11523// client's request for the ListAttendees operation. The "output" return
11524// value will be populated with the request's response once the request completes
11525// successfully.
11526//
11527// Use "Send" method on the returned Request to send the API call to the service.
11528// the "output" return value is not valid until after Send returns without error.
11529//
11530// See ListAttendees for more information on using the ListAttendees
11531// API call, and error handling.
11532//
11533// This method is useful when you want to inject custom logic or configuration
11534// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11535//
11536//
11537//    // Example sending a request using the ListAttendeesRequest method.
11538//    req, resp := client.ListAttendeesRequest(params)
11539//
11540//    err := req.Send()
11541//    if err == nil { // resp is now filled
11542//        fmt.Println(resp)
11543//    }
11544//
11545// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAttendees
11546func (c *Chime) ListAttendeesRequest(input *ListAttendeesInput) (req *request.Request, output *ListAttendeesOutput) {
11547	op := &request.Operation{
11548		Name:       opListAttendees,
11549		HTTPMethod: "GET",
11550		HTTPPath:   "/meetings/{meetingId}/attendees",
11551		Paginator: &request.Paginator{
11552			InputTokens:     []string{"NextToken"},
11553			OutputTokens:    []string{"NextToken"},
11554			LimitToken:      "MaxResults",
11555			TruncationToken: "",
11556		},
11557	}
11558
11559	if input == nil {
11560		input = &ListAttendeesInput{}
11561	}
11562
11563	output = &ListAttendeesOutput{}
11564	req = c.newRequest(op, input, output)
11565	return
11566}
11567
11568// ListAttendees API operation for Amazon Chime.
11569//
11570// Lists the attendees for the specified Amazon Chime SDK meeting. For more
11571// information about the Amazon Chime SDK, see Using the Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
11572// in the Amazon Chime Developer Guide.
11573//
11574// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11575// with awserr.Error's Code and Message methods to get detailed information about
11576// the error.
11577//
11578// See the AWS API reference guide for Amazon Chime's
11579// API operation ListAttendees for usage and error information.
11580//
11581// Returned Error Types:
11582//   * BadRequestException
11583//   The input parameters don't match the service's restrictions.
11584//
11585//   * ForbiddenException
11586//   The client is permanently forbidden from making the request.
11587//
11588//   * NotFoundException
11589//   One or more of the resources in the request does not exist in the system.
11590//
11591//   * ThrottledClientException
11592//   The client exceeded its request rate limit.
11593//
11594//   * UnauthorizedClientException
11595//   The client is not currently authorized to make the request.
11596//
11597//   * ServiceUnavailableException
11598//   The service is currently unavailable.
11599//
11600//   * ServiceFailureException
11601//   The service encountered an unexpected error.
11602//
11603// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAttendees
11604func (c *Chime) ListAttendees(input *ListAttendeesInput) (*ListAttendeesOutput, error) {
11605	req, out := c.ListAttendeesRequest(input)
11606	return out, req.Send()
11607}
11608
11609// ListAttendeesWithContext is the same as ListAttendees with the addition of
11610// the ability to pass a context and additional request options.
11611//
11612// See ListAttendees for details on how to use this API operation.
11613//
11614// The context must be non-nil and will be used for request cancellation. If
11615// the context is nil a panic will occur. In the future the SDK may create
11616// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11617// for more information on using Contexts.
11618func (c *Chime) ListAttendeesWithContext(ctx aws.Context, input *ListAttendeesInput, opts ...request.Option) (*ListAttendeesOutput, error) {
11619	req, out := c.ListAttendeesRequest(input)
11620	req.SetContext(ctx)
11621	req.ApplyOptions(opts...)
11622	return out, req.Send()
11623}
11624
11625// ListAttendeesPages iterates over the pages of a ListAttendees operation,
11626// calling the "fn" function with the response data for each page. To stop
11627// iterating, return false from the fn function.
11628//
11629// See ListAttendees method for more information on how to use this operation.
11630//
11631// Note: This operation can generate multiple requests to a service.
11632//
11633//    // Example iterating over at most 3 pages of a ListAttendees operation.
11634//    pageNum := 0
11635//    err := client.ListAttendeesPages(params,
11636//        func(page *chime.ListAttendeesOutput, lastPage bool) bool {
11637//            pageNum++
11638//            fmt.Println(page)
11639//            return pageNum <= 3
11640//        })
11641//
11642func (c *Chime) ListAttendeesPages(input *ListAttendeesInput, fn func(*ListAttendeesOutput, bool) bool) error {
11643	return c.ListAttendeesPagesWithContext(aws.BackgroundContext(), input, fn)
11644}
11645
11646// ListAttendeesPagesWithContext same as ListAttendeesPages except
11647// it takes a Context and allows setting request options on the pages.
11648//
11649// The context must be non-nil and will be used for request cancellation. If
11650// the context is nil a panic will occur. In the future the SDK may create
11651// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11652// for more information on using Contexts.
11653func (c *Chime) ListAttendeesPagesWithContext(ctx aws.Context, input *ListAttendeesInput, fn func(*ListAttendeesOutput, bool) bool, opts ...request.Option) error {
11654	p := request.Pagination{
11655		NewRequest: func() (*request.Request, error) {
11656			var inCpy *ListAttendeesInput
11657			if input != nil {
11658				tmp := *input
11659				inCpy = &tmp
11660			}
11661			req, _ := c.ListAttendeesRequest(inCpy)
11662			req.SetContext(ctx)
11663			req.ApplyOptions(opts...)
11664			return req, nil
11665		},
11666	}
11667
11668	for p.Next() {
11669		if !fn(p.Page().(*ListAttendeesOutput), !p.HasNextPage()) {
11670			break
11671		}
11672	}
11673
11674	return p.Err()
11675}
11676
11677const opListBots = "ListBots"
11678
11679// ListBotsRequest generates a "aws/request.Request" representing the
11680// client's request for the ListBots operation. The "output" return
11681// value will be populated with the request's response once the request completes
11682// successfully.
11683//
11684// Use "Send" method on the returned Request to send the API call to the service.
11685// the "output" return value is not valid until after Send returns without error.
11686//
11687// See ListBots for more information on using the ListBots
11688// API call, and error handling.
11689//
11690// This method is useful when you want to inject custom logic or configuration
11691// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11692//
11693//
11694//    // Example sending a request using the ListBotsRequest method.
11695//    req, resp := client.ListBotsRequest(params)
11696//
11697//    err := req.Send()
11698//    if err == nil { // resp is now filled
11699//        fmt.Println(resp)
11700//    }
11701//
11702// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListBots
11703func (c *Chime) ListBotsRequest(input *ListBotsInput) (req *request.Request, output *ListBotsOutput) {
11704	op := &request.Operation{
11705		Name:       opListBots,
11706		HTTPMethod: "GET",
11707		HTTPPath:   "/accounts/{accountId}/bots",
11708		Paginator: &request.Paginator{
11709			InputTokens:     []string{"NextToken"},
11710			OutputTokens:    []string{"NextToken"},
11711			LimitToken:      "MaxResults",
11712			TruncationToken: "",
11713		},
11714	}
11715
11716	if input == nil {
11717		input = &ListBotsInput{}
11718	}
11719
11720	output = &ListBotsOutput{}
11721	req = c.newRequest(op, input, output)
11722	return
11723}
11724
11725// ListBots API operation for Amazon Chime.
11726//
11727// Lists the bots associated with the administrator's Amazon Chime Enterprise
11728// account ID.
11729//
11730// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11731// with awserr.Error's Code and Message methods to get detailed information about
11732// the error.
11733//
11734// See the AWS API reference guide for Amazon Chime's
11735// API operation ListBots for usage and error information.
11736//
11737// Returned Error Types:
11738//   * ServiceUnavailableException
11739//   The service is currently unavailable.
11740//
11741//   * ServiceFailureException
11742//   The service encountered an unexpected error.
11743//
11744//   * ForbiddenException
11745//   The client is permanently forbidden from making the request.
11746//
11747//   * UnauthorizedClientException
11748//   The client is not currently authorized to make the request.
11749//
11750//   * BadRequestException
11751//   The input parameters don't match the service's restrictions.
11752//
11753//   * NotFoundException
11754//   One or more of the resources in the request does not exist in the system.
11755//
11756//   * ThrottledClientException
11757//   The client exceeded its request rate limit.
11758//
11759// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListBots
11760func (c *Chime) ListBots(input *ListBotsInput) (*ListBotsOutput, error) {
11761	req, out := c.ListBotsRequest(input)
11762	return out, req.Send()
11763}
11764
11765// ListBotsWithContext is the same as ListBots with the addition of
11766// the ability to pass a context and additional request options.
11767//
11768// See ListBots for details on how to use this API operation.
11769//
11770// The context must be non-nil and will be used for request cancellation. If
11771// the context is nil a panic will occur. In the future the SDK may create
11772// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11773// for more information on using Contexts.
11774func (c *Chime) ListBotsWithContext(ctx aws.Context, input *ListBotsInput, opts ...request.Option) (*ListBotsOutput, error) {
11775	req, out := c.ListBotsRequest(input)
11776	req.SetContext(ctx)
11777	req.ApplyOptions(opts...)
11778	return out, req.Send()
11779}
11780
11781// ListBotsPages iterates over the pages of a ListBots operation,
11782// calling the "fn" function with the response data for each page. To stop
11783// iterating, return false from the fn function.
11784//
11785// See ListBots method for more information on how to use this operation.
11786//
11787// Note: This operation can generate multiple requests to a service.
11788//
11789//    // Example iterating over at most 3 pages of a ListBots operation.
11790//    pageNum := 0
11791//    err := client.ListBotsPages(params,
11792//        func(page *chime.ListBotsOutput, lastPage bool) bool {
11793//            pageNum++
11794//            fmt.Println(page)
11795//            return pageNum <= 3
11796//        })
11797//
11798func (c *Chime) ListBotsPages(input *ListBotsInput, fn func(*ListBotsOutput, bool) bool) error {
11799	return c.ListBotsPagesWithContext(aws.BackgroundContext(), input, fn)
11800}
11801
11802// ListBotsPagesWithContext same as ListBotsPages except
11803// it takes a Context and allows setting request options on the pages.
11804//
11805// The context must be non-nil and will be used for request cancellation. If
11806// the context is nil a panic will occur. In the future the SDK may create
11807// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11808// for more information on using Contexts.
11809func (c *Chime) ListBotsPagesWithContext(ctx aws.Context, input *ListBotsInput, fn func(*ListBotsOutput, bool) bool, opts ...request.Option) error {
11810	p := request.Pagination{
11811		NewRequest: func() (*request.Request, error) {
11812			var inCpy *ListBotsInput
11813			if input != nil {
11814				tmp := *input
11815				inCpy = &tmp
11816			}
11817			req, _ := c.ListBotsRequest(inCpy)
11818			req.SetContext(ctx)
11819			req.ApplyOptions(opts...)
11820			return req, nil
11821		},
11822	}
11823
11824	for p.Next() {
11825		if !fn(p.Page().(*ListBotsOutput), !p.HasNextPage()) {
11826			break
11827		}
11828	}
11829
11830	return p.Err()
11831}
11832
11833const opListChannelBans = "ListChannelBans"
11834
11835// ListChannelBansRequest generates a "aws/request.Request" representing the
11836// client's request for the ListChannelBans operation. The "output" return
11837// value will be populated with the request's response once the request completes
11838// successfully.
11839//
11840// Use "Send" method on the returned Request to send the API call to the service.
11841// the "output" return value is not valid until after Send returns without error.
11842//
11843// See ListChannelBans for more information on using the ListChannelBans
11844// API call, and error handling.
11845//
11846// This method is useful when you want to inject custom logic or configuration
11847// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11848//
11849//
11850//    // Example sending a request using the ListChannelBansRequest method.
11851//    req, resp := client.ListChannelBansRequest(params)
11852//
11853//    err := req.Send()
11854//    if err == nil { // resp is now filled
11855//        fmt.Println(resp)
11856//    }
11857//
11858// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelBans
11859func (c *Chime) ListChannelBansRequest(input *ListChannelBansInput) (req *request.Request, output *ListChannelBansOutput) {
11860	op := &request.Operation{
11861		Name:       opListChannelBans,
11862		HTTPMethod: "GET",
11863		HTTPPath:   "/channels/{channelArn}/bans",
11864		Paginator: &request.Paginator{
11865			InputTokens:     []string{"NextToken"},
11866			OutputTokens:    []string{"NextToken"},
11867			LimitToken:      "MaxResults",
11868			TruncationToken: "",
11869		},
11870	}
11871
11872	if input == nil {
11873		input = &ListChannelBansInput{}
11874	}
11875
11876	output = &ListChannelBansOutput{}
11877	req = c.newRequest(op, input, output)
11878	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
11879	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
11880	return
11881}
11882
11883// ListChannelBans API operation for Amazon Chime.
11884//
11885// Lists all the users banned from a particular channel.
11886//
11887// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
11888// of the user that makes the API call as the value in the header.
11889//
11890// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11891// with awserr.Error's Code and Message methods to get detailed information about
11892// the error.
11893//
11894// See the AWS API reference guide for Amazon Chime's
11895// API operation ListChannelBans for usage and error information.
11896//
11897// Returned Error Types:
11898//   * BadRequestException
11899//   The input parameters don't match the service's restrictions.
11900//
11901//   * ForbiddenException
11902//   The client is permanently forbidden from making the request.
11903//
11904//   * UnauthorizedClientException
11905//   The client is not currently authorized to make the request.
11906//
11907//   * ThrottledClientException
11908//   The client exceeded its request rate limit.
11909//
11910//   * ServiceUnavailableException
11911//   The service is currently unavailable.
11912//
11913//   * ServiceFailureException
11914//   The service encountered an unexpected error.
11915//
11916// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelBans
11917func (c *Chime) ListChannelBans(input *ListChannelBansInput) (*ListChannelBansOutput, error) {
11918	req, out := c.ListChannelBansRequest(input)
11919	return out, req.Send()
11920}
11921
11922// ListChannelBansWithContext is the same as ListChannelBans with the addition of
11923// the ability to pass a context and additional request options.
11924//
11925// See ListChannelBans for details on how to use this API operation.
11926//
11927// The context must be non-nil and will be used for request cancellation. If
11928// the context is nil a panic will occur. In the future the SDK may create
11929// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11930// for more information on using Contexts.
11931func (c *Chime) ListChannelBansWithContext(ctx aws.Context, input *ListChannelBansInput, opts ...request.Option) (*ListChannelBansOutput, error) {
11932	req, out := c.ListChannelBansRequest(input)
11933	req.SetContext(ctx)
11934	req.ApplyOptions(opts...)
11935	return out, req.Send()
11936}
11937
11938// ListChannelBansPages iterates over the pages of a ListChannelBans operation,
11939// calling the "fn" function with the response data for each page. To stop
11940// iterating, return false from the fn function.
11941//
11942// See ListChannelBans method for more information on how to use this operation.
11943//
11944// Note: This operation can generate multiple requests to a service.
11945//
11946//    // Example iterating over at most 3 pages of a ListChannelBans operation.
11947//    pageNum := 0
11948//    err := client.ListChannelBansPages(params,
11949//        func(page *chime.ListChannelBansOutput, lastPage bool) bool {
11950//            pageNum++
11951//            fmt.Println(page)
11952//            return pageNum <= 3
11953//        })
11954//
11955func (c *Chime) ListChannelBansPages(input *ListChannelBansInput, fn func(*ListChannelBansOutput, bool) bool) error {
11956	return c.ListChannelBansPagesWithContext(aws.BackgroundContext(), input, fn)
11957}
11958
11959// ListChannelBansPagesWithContext same as ListChannelBansPages except
11960// it takes a Context and allows setting request options on the pages.
11961//
11962// The context must be non-nil and will be used for request cancellation. If
11963// the context is nil a panic will occur. In the future the SDK may create
11964// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11965// for more information on using Contexts.
11966func (c *Chime) ListChannelBansPagesWithContext(ctx aws.Context, input *ListChannelBansInput, fn func(*ListChannelBansOutput, bool) bool, opts ...request.Option) error {
11967	p := request.Pagination{
11968		NewRequest: func() (*request.Request, error) {
11969			var inCpy *ListChannelBansInput
11970			if input != nil {
11971				tmp := *input
11972				inCpy = &tmp
11973			}
11974			req, _ := c.ListChannelBansRequest(inCpy)
11975			req.SetContext(ctx)
11976			req.ApplyOptions(opts...)
11977			return req, nil
11978		},
11979	}
11980
11981	for p.Next() {
11982		if !fn(p.Page().(*ListChannelBansOutput), !p.HasNextPage()) {
11983			break
11984		}
11985	}
11986
11987	return p.Err()
11988}
11989
11990const opListChannelMemberships = "ListChannelMemberships"
11991
11992// ListChannelMembershipsRequest generates a "aws/request.Request" representing the
11993// client's request for the ListChannelMemberships operation. The "output" return
11994// value will be populated with the request's response once the request completes
11995// successfully.
11996//
11997// Use "Send" method on the returned Request to send the API call to the service.
11998// the "output" return value is not valid until after Send returns without error.
11999//
12000// See ListChannelMemberships for more information on using the ListChannelMemberships
12001// API call, and error handling.
12002//
12003// This method is useful when you want to inject custom logic or configuration
12004// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12005//
12006//
12007//    // Example sending a request using the ListChannelMembershipsRequest method.
12008//    req, resp := client.ListChannelMembershipsRequest(params)
12009//
12010//    err := req.Send()
12011//    if err == nil { // resp is now filled
12012//        fmt.Println(resp)
12013//    }
12014//
12015// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMemberships
12016func (c *Chime) ListChannelMembershipsRequest(input *ListChannelMembershipsInput) (req *request.Request, output *ListChannelMembershipsOutput) {
12017	op := &request.Operation{
12018		Name:       opListChannelMemberships,
12019		HTTPMethod: "GET",
12020		HTTPPath:   "/channels/{channelArn}/memberships",
12021		Paginator: &request.Paginator{
12022			InputTokens:     []string{"NextToken"},
12023			OutputTokens:    []string{"NextToken"},
12024			LimitToken:      "MaxResults",
12025			TruncationToken: "",
12026		},
12027	}
12028
12029	if input == nil {
12030		input = &ListChannelMembershipsInput{}
12031	}
12032
12033	output = &ListChannelMembershipsOutput{}
12034	req = c.newRequest(op, input, output)
12035	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
12036	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
12037	return
12038}
12039
12040// ListChannelMemberships API operation for Amazon Chime.
12041//
12042// Lists all channel memberships in a channel.
12043//
12044// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
12045// of the user that makes the API call as the value in the header.
12046//
12047// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12048// with awserr.Error's Code and Message methods to get detailed information about
12049// the error.
12050//
12051// See the AWS API reference guide for Amazon Chime's
12052// API operation ListChannelMemberships for usage and error information.
12053//
12054// Returned Error Types:
12055//   * BadRequestException
12056//   The input parameters don't match the service's restrictions.
12057//
12058//   * ForbiddenException
12059//   The client is permanently forbidden from making the request.
12060//
12061//   * UnauthorizedClientException
12062//   The client is not currently authorized to make the request.
12063//
12064//   * ThrottledClientException
12065//   The client exceeded its request rate limit.
12066//
12067//   * ServiceUnavailableException
12068//   The service is currently unavailable.
12069//
12070//   * ServiceFailureException
12071//   The service encountered an unexpected error.
12072//
12073// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMemberships
12074func (c *Chime) ListChannelMemberships(input *ListChannelMembershipsInput) (*ListChannelMembershipsOutput, error) {
12075	req, out := c.ListChannelMembershipsRequest(input)
12076	return out, req.Send()
12077}
12078
12079// ListChannelMembershipsWithContext is the same as ListChannelMemberships with the addition of
12080// the ability to pass a context and additional request options.
12081//
12082// See ListChannelMemberships for details on how to use this API operation.
12083//
12084// The context must be non-nil and will be used for request cancellation. If
12085// the context is nil a panic will occur. In the future the SDK may create
12086// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12087// for more information on using Contexts.
12088func (c *Chime) ListChannelMembershipsWithContext(ctx aws.Context, input *ListChannelMembershipsInput, opts ...request.Option) (*ListChannelMembershipsOutput, error) {
12089	req, out := c.ListChannelMembershipsRequest(input)
12090	req.SetContext(ctx)
12091	req.ApplyOptions(opts...)
12092	return out, req.Send()
12093}
12094
12095// ListChannelMembershipsPages iterates over the pages of a ListChannelMemberships operation,
12096// calling the "fn" function with the response data for each page. To stop
12097// iterating, return false from the fn function.
12098//
12099// See ListChannelMemberships method for more information on how to use this operation.
12100//
12101// Note: This operation can generate multiple requests to a service.
12102//
12103//    // Example iterating over at most 3 pages of a ListChannelMemberships operation.
12104//    pageNum := 0
12105//    err := client.ListChannelMembershipsPages(params,
12106//        func(page *chime.ListChannelMembershipsOutput, lastPage bool) bool {
12107//            pageNum++
12108//            fmt.Println(page)
12109//            return pageNum <= 3
12110//        })
12111//
12112func (c *Chime) ListChannelMembershipsPages(input *ListChannelMembershipsInput, fn func(*ListChannelMembershipsOutput, bool) bool) error {
12113	return c.ListChannelMembershipsPagesWithContext(aws.BackgroundContext(), input, fn)
12114}
12115
12116// ListChannelMembershipsPagesWithContext same as ListChannelMembershipsPages except
12117// it takes a Context and allows setting request options on the pages.
12118//
12119// The context must be non-nil and will be used for request cancellation. If
12120// the context is nil a panic will occur. In the future the SDK may create
12121// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12122// for more information on using Contexts.
12123func (c *Chime) ListChannelMembershipsPagesWithContext(ctx aws.Context, input *ListChannelMembershipsInput, fn func(*ListChannelMembershipsOutput, bool) bool, opts ...request.Option) error {
12124	p := request.Pagination{
12125		NewRequest: func() (*request.Request, error) {
12126			var inCpy *ListChannelMembershipsInput
12127			if input != nil {
12128				tmp := *input
12129				inCpy = &tmp
12130			}
12131			req, _ := c.ListChannelMembershipsRequest(inCpy)
12132			req.SetContext(ctx)
12133			req.ApplyOptions(opts...)
12134			return req, nil
12135		},
12136	}
12137
12138	for p.Next() {
12139		if !fn(p.Page().(*ListChannelMembershipsOutput), !p.HasNextPage()) {
12140			break
12141		}
12142	}
12143
12144	return p.Err()
12145}
12146
12147const opListChannelMembershipsForAppInstanceUser = "ListChannelMembershipsForAppInstanceUser"
12148
12149// ListChannelMembershipsForAppInstanceUserRequest generates a "aws/request.Request" representing the
12150// client's request for the ListChannelMembershipsForAppInstanceUser operation. The "output" return
12151// value will be populated with the request's response once the request completes
12152// successfully.
12153//
12154// Use "Send" method on the returned Request to send the API call to the service.
12155// the "output" return value is not valid until after Send returns without error.
12156//
12157// See ListChannelMembershipsForAppInstanceUser for more information on using the ListChannelMembershipsForAppInstanceUser
12158// API call, and error handling.
12159//
12160// This method is useful when you want to inject custom logic or configuration
12161// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12162//
12163//
12164//    // Example sending a request using the ListChannelMembershipsForAppInstanceUserRequest method.
12165//    req, resp := client.ListChannelMembershipsForAppInstanceUserRequest(params)
12166//
12167//    err := req.Send()
12168//    if err == nil { // resp is now filled
12169//        fmt.Println(resp)
12170//    }
12171//
12172// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMembershipsForAppInstanceUser
12173func (c *Chime) ListChannelMembershipsForAppInstanceUserRequest(input *ListChannelMembershipsForAppInstanceUserInput) (req *request.Request, output *ListChannelMembershipsForAppInstanceUserOutput) {
12174	op := &request.Operation{
12175		Name:       opListChannelMembershipsForAppInstanceUser,
12176		HTTPMethod: "GET",
12177		HTTPPath:   "/channels?scope=app-instance-user-memberships",
12178		Paginator: &request.Paginator{
12179			InputTokens:     []string{"NextToken"},
12180			OutputTokens:    []string{"NextToken"},
12181			LimitToken:      "MaxResults",
12182			TruncationToken: "",
12183		},
12184	}
12185
12186	if input == nil {
12187		input = &ListChannelMembershipsForAppInstanceUserInput{}
12188	}
12189
12190	output = &ListChannelMembershipsForAppInstanceUserOutput{}
12191	req = c.newRequest(op, input, output)
12192	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
12193	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
12194	return
12195}
12196
12197// ListChannelMembershipsForAppInstanceUser API operation for Amazon Chime.
12198//
12199// Lists all channels that a particular AppInstanceUser is a part of. Only an
12200// AppInstanceAdmin can call the API with a user ARN that is not their own.
12201//
12202// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
12203// of the user that makes the API call as the value in the header.
12204//
12205// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12206// with awserr.Error's Code and Message methods to get detailed information about
12207// the error.
12208//
12209// See the AWS API reference guide for Amazon Chime's
12210// API operation ListChannelMembershipsForAppInstanceUser for usage and error information.
12211//
12212// Returned Error Types:
12213//   * BadRequestException
12214//   The input parameters don't match the service's restrictions.
12215//
12216//   * ForbiddenException
12217//   The client is permanently forbidden from making the request.
12218//
12219//   * UnauthorizedClientException
12220//   The client is not currently authorized to make the request.
12221//
12222//   * ThrottledClientException
12223//   The client exceeded its request rate limit.
12224//
12225//   * ServiceUnavailableException
12226//   The service is currently unavailable.
12227//
12228//   * ServiceFailureException
12229//   The service encountered an unexpected error.
12230//
12231// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMembershipsForAppInstanceUser
12232func (c *Chime) ListChannelMembershipsForAppInstanceUser(input *ListChannelMembershipsForAppInstanceUserInput) (*ListChannelMembershipsForAppInstanceUserOutput, error) {
12233	req, out := c.ListChannelMembershipsForAppInstanceUserRequest(input)
12234	return out, req.Send()
12235}
12236
12237// ListChannelMembershipsForAppInstanceUserWithContext is the same as ListChannelMembershipsForAppInstanceUser with the addition of
12238// the ability to pass a context and additional request options.
12239//
12240// See ListChannelMembershipsForAppInstanceUser for details on how to use this API operation.
12241//
12242// The context must be non-nil and will be used for request cancellation. If
12243// the context is nil a panic will occur. In the future the SDK may create
12244// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12245// for more information on using Contexts.
12246func (c *Chime) ListChannelMembershipsForAppInstanceUserWithContext(ctx aws.Context, input *ListChannelMembershipsForAppInstanceUserInput, opts ...request.Option) (*ListChannelMembershipsForAppInstanceUserOutput, error) {
12247	req, out := c.ListChannelMembershipsForAppInstanceUserRequest(input)
12248	req.SetContext(ctx)
12249	req.ApplyOptions(opts...)
12250	return out, req.Send()
12251}
12252
12253// ListChannelMembershipsForAppInstanceUserPages iterates over the pages of a ListChannelMembershipsForAppInstanceUser operation,
12254// calling the "fn" function with the response data for each page. To stop
12255// iterating, return false from the fn function.
12256//
12257// See ListChannelMembershipsForAppInstanceUser method for more information on how to use this operation.
12258//
12259// Note: This operation can generate multiple requests to a service.
12260//
12261//    // Example iterating over at most 3 pages of a ListChannelMembershipsForAppInstanceUser operation.
12262//    pageNum := 0
12263//    err := client.ListChannelMembershipsForAppInstanceUserPages(params,
12264//        func(page *chime.ListChannelMembershipsForAppInstanceUserOutput, lastPage bool) bool {
12265//            pageNum++
12266//            fmt.Println(page)
12267//            return pageNum <= 3
12268//        })
12269//
12270func (c *Chime) ListChannelMembershipsForAppInstanceUserPages(input *ListChannelMembershipsForAppInstanceUserInput, fn func(*ListChannelMembershipsForAppInstanceUserOutput, bool) bool) error {
12271	return c.ListChannelMembershipsForAppInstanceUserPagesWithContext(aws.BackgroundContext(), input, fn)
12272}
12273
12274// ListChannelMembershipsForAppInstanceUserPagesWithContext same as ListChannelMembershipsForAppInstanceUserPages except
12275// it takes a Context and allows setting request options on the pages.
12276//
12277// The context must be non-nil and will be used for request cancellation. If
12278// the context is nil a panic will occur. In the future the SDK may create
12279// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12280// for more information on using Contexts.
12281func (c *Chime) ListChannelMembershipsForAppInstanceUserPagesWithContext(ctx aws.Context, input *ListChannelMembershipsForAppInstanceUserInput, fn func(*ListChannelMembershipsForAppInstanceUserOutput, bool) bool, opts ...request.Option) error {
12282	p := request.Pagination{
12283		NewRequest: func() (*request.Request, error) {
12284			var inCpy *ListChannelMembershipsForAppInstanceUserInput
12285			if input != nil {
12286				tmp := *input
12287				inCpy = &tmp
12288			}
12289			req, _ := c.ListChannelMembershipsForAppInstanceUserRequest(inCpy)
12290			req.SetContext(ctx)
12291			req.ApplyOptions(opts...)
12292			return req, nil
12293		},
12294	}
12295
12296	for p.Next() {
12297		if !fn(p.Page().(*ListChannelMembershipsForAppInstanceUserOutput), !p.HasNextPage()) {
12298			break
12299		}
12300	}
12301
12302	return p.Err()
12303}
12304
12305const opListChannelMessages = "ListChannelMessages"
12306
12307// ListChannelMessagesRequest generates a "aws/request.Request" representing the
12308// client's request for the ListChannelMessages operation. The "output" return
12309// value will be populated with the request's response once the request completes
12310// successfully.
12311//
12312// Use "Send" method on the returned Request to send the API call to the service.
12313// the "output" return value is not valid until after Send returns without error.
12314//
12315// See ListChannelMessages for more information on using the ListChannelMessages
12316// API call, and error handling.
12317//
12318// This method is useful when you want to inject custom logic or configuration
12319// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12320//
12321//
12322//    // Example sending a request using the ListChannelMessagesRequest method.
12323//    req, resp := client.ListChannelMessagesRequest(params)
12324//
12325//    err := req.Send()
12326//    if err == nil { // resp is now filled
12327//        fmt.Println(resp)
12328//    }
12329//
12330// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMessages
12331func (c *Chime) ListChannelMessagesRequest(input *ListChannelMessagesInput) (req *request.Request, output *ListChannelMessagesOutput) {
12332	op := &request.Operation{
12333		Name:       opListChannelMessages,
12334		HTTPMethod: "GET",
12335		HTTPPath:   "/channels/{channelArn}/messages",
12336		Paginator: &request.Paginator{
12337			InputTokens:     []string{"NextToken"},
12338			OutputTokens:    []string{"NextToken"},
12339			LimitToken:      "MaxResults",
12340			TruncationToken: "",
12341		},
12342	}
12343
12344	if input == nil {
12345		input = &ListChannelMessagesInput{}
12346	}
12347
12348	output = &ListChannelMessagesOutput{}
12349	req = c.newRequest(op, input, output)
12350	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
12351	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
12352	return
12353}
12354
12355// ListChannelMessages API operation for Amazon Chime.
12356//
12357// List all the messages in a channel. Returns a paginated list of ChannelMessages.
12358// By default, sorted by creation timestamp in descending order.
12359//
12360// Redacted messages appear in the results as empty, since they are only redacted,
12361// not deleted. Deleted messages do not appear in the results. This action always
12362// returns the latest version of an edited message.
12363//
12364// Also, the x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
12365// of the user that makes the API call as the value in the header.
12366//
12367// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12368// with awserr.Error's Code and Message methods to get detailed information about
12369// the error.
12370//
12371// See the AWS API reference guide for Amazon Chime's
12372// API operation ListChannelMessages for usage and error information.
12373//
12374// Returned Error Types:
12375//   * BadRequestException
12376//   The input parameters don't match the service's restrictions.
12377//
12378//   * ForbiddenException
12379//   The client is permanently forbidden from making the request.
12380//
12381//   * UnauthorizedClientException
12382//   The client is not currently authorized to make the request.
12383//
12384//   * ThrottledClientException
12385//   The client exceeded its request rate limit.
12386//
12387//   * ServiceUnavailableException
12388//   The service is currently unavailable.
12389//
12390//   * ServiceFailureException
12391//   The service encountered an unexpected error.
12392//
12393// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMessages
12394func (c *Chime) ListChannelMessages(input *ListChannelMessagesInput) (*ListChannelMessagesOutput, error) {
12395	req, out := c.ListChannelMessagesRequest(input)
12396	return out, req.Send()
12397}
12398
12399// ListChannelMessagesWithContext is the same as ListChannelMessages with the addition of
12400// the ability to pass a context and additional request options.
12401//
12402// See ListChannelMessages for details on how to use this API operation.
12403//
12404// The context must be non-nil and will be used for request cancellation. If
12405// the context is nil a panic will occur. In the future the SDK may create
12406// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12407// for more information on using Contexts.
12408func (c *Chime) ListChannelMessagesWithContext(ctx aws.Context, input *ListChannelMessagesInput, opts ...request.Option) (*ListChannelMessagesOutput, error) {
12409	req, out := c.ListChannelMessagesRequest(input)
12410	req.SetContext(ctx)
12411	req.ApplyOptions(opts...)
12412	return out, req.Send()
12413}
12414
12415// ListChannelMessagesPages iterates over the pages of a ListChannelMessages operation,
12416// calling the "fn" function with the response data for each page. To stop
12417// iterating, return false from the fn function.
12418//
12419// See ListChannelMessages method for more information on how to use this operation.
12420//
12421// Note: This operation can generate multiple requests to a service.
12422//
12423//    // Example iterating over at most 3 pages of a ListChannelMessages operation.
12424//    pageNum := 0
12425//    err := client.ListChannelMessagesPages(params,
12426//        func(page *chime.ListChannelMessagesOutput, lastPage bool) bool {
12427//            pageNum++
12428//            fmt.Println(page)
12429//            return pageNum <= 3
12430//        })
12431//
12432func (c *Chime) ListChannelMessagesPages(input *ListChannelMessagesInput, fn func(*ListChannelMessagesOutput, bool) bool) error {
12433	return c.ListChannelMessagesPagesWithContext(aws.BackgroundContext(), input, fn)
12434}
12435
12436// ListChannelMessagesPagesWithContext same as ListChannelMessagesPages except
12437// it takes a Context and allows setting request options on the pages.
12438//
12439// The context must be non-nil and will be used for request cancellation. If
12440// the context is nil a panic will occur. In the future the SDK may create
12441// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12442// for more information on using Contexts.
12443func (c *Chime) ListChannelMessagesPagesWithContext(ctx aws.Context, input *ListChannelMessagesInput, fn func(*ListChannelMessagesOutput, bool) bool, opts ...request.Option) error {
12444	p := request.Pagination{
12445		NewRequest: func() (*request.Request, error) {
12446			var inCpy *ListChannelMessagesInput
12447			if input != nil {
12448				tmp := *input
12449				inCpy = &tmp
12450			}
12451			req, _ := c.ListChannelMessagesRequest(inCpy)
12452			req.SetContext(ctx)
12453			req.ApplyOptions(opts...)
12454			return req, nil
12455		},
12456	}
12457
12458	for p.Next() {
12459		if !fn(p.Page().(*ListChannelMessagesOutput), !p.HasNextPage()) {
12460			break
12461		}
12462	}
12463
12464	return p.Err()
12465}
12466
12467const opListChannelModerators = "ListChannelModerators"
12468
12469// ListChannelModeratorsRequest generates a "aws/request.Request" representing the
12470// client's request for the ListChannelModerators operation. The "output" return
12471// value will be populated with the request's response once the request completes
12472// successfully.
12473//
12474// Use "Send" method on the returned Request to send the API call to the service.
12475// the "output" return value is not valid until after Send returns without error.
12476//
12477// See ListChannelModerators for more information on using the ListChannelModerators
12478// API call, and error handling.
12479//
12480// This method is useful when you want to inject custom logic or configuration
12481// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12482//
12483//
12484//    // Example sending a request using the ListChannelModeratorsRequest method.
12485//    req, resp := client.ListChannelModeratorsRequest(params)
12486//
12487//    err := req.Send()
12488//    if err == nil { // resp is now filled
12489//        fmt.Println(resp)
12490//    }
12491//
12492// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelModerators
12493func (c *Chime) ListChannelModeratorsRequest(input *ListChannelModeratorsInput) (req *request.Request, output *ListChannelModeratorsOutput) {
12494	op := &request.Operation{
12495		Name:       opListChannelModerators,
12496		HTTPMethod: "GET",
12497		HTTPPath:   "/channels/{channelArn}/moderators",
12498		Paginator: &request.Paginator{
12499			InputTokens:     []string{"NextToken"},
12500			OutputTokens:    []string{"NextToken"},
12501			LimitToken:      "MaxResults",
12502			TruncationToken: "",
12503		},
12504	}
12505
12506	if input == nil {
12507		input = &ListChannelModeratorsInput{}
12508	}
12509
12510	output = &ListChannelModeratorsOutput{}
12511	req = c.newRequest(op, input, output)
12512	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
12513	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
12514	return
12515}
12516
12517// ListChannelModerators API operation for Amazon Chime.
12518//
12519// Lists all the moderators for a channel.
12520//
12521// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
12522// of the user that makes the API call as the value in the header.
12523//
12524// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12525// with awserr.Error's Code and Message methods to get detailed information about
12526// the error.
12527//
12528// See the AWS API reference guide for Amazon Chime's
12529// API operation ListChannelModerators for usage and error information.
12530//
12531// Returned Error Types:
12532//   * BadRequestException
12533//   The input parameters don't match the service's restrictions.
12534//
12535//   * ForbiddenException
12536//   The client is permanently forbidden from making the request.
12537//
12538//   * UnauthorizedClientException
12539//   The client is not currently authorized to make the request.
12540//
12541//   * ThrottledClientException
12542//   The client exceeded its request rate limit.
12543//
12544//   * ServiceUnavailableException
12545//   The service is currently unavailable.
12546//
12547//   * ServiceFailureException
12548//   The service encountered an unexpected error.
12549//
12550// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelModerators
12551func (c *Chime) ListChannelModerators(input *ListChannelModeratorsInput) (*ListChannelModeratorsOutput, error) {
12552	req, out := c.ListChannelModeratorsRequest(input)
12553	return out, req.Send()
12554}
12555
12556// ListChannelModeratorsWithContext is the same as ListChannelModerators with the addition of
12557// the ability to pass a context and additional request options.
12558//
12559// See ListChannelModerators for details on how to use this API operation.
12560//
12561// The context must be non-nil and will be used for request cancellation. If
12562// the context is nil a panic will occur. In the future the SDK may create
12563// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12564// for more information on using Contexts.
12565func (c *Chime) ListChannelModeratorsWithContext(ctx aws.Context, input *ListChannelModeratorsInput, opts ...request.Option) (*ListChannelModeratorsOutput, error) {
12566	req, out := c.ListChannelModeratorsRequest(input)
12567	req.SetContext(ctx)
12568	req.ApplyOptions(opts...)
12569	return out, req.Send()
12570}
12571
12572// ListChannelModeratorsPages iterates over the pages of a ListChannelModerators operation,
12573// calling the "fn" function with the response data for each page. To stop
12574// iterating, return false from the fn function.
12575//
12576// See ListChannelModerators method for more information on how to use this operation.
12577//
12578// Note: This operation can generate multiple requests to a service.
12579//
12580//    // Example iterating over at most 3 pages of a ListChannelModerators operation.
12581//    pageNum := 0
12582//    err := client.ListChannelModeratorsPages(params,
12583//        func(page *chime.ListChannelModeratorsOutput, lastPage bool) bool {
12584//            pageNum++
12585//            fmt.Println(page)
12586//            return pageNum <= 3
12587//        })
12588//
12589func (c *Chime) ListChannelModeratorsPages(input *ListChannelModeratorsInput, fn func(*ListChannelModeratorsOutput, bool) bool) error {
12590	return c.ListChannelModeratorsPagesWithContext(aws.BackgroundContext(), input, fn)
12591}
12592
12593// ListChannelModeratorsPagesWithContext same as ListChannelModeratorsPages except
12594// it takes a Context and allows setting request options on the pages.
12595//
12596// The context must be non-nil and will be used for request cancellation. If
12597// the context is nil a panic will occur. In the future the SDK may create
12598// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12599// for more information on using Contexts.
12600func (c *Chime) ListChannelModeratorsPagesWithContext(ctx aws.Context, input *ListChannelModeratorsInput, fn func(*ListChannelModeratorsOutput, bool) bool, opts ...request.Option) error {
12601	p := request.Pagination{
12602		NewRequest: func() (*request.Request, error) {
12603			var inCpy *ListChannelModeratorsInput
12604			if input != nil {
12605				tmp := *input
12606				inCpy = &tmp
12607			}
12608			req, _ := c.ListChannelModeratorsRequest(inCpy)
12609			req.SetContext(ctx)
12610			req.ApplyOptions(opts...)
12611			return req, nil
12612		},
12613	}
12614
12615	for p.Next() {
12616		if !fn(p.Page().(*ListChannelModeratorsOutput), !p.HasNextPage()) {
12617			break
12618		}
12619	}
12620
12621	return p.Err()
12622}
12623
12624const opListChannels = "ListChannels"
12625
12626// ListChannelsRequest generates a "aws/request.Request" representing the
12627// client's request for the ListChannels operation. The "output" return
12628// value will be populated with the request's response once the request completes
12629// successfully.
12630//
12631// Use "Send" method on the returned Request to send the API call to the service.
12632// the "output" return value is not valid until after Send returns without error.
12633//
12634// See ListChannels for more information on using the ListChannels
12635// API call, and error handling.
12636//
12637// This method is useful when you want to inject custom logic or configuration
12638// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12639//
12640//
12641//    // Example sending a request using the ListChannelsRequest method.
12642//    req, resp := client.ListChannelsRequest(params)
12643//
12644//    err := req.Send()
12645//    if err == nil { // resp is now filled
12646//        fmt.Println(resp)
12647//    }
12648//
12649// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannels
12650func (c *Chime) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) {
12651	op := &request.Operation{
12652		Name:       opListChannels,
12653		HTTPMethod: "GET",
12654		HTTPPath:   "/channels",
12655		Paginator: &request.Paginator{
12656			InputTokens:     []string{"NextToken"},
12657			OutputTokens:    []string{"NextToken"},
12658			LimitToken:      "MaxResults",
12659			TruncationToken: "",
12660		},
12661	}
12662
12663	if input == nil {
12664		input = &ListChannelsInput{}
12665	}
12666
12667	output = &ListChannelsOutput{}
12668	req = c.newRequest(op, input, output)
12669	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
12670	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
12671	return
12672}
12673
12674// ListChannels API operation for Amazon Chime.
12675//
12676// Lists all Channels created under a single Chime App as a paginated list.
12677// You can specify filters to narrow results.
12678//
12679// Functionality & restrictions
12680//
12681//    * Use privacy = PUBLIC to retrieve all public channels in the account.
12682//
12683//    * Only an AppInstanceAdmin can set privacy = PRIVATE to list the private
12684//    channels in an account.
12685//
12686// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
12687// of the user that makes the API call as the value in the header.
12688//
12689// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12690// with awserr.Error's Code and Message methods to get detailed information about
12691// the error.
12692//
12693// See the AWS API reference guide for Amazon Chime's
12694// API operation ListChannels for usage and error information.
12695//
12696// Returned Error Types:
12697//   * BadRequestException
12698//   The input parameters don't match the service's restrictions.
12699//
12700//   * ForbiddenException
12701//   The client is permanently forbidden from making the request.
12702//
12703//   * UnauthorizedClientException
12704//   The client is not currently authorized to make the request.
12705//
12706//   * ThrottledClientException
12707//   The client exceeded its request rate limit.
12708//
12709//   * ServiceUnavailableException
12710//   The service is currently unavailable.
12711//
12712//   * ServiceFailureException
12713//   The service encountered an unexpected error.
12714//
12715// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannels
12716func (c *Chime) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error) {
12717	req, out := c.ListChannelsRequest(input)
12718	return out, req.Send()
12719}
12720
12721// ListChannelsWithContext is the same as ListChannels with the addition of
12722// the ability to pass a context and additional request options.
12723//
12724// See ListChannels for details on how to use this API operation.
12725//
12726// The context must be non-nil and will be used for request cancellation. If
12727// the context is nil a panic will occur. In the future the SDK may create
12728// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12729// for more information on using Contexts.
12730func (c *Chime) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error) {
12731	req, out := c.ListChannelsRequest(input)
12732	req.SetContext(ctx)
12733	req.ApplyOptions(opts...)
12734	return out, req.Send()
12735}
12736
12737// ListChannelsPages iterates over the pages of a ListChannels operation,
12738// calling the "fn" function with the response data for each page. To stop
12739// iterating, return false from the fn function.
12740//
12741// See ListChannels method for more information on how to use this operation.
12742//
12743// Note: This operation can generate multiple requests to a service.
12744//
12745//    // Example iterating over at most 3 pages of a ListChannels operation.
12746//    pageNum := 0
12747//    err := client.ListChannelsPages(params,
12748//        func(page *chime.ListChannelsOutput, lastPage bool) bool {
12749//            pageNum++
12750//            fmt.Println(page)
12751//            return pageNum <= 3
12752//        })
12753//
12754func (c *Chime) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error {
12755	return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn)
12756}
12757
12758// ListChannelsPagesWithContext same as ListChannelsPages except
12759// it takes a Context and allows setting request options on the pages.
12760//
12761// The context must be non-nil and will be used for request cancellation. If
12762// the context is nil a panic will occur. In the future the SDK may create
12763// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12764// for more information on using Contexts.
12765func (c *Chime) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error {
12766	p := request.Pagination{
12767		NewRequest: func() (*request.Request, error) {
12768			var inCpy *ListChannelsInput
12769			if input != nil {
12770				tmp := *input
12771				inCpy = &tmp
12772			}
12773			req, _ := c.ListChannelsRequest(inCpy)
12774			req.SetContext(ctx)
12775			req.ApplyOptions(opts...)
12776			return req, nil
12777		},
12778	}
12779
12780	for p.Next() {
12781		if !fn(p.Page().(*ListChannelsOutput), !p.HasNextPage()) {
12782			break
12783		}
12784	}
12785
12786	return p.Err()
12787}
12788
12789const opListChannelsModeratedByAppInstanceUser = "ListChannelsModeratedByAppInstanceUser"
12790
12791// ListChannelsModeratedByAppInstanceUserRequest generates a "aws/request.Request" representing the
12792// client's request for the ListChannelsModeratedByAppInstanceUser operation. The "output" return
12793// value will be populated with the request's response once the request completes
12794// successfully.
12795//
12796// Use "Send" method on the returned Request to send the API call to the service.
12797// the "output" return value is not valid until after Send returns without error.
12798//
12799// See ListChannelsModeratedByAppInstanceUser for more information on using the ListChannelsModeratedByAppInstanceUser
12800// API call, and error handling.
12801//
12802// This method is useful when you want to inject custom logic or configuration
12803// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12804//
12805//
12806//    // Example sending a request using the ListChannelsModeratedByAppInstanceUserRequest method.
12807//    req, resp := client.ListChannelsModeratedByAppInstanceUserRequest(params)
12808//
12809//    err := req.Send()
12810//    if err == nil { // resp is now filled
12811//        fmt.Println(resp)
12812//    }
12813//
12814// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelsModeratedByAppInstanceUser
12815func (c *Chime) ListChannelsModeratedByAppInstanceUserRequest(input *ListChannelsModeratedByAppInstanceUserInput) (req *request.Request, output *ListChannelsModeratedByAppInstanceUserOutput) {
12816	op := &request.Operation{
12817		Name:       opListChannelsModeratedByAppInstanceUser,
12818		HTTPMethod: "GET",
12819		HTTPPath:   "/channels?scope=app-instance-user-moderated-channels",
12820		Paginator: &request.Paginator{
12821			InputTokens:     []string{"NextToken"},
12822			OutputTokens:    []string{"NextToken"},
12823			LimitToken:      "MaxResults",
12824			TruncationToken: "",
12825		},
12826	}
12827
12828	if input == nil {
12829		input = &ListChannelsModeratedByAppInstanceUserInput{}
12830	}
12831
12832	output = &ListChannelsModeratedByAppInstanceUserOutput{}
12833	req = c.newRequest(op, input, output)
12834	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
12835	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
12836	return
12837}
12838
12839// ListChannelsModeratedByAppInstanceUser API operation for Amazon Chime.
12840//
12841// A list of the channels moderated by an AppInstanceUser.
12842//
12843// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
12844// of the user that makes the API call as the value in the header.
12845//
12846// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12847// with awserr.Error's Code and Message methods to get detailed information about
12848// the error.
12849//
12850// See the AWS API reference guide for Amazon Chime's
12851// API operation ListChannelsModeratedByAppInstanceUser for usage and error information.
12852//
12853// Returned Error Types:
12854//   * BadRequestException
12855//   The input parameters don't match the service's restrictions.
12856//
12857//   * ForbiddenException
12858//   The client is permanently forbidden from making the request.
12859//
12860//   * UnauthorizedClientException
12861//   The client is not currently authorized to make the request.
12862//
12863//   * ThrottledClientException
12864//   The client exceeded its request rate limit.
12865//
12866//   * ServiceUnavailableException
12867//   The service is currently unavailable.
12868//
12869//   * ServiceFailureException
12870//   The service encountered an unexpected error.
12871//
12872// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelsModeratedByAppInstanceUser
12873func (c *Chime) ListChannelsModeratedByAppInstanceUser(input *ListChannelsModeratedByAppInstanceUserInput) (*ListChannelsModeratedByAppInstanceUserOutput, error) {
12874	req, out := c.ListChannelsModeratedByAppInstanceUserRequest(input)
12875	return out, req.Send()
12876}
12877
12878// ListChannelsModeratedByAppInstanceUserWithContext is the same as ListChannelsModeratedByAppInstanceUser with the addition of
12879// the ability to pass a context and additional request options.
12880//
12881// See ListChannelsModeratedByAppInstanceUser for details on how to use this API operation.
12882//
12883// The context must be non-nil and will be used for request cancellation. If
12884// the context is nil a panic will occur. In the future the SDK may create
12885// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12886// for more information on using Contexts.
12887func (c *Chime) ListChannelsModeratedByAppInstanceUserWithContext(ctx aws.Context, input *ListChannelsModeratedByAppInstanceUserInput, opts ...request.Option) (*ListChannelsModeratedByAppInstanceUserOutput, error) {
12888	req, out := c.ListChannelsModeratedByAppInstanceUserRequest(input)
12889	req.SetContext(ctx)
12890	req.ApplyOptions(opts...)
12891	return out, req.Send()
12892}
12893
12894// ListChannelsModeratedByAppInstanceUserPages iterates over the pages of a ListChannelsModeratedByAppInstanceUser operation,
12895// calling the "fn" function with the response data for each page. To stop
12896// iterating, return false from the fn function.
12897//
12898// See ListChannelsModeratedByAppInstanceUser method for more information on how to use this operation.
12899//
12900// Note: This operation can generate multiple requests to a service.
12901//
12902//    // Example iterating over at most 3 pages of a ListChannelsModeratedByAppInstanceUser operation.
12903//    pageNum := 0
12904//    err := client.ListChannelsModeratedByAppInstanceUserPages(params,
12905//        func(page *chime.ListChannelsModeratedByAppInstanceUserOutput, lastPage bool) bool {
12906//            pageNum++
12907//            fmt.Println(page)
12908//            return pageNum <= 3
12909//        })
12910//
12911func (c *Chime) ListChannelsModeratedByAppInstanceUserPages(input *ListChannelsModeratedByAppInstanceUserInput, fn func(*ListChannelsModeratedByAppInstanceUserOutput, bool) bool) error {
12912	return c.ListChannelsModeratedByAppInstanceUserPagesWithContext(aws.BackgroundContext(), input, fn)
12913}
12914
12915// ListChannelsModeratedByAppInstanceUserPagesWithContext same as ListChannelsModeratedByAppInstanceUserPages except
12916// it takes a Context and allows setting request options on the pages.
12917//
12918// The context must be non-nil and will be used for request cancellation. If
12919// the context is nil a panic will occur. In the future the SDK may create
12920// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12921// for more information on using Contexts.
12922func (c *Chime) ListChannelsModeratedByAppInstanceUserPagesWithContext(ctx aws.Context, input *ListChannelsModeratedByAppInstanceUserInput, fn func(*ListChannelsModeratedByAppInstanceUserOutput, bool) bool, opts ...request.Option) error {
12923	p := request.Pagination{
12924		NewRequest: func() (*request.Request, error) {
12925			var inCpy *ListChannelsModeratedByAppInstanceUserInput
12926			if input != nil {
12927				tmp := *input
12928				inCpy = &tmp
12929			}
12930			req, _ := c.ListChannelsModeratedByAppInstanceUserRequest(inCpy)
12931			req.SetContext(ctx)
12932			req.ApplyOptions(opts...)
12933			return req, nil
12934		},
12935	}
12936
12937	for p.Next() {
12938		if !fn(p.Page().(*ListChannelsModeratedByAppInstanceUserOutput), !p.HasNextPage()) {
12939			break
12940		}
12941	}
12942
12943	return p.Err()
12944}
12945
12946const opListMeetingTags = "ListMeetingTags"
12947
12948// ListMeetingTagsRequest generates a "aws/request.Request" representing the
12949// client's request for the ListMeetingTags operation. The "output" return
12950// value will be populated with the request's response once the request completes
12951// successfully.
12952//
12953// Use "Send" method on the returned Request to send the API call to the service.
12954// the "output" return value is not valid until after Send returns without error.
12955//
12956// See ListMeetingTags for more information on using the ListMeetingTags
12957// API call, and error handling.
12958//
12959// This method is useful when you want to inject custom logic or configuration
12960// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12961//
12962//
12963//    // Example sending a request using the ListMeetingTagsRequest method.
12964//    req, resp := client.ListMeetingTagsRequest(params)
12965//
12966//    err := req.Send()
12967//    if err == nil { // resp is now filled
12968//        fmt.Println(resp)
12969//    }
12970//
12971// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMeetingTags
12972func (c *Chime) ListMeetingTagsRequest(input *ListMeetingTagsInput) (req *request.Request, output *ListMeetingTagsOutput) {
12973	op := &request.Operation{
12974		Name:       opListMeetingTags,
12975		HTTPMethod: "GET",
12976		HTTPPath:   "/meetings/{meetingId}/tags",
12977	}
12978
12979	if input == nil {
12980		input = &ListMeetingTagsInput{}
12981	}
12982
12983	output = &ListMeetingTagsOutput{}
12984	req = c.newRequest(op, input, output)
12985	return
12986}
12987
12988// ListMeetingTags API operation for Amazon Chime.
12989//
12990// Lists the tags applied to an Amazon Chime SDK meeting resource.
12991//
12992// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12993// with awserr.Error's Code and Message methods to get detailed information about
12994// the error.
12995//
12996// See the AWS API reference guide for Amazon Chime's
12997// API operation ListMeetingTags for usage and error information.
12998//
12999// Returned Error Types:
13000//   * BadRequestException
13001//   The input parameters don't match the service's restrictions.
13002//
13003//   * ForbiddenException
13004//   The client is permanently forbidden from making the request.
13005//
13006//   * NotFoundException
13007//   One or more of the resources in the request does not exist in the system.
13008//
13009//   * ThrottledClientException
13010//   The client exceeded its request rate limit.
13011//
13012//   * UnauthorizedClientException
13013//   The client is not currently authorized to make the request.
13014//
13015//   * ServiceUnavailableException
13016//   The service is currently unavailable.
13017//
13018//   * ServiceFailureException
13019//   The service encountered an unexpected error.
13020//
13021// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMeetingTags
13022func (c *Chime) ListMeetingTags(input *ListMeetingTagsInput) (*ListMeetingTagsOutput, error) {
13023	req, out := c.ListMeetingTagsRequest(input)
13024	return out, req.Send()
13025}
13026
13027// ListMeetingTagsWithContext is the same as ListMeetingTags with the addition of
13028// the ability to pass a context and additional request options.
13029//
13030// See ListMeetingTags for details on how to use this API operation.
13031//
13032// The context must be non-nil and will be used for request cancellation. If
13033// the context is nil a panic will occur. In the future the SDK may create
13034// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13035// for more information on using Contexts.
13036func (c *Chime) ListMeetingTagsWithContext(ctx aws.Context, input *ListMeetingTagsInput, opts ...request.Option) (*ListMeetingTagsOutput, error) {
13037	req, out := c.ListMeetingTagsRequest(input)
13038	req.SetContext(ctx)
13039	req.ApplyOptions(opts...)
13040	return out, req.Send()
13041}
13042
13043const opListMeetings = "ListMeetings"
13044
13045// ListMeetingsRequest generates a "aws/request.Request" representing the
13046// client's request for the ListMeetings operation. The "output" return
13047// value will be populated with the request's response once the request completes
13048// successfully.
13049//
13050// Use "Send" method on the returned Request to send the API call to the service.
13051// the "output" return value is not valid until after Send returns without error.
13052//
13053// See ListMeetings for more information on using the ListMeetings
13054// API call, and error handling.
13055//
13056// This method is useful when you want to inject custom logic or configuration
13057// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13058//
13059//
13060//    // Example sending a request using the ListMeetingsRequest method.
13061//    req, resp := client.ListMeetingsRequest(params)
13062//
13063//    err := req.Send()
13064//    if err == nil { // resp is now filled
13065//        fmt.Println(resp)
13066//    }
13067//
13068// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMeetings
13069func (c *Chime) ListMeetingsRequest(input *ListMeetingsInput) (req *request.Request, output *ListMeetingsOutput) {
13070	op := &request.Operation{
13071		Name:       opListMeetings,
13072		HTTPMethod: "GET",
13073		HTTPPath:   "/meetings",
13074		Paginator: &request.Paginator{
13075			InputTokens:     []string{"NextToken"},
13076			OutputTokens:    []string{"NextToken"},
13077			LimitToken:      "MaxResults",
13078			TruncationToken: "",
13079		},
13080	}
13081
13082	if input == nil {
13083		input = &ListMeetingsInput{}
13084	}
13085
13086	output = &ListMeetingsOutput{}
13087	req = c.newRequest(op, input, output)
13088	return
13089}
13090
13091// ListMeetings API operation for Amazon Chime.
13092//
13093// Lists up to 100 active Amazon Chime SDK meetings. For more information about
13094// the Amazon Chime SDK, see Using the Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
13095// in the Amazon Chime Developer Guide.
13096//
13097// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13098// with awserr.Error's Code and Message methods to get detailed information about
13099// the error.
13100//
13101// See the AWS API reference guide for Amazon Chime's
13102// API operation ListMeetings for usage and error information.
13103//
13104// Returned Error Types:
13105//   * BadRequestException
13106//   The input parameters don't match the service's restrictions.
13107//
13108//   * ForbiddenException
13109//   The client is permanently forbidden from making the request.
13110//
13111//   * ThrottledClientException
13112//   The client exceeded its request rate limit.
13113//
13114//   * UnauthorizedClientException
13115//   The client is not currently authorized to make the request.
13116//
13117//   * ServiceUnavailableException
13118//   The service is currently unavailable.
13119//
13120//   * ServiceFailureException
13121//   The service encountered an unexpected error.
13122//
13123// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMeetings
13124func (c *Chime) ListMeetings(input *ListMeetingsInput) (*ListMeetingsOutput, error) {
13125	req, out := c.ListMeetingsRequest(input)
13126	return out, req.Send()
13127}
13128
13129// ListMeetingsWithContext is the same as ListMeetings with the addition of
13130// the ability to pass a context and additional request options.
13131//
13132// See ListMeetings for details on how to use this API operation.
13133//
13134// The context must be non-nil and will be used for request cancellation. If
13135// the context is nil a panic will occur. In the future the SDK may create
13136// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13137// for more information on using Contexts.
13138func (c *Chime) ListMeetingsWithContext(ctx aws.Context, input *ListMeetingsInput, opts ...request.Option) (*ListMeetingsOutput, error) {
13139	req, out := c.ListMeetingsRequest(input)
13140	req.SetContext(ctx)
13141	req.ApplyOptions(opts...)
13142	return out, req.Send()
13143}
13144
13145// ListMeetingsPages iterates over the pages of a ListMeetings operation,
13146// calling the "fn" function with the response data for each page. To stop
13147// iterating, return false from the fn function.
13148//
13149// See ListMeetings method for more information on how to use this operation.
13150//
13151// Note: This operation can generate multiple requests to a service.
13152//
13153//    // Example iterating over at most 3 pages of a ListMeetings operation.
13154//    pageNum := 0
13155//    err := client.ListMeetingsPages(params,
13156//        func(page *chime.ListMeetingsOutput, lastPage bool) bool {
13157//            pageNum++
13158//            fmt.Println(page)
13159//            return pageNum <= 3
13160//        })
13161//
13162func (c *Chime) ListMeetingsPages(input *ListMeetingsInput, fn func(*ListMeetingsOutput, bool) bool) error {
13163	return c.ListMeetingsPagesWithContext(aws.BackgroundContext(), input, fn)
13164}
13165
13166// ListMeetingsPagesWithContext same as ListMeetingsPages except
13167// it takes a Context and allows setting request options on the pages.
13168//
13169// The context must be non-nil and will be used for request cancellation. If
13170// the context is nil a panic will occur. In the future the SDK may create
13171// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13172// for more information on using Contexts.
13173func (c *Chime) ListMeetingsPagesWithContext(ctx aws.Context, input *ListMeetingsInput, fn func(*ListMeetingsOutput, bool) bool, opts ...request.Option) error {
13174	p := request.Pagination{
13175		NewRequest: func() (*request.Request, error) {
13176			var inCpy *ListMeetingsInput
13177			if input != nil {
13178				tmp := *input
13179				inCpy = &tmp
13180			}
13181			req, _ := c.ListMeetingsRequest(inCpy)
13182			req.SetContext(ctx)
13183			req.ApplyOptions(opts...)
13184			return req, nil
13185		},
13186	}
13187
13188	for p.Next() {
13189		if !fn(p.Page().(*ListMeetingsOutput), !p.HasNextPage()) {
13190			break
13191		}
13192	}
13193
13194	return p.Err()
13195}
13196
13197const opListPhoneNumberOrders = "ListPhoneNumberOrders"
13198
13199// ListPhoneNumberOrdersRequest generates a "aws/request.Request" representing the
13200// client's request for the ListPhoneNumberOrders operation. The "output" return
13201// value will be populated with the request's response once the request completes
13202// successfully.
13203//
13204// Use "Send" method on the returned Request to send the API call to the service.
13205// the "output" return value is not valid until after Send returns without error.
13206//
13207// See ListPhoneNumberOrders for more information on using the ListPhoneNumberOrders
13208// API call, and error handling.
13209//
13210// This method is useful when you want to inject custom logic or configuration
13211// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13212//
13213//
13214//    // Example sending a request using the ListPhoneNumberOrdersRequest method.
13215//    req, resp := client.ListPhoneNumberOrdersRequest(params)
13216//
13217//    err := req.Send()
13218//    if err == nil { // resp is now filled
13219//        fmt.Println(resp)
13220//    }
13221//
13222// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListPhoneNumberOrders
13223func (c *Chime) ListPhoneNumberOrdersRequest(input *ListPhoneNumberOrdersInput) (req *request.Request, output *ListPhoneNumberOrdersOutput) {
13224	op := &request.Operation{
13225		Name:       opListPhoneNumberOrders,
13226		HTTPMethod: "GET",
13227		HTTPPath:   "/phone-number-orders",
13228		Paginator: &request.Paginator{
13229			InputTokens:     []string{"NextToken"},
13230			OutputTokens:    []string{"NextToken"},
13231			LimitToken:      "MaxResults",
13232			TruncationToken: "",
13233		},
13234	}
13235
13236	if input == nil {
13237		input = &ListPhoneNumberOrdersInput{}
13238	}
13239
13240	output = &ListPhoneNumberOrdersOutput{}
13241	req = c.newRequest(op, input, output)
13242	return
13243}
13244
13245// ListPhoneNumberOrders API operation for Amazon Chime.
13246//
13247// Lists the phone number orders for the administrator's Amazon Chime account.
13248//
13249// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13250// with awserr.Error's Code and Message methods to get detailed information about
13251// the error.
13252//
13253// See the AWS API reference guide for Amazon Chime's
13254// API operation ListPhoneNumberOrders for usage and error information.
13255//
13256// Returned Error Types:
13257//   * UnauthorizedClientException
13258//   The client is not currently authorized to make the request.
13259//
13260//   * ForbiddenException
13261//   The client is permanently forbidden from making the request.
13262//
13263//   * BadRequestException
13264//   The input parameters don't match the service's restrictions.
13265//
13266//   * ThrottledClientException
13267//   The client exceeded its request rate limit.
13268//
13269//   * ServiceUnavailableException
13270//   The service is currently unavailable.
13271//
13272//   * ServiceFailureException
13273//   The service encountered an unexpected error.
13274//
13275// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListPhoneNumberOrders
13276func (c *Chime) ListPhoneNumberOrders(input *ListPhoneNumberOrdersInput) (*ListPhoneNumberOrdersOutput, error) {
13277	req, out := c.ListPhoneNumberOrdersRequest(input)
13278	return out, req.Send()
13279}
13280
13281// ListPhoneNumberOrdersWithContext is the same as ListPhoneNumberOrders with the addition of
13282// the ability to pass a context and additional request options.
13283//
13284// See ListPhoneNumberOrders for details on how to use this API operation.
13285//
13286// The context must be non-nil and will be used for request cancellation. If
13287// the context is nil a panic will occur. In the future the SDK may create
13288// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13289// for more information on using Contexts.
13290func (c *Chime) ListPhoneNumberOrdersWithContext(ctx aws.Context, input *ListPhoneNumberOrdersInput, opts ...request.Option) (*ListPhoneNumberOrdersOutput, error) {
13291	req, out := c.ListPhoneNumberOrdersRequest(input)
13292	req.SetContext(ctx)
13293	req.ApplyOptions(opts...)
13294	return out, req.Send()
13295}
13296
13297// ListPhoneNumberOrdersPages iterates over the pages of a ListPhoneNumberOrders operation,
13298// calling the "fn" function with the response data for each page. To stop
13299// iterating, return false from the fn function.
13300//
13301// See ListPhoneNumberOrders method for more information on how to use this operation.
13302//
13303// Note: This operation can generate multiple requests to a service.
13304//
13305//    // Example iterating over at most 3 pages of a ListPhoneNumberOrders operation.
13306//    pageNum := 0
13307//    err := client.ListPhoneNumberOrdersPages(params,
13308//        func(page *chime.ListPhoneNumberOrdersOutput, lastPage bool) bool {
13309//            pageNum++
13310//            fmt.Println(page)
13311//            return pageNum <= 3
13312//        })
13313//
13314func (c *Chime) ListPhoneNumberOrdersPages(input *ListPhoneNumberOrdersInput, fn func(*ListPhoneNumberOrdersOutput, bool) bool) error {
13315	return c.ListPhoneNumberOrdersPagesWithContext(aws.BackgroundContext(), input, fn)
13316}
13317
13318// ListPhoneNumberOrdersPagesWithContext same as ListPhoneNumberOrdersPages except
13319// it takes a Context and allows setting request options on the pages.
13320//
13321// The context must be non-nil and will be used for request cancellation. If
13322// the context is nil a panic will occur. In the future the SDK may create
13323// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13324// for more information on using Contexts.
13325func (c *Chime) ListPhoneNumberOrdersPagesWithContext(ctx aws.Context, input *ListPhoneNumberOrdersInput, fn func(*ListPhoneNumberOrdersOutput, bool) bool, opts ...request.Option) error {
13326	p := request.Pagination{
13327		NewRequest: func() (*request.Request, error) {
13328			var inCpy *ListPhoneNumberOrdersInput
13329			if input != nil {
13330				tmp := *input
13331				inCpy = &tmp
13332			}
13333			req, _ := c.ListPhoneNumberOrdersRequest(inCpy)
13334			req.SetContext(ctx)
13335			req.ApplyOptions(opts...)
13336			return req, nil
13337		},
13338	}
13339
13340	for p.Next() {
13341		if !fn(p.Page().(*ListPhoneNumberOrdersOutput), !p.HasNextPage()) {
13342			break
13343		}
13344	}
13345
13346	return p.Err()
13347}
13348
13349const opListPhoneNumbers = "ListPhoneNumbers"
13350
13351// ListPhoneNumbersRequest generates a "aws/request.Request" representing the
13352// client's request for the ListPhoneNumbers operation. The "output" return
13353// value will be populated with the request's response once the request completes
13354// successfully.
13355//
13356// Use "Send" method on the returned Request to send the API call to the service.
13357// the "output" return value is not valid until after Send returns without error.
13358//
13359// See ListPhoneNumbers for more information on using the ListPhoneNumbers
13360// API call, and error handling.
13361//
13362// This method is useful when you want to inject custom logic or configuration
13363// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13364//
13365//
13366//    // Example sending a request using the ListPhoneNumbersRequest method.
13367//    req, resp := client.ListPhoneNumbersRequest(params)
13368//
13369//    err := req.Send()
13370//    if err == nil { // resp is now filled
13371//        fmt.Println(resp)
13372//    }
13373//
13374// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListPhoneNumbers
13375func (c *Chime) ListPhoneNumbersRequest(input *ListPhoneNumbersInput) (req *request.Request, output *ListPhoneNumbersOutput) {
13376	op := &request.Operation{
13377		Name:       opListPhoneNumbers,
13378		HTTPMethod: "GET",
13379		HTTPPath:   "/phone-numbers",
13380		Paginator: &request.Paginator{
13381			InputTokens:     []string{"NextToken"},
13382			OutputTokens:    []string{"NextToken"},
13383			LimitToken:      "MaxResults",
13384			TruncationToken: "",
13385		},
13386	}
13387
13388	if input == nil {
13389		input = &ListPhoneNumbersInput{}
13390	}
13391
13392	output = &ListPhoneNumbersOutput{}
13393	req = c.newRequest(op, input, output)
13394	return
13395}
13396
13397// ListPhoneNumbers API operation for Amazon Chime.
13398//
13399// Lists the phone numbers for the specified Amazon Chime account, Amazon Chime
13400// user, Amazon Chime Voice Connector, or Amazon Chime Voice Connector group.
13401//
13402// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13403// with awserr.Error's Code and Message methods to get detailed information about
13404// the error.
13405//
13406// See the AWS API reference guide for Amazon Chime's
13407// API operation ListPhoneNumbers for usage and error information.
13408//
13409// Returned Error Types:
13410//   * UnauthorizedClientException
13411//   The client is not currently authorized to make the request.
13412//
13413//   * ForbiddenException
13414//   The client is permanently forbidden from making the request.
13415//
13416//   * BadRequestException
13417//   The input parameters don't match the service's restrictions.
13418//
13419//   * NotFoundException
13420//   One or more of the resources in the request does not exist in the system.
13421//
13422//   * ThrottledClientException
13423//   The client exceeded its request rate limit.
13424//
13425//   * ServiceUnavailableException
13426//   The service is currently unavailable.
13427//
13428//   * ServiceFailureException
13429//   The service encountered an unexpected error.
13430//
13431// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListPhoneNumbers
13432func (c *Chime) ListPhoneNumbers(input *ListPhoneNumbersInput) (*ListPhoneNumbersOutput, error) {
13433	req, out := c.ListPhoneNumbersRequest(input)
13434	return out, req.Send()
13435}
13436
13437// ListPhoneNumbersWithContext is the same as ListPhoneNumbers with the addition of
13438// the ability to pass a context and additional request options.
13439//
13440// See ListPhoneNumbers for details on how to use this API operation.
13441//
13442// The context must be non-nil and will be used for request cancellation. If
13443// the context is nil a panic will occur. In the future the SDK may create
13444// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13445// for more information on using Contexts.
13446func (c *Chime) ListPhoneNumbersWithContext(ctx aws.Context, input *ListPhoneNumbersInput, opts ...request.Option) (*ListPhoneNumbersOutput, error) {
13447	req, out := c.ListPhoneNumbersRequest(input)
13448	req.SetContext(ctx)
13449	req.ApplyOptions(opts...)
13450	return out, req.Send()
13451}
13452
13453// ListPhoneNumbersPages iterates over the pages of a ListPhoneNumbers operation,
13454// calling the "fn" function with the response data for each page. To stop
13455// iterating, return false from the fn function.
13456//
13457// See ListPhoneNumbers method for more information on how to use this operation.
13458//
13459// Note: This operation can generate multiple requests to a service.
13460//
13461//    // Example iterating over at most 3 pages of a ListPhoneNumbers operation.
13462//    pageNum := 0
13463//    err := client.ListPhoneNumbersPages(params,
13464//        func(page *chime.ListPhoneNumbersOutput, lastPage bool) bool {
13465//            pageNum++
13466//            fmt.Println(page)
13467//            return pageNum <= 3
13468//        })
13469//
13470func (c *Chime) ListPhoneNumbersPages(input *ListPhoneNumbersInput, fn func(*ListPhoneNumbersOutput, bool) bool) error {
13471	return c.ListPhoneNumbersPagesWithContext(aws.BackgroundContext(), input, fn)
13472}
13473
13474// ListPhoneNumbersPagesWithContext same as ListPhoneNumbersPages except
13475// it takes a Context and allows setting request options on the pages.
13476//
13477// The context must be non-nil and will be used for request cancellation. If
13478// the context is nil a panic will occur. In the future the SDK may create
13479// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13480// for more information on using Contexts.
13481func (c *Chime) ListPhoneNumbersPagesWithContext(ctx aws.Context, input *ListPhoneNumbersInput, fn func(*ListPhoneNumbersOutput, bool) bool, opts ...request.Option) error {
13482	p := request.Pagination{
13483		NewRequest: func() (*request.Request, error) {
13484			var inCpy *ListPhoneNumbersInput
13485			if input != nil {
13486				tmp := *input
13487				inCpy = &tmp
13488			}
13489			req, _ := c.ListPhoneNumbersRequest(inCpy)
13490			req.SetContext(ctx)
13491			req.ApplyOptions(opts...)
13492			return req, nil
13493		},
13494	}
13495
13496	for p.Next() {
13497		if !fn(p.Page().(*ListPhoneNumbersOutput), !p.HasNextPage()) {
13498			break
13499		}
13500	}
13501
13502	return p.Err()
13503}
13504
13505const opListProxySessions = "ListProxySessions"
13506
13507// ListProxySessionsRequest generates a "aws/request.Request" representing the
13508// client's request for the ListProxySessions operation. The "output" return
13509// value will be populated with the request's response once the request completes
13510// successfully.
13511//
13512// Use "Send" method on the returned Request to send the API call to the service.
13513// the "output" return value is not valid until after Send returns without error.
13514//
13515// See ListProxySessions for more information on using the ListProxySessions
13516// API call, and error handling.
13517//
13518// This method is useful when you want to inject custom logic or configuration
13519// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13520//
13521//
13522//    // Example sending a request using the ListProxySessionsRequest method.
13523//    req, resp := client.ListProxySessionsRequest(params)
13524//
13525//    err := req.Send()
13526//    if err == nil { // resp is now filled
13527//        fmt.Println(resp)
13528//    }
13529//
13530// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListProxySessions
13531func (c *Chime) ListProxySessionsRequest(input *ListProxySessionsInput) (req *request.Request, output *ListProxySessionsOutput) {
13532	op := &request.Operation{
13533		Name:       opListProxySessions,
13534		HTTPMethod: "GET",
13535		HTTPPath:   "/voice-connectors/{voiceConnectorId}/proxy-sessions",
13536		Paginator: &request.Paginator{
13537			InputTokens:     []string{"NextToken"},
13538			OutputTokens:    []string{"NextToken"},
13539			LimitToken:      "MaxResults",
13540			TruncationToken: "",
13541		},
13542	}
13543
13544	if input == nil {
13545		input = &ListProxySessionsInput{}
13546	}
13547
13548	output = &ListProxySessionsOutput{}
13549	req = c.newRequest(op, input, output)
13550	return
13551}
13552
13553// ListProxySessions API operation for Amazon Chime.
13554//
13555// Lists the proxy sessions for the specified Amazon Chime Voice Connector.
13556//
13557// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13558// with awserr.Error's Code and Message methods to get detailed information about
13559// the error.
13560//
13561// See the AWS API reference guide for Amazon Chime's
13562// API operation ListProxySessions for usage and error information.
13563//
13564// Returned Error Types:
13565//   * UnauthorizedClientException
13566//   The client is not currently authorized to make the request.
13567//
13568//   * NotFoundException
13569//   One or more of the resources in the request does not exist in the system.
13570//
13571//   * ForbiddenException
13572//   The client is permanently forbidden from making the request.
13573//
13574//   * BadRequestException
13575//   The input parameters don't match the service's restrictions.
13576//
13577//   * ThrottledClientException
13578//   The client exceeded its request rate limit.
13579//
13580//   * ServiceUnavailableException
13581//   The service is currently unavailable.
13582//
13583//   * ServiceFailureException
13584//   The service encountered an unexpected error.
13585//
13586// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListProxySessions
13587func (c *Chime) ListProxySessions(input *ListProxySessionsInput) (*ListProxySessionsOutput, error) {
13588	req, out := c.ListProxySessionsRequest(input)
13589	return out, req.Send()
13590}
13591
13592// ListProxySessionsWithContext is the same as ListProxySessions with the addition of
13593// the ability to pass a context and additional request options.
13594//
13595// See ListProxySessions for details on how to use this API operation.
13596//
13597// The context must be non-nil and will be used for request cancellation. If
13598// the context is nil a panic will occur. In the future the SDK may create
13599// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13600// for more information on using Contexts.
13601func (c *Chime) ListProxySessionsWithContext(ctx aws.Context, input *ListProxySessionsInput, opts ...request.Option) (*ListProxySessionsOutput, error) {
13602	req, out := c.ListProxySessionsRequest(input)
13603	req.SetContext(ctx)
13604	req.ApplyOptions(opts...)
13605	return out, req.Send()
13606}
13607
13608// ListProxySessionsPages iterates over the pages of a ListProxySessions operation,
13609// calling the "fn" function with the response data for each page. To stop
13610// iterating, return false from the fn function.
13611//
13612// See ListProxySessions method for more information on how to use this operation.
13613//
13614// Note: This operation can generate multiple requests to a service.
13615//
13616//    // Example iterating over at most 3 pages of a ListProxySessions operation.
13617//    pageNum := 0
13618//    err := client.ListProxySessionsPages(params,
13619//        func(page *chime.ListProxySessionsOutput, lastPage bool) bool {
13620//            pageNum++
13621//            fmt.Println(page)
13622//            return pageNum <= 3
13623//        })
13624//
13625func (c *Chime) ListProxySessionsPages(input *ListProxySessionsInput, fn func(*ListProxySessionsOutput, bool) bool) error {
13626	return c.ListProxySessionsPagesWithContext(aws.BackgroundContext(), input, fn)
13627}
13628
13629// ListProxySessionsPagesWithContext same as ListProxySessionsPages except
13630// it takes a Context and allows setting request options on the pages.
13631//
13632// The context must be non-nil and will be used for request cancellation. If
13633// the context is nil a panic will occur. In the future the SDK may create
13634// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13635// for more information on using Contexts.
13636func (c *Chime) ListProxySessionsPagesWithContext(ctx aws.Context, input *ListProxySessionsInput, fn func(*ListProxySessionsOutput, bool) bool, opts ...request.Option) error {
13637	p := request.Pagination{
13638		NewRequest: func() (*request.Request, error) {
13639			var inCpy *ListProxySessionsInput
13640			if input != nil {
13641				tmp := *input
13642				inCpy = &tmp
13643			}
13644			req, _ := c.ListProxySessionsRequest(inCpy)
13645			req.SetContext(ctx)
13646			req.ApplyOptions(opts...)
13647			return req, nil
13648		},
13649	}
13650
13651	for p.Next() {
13652		if !fn(p.Page().(*ListProxySessionsOutput), !p.HasNextPage()) {
13653			break
13654		}
13655	}
13656
13657	return p.Err()
13658}
13659
13660const opListRoomMemberships = "ListRoomMemberships"
13661
13662// ListRoomMembershipsRequest generates a "aws/request.Request" representing the
13663// client's request for the ListRoomMemberships operation. The "output" return
13664// value will be populated with the request's response once the request completes
13665// successfully.
13666//
13667// Use "Send" method on the returned Request to send the API call to the service.
13668// the "output" return value is not valid until after Send returns without error.
13669//
13670// See ListRoomMemberships for more information on using the ListRoomMemberships
13671// API call, and error handling.
13672//
13673// This method is useful when you want to inject custom logic or configuration
13674// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13675//
13676//
13677//    // Example sending a request using the ListRoomMembershipsRequest method.
13678//    req, resp := client.ListRoomMembershipsRequest(params)
13679//
13680//    err := req.Send()
13681//    if err == nil { // resp is now filled
13682//        fmt.Println(resp)
13683//    }
13684//
13685// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRoomMemberships
13686func (c *Chime) ListRoomMembershipsRequest(input *ListRoomMembershipsInput) (req *request.Request, output *ListRoomMembershipsOutput) {
13687	op := &request.Operation{
13688		Name:       opListRoomMemberships,
13689		HTTPMethod: "GET",
13690		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}/memberships",
13691		Paginator: &request.Paginator{
13692			InputTokens:     []string{"NextToken"},
13693			OutputTokens:    []string{"NextToken"},
13694			LimitToken:      "MaxResults",
13695			TruncationToken: "",
13696		},
13697	}
13698
13699	if input == nil {
13700		input = &ListRoomMembershipsInput{}
13701	}
13702
13703	output = &ListRoomMembershipsOutput{}
13704	req = c.newRequest(op, input, output)
13705	return
13706}
13707
13708// ListRoomMemberships API operation for Amazon Chime.
13709//
13710// Lists the membership details for the specified room in an Amazon Chime Enterprise
13711// account, such as the members' IDs, email addresses, and names.
13712//
13713// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13714// with awserr.Error's Code and Message methods to get detailed information about
13715// the error.
13716//
13717// See the AWS API reference guide for Amazon Chime's
13718// API operation ListRoomMemberships for usage and error information.
13719//
13720// Returned Error Types:
13721//   * NotFoundException
13722//   One or more of the resources in the request does not exist in the system.
13723//
13724//   * BadRequestException
13725//   The input parameters don't match the service's restrictions.
13726//
13727//   * ForbiddenException
13728//   The client is permanently forbidden from making the request.
13729//
13730//   * UnauthorizedClientException
13731//   The client is not currently authorized to make the request.
13732//
13733//   * ThrottledClientException
13734//   The client exceeded its request rate limit.
13735//
13736//   * ServiceUnavailableException
13737//   The service is currently unavailable.
13738//
13739//   * ServiceFailureException
13740//   The service encountered an unexpected error.
13741//
13742// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRoomMemberships
13743func (c *Chime) ListRoomMemberships(input *ListRoomMembershipsInput) (*ListRoomMembershipsOutput, error) {
13744	req, out := c.ListRoomMembershipsRequest(input)
13745	return out, req.Send()
13746}
13747
13748// ListRoomMembershipsWithContext is the same as ListRoomMemberships with the addition of
13749// the ability to pass a context and additional request options.
13750//
13751// See ListRoomMemberships for details on how to use this API operation.
13752//
13753// The context must be non-nil and will be used for request cancellation. If
13754// the context is nil a panic will occur. In the future the SDK may create
13755// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13756// for more information on using Contexts.
13757func (c *Chime) ListRoomMembershipsWithContext(ctx aws.Context, input *ListRoomMembershipsInput, opts ...request.Option) (*ListRoomMembershipsOutput, error) {
13758	req, out := c.ListRoomMembershipsRequest(input)
13759	req.SetContext(ctx)
13760	req.ApplyOptions(opts...)
13761	return out, req.Send()
13762}
13763
13764// ListRoomMembershipsPages iterates over the pages of a ListRoomMemberships operation,
13765// calling the "fn" function with the response data for each page. To stop
13766// iterating, return false from the fn function.
13767//
13768// See ListRoomMemberships method for more information on how to use this operation.
13769//
13770// Note: This operation can generate multiple requests to a service.
13771//
13772//    // Example iterating over at most 3 pages of a ListRoomMemberships operation.
13773//    pageNum := 0
13774//    err := client.ListRoomMembershipsPages(params,
13775//        func(page *chime.ListRoomMembershipsOutput, lastPage bool) bool {
13776//            pageNum++
13777//            fmt.Println(page)
13778//            return pageNum <= 3
13779//        })
13780//
13781func (c *Chime) ListRoomMembershipsPages(input *ListRoomMembershipsInput, fn func(*ListRoomMembershipsOutput, bool) bool) error {
13782	return c.ListRoomMembershipsPagesWithContext(aws.BackgroundContext(), input, fn)
13783}
13784
13785// ListRoomMembershipsPagesWithContext same as ListRoomMembershipsPages except
13786// it takes a Context and allows setting request options on the pages.
13787//
13788// The context must be non-nil and will be used for request cancellation. If
13789// the context is nil a panic will occur. In the future the SDK may create
13790// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13791// for more information on using Contexts.
13792func (c *Chime) ListRoomMembershipsPagesWithContext(ctx aws.Context, input *ListRoomMembershipsInput, fn func(*ListRoomMembershipsOutput, bool) bool, opts ...request.Option) error {
13793	p := request.Pagination{
13794		NewRequest: func() (*request.Request, error) {
13795			var inCpy *ListRoomMembershipsInput
13796			if input != nil {
13797				tmp := *input
13798				inCpy = &tmp
13799			}
13800			req, _ := c.ListRoomMembershipsRequest(inCpy)
13801			req.SetContext(ctx)
13802			req.ApplyOptions(opts...)
13803			return req, nil
13804		},
13805	}
13806
13807	for p.Next() {
13808		if !fn(p.Page().(*ListRoomMembershipsOutput), !p.HasNextPage()) {
13809			break
13810		}
13811	}
13812
13813	return p.Err()
13814}
13815
13816const opListRooms = "ListRooms"
13817
13818// ListRoomsRequest generates a "aws/request.Request" representing the
13819// client's request for the ListRooms operation. The "output" return
13820// value will be populated with the request's response once the request completes
13821// successfully.
13822//
13823// Use "Send" method on the returned Request to send the API call to the service.
13824// the "output" return value is not valid until after Send returns without error.
13825//
13826// See ListRooms for more information on using the ListRooms
13827// API call, and error handling.
13828//
13829// This method is useful when you want to inject custom logic or configuration
13830// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13831//
13832//
13833//    // Example sending a request using the ListRoomsRequest method.
13834//    req, resp := client.ListRoomsRequest(params)
13835//
13836//    err := req.Send()
13837//    if err == nil { // resp is now filled
13838//        fmt.Println(resp)
13839//    }
13840//
13841// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRooms
13842func (c *Chime) ListRoomsRequest(input *ListRoomsInput) (req *request.Request, output *ListRoomsOutput) {
13843	op := &request.Operation{
13844		Name:       opListRooms,
13845		HTTPMethod: "GET",
13846		HTTPPath:   "/accounts/{accountId}/rooms",
13847		Paginator: &request.Paginator{
13848			InputTokens:     []string{"NextToken"},
13849			OutputTokens:    []string{"NextToken"},
13850			LimitToken:      "MaxResults",
13851			TruncationToken: "",
13852		},
13853	}
13854
13855	if input == nil {
13856		input = &ListRoomsInput{}
13857	}
13858
13859	output = &ListRoomsOutput{}
13860	req = c.newRequest(op, input, output)
13861	return
13862}
13863
13864// ListRooms API operation for Amazon Chime.
13865//
13866// Lists the room details for the specified Amazon Chime Enterprise account.
13867// Optionally, filter the results by a member ID (user ID or bot ID) to see
13868// a list of rooms that the member belongs to.
13869//
13870// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13871// with awserr.Error's Code and Message methods to get detailed information about
13872// the error.
13873//
13874// See the AWS API reference guide for Amazon Chime's
13875// API operation ListRooms for usage and error information.
13876//
13877// Returned Error Types:
13878//   * NotFoundException
13879//   One or more of the resources in the request does not exist in the system.
13880//
13881//   * BadRequestException
13882//   The input parameters don't match the service's restrictions.
13883//
13884//   * ForbiddenException
13885//   The client is permanently forbidden from making the request.
13886//
13887//   * UnauthorizedClientException
13888//   The client is not currently authorized to make the request.
13889//
13890//   * ThrottledClientException
13891//   The client exceeded its request rate limit.
13892//
13893//   * ServiceUnavailableException
13894//   The service is currently unavailable.
13895//
13896//   * ServiceFailureException
13897//   The service encountered an unexpected error.
13898//
13899// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRooms
13900func (c *Chime) ListRooms(input *ListRoomsInput) (*ListRoomsOutput, error) {
13901	req, out := c.ListRoomsRequest(input)
13902	return out, req.Send()
13903}
13904
13905// ListRoomsWithContext is the same as ListRooms with the addition of
13906// the ability to pass a context and additional request options.
13907//
13908// See ListRooms for details on how to use this API operation.
13909//
13910// The context must be non-nil and will be used for request cancellation. If
13911// the context is nil a panic will occur. In the future the SDK may create
13912// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13913// for more information on using Contexts.
13914func (c *Chime) ListRoomsWithContext(ctx aws.Context, input *ListRoomsInput, opts ...request.Option) (*ListRoomsOutput, error) {
13915	req, out := c.ListRoomsRequest(input)
13916	req.SetContext(ctx)
13917	req.ApplyOptions(opts...)
13918	return out, req.Send()
13919}
13920
13921// ListRoomsPages iterates over the pages of a ListRooms operation,
13922// calling the "fn" function with the response data for each page. To stop
13923// iterating, return false from the fn function.
13924//
13925// See ListRooms method for more information on how to use this operation.
13926//
13927// Note: This operation can generate multiple requests to a service.
13928//
13929//    // Example iterating over at most 3 pages of a ListRooms operation.
13930//    pageNum := 0
13931//    err := client.ListRoomsPages(params,
13932//        func(page *chime.ListRoomsOutput, lastPage bool) bool {
13933//            pageNum++
13934//            fmt.Println(page)
13935//            return pageNum <= 3
13936//        })
13937//
13938func (c *Chime) ListRoomsPages(input *ListRoomsInput, fn func(*ListRoomsOutput, bool) bool) error {
13939	return c.ListRoomsPagesWithContext(aws.BackgroundContext(), input, fn)
13940}
13941
13942// ListRoomsPagesWithContext same as ListRoomsPages except
13943// it takes a Context and allows setting request options on the pages.
13944//
13945// The context must be non-nil and will be used for request cancellation. If
13946// the context is nil a panic will occur. In the future the SDK may create
13947// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13948// for more information on using Contexts.
13949func (c *Chime) ListRoomsPagesWithContext(ctx aws.Context, input *ListRoomsInput, fn func(*ListRoomsOutput, bool) bool, opts ...request.Option) error {
13950	p := request.Pagination{
13951		NewRequest: func() (*request.Request, error) {
13952			var inCpy *ListRoomsInput
13953			if input != nil {
13954				tmp := *input
13955				inCpy = &tmp
13956			}
13957			req, _ := c.ListRoomsRequest(inCpy)
13958			req.SetContext(ctx)
13959			req.ApplyOptions(opts...)
13960			return req, nil
13961		},
13962	}
13963
13964	for p.Next() {
13965		if !fn(p.Page().(*ListRoomsOutput), !p.HasNextPage()) {
13966			break
13967		}
13968	}
13969
13970	return p.Err()
13971}
13972
13973const opListSipMediaApplications = "ListSipMediaApplications"
13974
13975// ListSipMediaApplicationsRequest generates a "aws/request.Request" representing the
13976// client's request for the ListSipMediaApplications operation. The "output" return
13977// value will be populated with the request's response once the request completes
13978// successfully.
13979//
13980// Use "Send" method on the returned Request to send the API call to the service.
13981// the "output" return value is not valid until after Send returns without error.
13982//
13983// See ListSipMediaApplications for more information on using the ListSipMediaApplications
13984// API call, and error handling.
13985//
13986// This method is useful when you want to inject custom logic or configuration
13987// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13988//
13989//
13990//    // Example sending a request using the ListSipMediaApplicationsRequest method.
13991//    req, resp := client.ListSipMediaApplicationsRequest(params)
13992//
13993//    err := req.Send()
13994//    if err == nil { // resp is now filled
13995//        fmt.Println(resp)
13996//    }
13997//
13998// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSipMediaApplications
13999func (c *Chime) ListSipMediaApplicationsRequest(input *ListSipMediaApplicationsInput) (req *request.Request, output *ListSipMediaApplicationsOutput) {
14000	op := &request.Operation{
14001		Name:       opListSipMediaApplications,
14002		HTTPMethod: "GET",
14003		HTTPPath:   "/sip-media-applications",
14004		Paginator: &request.Paginator{
14005			InputTokens:     []string{"NextToken"},
14006			OutputTokens:    []string{"NextToken"},
14007			LimitToken:      "MaxResults",
14008			TruncationToken: "",
14009		},
14010	}
14011
14012	if input == nil {
14013		input = &ListSipMediaApplicationsInput{}
14014	}
14015
14016	output = &ListSipMediaApplicationsOutput{}
14017	req = c.newRequest(op, input, output)
14018	return
14019}
14020
14021// ListSipMediaApplications API operation for Amazon Chime.
14022//
14023// Lists the SIP media applications under the administrator's AWS account.
14024//
14025// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14026// with awserr.Error's Code and Message methods to get detailed information about
14027// the error.
14028//
14029// See the AWS API reference guide for Amazon Chime's
14030// API operation ListSipMediaApplications for usage and error information.
14031//
14032// Returned Error Types:
14033//   * UnauthorizedClientException
14034//   The client is not currently authorized to make the request.
14035//
14036//   * ForbiddenException
14037//   The client is permanently forbidden from making the request.
14038//
14039//   * BadRequestException
14040//   The input parameters don't match the service's restrictions.
14041//
14042//   * ThrottledClientException
14043//   The client exceeded its request rate limit.
14044//
14045//   * ServiceUnavailableException
14046//   The service is currently unavailable.
14047//
14048//   * ServiceFailureException
14049//   The service encountered an unexpected error.
14050//
14051// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSipMediaApplications
14052func (c *Chime) ListSipMediaApplications(input *ListSipMediaApplicationsInput) (*ListSipMediaApplicationsOutput, error) {
14053	req, out := c.ListSipMediaApplicationsRequest(input)
14054	return out, req.Send()
14055}
14056
14057// ListSipMediaApplicationsWithContext is the same as ListSipMediaApplications with the addition of
14058// the ability to pass a context and additional request options.
14059//
14060// See ListSipMediaApplications for details on how to use this API operation.
14061//
14062// The context must be non-nil and will be used for request cancellation. If
14063// the context is nil a panic will occur. In the future the SDK may create
14064// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14065// for more information on using Contexts.
14066func (c *Chime) ListSipMediaApplicationsWithContext(ctx aws.Context, input *ListSipMediaApplicationsInput, opts ...request.Option) (*ListSipMediaApplicationsOutput, error) {
14067	req, out := c.ListSipMediaApplicationsRequest(input)
14068	req.SetContext(ctx)
14069	req.ApplyOptions(opts...)
14070	return out, req.Send()
14071}
14072
14073// ListSipMediaApplicationsPages iterates over the pages of a ListSipMediaApplications operation,
14074// calling the "fn" function with the response data for each page. To stop
14075// iterating, return false from the fn function.
14076//
14077// See ListSipMediaApplications method for more information on how to use this operation.
14078//
14079// Note: This operation can generate multiple requests to a service.
14080//
14081//    // Example iterating over at most 3 pages of a ListSipMediaApplications operation.
14082//    pageNum := 0
14083//    err := client.ListSipMediaApplicationsPages(params,
14084//        func(page *chime.ListSipMediaApplicationsOutput, lastPage bool) bool {
14085//            pageNum++
14086//            fmt.Println(page)
14087//            return pageNum <= 3
14088//        })
14089//
14090func (c *Chime) ListSipMediaApplicationsPages(input *ListSipMediaApplicationsInput, fn func(*ListSipMediaApplicationsOutput, bool) bool) error {
14091	return c.ListSipMediaApplicationsPagesWithContext(aws.BackgroundContext(), input, fn)
14092}
14093
14094// ListSipMediaApplicationsPagesWithContext same as ListSipMediaApplicationsPages except
14095// it takes a Context and allows setting request options on the pages.
14096//
14097// The context must be non-nil and will be used for request cancellation. If
14098// the context is nil a panic will occur. In the future the SDK may create
14099// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14100// for more information on using Contexts.
14101func (c *Chime) ListSipMediaApplicationsPagesWithContext(ctx aws.Context, input *ListSipMediaApplicationsInput, fn func(*ListSipMediaApplicationsOutput, bool) bool, opts ...request.Option) error {
14102	p := request.Pagination{
14103		NewRequest: func() (*request.Request, error) {
14104			var inCpy *ListSipMediaApplicationsInput
14105			if input != nil {
14106				tmp := *input
14107				inCpy = &tmp
14108			}
14109			req, _ := c.ListSipMediaApplicationsRequest(inCpy)
14110			req.SetContext(ctx)
14111			req.ApplyOptions(opts...)
14112			return req, nil
14113		},
14114	}
14115
14116	for p.Next() {
14117		if !fn(p.Page().(*ListSipMediaApplicationsOutput), !p.HasNextPage()) {
14118			break
14119		}
14120	}
14121
14122	return p.Err()
14123}
14124
14125const opListSipRules = "ListSipRules"
14126
14127// ListSipRulesRequest generates a "aws/request.Request" representing the
14128// client's request for the ListSipRules operation. The "output" return
14129// value will be populated with the request's response once the request completes
14130// successfully.
14131//
14132// Use "Send" method on the returned Request to send the API call to the service.
14133// the "output" return value is not valid until after Send returns without error.
14134//
14135// See ListSipRules for more information on using the ListSipRules
14136// API call, and error handling.
14137//
14138// This method is useful when you want to inject custom logic or configuration
14139// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14140//
14141//
14142//    // Example sending a request using the ListSipRulesRequest method.
14143//    req, resp := client.ListSipRulesRequest(params)
14144//
14145//    err := req.Send()
14146//    if err == nil { // resp is now filled
14147//        fmt.Println(resp)
14148//    }
14149//
14150// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSipRules
14151func (c *Chime) ListSipRulesRequest(input *ListSipRulesInput) (req *request.Request, output *ListSipRulesOutput) {
14152	op := &request.Operation{
14153		Name:       opListSipRules,
14154		HTTPMethod: "GET",
14155		HTTPPath:   "/sip-rules",
14156		Paginator: &request.Paginator{
14157			InputTokens:     []string{"NextToken"},
14158			OutputTokens:    []string{"NextToken"},
14159			LimitToken:      "MaxResults",
14160			TruncationToken: "",
14161		},
14162	}
14163
14164	if input == nil {
14165		input = &ListSipRulesInput{}
14166	}
14167
14168	output = &ListSipRulesOutput{}
14169	req = c.newRequest(op, input, output)
14170	return
14171}
14172
14173// ListSipRules API operation for Amazon Chime.
14174//
14175// Lists the SIP rules under the administrator's AWS account.
14176//
14177// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14178// with awserr.Error's Code and Message methods to get detailed information about
14179// the error.
14180//
14181// See the AWS API reference guide for Amazon Chime's
14182// API operation ListSipRules for usage and error information.
14183//
14184// Returned Error Types:
14185//   * UnauthorizedClientException
14186//   The client is not currently authorized to make the request.
14187//
14188//   * ForbiddenException
14189//   The client is permanently forbidden from making the request.
14190//
14191//   * BadRequestException
14192//   The input parameters don't match the service's restrictions.
14193//
14194//   * ThrottledClientException
14195//   The client exceeded its request rate limit.
14196//
14197//   * ServiceUnavailableException
14198//   The service is currently unavailable.
14199//
14200//   * ServiceFailureException
14201//   The service encountered an unexpected error.
14202//
14203// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSipRules
14204func (c *Chime) ListSipRules(input *ListSipRulesInput) (*ListSipRulesOutput, error) {
14205	req, out := c.ListSipRulesRequest(input)
14206	return out, req.Send()
14207}
14208
14209// ListSipRulesWithContext is the same as ListSipRules with the addition of
14210// the ability to pass a context and additional request options.
14211//
14212// See ListSipRules for details on how to use this API operation.
14213//
14214// The context must be non-nil and will be used for request cancellation. If
14215// the context is nil a panic will occur. In the future the SDK may create
14216// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14217// for more information on using Contexts.
14218func (c *Chime) ListSipRulesWithContext(ctx aws.Context, input *ListSipRulesInput, opts ...request.Option) (*ListSipRulesOutput, error) {
14219	req, out := c.ListSipRulesRequest(input)
14220	req.SetContext(ctx)
14221	req.ApplyOptions(opts...)
14222	return out, req.Send()
14223}
14224
14225// ListSipRulesPages iterates over the pages of a ListSipRules operation,
14226// calling the "fn" function with the response data for each page. To stop
14227// iterating, return false from the fn function.
14228//
14229// See ListSipRules method for more information on how to use this operation.
14230//
14231// Note: This operation can generate multiple requests to a service.
14232//
14233//    // Example iterating over at most 3 pages of a ListSipRules operation.
14234//    pageNum := 0
14235//    err := client.ListSipRulesPages(params,
14236//        func(page *chime.ListSipRulesOutput, lastPage bool) bool {
14237//            pageNum++
14238//            fmt.Println(page)
14239//            return pageNum <= 3
14240//        })
14241//
14242func (c *Chime) ListSipRulesPages(input *ListSipRulesInput, fn func(*ListSipRulesOutput, bool) bool) error {
14243	return c.ListSipRulesPagesWithContext(aws.BackgroundContext(), input, fn)
14244}
14245
14246// ListSipRulesPagesWithContext same as ListSipRulesPages except
14247// it takes a Context and allows setting request options on the pages.
14248//
14249// The context must be non-nil and will be used for request cancellation. If
14250// the context is nil a panic will occur. In the future the SDK may create
14251// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14252// for more information on using Contexts.
14253func (c *Chime) ListSipRulesPagesWithContext(ctx aws.Context, input *ListSipRulesInput, fn func(*ListSipRulesOutput, bool) bool, opts ...request.Option) error {
14254	p := request.Pagination{
14255		NewRequest: func() (*request.Request, error) {
14256			var inCpy *ListSipRulesInput
14257			if input != nil {
14258				tmp := *input
14259				inCpy = &tmp
14260			}
14261			req, _ := c.ListSipRulesRequest(inCpy)
14262			req.SetContext(ctx)
14263			req.ApplyOptions(opts...)
14264			return req, nil
14265		},
14266	}
14267
14268	for p.Next() {
14269		if !fn(p.Page().(*ListSipRulesOutput), !p.HasNextPage()) {
14270			break
14271		}
14272	}
14273
14274	return p.Err()
14275}
14276
14277const opListSupportedPhoneNumberCountries = "ListSupportedPhoneNumberCountries"
14278
14279// ListSupportedPhoneNumberCountriesRequest generates a "aws/request.Request" representing the
14280// client's request for the ListSupportedPhoneNumberCountries operation. The "output" return
14281// value will be populated with the request's response once the request completes
14282// successfully.
14283//
14284// Use "Send" method on the returned Request to send the API call to the service.
14285// the "output" return value is not valid until after Send returns without error.
14286//
14287// See ListSupportedPhoneNumberCountries for more information on using the ListSupportedPhoneNumberCountries
14288// API call, and error handling.
14289//
14290// This method is useful when you want to inject custom logic or configuration
14291// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14292//
14293//
14294//    // Example sending a request using the ListSupportedPhoneNumberCountriesRequest method.
14295//    req, resp := client.ListSupportedPhoneNumberCountriesRequest(params)
14296//
14297//    err := req.Send()
14298//    if err == nil { // resp is now filled
14299//        fmt.Println(resp)
14300//    }
14301//
14302// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSupportedPhoneNumberCountries
14303func (c *Chime) ListSupportedPhoneNumberCountriesRequest(input *ListSupportedPhoneNumberCountriesInput) (req *request.Request, output *ListSupportedPhoneNumberCountriesOutput) {
14304	op := &request.Operation{
14305		Name:       opListSupportedPhoneNumberCountries,
14306		HTTPMethod: "GET",
14307		HTTPPath:   "/phone-number-countries",
14308	}
14309
14310	if input == nil {
14311		input = &ListSupportedPhoneNumberCountriesInput{}
14312	}
14313
14314	output = &ListSupportedPhoneNumberCountriesOutput{}
14315	req = c.newRequest(op, input, output)
14316	return
14317}
14318
14319// ListSupportedPhoneNumberCountries API operation for Amazon Chime.
14320//
14321// Lists supported phone number countries.
14322//
14323// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14324// with awserr.Error's Code and Message methods to get detailed information about
14325// the error.
14326//
14327// See the AWS API reference guide for Amazon Chime's
14328// API operation ListSupportedPhoneNumberCountries for usage and error information.
14329//
14330// Returned Error Types:
14331//   * BadRequestException
14332//   The input parameters don't match the service's restrictions.
14333//
14334//   * ForbiddenException
14335//   The client is permanently forbidden from making the request.
14336//
14337//   * AccessDeniedException
14338//   You don't have permissions to perform the requested operation.
14339//
14340//   * UnauthorizedClientException
14341//   The client is not currently authorized to make the request.
14342//
14343//   * ThrottledClientException
14344//   The client exceeded its request rate limit.
14345//
14346//   * ServiceUnavailableException
14347//   The service is currently unavailable.
14348//
14349//   * ServiceFailureException
14350//   The service encountered an unexpected error.
14351//
14352// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSupportedPhoneNumberCountries
14353func (c *Chime) ListSupportedPhoneNumberCountries(input *ListSupportedPhoneNumberCountriesInput) (*ListSupportedPhoneNumberCountriesOutput, error) {
14354	req, out := c.ListSupportedPhoneNumberCountriesRequest(input)
14355	return out, req.Send()
14356}
14357
14358// ListSupportedPhoneNumberCountriesWithContext is the same as ListSupportedPhoneNumberCountries with the addition of
14359// the ability to pass a context and additional request options.
14360//
14361// See ListSupportedPhoneNumberCountries for details on how to use this API operation.
14362//
14363// The context must be non-nil and will be used for request cancellation. If
14364// the context is nil a panic will occur. In the future the SDK may create
14365// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14366// for more information on using Contexts.
14367func (c *Chime) ListSupportedPhoneNumberCountriesWithContext(ctx aws.Context, input *ListSupportedPhoneNumberCountriesInput, opts ...request.Option) (*ListSupportedPhoneNumberCountriesOutput, error) {
14368	req, out := c.ListSupportedPhoneNumberCountriesRequest(input)
14369	req.SetContext(ctx)
14370	req.ApplyOptions(opts...)
14371	return out, req.Send()
14372}
14373
14374const opListTagsForResource = "ListTagsForResource"
14375
14376// ListTagsForResourceRequest generates a "aws/request.Request" representing the
14377// client's request for the ListTagsForResource operation. The "output" return
14378// value will be populated with the request's response once the request completes
14379// successfully.
14380//
14381// Use "Send" method on the returned Request to send the API call to the service.
14382// the "output" return value is not valid until after Send returns without error.
14383//
14384// See ListTagsForResource for more information on using the ListTagsForResource
14385// API call, and error handling.
14386//
14387// This method is useful when you want to inject custom logic or configuration
14388// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14389//
14390//
14391//    // Example sending a request using the ListTagsForResourceRequest method.
14392//    req, resp := client.ListTagsForResourceRequest(params)
14393//
14394//    err := req.Send()
14395//    if err == nil { // resp is now filled
14396//        fmt.Println(resp)
14397//    }
14398//
14399// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListTagsForResource
14400func (c *Chime) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
14401	op := &request.Operation{
14402		Name:       opListTagsForResource,
14403		HTTPMethod: "GET",
14404		HTTPPath:   "/tags",
14405	}
14406
14407	if input == nil {
14408		input = &ListTagsForResourceInput{}
14409	}
14410
14411	output = &ListTagsForResourceOutput{}
14412	req = c.newRequest(op, input, output)
14413	return
14414}
14415
14416// ListTagsForResource API operation for Amazon Chime.
14417//
14418// Lists the tags applied to an Amazon Chime SDK meeting resource.
14419//
14420// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14421// with awserr.Error's Code and Message methods to get detailed information about
14422// the error.
14423//
14424// See the AWS API reference guide for Amazon Chime's
14425// API operation ListTagsForResource for usage and error information.
14426//
14427// Returned Error Types:
14428//   * BadRequestException
14429//   The input parameters don't match the service's restrictions.
14430//
14431//   * ForbiddenException
14432//   The client is permanently forbidden from making the request.
14433//
14434//   * NotFoundException
14435//   One or more of the resources in the request does not exist in the system.
14436//
14437//   * UnauthorizedClientException
14438//   The client is not currently authorized to make the request.
14439//
14440//   * ServiceUnavailableException
14441//   The service is currently unavailable.
14442//
14443//   * ServiceFailureException
14444//   The service encountered an unexpected error.
14445//
14446// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListTagsForResource
14447func (c *Chime) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
14448	req, out := c.ListTagsForResourceRequest(input)
14449	return out, req.Send()
14450}
14451
14452// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
14453// the ability to pass a context and additional request options.
14454//
14455// See ListTagsForResource for details on how to use this API operation.
14456//
14457// The context must be non-nil and will be used for request cancellation. If
14458// the context is nil a panic will occur. In the future the SDK may create
14459// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14460// for more information on using Contexts.
14461func (c *Chime) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
14462	req, out := c.ListTagsForResourceRequest(input)
14463	req.SetContext(ctx)
14464	req.ApplyOptions(opts...)
14465	return out, req.Send()
14466}
14467
14468const opListUsers = "ListUsers"
14469
14470// ListUsersRequest generates a "aws/request.Request" representing the
14471// client's request for the ListUsers operation. The "output" return
14472// value will be populated with the request's response once the request completes
14473// successfully.
14474//
14475// Use "Send" method on the returned Request to send the API call to the service.
14476// the "output" return value is not valid until after Send returns without error.
14477//
14478// See ListUsers for more information on using the ListUsers
14479// API call, and error handling.
14480//
14481// This method is useful when you want to inject custom logic or configuration
14482// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14483//
14484//
14485//    // Example sending a request using the ListUsersRequest method.
14486//    req, resp := client.ListUsersRequest(params)
14487//
14488//    err := req.Send()
14489//    if err == nil { // resp is now filled
14490//        fmt.Println(resp)
14491//    }
14492//
14493// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListUsers
14494func (c *Chime) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) {
14495	op := &request.Operation{
14496		Name:       opListUsers,
14497		HTTPMethod: "GET",
14498		HTTPPath:   "/accounts/{accountId}/users",
14499		Paginator: &request.Paginator{
14500			InputTokens:     []string{"NextToken"},
14501			OutputTokens:    []string{"NextToken"},
14502			LimitToken:      "MaxResults",
14503			TruncationToken: "",
14504		},
14505	}
14506
14507	if input == nil {
14508		input = &ListUsersInput{}
14509	}
14510
14511	output = &ListUsersOutput{}
14512	req = c.newRequest(op, input, output)
14513	return
14514}
14515
14516// ListUsers API operation for Amazon Chime.
14517//
14518// Lists the users that belong to the specified Amazon Chime account. You can
14519// specify an email address to list only the user that the email address belongs
14520// to.
14521//
14522// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14523// with awserr.Error's Code and Message methods to get detailed information about
14524// the error.
14525//
14526// See the AWS API reference guide for Amazon Chime's
14527// API operation ListUsers for usage and error information.
14528//
14529// Returned Error Types:
14530//   * UnauthorizedClientException
14531//   The client is not currently authorized to make the request.
14532//
14533//   * NotFoundException
14534//   One or more of the resources in the request does not exist in the system.
14535//
14536//   * ForbiddenException
14537//   The client is permanently forbidden from making the request.
14538//
14539//   * BadRequestException
14540//   The input parameters don't match the service's restrictions.
14541//
14542//   * ThrottledClientException
14543//   The client exceeded its request rate limit.
14544//
14545//   * ServiceUnavailableException
14546//   The service is currently unavailable.
14547//
14548//   * ServiceFailureException
14549//   The service encountered an unexpected error.
14550//
14551// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListUsers
14552func (c *Chime) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) {
14553	req, out := c.ListUsersRequest(input)
14554	return out, req.Send()
14555}
14556
14557// ListUsersWithContext is the same as ListUsers with the addition of
14558// the ability to pass a context and additional request options.
14559//
14560// See ListUsers for details on how to use this API operation.
14561//
14562// The context must be non-nil and will be used for request cancellation. If
14563// the context is nil a panic will occur. In the future the SDK may create
14564// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14565// for more information on using Contexts.
14566func (c *Chime) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersOutput, error) {
14567	req, out := c.ListUsersRequest(input)
14568	req.SetContext(ctx)
14569	req.ApplyOptions(opts...)
14570	return out, req.Send()
14571}
14572
14573// ListUsersPages iterates over the pages of a ListUsers operation,
14574// calling the "fn" function with the response data for each page. To stop
14575// iterating, return false from the fn function.
14576//
14577// See ListUsers method for more information on how to use this operation.
14578//
14579// Note: This operation can generate multiple requests to a service.
14580//
14581//    // Example iterating over at most 3 pages of a ListUsers operation.
14582//    pageNum := 0
14583//    err := client.ListUsersPages(params,
14584//        func(page *chime.ListUsersOutput, lastPage bool) bool {
14585//            pageNum++
14586//            fmt.Println(page)
14587//            return pageNum <= 3
14588//        })
14589//
14590func (c *Chime) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error {
14591	return c.ListUsersPagesWithContext(aws.BackgroundContext(), input, fn)
14592}
14593
14594// ListUsersPagesWithContext same as ListUsersPages except
14595// it takes a Context and allows setting request options on the pages.
14596//
14597// The context must be non-nil and will be used for request cancellation. If
14598// the context is nil a panic will occur. In the future the SDK may create
14599// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14600// for more information on using Contexts.
14601func (c *Chime) ListUsersPagesWithContext(ctx aws.Context, input *ListUsersInput, fn func(*ListUsersOutput, bool) bool, opts ...request.Option) error {
14602	p := request.Pagination{
14603		NewRequest: func() (*request.Request, error) {
14604			var inCpy *ListUsersInput
14605			if input != nil {
14606				tmp := *input
14607				inCpy = &tmp
14608			}
14609			req, _ := c.ListUsersRequest(inCpy)
14610			req.SetContext(ctx)
14611			req.ApplyOptions(opts...)
14612			return req, nil
14613		},
14614	}
14615
14616	for p.Next() {
14617		if !fn(p.Page().(*ListUsersOutput), !p.HasNextPage()) {
14618			break
14619		}
14620	}
14621
14622	return p.Err()
14623}
14624
14625const opListVoiceConnectorGroups = "ListVoiceConnectorGroups"
14626
14627// ListVoiceConnectorGroupsRequest generates a "aws/request.Request" representing the
14628// client's request for the ListVoiceConnectorGroups operation. The "output" return
14629// value will be populated with the request's response once the request completes
14630// successfully.
14631//
14632// Use "Send" method on the returned Request to send the API call to the service.
14633// the "output" return value is not valid until after Send returns without error.
14634//
14635// See ListVoiceConnectorGroups for more information on using the ListVoiceConnectorGroups
14636// API call, and error handling.
14637//
14638// This method is useful when you want to inject custom logic or configuration
14639// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14640//
14641//
14642//    // Example sending a request using the ListVoiceConnectorGroupsRequest method.
14643//    req, resp := client.ListVoiceConnectorGroupsRequest(params)
14644//
14645//    err := req.Send()
14646//    if err == nil { // resp is now filled
14647//        fmt.Println(resp)
14648//    }
14649//
14650// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorGroups
14651func (c *Chime) ListVoiceConnectorGroupsRequest(input *ListVoiceConnectorGroupsInput) (req *request.Request, output *ListVoiceConnectorGroupsOutput) {
14652	op := &request.Operation{
14653		Name:       opListVoiceConnectorGroups,
14654		HTTPMethod: "GET",
14655		HTTPPath:   "/voice-connector-groups",
14656		Paginator: &request.Paginator{
14657			InputTokens:     []string{"NextToken"},
14658			OutputTokens:    []string{"NextToken"},
14659			LimitToken:      "MaxResults",
14660			TruncationToken: "",
14661		},
14662	}
14663
14664	if input == nil {
14665		input = &ListVoiceConnectorGroupsInput{}
14666	}
14667
14668	output = &ListVoiceConnectorGroupsOutput{}
14669	req = c.newRequest(op, input, output)
14670	return
14671}
14672
14673// ListVoiceConnectorGroups API operation for Amazon Chime.
14674//
14675// Lists the Amazon Chime Voice Connector groups for the administrator's AWS
14676// account.
14677//
14678// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14679// with awserr.Error's Code and Message methods to get detailed information about
14680// the error.
14681//
14682// See the AWS API reference guide for Amazon Chime's
14683// API operation ListVoiceConnectorGroups for usage and error information.
14684//
14685// Returned Error Types:
14686//   * UnauthorizedClientException
14687//   The client is not currently authorized to make the request.
14688//
14689//   * ForbiddenException
14690//   The client is permanently forbidden from making the request.
14691//
14692//   * BadRequestException
14693//   The input parameters don't match the service's restrictions.
14694//
14695//   * ThrottledClientException
14696//   The client exceeded its request rate limit.
14697//
14698//   * ServiceUnavailableException
14699//   The service is currently unavailable.
14700//
14701//   * ServiceFailureException
14702//   The service encountered an unexpected error.
14703//
14704// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorGroups
14705func (c *Chime) ListVoiceConnectorGroups(input *ListVoiceConnectorGroupsInput) (*ListVoiceConnectorGroupsOutput, error) {
14706	req, out := c.ListVoiceConnectorGroupsRequest(input)
14707	return out, req.Send()
14708}
14709
14710// ListVoiceConnectorGroupsWithContext is the same as ListVoiceConnectorGroups with the addition of
14711// the ability to pass a context and additional request options.
14712//
14713// See ListVoiceConnectorGroups for details on how to use this API operation.
14714//
14715// The context must be non-nil and will be used for request cancellation. If
14716// the context is nil a panic will occur. In the future the SDK may create
14717// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14718// for more information on using Contexts.
14719func (c *Chime) ListVoiceConnectorGroupsWithContext(ctx aws.Context, input *ListVoiceConnectorGroupsInput, opts ...request.Option) (*ListVoiceConnectorGroupsOutput, error) {
14720	req, out := c.ListVoiceConnectorGroupsRequest(input)
14721	req.SetContext(ctx)
14722	req.ApplyOptions(opts...)
14723	return out, req.Send()
14724}
14725
14726// ListVoiceConnectorGroupsPages iterates over the pages of a ListVoiceConnectorGroups operation,
14727// calling the "fn" function with the response data for each page. To stop
14728// iterating, return false from the fn function.
14729//
14730// See ListVoiceConnectorGroups method for more information on how to use this operation.
14731//
14732// Note: This operation can generate multiple requests to a service.
14733//
14734//    // Example iterating over at most 3 pages of a ListVoiceConnectorGroups operation.
14735//    pageNum := 0
14736//    err := client.ListVoiceConnectorGroupsPages(params,
14737//        func(page *chime.ListVoiceConnectorGroupsOutput, lastPage bool) bool {
14738//            pageNum++
14739//            fmt.Println(page)
14740//            return pageNum <= 3
14741//        })
14742//
14743func (c *Chime) ListVoiceConnectorGroupsPages(input *ListVoiceConnectorGroupsInput, fn func(*ListVoiceConnectorGroupsOutput, bool) bool) error {
14744	return c.ListVoiceConnectorGroupsPagesWithContext(aws.BackgroundContext(), input, fn)
14745}
14746
14747// ListVoiceConnectorGroupsPagesWithContext same as ListVoiceConnectorGroupsPages except
14748// it takes a Context and allows setting request options on the pages.
14749//
14750// The context must be non-nil and will be used for request cancellation. If
14751// the context is nil a panic will occur. In the future the SDK may create
14752// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14753// for more information on using Contexts.
14754func (c *Chime) ListVoiceConnectorGroupsPagesWithContext(ctx aws.Context, input *ListVoiceConnectorGroupsInput, fn func(*ListVoiceConnectorGroupsOutput, bool) bool, opts ...request.Option) error {
14755	p := request.Pagination{
14756		NewRequest: func() (*request.Request, error) {
14757			var inCpy *ListVoiceConnectorGroupsInput
14758			if input != nil {
14759				tmp := *input
14760				inCpy = &tmp
14761			}
14762			req, _ := c.ListVoiceConnectorGroupsRequest(inCpy)
14763			req.SetContext(ctx)
14764			req.ApplyOptions(opts...)
14765			return req, nil
14766		},
14767	}
14768
14769	for p.Next() {
14770		if !fn(p.Page().(*ListVoiceConnectorGroupsOutput), !p.HasNextPage()) {
14771			break
14772		}
14773	}
14774
14775	return p.Err()
14776}
14777
14778const opListVoiceConnectorTerminationCredentials = "ListVoiceConnectorTerminationCredentials"
14779
14780// ListVoiceConnectorTerminationCredentialsRequest generates a "aws/request.Request" representing the
14781// client's request for the ListVoiceConnectorTerminationCredentials operation. The "output" return
14782// value will be populated with the request's response once the request completes
14783// successfully.
14784//
14785// Use "Send" method on the returned Request to send the API call to the service.
14786// the "output" return value is not valid until after Send returns without error.
14787//
14788// See ListVoiceConnectorTerminationCredentials for more information on using the ListVoiceConnectorTerminationCredentials
14789// API call, and error handling.
14790//
14791// This method is useful when you want to inject custom logic or configuration
14792// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14793//
14794//
14795//    // Example sending a request using the ListVoiceConnectorTerminationCredentialsRequest method.
14796//    req, resp := client.ListVoiceConnectorTerminationCredentialsRequest(params)
14797//
14798//    err := req.Send()
14799//    if err == nil { // resp is now filled
14800//        fmt.Println(resp)
14801//    }
14802//
14803// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorTerminationCredentials
14804func (c *Chime) ListVoiceConnectorTerminationCredentialsRequest(input *ListVoiceConnectorTerminationCredentialsInput) (req *request.Request, output *ListVoiceConnectorTerminationCredentialsOutput) {
14805	op := &request.Operation{
14806		Name:       opListVoiceConnectorTerminationCredentials,
14807		HTTPMethod: "GET",
14808		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination/credentials",
14809	}
14810
14811	if input == nil {
14812		input = &ListVoiceConnectorTerminationCredentialsInput{}
14813	}
14814
14815	output = &ListVoiceConnectorTerminationCredentialsOutput{}
14816	req = c.newRequest(op, input, output)
14817	return
14818}
14819
14820// ListVoiceConnectorTerminationCredentials API operation for Amazon Chime.
14821//
14822// Lists the SIP credentials for the specified Amazon Chime Voice Connector.
14823//
14824// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14825// with awserr.Error's Code and Message methods to get detailed information about
14826// the error.
14827//
14828// See the AWS API reference guide for Amazon Chime's
14829// API operation ListVoiceConnectorTerminationCredentials for usage and error information.
14830//
14831// Returned Error Types:
14832//   * UnauthorizedClientException
14833//   The client is not currently authorized to make the request.
14834//
14835//   * NotFoundException
14836//   One or more of the resources in the request does not exist in the system.
14837//
14838//   * ForbiddenException
14839//   The client is permanently forbidden from making the request.
14840//
14841//   * BadRequestException
14842//   The input parameters don't match the service's restrictions.
14843//
14844//   * ThrottledClientException
14845//   The client exceeded its request rate limit.
14846//
14847//   * ServiceUnavailableException
14848//   The service is currently unavailable.
14849//
14850//   * ServiceFailureException
14851//   The service encountered an unexpected error.
14852//
14853// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorTerminationCredentials
14854func (c *Chime) ListVoiceConnectorTerminationCredentials(input *ListVoiceConnectorTerminationCredentialsInput) (*ListVoiceConnectorTerminationCredentialsOutput, error) {
14855	req, out := c.ListVoiceConnectorTerminationCredentialsRequest(input)
14856	return out, req.Send()
14857}
14858
14859// ListVoiceConnectorTerminationCredentialsWithContext is the same as ListVoiceConnectorTerminationCredentials with the addition of
14860// the ability to pass a context and additional request options.
14861//
14862// See ListVoiceConnectorTerminationCredentials for details on how to use this API operation.
14863//
14864// The context must be non-nil and will be used for request cancellation. If
14865// the context is nil a panic will occur. In the future the SDK may create
14866// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14867// for more information on using Contexts.
14868func (c *Chime) ListVoiceConnectorTerminationCredentialsWithContext(ctx aws.Context, input *ListVoiceConnectorTerminationCredentialsInput, opts ...request.Option) (*ListVoiceConnectorTerminationCredentialsOutput, error) {
14869	req, out := c.ListVoiceConnectorTerminationCredentialsRequest(input)
14870	req.SetContext(ctx)
14871	req.ApplyOptions(opts...)
14872	return out, req.Send()
14873}
14874
14875const opListVoiceConnectors = "ListVoiceConnectors"
14876
14877// ListVoiceConnectorsRequest generates a "aws/request.Request" representing the
14878// client's request for the ListVoiceConnectors operation. The "output" return
14879// value will be populated with the request's response once the request completes
14880// successfully.
14881//
14882// Use "Send" method on the returned Request to send the API call to the service.
14883// the "output" return value is not valid until after Send returns without error.
14884//
14885// See ListVoiceConnectors for more information on using the ListVoiceConnectors
14886// API call, and error handling.
14887//
14888// This method is useful when you want to inject custom logic or configuration
14889// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14890//
14891//
14892//    // Example sending a request using the ListVoiceConnectorsRequest method.
14893//    req, resp := client.ListVoiceConnectorsRequest(params)
14894//
14895//    err := req.Send()
14896//    if err == nil { // resp is now filled
14897//        fmt.Println(resp)
14898//    }
14899//
14900// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectors
14901func (c *Chime) ListVoiceConnectorsRequest(input *ListVoiceConnectorsInput) (req *request.Request, output *ListVoiceConnectorsOutput) {
14902	op := &request.Operation{
14903		Name:       opListVoiceConnectors,
14904		HTTPMethod: "GET",
14905		HTTPPath:   "/voice-connectors",
14906		Paginator: &request.Paginator{
14907			InputTokens:     []string{"NextToken"},
14908			OutputTokens:    []string{"NextToken"},
14909			LimitToken:      "MaxResults",
14910			TruncationToken: "",
14911		},
14912	}
14913
14914	if input == nil {
14915		input = &ListVoiceConnectorsInput{}
14916	}
14917
14918	output = &ListVoiceConnectorsOutput{}
14919	req = c.newRequest(op, input, output)
14920	return
14921}
14922
14923// ListVoiceConnectors API operation for Amazon Chime.
14924//
14925// Lists the Amazon Chime Voice Connectors for the administrator's AWS account.
14926//
14927// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14928// with awserr.Error's Code and Message methods to get detailed information about
14929// the error.
14930//
14931// See the AWS API reference guide for Amazon Chime's
14932// API operation ListVoiceConnectors for usage and error information.
14933//
14934// Returned Error Types:
14935//   * UnauthorizedClientException
14936//   The client is not currently authorized to make the request.
14937//
14938//   * ForbiddenException
14939//   The client is permanently forbidden from making the request.
14940//
14941//   * BadRequestException
14942//   The input parameters don't match the service's restrictions.
14943//
14944//   * ThrottledClientException
14945//   The client exceeded its request rate limit.
14946//
14947//   * ServiceUnavailableException
14948//   The service is currently unavailable.
14949//
14950//   * ServiceFailureException
14951//   The service encountered an unexpected error.
14952//
14953// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectors
14954func (c *Chime) ListVoiceConnectors(input *ListVoiceConnectorsInput) (*ListVoiceConnectorsOutput, error) {
14955	req, out := c.ListVoiceConnectorsRequest(input)
14956	return out, req.Send()
14957}
14958
14959// ListVoiceConnectorsWithContext is the same as ListVoiceConnectors with the addition of
14960// the ability to pass a context and additional request options.
14961//
14962// See ListVoiceConnectors for details on how to use this API operation.
14963//
14964// The context must be non-nil and will be used for request cancellation. If
14965// the context is nil a panic will occur. In the future the SDK may create
14966// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14967// for more information on using Contexts.
14968func (c *Chime) ListVoiceConnectorsWithContext(ctx aws.Context, input *ListVoiceConnectorsInput, opts ...request.Option) (*ListVoiceConnectorsOutput, error) {
14969	req, out := c.ListVoiceConnectorsRequest(input)
14970	req.SetContext(ctx)
14971	req.ApplyOptions(opts...)
14972	return out, req.Send()
14973}
14974
14975// ListVoiceConnectorsPages iterates over the pages of a ListVoiceConnectors operation,
14976// calling the "fn" function with the response data for each page. To stop
14977// iterating, return false from the fn function.
14978//
14979// See ListVoiceConnectors method for more information on how to use this operation.
14980//
14981// Note: This operation can generate multiple requests to a service.
14982//
14983//    // Example iterating over at most 3 pages of a ListVoiceConnectors operation.
14984//    pageNum := 0
14985//    err := client.ListVoiceConnectorsPages(params,
14986//        func(page *chime.ListVoiceConnectorsOutput, lastPage bool) bool {
14987//            pageNum++
14988//            fmt.Println(page)
14989//            return pageNum <= 3
14990//        })
14991//
14992func (c *Chime) ListVoiceConnectorsPages(input *ListVoiceConnectorsInput, fn func(*ListVoiceConnectorsOutput, bool) bool) error {
14993	return c.ListVoiceConnectorsPagesWithContext(aws.BackgroundContext(), input, fn)
14994}
14995
14996// ListVoiceConnectorsPagesWithContext same as ListVoiceConnectorsPages except
14997// it takes a Context and allows setting request options on the pages.
14998//
14999// The context must be non-nil and will be used for request cancellation. If
15000// the context is nil a panic will occur. In the future the SDK may create
15001// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15002// for more information on using Contexts.
15003func (c *Chime) ListVoiceConnectorsPagesWithContext(ctx aws.Context, input *ListVoiceConnectorsInput, fn func(*ListVoiceConnectorsOutput, bool) bool, opts ...request.Option) error {
15004	p := request.Pagination{
15005		NewRequest: func() (*request.Request, error) {
15006			var inCpy *ListVoiceConnectorsInput
15007			if input != nil {
15008				tmp := *input
15009				inCpy = &tmp
15010			}
15011			req, _ := c.ListVoiceConnectorsRequest(inCpy)
15012			req.SetContext(ctx)
15013			req.ApplyOptions(opts...)
15014			return req, nil
15015		},
15016	}
15017
15018	for p.Next() {
15019		if !fn(p.Page().(*ListVoiceConnectorsOutput), !p.HasNextPage()) {
15020			break
15021		}
15022	}
15023
15024	return p.Err()
15025}
15026
15027const opLogoutUser = "LogoutUser"
15028
15029// LogoutUserRequest generates a "aws/request.Request" representing the
15030// client's request for the LogoutUser operation. The "output" return
15031// value will be populated with the request's response once the request completes
15032// successfully.
15033//
15034// Use "Send" method on the returned Request to send the API call to the service.
15035// the "output" return value is not valid until after Send returns without error.
15036//
15037// See LogoutUser for more information on using the LogoutUser
15038// API call, and error handling.
15039//
15040// This method is useful when you want to inject custom logic or configuration
15041// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15042//
15043//
15044//    // Example sending a request using the LogoutUserRequest method.
15045//    req, resp := client.LogoutUserRequest(params)
15046//
15047//    err := req.Send()
15048//    if err == nil { // resp is now filled
15049//        fmt.Println(resp)
15050//    }
15051//
15052// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/LogoutUser
15053func (c *Chime) LogoutUserRequest(input *LogoutUserInput) (req *request.Request, output *LogoutUserOutput) {
15054	op := &request.Operation{
15055		Name:       opLogoutUser,
15056		HTTPMethod: "POST",
15057		HTTPPath:   "/accounts/{accountId}/users/{userId}?operation=logout",
15058	}
15059
15060	if input == nil {
15061		input = &LogoutUserInput{}
15062	}
15063
15064	output = &LogoutUserOutput{}
15065	req = c.newRequest(op, input, output)
15066	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
15067	return
15068}
15069
15070// LogoutUser API operation for Amazon Chime.
15071//
15072// Logs out the specified user from all of the devices they are currently logged
15073// into.
15074//
15075// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15076// with awserr.Error's Code and Message methods to get detailed information about
15077// the error.
15078//
15079// See the AWS API reference guide for Amazon Chime's
15080// API operation LogoutUser for usage and error information.
15081//
15082// Returned Error Types:
15083//   * UnauthorizedClientException
15084//   The client is not currently authorized to make the request.
15085//
15086//   * NotFoundException
15087//   One or more of the resources in the request does not exist in the system.
15088//
15089//   * ForbiddenException
15090//   The client is permanently forbidden from making the request.
15091//
15092//   * BadRequestException
15093//   The input parameters don't match the service's restrictions.
15094//
15095//   * ThrottledClientException
15096//   The client exceeded its request rate limit.
15097//
15098//   * ServiceUnavailableException
15099//   The service is currently unavailable.
15100//
15101//   * ServiceFailureException
15102//   The service encountered an unexpected error.
15103//
15104// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/LogoutUser
15105func (c *Chime) LogoutUser(input *LogoutUserInput) (*LogoutUserOutput, error) {
15106	req, out := c.LogoutUserRequest(input)
15107	return out, req.Send()
15108}
15109
15110// LogoutUserWithContext is the same as LogoutUser with the addition of
15111// the ability to pass a context and additional request options.
15112//
15113// See LogoutUser for details on how to use this API operation.
15114//
15115// The context must be non-nil and will be used for request cancellation. If
15116// the context is nil a panic will occur. In the future the SDK may create
15117// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15118// for more information on using Contexts.
15119func (c *Chime) LogoutUserWithContext(ctx aws.Context, input *LogoutUserInput, opts ...request.Option) (*LogoutUserOutput, error) {
15120	req, out := c.LogoutUserRequest(input)
15121	req.SetContext(ctx)
15122	req.ApplyOptions(opts...)
15123	return out, req.Send()
15124}
15125
15126const opPutAppInstanceRetentionSettings = "PutAppInstanceRetentionSettings"
15127
15128// PutAppInstanceRetentionSettingsRequest generates a "aws/request.Request" representing the
15129// client's request for the PutAppInstanceRetentionSettings operation. The "output" return
15130// value will be populated with the request's response once the request completes
15131// successfully.
15132//
15133// Use "Send" method on the returned Request to send the API call to the service.
15134// the "output" return value is not valid until after Send returns without error.
15135//
15136// See PutAppInstanceRetentionSettings for more information on using the PutAppInstanceRetentionSettings
15137// API call, and error handling.
15138//
15139// This method is useful when you want to inject custom logic or configuration
15140// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15141//
15142//
15143//    // Example sending a request using the PutAppInstanceRetentionSettingsRequest method.
15144//    req, resp := client.PutAppInstanceRetentionSettingsRequest(params)
15145//
15146//    err := req.Send()
15147//    if err == nil { // resp is now filled
15148//        fmt.Println(resp)
15149//    }
15150//
15151// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutAppInstanceRetentionSettings
15152func (c *Chime) PutAppInstanceRetentionSettingsRequest(input *PutAppInstanceRetentionSettingsInput) (req *request.Request, output *PutAppInstanceRetentionSettingsOutput) {
15153	op := &request.Operation{
15154		Name:       opPutAppInstanceRetentionSettings,
15155		HTTPMethod: "PUT",
15156		HTTPPath:   "/app-instances/{appInstanceArn}/retention-settings",
15157	}
15158
15159	if input == nil {
15160		input = &PutAppInstanceRetentionSettingsInput{}
15161	}
15162
15163	output = &PutAppInstanceRetentionSettingsOutput{}
15164	req = c.newRequest(op, input, output)
15165	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
15166	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
15167	return
15168}
15169
15170// PutAppInstanceRetentionSettings API operation for Amazon Chime.
15171//
15172// Sets the amount of time in days that a given AppInstance retains data.
15173//
15174// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15175// with awserr.Error's Code and Message methods to get detailed information about
15176// the error.
15177//
15178// See the AWS API reference guide for Amazon Chime's
15179// API operation PutAppInstanceRetentionSettings for usage and error information.
15180//
15181// Returned Error Types:
15182//   * UnauthorizedClientException
15183//   The client is not currently authorized to make the request.
15184//
15185//   * NotFoundException
15186//   One or more of the resources in the request does not exist in the system.
15187//
15188//   * BadRequestException
15189//   The input parameters don't match the service's restrictions.
15190//
15191//   * ForbiddenException
15192//   The client is permanently forbidden from making the request.
15193//
15194//   * ConflictException
15195//   The request could not be processed because of conflict in the current state
15196//   of the resource.
15197//
15198//   * ThrottledClientException
15199//   The client exceeded its request rate limit.
15200//
15201//   * ServiceUnavailableException
15202//   The service is currently unavailable.
15203//
15204//   * ServiceFailureException
15205//   The service encountered an unexpected error.
15206//
15207// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutAppInstanceRetentionSettings
15208func (c *Chime) PutAppInstanceRetentionSettings(input *PutAppInstanceRetentionSettingsInput) (*PutAppInstanceRetentionSettingsOutput, error) {
15209	req, out := c.PutAppInstanceRetentionSettingsRequest(input)
15210	return out, req.Send()
15211}
15212
15213// PutAppInstanceRetentionSettingsWithContext is the same as PutAppInstanceRetentionSettings with the addition of
15214// the ability to pass a context and additional request options.
15215//
15216// See PutAppInstanceRetentionSettings for details on how to use this API operation.
15217//
15218// The context must be non-nil and will be used for request cancellation. If
15219// the context is nil a panic will occur. In the future the SDK may create
15220// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15221// for more information on using Contexts.
15222func (c *Chime) PutAppInstanceRetentionSettingsWithContext(ctx aws.Context, input *PutAppInstanceRetentionSettingsInput, opts ...request.Option) (*PutAppInstanceRetentionSettingsOutput, error) {
15223	req, out := c.PutAppInstanceRetentionSettingsRequest(input)
15224	req.SetContext(ctx)
15225	req.ApplyOptions(opts...)
15226	return out, req.Send()
15227}
15228
15229const opPutAppInstanceStreamingConfigurations = "PutAppInstanceStreamingConfigurations"
15230
15231// PutAppInstanceStreamingConfigurationsRequest generates a "aws/request.Request" representing the
15232// client's request for the PutAppInstanceStreamingConfigurations operation. The "output" return
15233// value will be populated with the request's response once the request completes
15234// successfully.
15235//
15236// Use "Send" method on the returned Request to send the API call to the service.
15237// the "output" return value is not valid until after Send returns without error.
15238//
15239// See PutAppInstanceStreamingConfigurations for more information on using the PutAppInstanceStreamingConfigurations
15240// API call, and error handling.
15241//
15242// This method is useful when you want to inject custom logic or configuration
15243// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15244//
15245//
15246//    // Example sending a request using the PutAppInstanceStreamingConfigurationsRequest method.
15247//    req, resp := client.PutAppInstanceStreamingConfigurationsRequest(params)
15248//
15249//    err := req.Send()
15250//    if err == nil { // resp is now filled
15251//        fmt.Println(resp)
15252//    }
15253//
15254// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutAppInstanceStreamingConfigurations
15255func (c *Chime) PutAppInstanceStreamingConfigurationsRequest(input *PutAppInstanceStreamingConfigurationsInput) (req *request.Request, output *PutAppInstanceStreamingConfigurationsOutput) {
15256	op := &request.Operation{
15257		Name:       opPutAppInstanceStreamingConfigurations,
15258		HTTPMethod: "PUT",
15259		HTTPPath:   "/app-instances/{appInstanceArn}/streaming-configurations",
15260	}
15261
15262	if input == nil {
15263		input = &PutAppInstanceStreamingConfigurationsInput{}
15264	}
15265
15266	output = &PutAppInstanceStreamingConfigurationsOutput{}
15267	req = c.newRequest(op, input, output)
15268	return
15269}
15270
15271// PutAppInstanceStreamingConfigurations API operation for Amazon Chime.
15272//
15273// The data streaming configurations of an AppInstance.
15274//
15275// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15276// with awserr.Error's Code and Message methods to get detailed information about
15277// the error.
15278//
15279// See the AWS API reference guide for Amazon Chime's
15280// API operation PutAppInstanceStreamingConfigurations for usage and error information.
15281//
15282// Returned Error Types:
15283//   * NotFoundException
15284//   One or more of the resources in the request does not exist in the system.
15285//
15286//   * BadRequestException
15287//   The input parameters don't match the service's restrictions.
15288//
15289//   * ForbiddenException
15290//   The client is permanently forbidden from making the request.
15291//
15292//   * UnauthorizedClientException
15293//   The client is not currently authorized to make the request.
15294//
15295//   * ThrottledClientException
15296//   The client exceeded its request rate limit.
15297//
15298//   * ServiceUnavailableException
15299//   The service is currently unavailable.
15300//
15301//   * ServiceFailureException
15302//   The service encountered an unexpected error.
15303//
15304// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutAppInstanceStreamingConfigurations
15305func (c *Chime) PutAppInstanceStreamingConfigurations(input *PutAppInstanceStreamingConfigurationsInput) (*PutAppInstanceStreamingConfigurationsOutput, error) {
15306	req, out := c.PutAppInstanceStreamingConfigurationsRequest(input)
15307	return out, req.Send()
15308}
15309
15310// PutAppInstanceStreamingConfigurationsWithContext is the same as PutAppInstanceStreamingConfigurations with the addition of
15311// the ability to pass a context and additional request options.
15312//
15313// See PutAppInstanceStreamingConfigurations for details on how to use this API operation.
15314//
15315// The context must be non-nil and will be used for request cancellation. If
15316// the context is nil a panic will occur. In the future the SDK may create
15317// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15318// for more information on using Contexts.
15319func (c *Chime) PutAppInstanceStreamingConfigurationsWithContext(ctx aws.Context, input *PutAppInstanceStreamingConfigurationsInput, opts ...request.Option) (*PutAppInstanceStreamingConfigurationsOutput, error) {
15320	req, out := c.PutAppInstanceStreamingConfigurationsRequest(input)
15321	req.SetContext(ctx)
15322	req.ApplyOptions(opts...)
15323	return out, req.Send()
15324}
15325
15326const opPutEventsConfiguration = "PutEventsConfiguration"
15327
15328// PutEventsConfigurationRequest generates a "aws/request.Request" representing the
15329// client's request for the PutEventsConfiguration operation. The "output" return
15330// value will be populated with the request's response once the request completes
15331// successfully.
15332//
15333// Use "Send" method on the returned Request to send the API call to the service.
15334// the "output" return value is not valid until after Send returns without error.
15335//
15336// See PutEventsConfiguration for more information on using the PutEventsConfiguration
15337// API call, and error handling.
15338//
15339// This method is useful when you want to inject custom logic or configuration
15340// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15341//
15342//
15343//    // Example sending a request using the PutEventsConfigurationRequest method.
15344//    req, resp := client.PutEventsConfigurationRequest(params)
15345//
15346//    err := req.Send()
15347//    if err == nil { // resp is now filled
15348//        fmt.Println(resp)
15349//    }
15350//
15351// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutEventsConfiguration
15352func (c *Chime) PutEventsConfigurationRequest(input *PutEventsConfigurationInput) (req *request.Request, output *PutEventsConfigurationOutput) {
15353	op := &request.Operation{
15354		Name:       opPutEventsConfiguration,
15355		HTTPMethod: "PUT",
15356		HTTPPath:   "/accounts/{accountId}/bots/{botId}/events-configuration",
15357	}
15358
15359	if input == nil {
15360		input = &PutEventsConfigurationInput{}
15361	}
15362
15363	output = &PutEventsConfigurationOutput{}
15364	req = c.newRequest(op, input, output)
15365	return
15366}
15367
15368// PutEventsConfiguration API operation for Amazon Chime.
15369//
15370// Creates an events configuration that allows a bot to receive outgoing events
15371// sent by Amazon Chime. Choose either an HTTPS endpoint or a Lambda function
15372// ARN. For more information, see Bot.
15373//
15374// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15375// with awserr.Error's Code and Message methods to get detailed information about
15376// the error.
15377//
15378// See the AWS API reference guide for Amazon Chime's
15379// API operation PutEventsConfiguration for usage and error information.
15380//
15381// Returned Error Types:
15382//   * ServiceUnavailableException
15383//   The service is currently unavailable.
15384//
15385//   * ServiceFailureException
15386//   The service encountered an unexpected error.
15387//
15388//   * ForbiddenException
15389//   The client is permanently forbidden from making the request.
15390//
15391//   * BadRequestException
15392//   The input parameters don't match the service's restrictions.
15393//
15394//   * UnauthorizedClientException
15395//   The client is not currently authorized to make the request.
15396//
15397//   * ResourceLimitExceededException
15398//   The request exceeds the resource limit.
15399//
15400//   * NotFoundException
15401//   One or more of the resources in the request does not exist in the system.
15402//
15403// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutEventsConfiguration
15404func (c *Chime) PutEventsConfiguration(input *PutEventsConfigurationInput) (*PutEventsConfigurationOutput, error) {
15405	req, out := c.PutEventsConfigurationRequest(input)
15406	return out, req.Send()
15407}
15408
15409// PutEventsConfigurationWithContext is the same as PutEventsConfiguration with the addition of
15410// the ability to pass a context and additional request options.
15411//
15412// See PutEventsConfiguration for details on how to use this API operation.
15413//
15414// The context must be non-nil and will be used for request cancellation. If
15415// the context is nil a panic will occur. In the future the SDK may create
15416// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15417// for more information on using Contexts.
15418func (c *Chime) PutEventsConfigurationWithContext(ctx aws.Context, input *PutEventsConfigurationInput, opts ...request.Option) (*PutEventsConfigurationOutput, error) {
15419	req, out := c.PutEventsConfigurationRequest(input)
15420	req.SetContext(ctx)
15421	req.ApplyOptions(opts...)
15422	return out, req.Send()
15423}
15424
15425const opPutRetentionSettings = "PutRetentionSettings"
15426
15427// PutRetentionSettingsRequest generates a "aws/request.Request" representing the
15428// client's request for the PutRetentionSettings operation. The "output" return
15429// value will be populated with the request's response once the request completes
15430// successfully.
15431//
15432// Use "Send" method on the returned Request to send the API call to the service.
15433// the "output" return value is not valid until after Send returns without error.
15434//
15435// See PutRetentionSettings for more information on using the PutRetentionSettings
15436// API call, and error handling.
15437//
15438// This method is useful when you want to inject custom logic or configuration
15439// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15440//
15441//
15442//    // Example sending a request using the PutRetentionSettingsRequest method.
15443//    req, resp := client.PutRetentionSettingsRequest(params)
15444//
15445//    err := req.Send()
15446//    if err == nil { // resp is now filled
15447//        fmt.Println(resp)
15448//    }
15449//
15450// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettings
15451func (c *Chime) PutRetentionSettingsRequest(input *PutRetentionSettingsInput) (req *request.Request, output *PutRetentionSettingsOutput) {
15452	op := &request.Operation{
15453		Name:       opPutRetentionSettings,
15454		HTTPMethod: "PUT",
15455		HTTPPath:   "/accounts/{accountId}/retention-settings",
15456	}
15457
15458	if input == nil {
15459		input = &PutRetentionSettingsInput{}
15460	}
15461
15462	output = &PutRetentionSettingsOutput{}
15463	req = c.newRequest(op, input, output)
15464	return
15465}
15466
15467// PutRetentionSettings API operation for Amazon Chime.
15468//
15469// Puts retention settings for the specified Amazon Chime Enterprise account.
15470// We recommend using AWS CloudTrail to monitor usage of this API for your account.
15471// For more information, see Logging Amazon Chime API Calls with AWS CloudTrail
15472// (https://docs.aws.amazon.com/chime/latest/ag/cloudtrail.html) in the Amazon
15473// Chime Administration Guide.
15474//
15475// To turn off existing retention settings, remove the number of days from the
15476// corresponding RetentionDays field in the RetentionSettings object. For more
15477// information about retention settings, see Managing Chat Retention Policies
15478// (https://docs.aws.amazon.com/chime/latest/ag/chat-retention.html) in the
15479// Amazon Chime Administration Guide.
15480//
15481// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15482// with awserr.Error's Code and Message methods to get detailed information about
15483// the error.
15484//
15485// See the AWS API reference guide for Amazon Chime's
15486// API operation PutRetentionSettings for usage and error information.
15487//
15488// Returned Error Types:
15489//   * UnauthorizedClientException
15490//   The client is not currently authorized to make the request.
15491//
15492//   * NotFoundException
15493//   One or more of the resources in the request does not exist in the system.
15494//
15495//   * BadRequestException
15496//   The input parameters don't match the service's restrictions.
15497//
15498//   * ForbiddenException
15499//   The client is permanently forbidden from making the request.
15500//
15501//   * ConflictException
15502//   The request could not be processed because of conflict in the current state
15503//   of the resource.
15504//
15505//   * ThrottledClientException
15506//   The client exceeded its request rate limit.
15507//
15508//   * ServiceUnavailableException
15509//   The service is currently unavailable.
15510//
15511//   * ServiceFailureException
15512//   The service encountered an unexpected error.
15513//
15514// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettings
15515func (c *Chime) PutRetentionSettings(input *PutRetentionSettingsInput) (*PutRetentionSettingsOutput, error) {
15516	req, out := c.PutRetentionSettingsRequest(input)
15517	return out, req.Send()
15518}
15519
15520// PutRetentionSettingsWithContext is the same as PutRetentionSettings with the addition of
15521// the ability to pass a context and additional request options.
15522//
15523// See PutRetentionSettings for details on how to use this API operation.
15524//
15525// The context must be non-nil and will be used for request cancellation. If
15526// the context is nil a panic will occur. In the future the SDK may create
15527// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15528// for more information on using Contexts.
15529func (c *Chime) PutRetentionSettingsWithContext(ctx aws.Context, input *PutRetentionSettingsInput, opts ...request.Option) (*PutRetentionSettingsOutput, error) {
15530	req, out := c.PutRetentionSettingsRequest(input)
15531	req.SetContext(ctx)
15532	req.ApplyOptions(opts...)
15533	return out, req.Send()
15534}
15535
15536const opPutSipMediaApplicationLoggingConfiguration = "PutSipMediaApplicationLoggingConfiguration"
15537
15538// PutSipMediaApplicationLoggingConfigurationRequest generates a "aws/request.Request" representing the
15539// client's request for the PutSipMediaApplicationLoggingConfiguration operation. The "output" return
15540// value will be populated with the request's response once the request completes
15541// successfully.
15542//
15543// Use "Send" method on the returned Request to send the API call to the service.
15544// the "output" return value is not valid until after Send returns without error.
15545//
15546// See PutSipMediaApplicationLoggingConfiguration for more information on using the PutSipMediaApplicationLoggingConfiguration
15547// API call, and error handling.
15548//
15549// This method is useful when you want to inject custom logic or configuration
15550// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15551//
15552//
15553//    // Example sending a request using the PutSipMediaApplicationLoggingConfigurationRequest method.
15554//    req, resp := client.PutSipMediaApplicationLoggingConfigurationRequest(params)
15555//
15556//    err := req.Send()
15557//    if err == nil { // resp is now filled
15558//        fmt.Println(resp)
15559//    }
15560//
15561// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutSipMediaApplicationLoggingConfiguration
15562func (c *Chime) PutSipMediaApplicationLoggingConfigurationRequest(input *PutSipMediaApplicationLoggingConfigurationInput) (req *request.Request, output *PutSipMediaApplicationLoggingConfigurationOutput) {
15563	op := &request.Operation{
15564		Name:       opPutSipMediaApplicationLoggingConfiguration,
15565		HTTPMethod: "PUT",
15566		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}/logging-configuration",
15567	}
15568
15569	if input == nil {
15570		input = &PutSipMediaApplicationLoggingConfigurationInput{}
15571	}
15572
15573	output = &PutSipMediaApplicationLoggingConfigurationOutput{}
15574	req = c.newRequest(op, input, output)
15575	return
15576}
15577
15578// PutSipMediaApplicationLoggingConfiguration API operation for Amazon Chime.
15579//
15580// Updates the logging configuration for the specified SIP media application.
15581//
15582// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15583// with awserr.Error's Code and Message methods to get detailed information about
15584// the error.
15585//
15586// See the AWS API reference guide for Amazon Chime's
15587// API operation PutSipMediaApplicationLoggingConfiguration for usage and error information.
15588//
15589// Returned Error Types:
15590//   * UnauthorizedClientException
15591//   The client is not currently authorized to make the request.
15592//
15593//   * NotFoundException
15594//   One or more of the resources in the request does not exist in the system.
15595//
15596//   * ForbiddenException
15597//   The client is permanently forbidden from making the request.
15598//
15599//   * BadRequestException
15600//   The input parameters don't match the service's restrictions.
15601//
15602//   * ThrottledClientException
15603//   The client exceeded its request rate limit.
15604//
15605//   * ServiceUnavailableException
15606//   The service is currently unavailable.
15607//
15608//   * ServiceFailureException
15609//   The service encountered an unexpected error.
15610//
15611// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutSipMediaApplicationLoggingConfiguration
15612func (c *Chime) PutSipMediaApplicationLoggingConfiguration(input *PutSipMediaApplicationLoggingConfigurationInput) (*PutSipMediaApplicationLoggingConfigurationOutput, error) {
15613	req, out := c.PutSipMediaApplicationLoggingConfigurationRequest(input)
15614	return out, req.Send()
15615}
15616
15617// PutSipMediaApplicationLoggingConfigurationWithContext is the same as PutSipMediaApplicationLoggingConfiguration with the addition of
15618// the ability to pass a context and additional request options.
15619//
15620// See PutSipMediaApplicationLoggingConfiguration for details on how to use this API operation.
15621//
15622// The context must be non-nil and will be used for request cancellation. If
15623// the context is nil a panic will occur. In the future the SDK may create
15624// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15625// for more information on using Contexts.
15626func (c *Chime) PutSipMediaApplicationLoggingConfigurationWithContext(ctx aws.Context, input *PutSipMediaApplicationLoggingConfigurationInput, opts ...request.Option) (*PutSipMediaApplicationLoggingConfigurationOutput, error) {
15627	req, out := c.PutSipMediaApplicationLoggingConfigurationRequest(input)
15628	req.SetContext(ctx)
15629	req.ApplyOptions(opts...)
15630	return out, req.Send()
15631}
15632
15633const opPutVoiceConnectorEmergencyCallingConfiguration = "PutVoiceConnectorEmergencyCallingConfiguration"
15634
15635// PutVoiceConnectorEmergencyCallingConfigurationRequest generates a "aws/request.Request" representing the
15636// client's request for the PutVoiceConnectorEmergencyCallingConfiguration operation. The "output" return
15637// value will be populated with the request's response once the request completes
15638// successfully.
15639//
15640// Use "Send" method on the returned Request to send the API call to the service.
15641// the "output" return value is not valid until after Send returns without error.
15642//
15643// See PutVoiceConnectorEmergencyCallingConfiguration for more information on using the PutVoiceConnectorEmergencyCallingConfiguration
15644// API call, and error handling.
15645//
15646// This method is useful when you want to inject custom logic or configuration
15647// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15648//
15649//
15650//    // Example sending a request using the PutVoiceConnectorEmergencyCallingConfigurationRequest method.
15651//    req, resp := client.PutVoiceConnectorEmergencyCallingConfigurationRequest(params)
15652//
15653//    err := req.Send()
15654//    if err == nil { // resp is now filled
15655//        fmt.Println(resp)
15656//    }
15657//
15658// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorEmergencyCallingConfiguration
15659func (c *Chime) PutVoiceConnectorEmergencyCallingConfigurationRequest(input *PutVoiceConnectorEmergencyCallingConfigurationInput) (req *request.Request, output *PutVoiceConnectorEmergencyCallingConfigurationOutput) {
15660	op := &request.Operation{
15661		Name:       opPutVoiceConnectorEmergencyCallingConfiguration,
15662		HTTPMethod: "PUT",
15663		HTTPPath:   "/voice-connectors/{voiceConnectorId}/emergency-calling-configuration",
15664	}
15665
15666	if input == nil {
15667		input = &PutVoiceConnectorEmergencyCallingConfigurationInput{}
15668	}
15669
15670	output = &PutVoiceConnectorEmergencyCallingConfigurationOutput{}
15671	req = c.newRequest(op, input, output)
15672	return
15673}
15674
15675// PutVoiceConnectorEmergencyCallingConfiguration API operation for Amazon Chime.
15676//
15677// Puts emergency calling configuration details to the specified Amazon Chime
15678// Voice Connector, such as emergency phone numbers and calling countries. Origination
15679// and termination settings must be enabled for the Amazon Chime Voice Connector
15680// before emergency calling can be configured.
15681//
15682// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15683// with awserr.Error's Code and Message methods to get detailed information about
15684// the error.
15685//
15686// See the AWS API reference guide for Amazon Chime's
15687// API operation PutVoiceConnectorEmergencyCallingConfiguration for usage and error information.
15688//
15689// Returned Error Types:
15690//   * UnauthorizedClientException
15691//   The client is not currently authorized to make the request.
15692//
15693//   * NotFoundException
15694//   One or more of the resources in the request does not exist in the system.
15695//
15696//   * ForbiddenException
15697//   The client is permanently forbidden from making the request.
15698//
15699//   * BadRequestException
15700//   The input parameters don't match the service's restrictions.
15701//
15702//   * ThrottledClientException
15703//   The client exceeded its request rate limit.
15704//
15705//   * ServiceUnavailableException
15706//   The service is currently unavailable.
15707//
15708//   * ServiceFailureException
15709//   The service encountered an unexpected error.
15710//
15711// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorEmergencyCallingConfiguration
15712func (c *Chime) PutVoiceConnectorEmergencyCallingConfiguration(input *PutVoiceConnectorEmergencyCallingConfigurationInput) (*PutVoiceConnectorEmergencyCallingConfigurationOutput, error) {
15713	req, out := c.PutVoiceConnectorEmergencyCallingConfigurationRequest(input)
15714	return out, req.Send()
15715}
15716
15717// PutVoiceConnectorEmergencyCallingConfigurationWithContext is the same as PutVoiceConnectorEmergencyCallingConfiguration with the addition of
15718// the ability to pass a context and additional request options.
15719//
15720// See PutVoiceConnectorEmergencyCallingConfiguration for details on how to use this API operation.
15721//
15722// The context must be non-nil and will be used for request cancellation. If
15723// the context is nil a panic will occur. In the future the SDK may create
15724// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15725// for more information on using Contexts.
15726func (c *Chime) PutVoiceConnectorEmergencyCallingConfigurationWithContext(ctx aws.Context, input *PutVoiceConnectorEmergencyCallingConfigurationInput, opts ...request.Option) (*PutVoiceConnectorEmergencyCallingConfigurationOutput, error) {
15727	req, out := c.PutVoiceConnectorEmergencyCallingConfigurationRequest(input)
15728	req.SetContext(ctx)
15729	req.ApplyOptions(opts...)
15730	return out, req.Send()
15731}
15732
15733const opPutVoiceConnectorLoggingConfiguration = "PutVoiceConnectorLoggingConfiguration"
15734
15735// PutVoiceConnectorLoggingConfigurationRequest generates a "aws/request.Request" representing the
15736// client's request for the PutVoiceConnectorLoggingConfiguration operation. The "output" return
15737// value will be populated with the request's response once the request completes
15738// successfully.
15739//
15740// Use "Send" method on the returned Request to send the API call to the service.
15741// the "output" return value is not valid until after Send returns without error.
15742//
15743// See PutVoiceConnectorLoggingConfiguration for more information on using the PutVoiceConnectorLoggingConfiguration
15744// API call, and error handling.
15745//
15746// This method is useful when you want to inject custom logic or configuration
15747// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15748//
15749//
15750//    // Example sending a request using the PutVoiceConnectorLoggingConfigurationRequest method.
15751//    req, resp := client.PutVoiceConnectorLoggingConfigurationRequest(params)
15752//
15753//    err := req.Send()
15754//    if err == nil { // resp is now filled
15755//        fmt.Println(resp)
15756//    }
15757//
15758// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorLoggingConfiguration
15759func (c *Chime) PutVoiceConnectorLoggingConfigurationRequest(input *PutVoiceConnectorLoggingConfigurationInput) (req *request.Request, output *PutVoiceConnectorLoggingConfigurationOutput) {
15760	op := &request.Operation{
15761		Name:       opPutVoiceConnectorLoggingConfiguration,
15762		HTTPMethod: "PUT",
15763		HTTPPath:   "/voice-connectors/{voiceConnectorId}/logging-configuration",
15764	}
15765
15766	if input == nil {
15767		input = &PutVoiceConnectorLoggingConfigurationInput{}
15768	}
15769
15770	output = &PutVoiceConnectorLoggingConfigurationOutput{}
15771	req = c.newRequest(op, input, output)
15772	return
15773}
15774
15775// PutVoiceConnectorLoggingConfiguration API operation for Amazon Chime.
15776//
15777// Adds a logging configuration for the specified Amazon Chime Voice Connector.
15778// The logging configuration specifies whether SIP message logs are enabled
15779// for sending to Amazon CloudWatch Logs.
15780//
15781// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15782// with awserr.Error's Code and Message methods to get detailed information about
15783// the error.
15784//
15785// See the AWS API reference guide for Amazon Chime's
15786// API operation PutVoiceConnectorLoggingConfiguration for usage and error information.
15787//
15788// Returned Error Types:
15789//   * UnauthorizedClientException
15790//   The client is not currently authorized to make the request.
15791//
15792//   * NotFoundException
15793//   One or more of the resources in the request does not exist in the system.
15794//
15795//   * ForbiddenException
15796//   The client is permanently forbidden from making the request.
15797//
15798//   * BadRequestException
15799//   The input parameters don't match the service's restrictions.
15800//
15801//   * ThrottledClientException
15802//   The client exceeded its request rate limit.
15803//
15804//   * ServiceUnavailableException
15805//   The service is currently unavailable.
15806//
15807//   * ServiceFailureException
15808//   The service encountered an unexpected error.
15809//
15810// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorLoggingConfiguration
15811func (c *Chime) PutVoiceConnectorLoggingConfiguration(input *PutVoiceConnectorLoggingConfigurationInput) (*PutVoiceConnectorLoggingConfigurationOutput, error) {
15812	req, out := c.PutVoiceConnectorLoggingConfigurationRequest(input)
15813	return out, req.Send()
15814}
15815
15816// PutVoiceConnectorLoggingConfigurationWithContext is the same as PutVoiceConnectorLoggingConfiguration with the addition of
15817// the ability to pass a context and additional request options.
15818//
15819// See PutVoiceConnectorLoggingConfiguration for details on how to use this API operation.
15820//
15821// The context must be non-nil and will be used for request cancellation. If
15822// the context is nil a panic will occur. In the future the SDK may create
15823// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15824// for more information on using Contexts.
15825func (c *Chime) PutVoiceConnectorLoggingConfigurationWithContext(ctx aws.Context, input *PutVoiceConnectorLoggingConfigurationInput, opts ...request.Option) (*PutVoiceConnectorLoggingConfigurationOutput, error) {
15826	req, out := c.PutVoiceConnectorLoggingConfigurationRequest(input)
15827	req.SetContext(ctx)
15828	req.ApplyOptions(opts...)
15829	return out, req.Send()
15830}
15831
15832const opPutVoiceConnectorOrigination = "PutVoiceConnectorOrigination"
15833
15834// PutVoiceConnectorOriginationRequest generates a "aws/request.Request" representing the
15835// client's request for the PutVoiceConnectorOrigination operation. The "output" return
15836// value will be populated with the request's response once the request completes
15837// successfully.
15838//
15839// Use "Send" method on the returned Request to send the API call to the service.
15840// the "output" return value is not valid until after Send returns without error.
15841//
15842// See PutVoiceConnectorOrigination for more information on using the PutVoiceConnectorOrigination
15843// API call, and error handling.
15844//
15845// This method is useful when you want to inject custom logic or configuration
15846// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15847//
15848//
15849//    // Example sending a request using the PutVoiceConnectorOriginationRequest method.
15850//    req, resp := client.PutVoiceConnectorOriginationRequest(params)
15851//
15852//    err := req.Send()
15853//    if err == nil { // resp is now filled
15854//        fmt.Println(resp)
15855//    }
15856//
15857// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorOrigination
15858func (c *Chime) PutVoiceConnectorOriginationRequest(input *PutVoiceConnectorOriginationInput) (req *request.Request, output *PutVoiceConnectorOriginationOutput) {
15859	op := &request.Operation{
15860		Name:       opPutVoiceConnectorOrigination,
15861		HTTPMethod: "PUT",
15862		HTTPPath:   "/voice-connectors/{voiceConnectorId}/origination",
15863	}
15864
15865	if input == nil {
15866		input = &PutVoiceConnectorOriginationInput{}
15867	}
15868
15869	output = &PutVoiceConnectorOriginationOutput{}
15870	req = c.newRequest(op, input, output)
15871	return
15872}
15873
15874// PutVoiceConnectorOrigination API operation for Amazon Chime.
15875//
15876// Adds origination settings for the specified Amazon Chime Voice Connector.
15877//
15878// If emergency calling is configured for the Amazon Chime Voice Connector,
15879// it must be deleted prior to turning off origination settings.
15880//
15881// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15882// with awserr.Error's Code and Message methods to get detailed information about
15883// the error.
15884//
15885// See the AWS API reference guide for Amazon Chime's
15886// API operation PutVoiceConnectorOrigination for usage and error information.
15887//
15888// Returned Error Types:
15889//   * UnauthorizedClientException
15890//   The client is not currently authorized to make the request.
15891//
15892//   * NotFoundException
15893//   One or more of the resources in the request does not exist in the system.
15894//
15895//   * ForbiddenException
15896//   The client is permanently forbidden from making the request.
15897//
15898//   * BadRequestException
15899//   The input parameters don't match the service's restrictions.
15900//
15901//   * ThrottledClientException
15902//   The client exceeded its request rate limit.
15903//
15904//   * ServiceUnavailableException
15905//   The service is currently unavailable.
15906//
15907//   * ServiceFailureException
15908//   The service encountered an unexpected error.
15909//
15910// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorOrigination
15911func (c *Chime) PutVoiceConnectorOrigination(input *PutVoiceConnectorOriginationInput) (*PutVoiceConnectorOriginationOutput, error) {
15912	req, out := c.PutVoiceConnectorOriginationRequest(input)
15913	return out, req.Send()
15914}
15915
15916// PutVoiceConnectorOriginationWithContext is the same as PutVoiceConnectorOrigination with the addition of
15917// the ability to pass a context and additional request options.
15918//
15919// See PutVoiceConnectorOrigination for details on how to use this API operation.
15920//
15921// The context must be non-nil and will be used for request cancellation. If
15922// the context is nil a panic will occur. In the future the SDK may create
15923// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15924// for more information on using Contexts.
15925func (c *Chime) PutVoiceConnectorOriginationWithContext(ctx aws.Context, input *PutVoiceConnectorOriginationInput, opts ...request.Option) (*PutVoiceConnectorOriginationOutput, error) {
15926	req, out := c.PutVoiceConnectorOriginationRequest(input)
15927	req.SetContext(ctx)
15928	req.ApplyOptions(opts...)
15929	return out, req.Send()
15930}
15931
15932const opPutVoiceConnectorProxy = "PutVoiceConnectorProxy"
15933
15934// PutVoiceConnectorProxyRequest generates a "aws/request.Request" representing the
15935// client's request for the PutVoiceConnectorProxy operation. The "output" return
15936// value will be populated with the request's response once the request completes
15937// successfully.
15938//
15939// Use "Send" method on the returned Request to send the API call to the service.
15940// the "output" return value is not valid until after Send returns without error.
15941//
15942// See PutVoiceConnectorProxy for more information on using the PutVoiceConnectorProxy
15943// API call, and error handling.
15944//
15945// This method is useful when you want to inject custom logic or configuration
15946// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15947//
15948//
15949//    // Example sending a request using the PutVoiceConnectorProxyRequest method.
15950//    req, resp := client.PutVoiceConnectorProxyRequest(params)
15951//
15952//    err := req.Send()
15953//    if err == nil { // resp is now filled
15954//        fmt.Println(resp)
15955//    }
15956//
15957// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorProxy
15958func (c *Chime) PutVoiceConnectorProxyRequest(input *PutVoiceConnectorProxyInput) (req *request.Request, output *PutVoiceConnectorProxyOutput) {
15959	op := &request.Operation{
15960		Name:       opPutVoiceConnectorProxy,
15961		HTTPMethod: "PUT",
15962		HTTPPath:   "/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy",
15963	}
15964
15965	if input == nil {
15966		input = &PutVoiceConnectorProxyInput{}
15967	}
15968
15969	output = &PutVoiceConnectorProxyOutput{}
15970	req = c.newRequest(op, input, output)
15971	return
15972}
15973
15974// PutVoiceConnectorProxy API operation for Amazon Chime.
15975//
15976// Puts the specified proxy configuration to the specified Amazon Chime Voice
15977// Connector.
15978//
15979// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15980// with awserr.Error's Code and Message methods to get detailed information about
15981// the error.
15982//
15983// See the AWS API reference guide for Amazon Chime's
15984// API operation PutVoiceConnectorProxy for usage and error information.
15985//
15986// Returned Error Types:
15987//   * UnauthorizedClientException
15988//   The client is not currently authorized to make the request.
15989//
15990//   * AccessDeniedException
15991//   You don't have permissions to perform the requested operation.
15992//
15993//   * NotFoundException
15994//   One or more of the resources in the request does not exist in the system.
15995//
15996//   * ForbiddenException
15997//   The client is permanently forbidden from making the request.
15998//
15999//   * BadRequestException
16000//   The input parameters don't match the service's restrictions.
16001//
16002//   * ThrottledClientException
16003//   The client exceeded its request rate limit.
16004//
16005//   * ServiceUnavailableException
16006//   The service is currently unavailable.
16007//
16008//   * ServiceFailureException
16009//   The service encountered an unexpected error.
16010//
16011// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorProxy
16012func (c *Chime) PutVoiceConnectorProxy(input *PutVoiceConnectorProxyInput) (*PutVoiceConnectorProxyOutput, error) {
16013	req, out := c.PutVoiceConnectorProxyRequest(input)
16014	return out, req.Send()
16015}
16016
16017// PutVoiceConnectorProxyWithContext is the same as PutVoiceConnectorProxy with the addition of
16018// the ability to pass a context and additional request options.
16019//
16020// See PutVoiceConnectorProxy for details on how to use this API operation.
16021//
16022// The context must be non-nil and will be used for request cancellation. If
16023// the context is nil a panic will occur. In the future the SDK may create
16024// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16025// for more information on using Contexts.
16026func (c *Chime) PutVoiceConnectorProxyWithContext(ctx aws.Context, input *PutVoiceConnectorProxyInput, opts ...request.Option) (*PutVoiceConnectorProxyOutput, error) {
16027	req, out := c.PutVoiceConnectorProxyRequest(input)
16028	req.SetContext(ctx)
16029	req.ApplyOptions(opts...)
16030	return out, req.Send()
16031}
16032
16033const opPutVoiceConnectorStreamingConfiguration = "PutVoiceConnectorStreamingConfiguration"
16034
16035// PutVoiceConnectorStreamingConfigurationRequest generates a "aws/request.Request" representing the
16036// client's request for the PutVoiceConnectorStreamingConfiguration operation. The "output" return
16037// value will be populated with the request's response once the request completes
16038// successfully.
16039//
16040// Use "Send" method on the returned Request to send the API call to the service.
16041// the "output" return value is not valid until after Send returns without error.
16042//
16043// See PutVoiceConnectorStreamingConfiguration for more information on using the PutVoiceConnectorStreamingConfiguration
16044// API call, and error handling.
16045//
16046// This method is useful when you want to inject custom logic or configuration
16047// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16048//
16049//
16050//    // Example sending a request using the PutVoiceConnectorStreamingConfigurationRequest method.
16051//    req, resp := client.PutVoiceConnectorStreamingConfigurationRequest(params)
16052//
16053//    err := req.Send()
16054//    if err == nil { // resp is now filled
16055//        fmt.Println(resp)
16056//    }
16057//
16058// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfiguration
16059func (c *Chime) PutVoiceConnectorStreamingConfigurationRequest(input *PutVoiceConnectorStreamingConfigurationInput) (req *request.Request, output *PutVoiceConnectorStreamingConfigurationOutput) {
16060	op := &request.Operation{
16061		Name:       opPutVoiceConnectorStreamingConfiguration,
16062		HTTPMethod: "PUT",
16063		HTTPPath:   "/voice-connectors/{voiceConnectorId}/streaming-configuration",
16064	}
16065
16066	if input == nil {
16067		input = &PutVoiceConnectorStreamingConfigurationInput{}
16068	}
16069
16070	output = &PutVoiceConnectorStreamingConfigurationOutput{}
16071	req = c.newRequest(op, input, output)
16072	return
16073}
16074
16075// PutVoiceConnectorStreamingConfiguration API operation for Amazon Chime.
16076//
16077// Adds a streaming configuration for the specified Amazon Chime Voice Connector.
16078// The streaming configuration specifies whether media streaming is enabled
16079// for sending to Indonesians. It also sets the retention period, in hours,
16080// for the Amazon Kinesis data.
16081//
16082// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16083// with awserr.Error's Code and Message methods to get detailed information about
16084// the error.
16085//
16086// See the AWS API reference guide for Amazon Chime's
16087// API operation PutVoiceConnectorStreamingConfiguration for usage and error information.
16088//
16089// Returned Error Types:
16090//   * UnauthorizedClientException
16091//   The client is not currently authorized to make the request.
16092//
16093//   * NotFoundException
16094//   One or more of the resources in the request does not exist in the system.
16095//
16096//   * ForbiddenException
16097//   The client is permanently forbidden from making the request.
16098//
16099//   * BadRequestException
16100//   The input parameters don't match the service's restrictions.
16101//
16102//   * ThrottledClientException
16103//   The client exceeded its request rate limit.
16104//
16105//   * ServiceUnavailableException
16106//   The service is currently unavailable.
16107//
16108//   * ServiceFailureException
16109//   The service encountered an unexpected error.
16110//
16111// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfiguration
16112func (c *Chime) PutVoiceConnectorStreamingConfiguration(input *PutVoiceConnectorStreamingConfigurationInput) (*PutVoiceConnectorStreamingConfigurationOutput, error) {
16113	req, out := c.PutVoiceConnectorStreamingConfigurationRequest(input)
16114	return out, req.Send()
16115}
16116
16117// PutVoiceConnectorStreamingConfigurationWithContext is the same as PutVoiceConnectorStreamingConfiguration with the addition of
16118// the ability to pass a context and additional request options.
16119//
16120// See PutVoiceConnectorStreamingConfiguration for details on how to use this API operation.
16121//
16122// The context must be non-nil and will be used for request cancellation. If
16123// the context is nil a panic will occur. In the future the SDK may create
16124// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16125// for more information on using Contexts.
16126func (c *Chime) PutVoiceConnectorStreamingConfigurationWithContext(ctx aws.Context, input *PutVoiceConnectorStreamingConfigurationInput, opts ...request.Option) (*PutVoiceConnectorStreamingConfigurationOutput, error) {
16127	req, out := c.PutVoiceConnectorStreamingConfigurationRequest(input)
16128	req.SetContext(ctx)
16129	req.ApplyOptions(opts...)
16130	return out, req.Send()
16131}
16132
16133const opPutVoiceConnectorTermination = "PutVoiceConnectorTermination"
16134
16135// PutVoiceConnectorTerminationRequest generates a "aws/request.Request" representing the
16136// client's request for the PutVoiceConnectorTermination operation. The "output" return
16137// value will be populated with the request's response once the request completes
16138// successfully.
16139//
16140// Use "Send" method on the returned Request to send the API call to the service.
16141// the "output" return value is not valid until after Send returns without error.
16142//
16143// See PutVoiceConnectorTermination for more information on using the PutVoiceConnectorTermination
16144// API call, and error handling.
16145//
16146// This method is useful when you want to inject custom logic or configuration
16147// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16148//
16149//
16150//    // Example sending a request using the PutVoiceConnectorTerminationRequest method.
16151//    req, resp := client.PutVoiceConnectorTerminationRequest(params)
16152//
16153//    err := req.Send()
16154//    if err == nil { // resp is now filled
16155//        fmt.Println(resp)
16156//    }
16157//
16158// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTermination
16159func (c *Chime) PutVoiceConnectorTerminationRequest(input *PutVoiceConnectorTerminationInput) (req *request.Request, output *PutVoiceConnectorTerminationOutput) {
16160	op := &request.Operation{
16161		Name:       opPutVoiceConnectorTermination,
16162		HTTPMethod: "PUT",
16163		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination",
16164	}
16165
16166	if input == nil {
16167		input = &PutVoiceConnectorTerminationInput{}
16168	}
16169
16170	output = &PutVoiceConnectorTerminationOutput{}
16171	req = c.newRequest(op, input, output)
16172	return
16173}
16174
16175// PutVoiceConnectorTermination API operation for Amazon Chime.
16176//
16177// Adds termination settings for the specified Amazon Chime Voice Connector.
16178//
16179// If emergency calling is configured for the Amazon Chime Voice Connector,
16180// it must be deleted prior to turning off termination settings.
16181//
16182// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16183// with awserr.Error's Code and Message methods to get detailed information about
16184// the error.
16185//
16186// See the AWS API reference guide for Amazon Chime's
16187// API operation PutVoiceConnectorTermination for usage and error information.
16188//
16189// Returned Error Types:
16190//   * UnauthorizedClientException
16191//   The client is not currently authorized to make the request.
16192//
16193//   * NotFoundException
16194//   One or more of the resources in the request does not exist in the system.
16195//
16196//   * ForbiddenException
16197//   The client is permanently forbidden from making the request.
16198//
16199//   * BadRequestException
16200//   The input parameters don't match the service's restrictions.
16201//
16202//   * AccessDeniedException
16203//   You don't have permissions to perform the requested operation.
16204//
16205//   * ThrottledClientException
16206//   The client exceeded its request rate limit.
16207//
16208//   * ServiceUnavailableException
16209//   The service is currently unavailable.
16210//
16211//   * ServiceFailureException
16212//   The service encountered an unexpected error.
16213//
16214// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTermination
16215func (c *Chime) PutVoiceConnectorTermination(input *PutVoiceConnectorTerminationInput) (*PutVoiceConnectorTerminationOutput, error) {
16216	req, out := c.PutVoiceConnectorTerminationRequest(input)
16217	return out, req.Send()
16218}
16219
16220// PutVoiceConnectorTerminationWithContext is the same as PutVoiceConnectorTermination with the addition of
16221// the ability to pass a context and additional request options.
16222//
16223// See PutVoiceConnectorTermination for details on how to use this API operation.
16224//
16225// The context must be non-nil and will be used for request cancellation. If
16226// the context is nil a panic will occur. In the future the SDK may create
16227// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16228// for more information on using Contexts.
16229func (c *Chime) PutVoiceConnectorTerminationWithContext(ctx aws.Context, input *PutVoiceConnectorTerminationInput, opts ...request.Option) (*PutVoiceConnectorTerminationOutput, error) {
16230	req, out := c.PutVoiceConnectorTerminationRequest(input)
16231	req.SetContext(ctx)
16232	req.ApplyOptions(opts...)
16233	return out, req.Send()
16234}
16235
16236const opPutVoiceConnectorTerminationCredentials = "PutVoiceConnectorTerminationCredentials"
16237
16238// PutVoiceConnectorTerminationCredentialsRequest generates a "aws/request.Request" representing the
16239// client's request for the PutVoiceConnectorTerminationCredentials operation. The "output" return
16240// value will be populated with the request's response once the request completes
16241// successfully.
16242//
16243// Use "Send" method on the returned Request to send the API call to the service.
16244// the "output" return value is not valid until after Send returns without error.
16245//
16246// See PutVoiceConnectorTerminationCredentials for more information on using the PutVoiceConnectorTerminationCredentials
16247// API call, and error handling.
16248//
16249// This method is useful when you want to inject custom logic or configuration
16250// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16251//
16252//
16253//    // Example sending a request using the PutVoiceConnectorTerminationCredentialsRequest method.
16254//    req, resp := client.PutVoiceConnectorTerminationCredentialsRequest(params)
16255//
16256//    err := req.Send()
16257//    if err == nil { // resp is now filled
16258//        fmt.Println(resp)
16259//    }
16260//
16261// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTerminationCredentials
16262func (c *Chime) PutVoiceConnectorTerminationCredentialsRequest(input *PutVoiceConnectorTerminationCredentialsInput) (req *request.Request, output *PutVoiceConnectorTerminationCredentialsOutput) {
16263	op := &request.Operation{
16264		Name:       opPutVoiceConnectorTerminationCredentials,
16265		HTTPMethod: "POST",
16266		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination/credentials?operation=put",
16267	}
16268
16269	if input == nil {
16270		input = &PutVoiceConnectorTerminationCredentialsInput{}
16271	}
16272
16273	output = &PutVoiceConnectorTerminationCredentialsOutput{}
16274	req = c.newRequest(op, input, output)
16275	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
16276	return
16277}
16278
16279// PutVoiceConnectorTerminationCredentials API operation for Amazon Chime.
16280//
16281// Adds termination SIP credentials for the specified Amazon Chime Voice Connector.
16282//
16283// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16284// with awserr.Error's Code and Message methods to get detailed information about
16285// the error.
16286//
16287// See the AWS API reference guide for Amazon Chime's
16288// API operation PutVoiceConnectorTerminationCredentials for usage and error information.
16289//
16290// Returned Error Types:
16291//   * UnauthorizedClientException
16292//   The client is not currently authorized to make the request.
16293//
16294//   * NotFoundException
16295//   One or more of the resources in the request does not exist in the system.
16296//
16297//   * ForbiddenException
16298//   The client is permanently forbidden from making the request.
16299//
16300//   * BadRequestException
16301//   The input parameters don't match the service's restrictions.
16302//
16303//   * ThrottledClientException
16304//   The client exceeded its request rate limit.
16305//
16306//   * ServiceUnavailableException
16307//   The service is currently unavailable.
16308//
16309//   * ServiceFailureException
16310//   The service encountered an unexpected error.
16311//
16312// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTerminationCredentials
16313func (c *Chime) PutVoiceConnectorTerminationCredentials(input *PutVoiceConnectorTerminationCredentialsInput) (*PutVoiceConnectorTerminationCredentialsOutput, error) {
16314	req, out := c.PutVoiceConnectorTerminationCredentialsRequest(input)
16315	return out, req.Send()
16316}
16317
16318// PutVoiceConnectorTerminationCredentialsWithContext is the same as PutVoiceConnectorTerminationCredentials with the addition of
16319// the ability to pass a context and additional request options.
16320//
16321// See PutVoiceConnectorTerminationCredentials for details on how to use this API operation.
16322//
16323// The context must be non-nil and will be used for request cancellation. If
16324// the context is nil a panic will occur. In the future the SDK may create
16325// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16326// for more information on using Contexts.
16327func (c *Chime) PutVoiceConnectorTerminationCredentialsWithContext(ctx aws.Context, input *PutVoiceConnectorTerminationCredentialsInput, opts ...request.Option) (*PutVoiceConnectorTerminationCredentialsOutput, error) {
16328	req, out := c.PutVoiceConnectorTerminationCredentialsRequest(input)
16329	req.SetContext(ctx)
16330	req.ApplyOptions(opts...)
16331	return out, req.Send()
16332}
16333
16334const opRedactChannelMessage = "RedactChannelMessage"
16335
16336// RedactChannelMessageRequest generates a "aws/request.Request" representing the
16337// client's request for the RedactChannelMessage operation. The "output" return
16338// value will be populated with the request's response once the request completes
16339// successfully.
16340//
16341// Use "Send" method on the returned Request to send the API call to the service.
16342// the "output" return value is not valid until after Send returns without error.
16343//
16344// See RedactChannelMessage for more information on using the RedactChannelMessage
16345// API call, and error handling.
16346//
16347// This method is useful when you want to inject custom logic or configuration
16348// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16349//
16350//
16351//    // Example sending a request using the RedactChannelMessageRequest method.
16352//    req, resp := client.RedactChannelMessageRequest(params)
16353//
16354//    err := req.Send()
16355//    if err == nil { // resp is now filled
16356//        fmt.Println(resp)
16357//    }
16358//
16359// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactChannelMessage
16360func (c *Chime) RedactChannelMessageRequest(input *RedactChannelMessageInput) (req *request.Request, output *RedactChannelMessageOutput) {
16361	op := &request.Operation{
16362		Name:       opRedactChannelMessage,
16363		HTTPMethod: "POST",
16364		HTTPPath:   "/channels/{channelArn}/messages/{messageId}?operation=redact",
16365	}
16366
16367	if input == nil {
16368		input = &RedactChannelMessageInput{}
16369	}
16370
16371	output = &RedactChannelMessageOutput{}
16372	req = c.newRequest(op, input, output)
16373	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
16374	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
16375	return
16376}
16377
16378// RedactChannelMessage API operation for Amazon Chime.
16379//
16380// Redacts message content, but not metadata. The message exists in the back
16381// end, but the action returns null content, and the state shows as redacted.
16382//
16383// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
16384// of the user that makes the API call as the value in the header.
16385//
16386// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16387// with awserr.Error's Code and Message methods to get detailed information about
16388// the error.
16389//
16390// See the AWS API reference guide for Amazon Chime's
16391// API operation RedactChannelMessage for usage and error information.
16392//
16393// Returned Error Types:
16394//   * BadRequestException
16395//   The input parameters don't match the service's restrictions.
16396//
16397//   * ForbiddenException
16398//   The client is permanently forbidden from making the request.
16399//
16400//   * UnauthorizedClientException
16401//   The client is not currently authorized to make the request.
16402//
16403//   * ThrottledClientException
16404//   The client exceeded its request rate limit.
16405//
16406//   * ServiceUnavailableException
16407//   The service is currently unavailable.
16408//
16409//   * ServiceFailureException
16410//   The service encountered an unexpected error.
16411//
16412// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactChannelMessage
16413func (c *Chime) RedactChannelMessage(input *RedactChannelMessageInput) (*RedactChannelMessageOutput, error) {
16414	req, out := c.RedactChannelMessageRequest(input)
16415	return out, req.Send()
16416}
16417
16418// RedactChannelMessageWithContext is the same as RedactChannelMessage with the addition of
16419// the ability to pass a context and additional request options.
16420//
16421// See RedactChannelMessage for details on how to use this API operation.
16422//
16423// The context must be non-nil and will be used for request cancellation. If
16424// the context is nil a panic will occur. In the future the SDK may create
16425// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16426// for more information on using Contexts.
16427func (c *Chime) RedactChannelMessageWithContext(ctx aws.Context, input *RedactChannelMessageInput, opts ...request.Option) (*RedactChannelMessageOutput, error) {
16428	req, out := c.RedactChannelMessageRequest(input)
16429	req.SetContext(ctx)
16430	req.ApplyOptions(opts...)
16431	return out, req.Send()
16432}
16433
16434const opRedactConversationMessage = "RedactConversationMessage"
16435
16436// RedactConversationMessageRequest generates a "aws/request.Request" representing the
16437// client's request for the RedactConversationMessage operation. The "output" return
16438// value will be populated with the request's response once the request completes
16439// successfully.
16440//
16441// Use "Send" method on the returned Request to send the API call to the service.
16442// the "output" return value is not valid until after Send returns without error.
16443//
16444// See RedactConversationMessage for more information on using the RedactConversationMessage
16445// API call, and error handling.
16446//
16447// This method is useful when you want to inject custom logic or configuration
16448// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16449//
16450//
16451//    // Example sending a request using the RedactConversationMessageRequest method.
16452//    req, resp := client.RedactConversationMessageRequest(params)
16453//
16454//    err := req.Send()
16455//    if err == nil { // resp is now filled
16456//        fmt.Println(resp)
16457//    }
16458//
16459// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessage
16460func (c *Chime) RedactConversationMessageRequest(input *RedactConversationMessageInput) (req *request.Request, output *RedactConversationMessageOutput) {
16461	op := &request.Operation{
16462		Name:       opRedactConversationMessage,
16463		HTTPMethod: "POST",
16464		HTTPPath:   "/accounts/{accountId}/conversations/{conversationId}/messages/{messageId}?operation=redact",
16465	}
16466
16467	if input == nil {
16468		input = &RedactConversationMessageInput{}
16469	}
16470
16471	output = &RedactConversationMessageOutput{}
16472	req = c.newRequest(op, input, output)
16473	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
16474	return
16475}
16476
16477// RedactConversationMessage API operation for Amazon Chime.
16478//
16479// Redacts the specified message from the specified Amazon Chime conversation.
16480//
16481// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16482// with awserr.Error's Code and Message methods to get detailed information about
16483// the error.
16484//
16485// See the AWS API reference guide for Amazon Chime's
16486// API operation RedactConversationMessage for usage and error information.
16487//
16488// Returned Error Types:
16489//   * NotFoundException
16490//   One or more of the resources in the request does not exist in the system.
16491//
16492//   * ForbiddenException
16493//   The client is permanently forbidden from making the request.
16494//
16495//   * UnauthorizedClientException
16496//   The client is not currently authorized to make the request.
16497//
16498//   * ThrottledClientException
16499//   The client exceeded its request rate limit.
16500//
16501//   * BadRequestException
16502//   The input parameters don't match the service's restrictions.
16503//
16504//   * ServiceUnavailableException
16505//   The service is currently unavailable.
16506//
16507//   * ServiceFailureException
16508//   The service encountered an unexpected error.
16509//
16510// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessage
16511func (c *Chime) RedactConversationMessage(input *RedactConversationMessageInput) (*RedactConversationMessageOutput, error) {
16512	req, out := c.RedactConversationMessageRequest(input)
16513	return out, req.Send()
16514}
16515
16516// RedactConversationMessageWithContext is the same as RedactConversationMessage with the addition of
16517// the ability to pass a context and additional request options.
16518//
16519// See RedactConversationMessage for details on how to use this API operation.
16520//
16521// The context must be non-nil and will be used for request cancellation. If
16522// the context is nil a panic will occur. In the future the SDK may create
16523// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16524// for more information on using Contexts.
16525func (c *Chime) RedactConversationMessageWithContext(ctx aws.Context, input *RedactConversationMessageInput, opts ...request.Option) (*RedactConversationMessageOutput, error) {
16526	req, out := c.RedactConversationMessageRequest(input)
16527	req.SetContext(ctx)
16528	req.ApplyOptions(opts...)
16529	return out, req.Send()
16530}
16531
16532const opRedactRoomMessage = "RedactRoomMessage"
16533
16534// RedactRoomMessageRequest generates a "aws/request.Request" representing the
16535// client's request for the RedactRoomMessage operation. The "output" return
16536// value will be populated with the request's response once the request completes
16537// successfully.
16538//
16539// Use "Send" method on the returned Request to send the API call to the service.
16540// the "output" return value is not valid until after Send returns without error.
16541//
16542// See RedactRoomMessage for more information on using the RedactRoomMessage
16543// API call, and error handling.
16544//
16545// This method is useful when you want to inject custom logic or configuration
16546// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16547//
16548//
16549//    // Example sending a request using the RedactRoomMessageRequest method.
16550//    req, resp := client.RedactRoomMessageRequest(params)
16551//
16552//    err := req.Send()
16553//    if err == nil { // resp is now filled
16554//        fmt.Println(resp)
16555//    }
16556//
16557// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessage
16558func (c *Chime) RedactRoomMessageRequest(input *RedactRoomMessageInput) (req *request.Request, output *RedactRoomMessageOutput) {
16559	op := &request.Operation{
16560		Name:       opRedactRoomMessage,
16561		HTTPMethod: "POST",
16562		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}/messages/{messageId}?operation=redact",
16563	}
16564
16565	if input == nil {
16566		input = &RedactRoomMessageInput{}
16567	}
16568
16569	output = &RedactRoomMessageOutput{}
16570	req = c.newRequest(op, input, output)
16571	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
16572	return
16573}
16574
16575// RedactRoomMessage API operation for Amazon Chime.
16576//
16577// Redacts the specified message from the specified Amazon Chime channel.
16578//
16579// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16580// with awserr.Error's Code and Message methods to get detailed information about
16581// the error.
16582//
16583// See the AWS API reference guide for Amazon Chime's
16584// API operation RedactRoomMessage for usage and error information.
16585//
16586// Returned Error Types:
16587//   * NotFoundException
16588//   One or more of the resources in the request does not exist in the system.
16589//
16590//   * ForbiddenException
16591//   The client is permanently forbidden from making the request.
16592//
16593//   * UnauthorizedClientException
16594//   The client is not currently authorized to make the request.
16595//
16596//   * ThrottledClientException
16597//   The client exceeded its request rate limit.
16598//
16599//   * BadRequestException
16600//   The input parameters don't match the service's restrictions.
16601//
16602//   * ServiceUnavailableException
16603//   The service is currently unavailable.
16604//
16605//   * ServiceFailureException
16606//   The service encountered an unexpected error.
16607//
16608// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessage
16609func (c *Chime) RedactRoomMessage(input *RedactRoomMessageInput) (*RedactRoomMessageOutput, error) {
16610	req, out := c.RedactRoomMessageRequest(input)
16611	return out, req.Send()
16612}
16613
16614// RedactRoomMessageWithContext is the same as RedactRoomMessage with the addition of
16615// the ability to pass a context and additional request options.
16616//
16617// See RedactRoomMessage for details on how to use this API operation.
16618//
16619// The context must be non-nil and will be used for request cancellation. If
16620// the context is nil a panic will occur. In the future the SDK may create
16621// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16622// for more information on using Contexts.
16623func (c *Chime) RedactRoomMessageWithContext(ctx aws.Context, input *RedactRoomMessageInput, opts ...request.Option) (*RedactRoomMessageOutput, error) {
16624	req, out := c.RedactRoomMessageRequest(input)
16625	req.SetContext(ctx)
16626	req.ApplyOptions(opts...)
16627	return out, req.Send()
16628}
16629
16630const opRegenerateSecurityToken = "RegenerateSecurityToken"
16631
16632// RegenerateSecurityTokenRequest generates a "aws/request.Request" representing the
16633// client's request for the RegenerateSecurityToken operation. The "output" return
16634// value will be populated with the request's response once the request completes
16635// successfully.
16636//
16637// Use "Send" method on the returned Request to send the API call to the service.
16638// the "output" return value is not valid until after Send returns without error.
16639//
16640// See RegenerateSecurityToken for more information on using the RegenerateSecurityToken
16641// API call, and error handling.
16642//
16643// This method is useful when you want to inject custom logic or configuration
16644// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16645//
16646//
16647//    // Example sending a request using the RegenerateSecurityTokenRequest method.
16648//    req, resp := client.RegenerateSecurityTokenRequest(params)
16649//
16650//    err := req.Send()
16651//    if err == nil { // resp is now filled
16652//        fmt.Println(resp)
16653//    }
16654//
16655// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RegenerateSecurityToken
16656func (c *Chime) RegenerateSecurityTokenRequest(input *RegenerateSecurityTokenInput) (req *request.Request, output *RegenerateSecurityTokenOutput) {
16657	op := &request.Operation{
16658		Name:       opRegenerateSecurityToken,
16659		HTTPMethod: "POST",
16660		HTTPPath:   "/accounts/{accountId}/bots/{botId}?operation=regenerate-security-token",
16661	}
16662
16663	if input == nil {
16664		input = &RegenerateSecurityTokenInput{}
16665	}
16666
16667	output = &RegenerateSecurityTokenOutput{}
16668	req = c.newRequest(op, input, output)
16669	return
16670}
16671
16672// RegenerateSecurityToken API operation for Amazon Chime.
16673//
16674// Regenerates the security token for a bot.
16675//
16676// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16677// with awserr.Error's Code and Message methods to get detailed information about
16678// the error.
16679//
16680// See the AWS API reference guide for Amazon Chime's
16681// API operation RegenerateSecurityToken for usage and error information.
16682//
16683// Returned Error Types:
16684//   * ServiceUnavailableException
16685//   The service is currently unavailable.
16686//
16687//   * ServiceFailureException
16688//   The service encountered an unexpected error.
16689//
16690//   * ForbiddenException
16691//   The client is permanently forbidden from making the request.
16692//
16693//   * BadRequestException
16694//   The input parameters don't match the service's restrictions.
16695//
16696//   * UnauthorizedClientException
16697//   The client is not currently authorized to make the request.
16698//
16699//   * NotFoundException
16700//   One or more of the resources in the request does not exist in the system.
16701//
16702//   * ThrottledClientException
16703//   The client exceeded its request rate limit.
16704//
16705// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RegenerateSecurityToken
16706func (c *Chime) RegenerateSecurityToken(input *RegenerateSecurityTokenInput) (*RegenerateSecurityTokenOutput, error) {
16707	req, out := c.RegenerateSecurityTokenRequest(input)
16708	return out, req.Send()
16709}
16710
16711// RegenerateSecurityTokenWithContext is the same as RegenerateSecurityToken with the addition of
16712// the ability to pass a context and additional request options.
16713//
16714// See RegenerateSecurityToken for details on how to use this API operation.
16715//
16716// The context must be non-nil and will be used for request cancellation. If
16717// the context is nil a panic will occur. In the future the SDK may create
16718// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16719// for more information on using Contexts.
16720func (c *Chime) RegenerateSecurityTokenWithContext(ctx aws.Context, input *RegenerateSecurityTokenInput, opts ...request.Option) (*RegenerateSecurityTokenOutput, error) {
16721	req, out := c.RegenerateSecurityTokenRequest(input)
16722	req.SetContext(ctx)
16723	req.ApplyOptions(opts...)
16724	return out, req.Send()
16725}
16726
16727const opResetPersonalPIN = "ResetPersonalPIN"
16728
16729// ResetPersonalPINRequest generates a "aws/request.Request" representing the
16730// client's request for the ResetPersonalPIN operation. The "output" return
16731// value will be populated with the request's response once the request completes
16732// successfully.
16733//
16734// Use "Send" method on the returned Request to send the API call to the service.
16735// the "output" return value is not valid until after Send returns without error.
16736//
16737// See ResetPersonalPIN for more information on using the ResetPersonalPIN
16738// API call, and error handling.
16739//
16740// This method is useful when you want to inject custom logic or configuration
16741// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16742//
16743//
16744//    // Example sending a request using the ResetPersonalPINRequest method.
16745//    req, resp := client.ResetPersonalPINRequest(params)
16746//
16747//    err := req.Send()
16748//    if err == nil { // resp is now filled
16749//        fmt.Println(resp)
16750//    }
16751//
16752// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ResetPersonalPIN
16753func (c *Chime) ResetPersonalPINRequest(input *ResetPersonalPINInput) (req *request.Request, output *ResetPersonalPINOutput) {
16754	op := &request.Operation{
16755		Name:       opResetPersonalPIN,
16756		HTTPMethod: "POST",
16757		HTTPPath:   "/accounts/{accountId}/users/{userId}?operation=reset-personal-pin",
16758	}
16759
16760	if input == nil {
16761		input = &ResetPersonalPINInput{}
16762	}
16763
16764	output = &ResetPersonalPINOutput{}
16765	req = c.newRequest(op, input, output)
16766	return
16767}
16768
16769// ResetPersonalPIN API operation for Amazon Chime.
16770//
16771// Resets the personal meeting PIN for the specified user on an Amazon Chime
16772// account. Returns the User object with the updated personal meeting PIN.
16773//
16774// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16775// with awserr.Error's Code and Message methods to get detailed information about
16776// the error.
16777//
16778// See the AWS API reference guide for Amazon Chime's
16779// API operation ResetPersonalPIN for usage and error information.
16780//
16781// Returned Error Types:
16782//   * UnauthorizedClientException
16783//   The client is not currently authorized to make the request.
16784//
16785//   * NotFoundException
16786//   One or more of the resources in the request does not exist in the system.
16787//
16788//   * ForbiddenException
16789//   The client is permanently forbidden from making the request.
16790//
16791//   * BadRequestException
16792//   The input parameters don't match the service's restrictions.
16793//
16794//   * ThrottledClientException
16795//   The client exceeded its request rate limit.
16796//
16797//   * ServiceUnavailableException
16798//   The service is currently unavailable.
16799//
16800//   * ServiceFailureException
16801//   The service encountered an unexpected error.
16802//
16803// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ResetPersonalPIN
16804func (c *Chime) ResetPersonalPIN(input *ResetPersonalPINInput) (*ResetPersonalPINOutput, error) {
16805	req, out := c.ResetPersonalPINRequest(input)
16806	return out, req.Send()
16807}
16808
16809// ResetPersonalPINWithContext is the same as ResetPersonalPIN with the addition of
16810// the ability to pass a context and additional request options.
16811//
16812// See ResetPersonalPIN for details on how to use this API operation.
16813//
16814// The context must be non-nil and will be used for request cancellation. If
16815// the context is nil a panic will occur. In the future the SDK may create
16816// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16817// for more information on using Contexts.
16818func (c *Chime) ResetPersonalPINWithContext(ctx aws.Context, input *ResetPersonalPINInput, opts ...request.Option) (*ResetPersonalPINOutput, error) {
16819	req, out := c.ResetPersonalPINRequest(input)
16820	req.SetContext(ctx)
16821	req.ApplyOptions(opts...)
16822	return out, req.Send()
16823}
16824
16825const opRestorePhoneNumber = "RestorePhoneNumber"
16826
16827// RestorePhoneNumberRequest generates a "aws/request.Request" representing the
16828// client's request for the RestorePhoneNumber operation. The "output" return
16829// value will be populated with the request's response once the request completes
16830// successfully.
16831//
16832// Use "Send" method on the returned Request to send the API call to the service.
16833// the "output" return value is not valid until after Send returns without error.
16834//
16835// See RestorePhoneNumber for more information on using the RestorePhoneNumber
16836// API call, and error handling.
16837//
16838// This method is useful when you want to inject custom logic or configuration
16839// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16840//
16841//
16842//    // Example sending a request using the RestorePhoneNumberRequest method.
16843//    req, resp := client.RestorePhoneNumberRequest(params)
16844//
16845//    err := req.Send()
16846//    if err == nil { // resp is now filled
16847//        fmt.Println(resp)
16848//    }
16849//
16850// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RestorePhoneNumber
16851func (c *Chime) RestorePhoneNumberRequest(input *RestorePhoneNumberInput) (req *request.Request, output *RestorePhoneNumberOutput) {
16852	op := &request.Operation{
16853		Name:       opRestorePhoneNumber,
16854		HTTPMethod: "POST",
16855		HTTPPath:   "/phone-numbers/{phoneNumberId}?operation=restore",
16856	}
16857
16858	if input == nil {
16859		input = &RestorePhoneNumberInput{}
16860	}
16861
16862	output = &RestorePhoneNumberOutput{}
16863	req = c.newRequest(op, input, output)
16864	return
16865}
16866
16867// RestorePhoneNumber API operation for Amazon Chime.
16868//
16869// Moves a phone number from the Deletion queue back into the phone number Inventory.
16870//
16871// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16872// with awserr.Error's Code and Message methods to get detailed information about
16873// the error.
16874//
16875// See the AWS API reference guide for Amazon Chime's
16876// API operation RestorePhoneNumber for usage and error information.
16877//
16878// Returned Error Types:
16879//   * UnauthorizedClientException
16880//   The client is not currently authorized to make the request.
16881//
16882//   * NotFoundException
16883//   One or more of the resources in the request does not exist in the system.
16884//
16885//   * ForbiddenException
16886//   The client is permanently forbidden from making the request.
16887//
16888//   * BadRequestException
16889//   The input parameters don't match the service's restrictions.
16890//
16891//   * ThrottledClientException
16892//   The client exceeded its request rate limit.
16893//
16894//   * ResourceLimitExceededException
16895//   The request exceeds the resource limit.
16896//
16897//   * ServiceUnavailableException
16898//   The service is currently unavailable.
16899//
16900//   * ServiceFailureException
16901//   The service encountered an unexpected error.
16902//
16903// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RestorePhoneNumber
16904func (c *Chime) RestorePhoneNumber(input *RestorePhoneNumberInput) (*RestorePhoneNumberOutput, error) {
16905	req, out := c.RestorePhoneNumberRequest(input)
16906	return out, req.Send()
16907}
16908
16909// RestorePhoneNumberWithContext is the same as RestorePhoneNumber with the addition of
16910// the ability to pass a context and additional request options.
16911//
16912// See RestorePhoneNumber for details on how to use this API operation.
16913//
16914// The context must be non-nil and will be used for request cancellation. If
16915// the context is nil a panic will occur. In the future the SDK may create
16916// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16917// for more information on using Contexts.
16918func (c *Chime) RestorePhoneNumberWithContext(ctx aws.Context, input *RestorePhoneNumberInput, opts ...request.Option) (*RestorePhoneNumberOutput, error) {
16919	req, out := c.RestorePhoneNumberRequest(input)
16920	req.SetContext(ctx)
16921	req.ApplyOptions(opts...)
16922	return out, req.Send()
16923}
16924
16925const opSearchAvailablePhoneNumbers = "SearchAvailablePhoneNumbers"
16926
16927// SearchAvailablePhoneNumbersRequest generates a "aws/request.Request" representing the
16928// client's request for the SearchAvailablePhoneNumbers operation. The "output" return
16929// value will be populated with the request's response once the request completes
16930// successfully.
16931//
16932// Use "Send" method on the returned Request to send the API call to the service.
16933// the "output" return value is not valid until after Send returns without error.
16934//
16935// See SearchAvailablePhoneNumbers for more information on using the SearchAvailablePhoneNumbers
16936// API call, and error handling.
16937//
16938// This method is useful when you want to inject custom logic or configuration
16939// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16940//
16941//
16942//    // Example sending a request using the SearchAvailablePhoneNumbersRequest method.
16943//    req, resp := client.SearchAvailablePhoneNumbersRequest(params)
16944//
16945//    err := req.Send()
16946//    if err == nil { // resp is now filled
16947//        fmt.Println(resp)
16948//    }
16949//
16950// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SearchAvailablePhoneNumbers
16951func (c *Chime) SearchAvailablePhoneNumbersRequest(input *SearchAvailablePhoneNumbersInput) (req *request.Request, output *SearchAvailablePhoneNumbersOutput) {
16952	op := &request.Operation{
16953		Name:       opSearchAvailablePhoneNumbers,
16954		HTTPMethod: "GET",
16955		HTTPPath:   "/search?type=phone-numbers",
16956		Paginator: &request.Paginator{
16957			InputTokens:     []string{"NextToken"},
16958			OutputTokens:    []string{"NextToken"},
16959			LimitToken:      "MaxResults",
16960			TruncationToken: "",
16961		},
16962	}
16963
16964	if input == nil {
16965		input = &SearchAvailablePhoneNumbersInput{}
16966	}
16967
16968	output = &SearchAvailablePhoneNumbersOutput{}
16969	req = c.newRequest(op, input, output)
16970	return
16971}
16972
16973// SearchAvailablePhoneNumbers API operation for Amazon Chime.
16974//
16975// Searches for phone numbers that can be ordered. For US numbers, provide at
16976// least one of the following search filters: AreaCode, City, State, or TollFreePrefix.
16977// If you provide City, you must also provide State. Numbers outside the US
16978// only support the PhoneNumberType filter, which you must use.
16979//
16980// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16981// with awserr.Error's Code and Message methods to get detailed information about
16982// the error.
16983//
16984// See the AWS API reference guide for Amazon Chime's
16985// API operation SearchAvailablePhoneNumbers for usage and error information.
16986//
16987// Returned Error Types:
16988//   * BadRequestException
16989//   The input parameters don't match the service's restrictions.
16990//
16991//   * ForbiddenException
16992//   The client is permanently forbidden from making the request.
16993//
16994//   * AccessDeniedException
16995//   You don't have permissions to perform the requested operation.
16996//
16997//   * UnauthorizedClientException
16998//   The client is not currently authorized to make the request.
16999//
17000//   * ThrottledClientException
17001//   The client exceeded its request rate limit.
17002//
17003//   * ServiceUnavailableException
17004//   The service is currently unavailable.
17005//
17006//   * ServiceFailureException
17007//   The service encountered an unexpected error.
17008//
17009// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SearchAvailablePhoneNumbers
17010func (c *Chime) SearchAvailablePhoneNumbers(input *SearchAvailablePhoneNumbersInput) (*SearchAvailablePhoneNumbersOutput, error) {
17011	req, out := c.SearchAvailablePhoneNumbersRequest(input)
17012	return out, req.Send()
17013}
17014
17015// SearchAvailablePhoneNumbersWithContext is the same as SearchAvailablePhoneNumbers with the addition of
17016// the ability to pass a context and additional request options.
17017//
17018// See SearchAvailablePhoneNumbers for details on how to use this API operation.
17019//
17020// The context must be non-nil and will be used for request cancellation. If
17021// the context is nil a panic will occur. In the future the SDK may create
17022// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17023// for more information on using Contexts.
17024func (c *Chime) SearchAvailablePhoneNumbersWithContext(ctx aws.Context, input *SearchAvailablePhoneNumbersInput, opts ...request.Option) (*SearchAvailablePhoneNumbersOutput, error) {
17025	req, out := c.SearchAvailablePhoneNumbersRequest(input)
17026	req.SetContext(ctx)
17027	req.ApplyOptions(opts...)
17028	return out, req.Send()
17029}
17030
17031// SearchAvailablePhoneNumbersPages iterates over the pages of a SearchAvailablePhoneNumbers operation,
17032// calling the "fn" function with the response data for each page. To stop
17033// iterating, return false from the fn function.
17034//
17035// See SearchAvailablePhoneNumbers method for more information on how to use this operation.
17036//
17037// Note: This operation can generate multiple requests to a service.
17038//
17039//    // Example iterating over at most 3 pages of a SearchAvailablePhoneNumbers operation.
17040//    pageNum := 0
17041//    err := client.SearchAvailablePhoneNumbersPages(params,
17042//        func(page *chime.SearchAvailablePhoneNumbersOutput, lastPage bool) bool {
17043//            pageNum++
17044//            fmt.Println(page)
17045//            return pageNum <= 3
17046//        })
17047//
17048func (c *Chime) SearchAvailablePhoneNumbersPages(input *SearchAvailablePhoneNumbersInput, fn func(*SearchAvailablePhoneNumbersOutput, bool) bool) error {
17049	return c.SearchAvailablePhoneNumbersPagesWithContext(aws.BackgroundContext(), input, fn)
17050}
17051
17052// SearchAvailablePhoneNumbersPagesWithContext same as SearchAvailablePhoneNumbersPages except
17053// it takes a Context and allows setting request options on the pages.
17054//
17055// The context must be non-nil and will be used for request cancellation. If
17056// the context is nil a panic will occur. In the future the SDK may create
17057// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17058// for more information on using Contexts.
17059func (c *Chime) SearchAvailablePhoneNumbersPagesWithContext(ctx aws.Context, input *SearchAvailablePhoneNumbersInput, fn func(*SearchAvailablePhoneNumbersOutput, bool) bool, opts ...request.Option) error {
17060	p := request.Pagination{
17061		NewRequest: func() (*request.Request, error) {
17062			var inCpy *SearchAvailablePhoneNumbersInput
17063			if input != nil {
17064				tmp := *input
17065				inCpy = &tmp
17066			}
17067			req, _ := c.SearchAvailablePhoneNumbersRequest(inCpy)
17068			req.SetContext(ctx)
17069			req.ApplyOptions(opts...)
17070			return req, nil
17071		},
17072	}
17073
17074	for p.Next() {
17075		if !fn(p.Page().(*SearchAvailablePhoneNumbersOutput), !p.HasNextPage()) {
17076			break
17077		}
17078	}
17079
17080	return p.Err()
17081}
17082
17083const opSendChannelMessage = "SendChannelMessage"
17084
17085// SendChannelMessageRequest generates a "aws/request.Request" representing the
17086// client's request for the SendChannelMessage operation. The "output" return
17087// value will be populated with the request's response once the request completes
17088// successfully.
17089//
17090// Use "Send" method on the returned Request to send the API call to the service.
17091// the "output" return value is not valid until after Send returns without error.
17092//
17093// See SendChannelMessage for more information on using the SendChannelMessage
17094// API call, and error handling.
17095//
17096// This method is useful when you want to inject custom logic or configuration
17097// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17098//
17099//
17100//    // Example sending a request using the SendChannelMessageRequest method.
17101//    req, resp := client.SendChannelMessageRequest(params)
17102//
17103//    err := req.Send()
17104//    if err == nil { // resp is now filled
17105//        fmt.Println(resp)
17106//    }
17107//
17108// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SendChannelMessage
17109func (c *Chime) SendChannelMessageRequest(input *SendChannelMessageInput) (req *request.Request, output *SendChannelMessageOutput) {
17110	op := &request.Operation{
17111		Name:       opSendChannelMessage,
17112		HTTPMethod: "POST",
17113		HTTPPath:   "/channels/{channelArn}/messages",
17114	}
17115
17116	if input == nil {
17117		input = &SendChannelMessageInput{}
17118	}
17119
17120	output = &SendChannelMessageOutput{}
17121	req = c.newRequest(op, input, output)
17122	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
17123	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
17124	return
17125}
17126
17127// SendChannelMessage API operation for Amazon Chime.
17128//
17129// Sends a message to a particular channel that the member is a part of.
17130//
17131// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
17132// of the user that makes the API call as the value in the header.
17133//
17134// Also, STANDARD messages can contain 4KB of data and the 1KB of metadata.
17135// CONTROL messages can contain 30 bytes of data and no metadata.
17136//
17137// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17138// with awserr.Error's Code and Message methods to get detailed information about
17139// the error.
17140//
17141// See the AWS API reference guide for Amazon Chime's
17142// API operation SendChannelMessage for usage and error information.
17143//
17144// Returned Error Types:
17145//   * BadRequestException
17146//   The input parameters don't match the service's restrictions.
17147//
17148//   * ConflictException
17149//   The request could not be processed because of conflict in the current state
17150//   of the resource.
17151//
17152//   * ForbiddenException
17153//   The client is permanently forbidden from making the request.
17154//
17155//   * UnauthorizedClientException
17156//   The client is not currently authorized to make the request.
17157//
17158//   * ThrottledClientException
17159//   The client exceeded its request rate limit.
17160//
17161//   * ServiceUnavailableException
17162//   The service is currently unavailable.
17163//
17164//   * ServiceFailureException
17165//   The service encountered an unexpected error.
17166//
17167// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SendChannelMessage
17168func (c *Chime) SendChannelMessage(input *SendChannelMessageInput) (*SendChannelMessageOutput, error) {
17169	req, out := c.SendChannelMessageRequest(input)
17170	return out, req.Send()
17171}
17172
17173// SendChannelMessageWithContext is the same as SendChannelMessage with the addition of
17174// the ability to pass a context and additional request options.
17175//
17176// See SendChannelMessage for details on how to use this API operation.
17177//
17178// The context must be non-nil and will be used for request cancellation. If
17179// the context is nil a panic will occur. In the future the SDK may create
17180// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17181// for more information on using Contexts.
17182func (c *Chime) SendChannelMessageWithContext(ctx aws.Context, input *SendChannelMessageInput, opts ...request.Option) (*SendChannelMessageOutput, error) {
17183	req, out := c.SendChannelMessageRequest(input)
17184	req.SetContext(ctx)
17185	req.ApplyOptions(opts...)
17186	return out, req.Send()
17187}
17188
17189const opTagAttendee = "TagAttendee"
17190
17191// TagAttendeeRequest generates a "aws/request.Request" representing the
17192// client's request for the TagAttendee operation. The "output" return
17193// value will be populated with the request's response once the request completes
17194// successfully.
17195//
17196// Use "Send" method on the returned Request to send the API call to the service.
17197// the "output" return value is not valid until after Send returns without error.
17198//
17199// See TagAttendee for more information on using the TagAttendee
17200// API call, and error handling.
17201//
17202// This method is useful when you want to inject custom logic or configuration
17203// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17204//
17205//
17206//    // Example sending a request using the TagAttendeeRequest method.
17207//    req, resp := client.TagAttendeeRequest(params)
17208//
17209//    err := req.Send()
17210//    if err == nil { // resp is now filled
17211//        fmt.Println(resp)
17212//    }
17213//
17214// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagAttendee
17215func (c *Chime) TagAttendeeRequest(input *TagAttendeeInput) (req *request.Request, output *TagAttendeeOutput) {
17216	op := &request.Operation{
17217		Name:       opTagAttendee,
17218		HTTPMethod: "POST",
17219		HTTPPath:   "/meetings/{meetingId}/attendees/{attendeeId}/tags?operation=add",
17220	}
17221
17222	if input == nil {
17223		input = &TagAttendeeInput{}
17224	}
17225
17226	output = &TagAttendeeOutput{}
17227	req = c.newRequest(op, input, output)
17228	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
17229	return
17230}
17231
17232// TagAttendee API operation for Amazon Chime.
17233//
17234// Applies the specified tags to the specified Amazon Chime SDK attendee.
17235//
17236// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17237// with awserr.Error's Code and Message methods to get detailed information about
17238// the error.
17239//
17240// See the AWS API reference guide for Amazon Chime's
17241// API operation TagAttendee for usage and error information.
17242//
17243// Returned Error Types:
17244//   * BadRequestException
17245//   The input parameters don't match the service's restrictions.
17246//
17247//   * ForbiddenException
17248//   The client is permanently forbidden from making the request.
17249//
17250//   * NotFoundException
17251//   One or more of the resources in the request does not exist in the system.
17252//
17253//   * ResourceLimitExceededException
17254//   The request exceeds the resource limit.
17255//
17256//   * ThrottledClientException
17257//   The client exceeded its request rate limit.
17258//
17259//   * UnauthorizedClientException
17260//   The client is not currently authorized to make the request.
17261//
17262//   * ServiceUnavailableException
17263//   The service is currently unavailable.
17264//
17265//   * ServiceFailureException
17266//   The service encountered an unexpected error.
17267//
17268// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagAttendee
17269func (c *Chime) TagAttendee(input *TagAttendeeInput) (*TagAttendeeOutput, error) {
17270	req, out := c.TagAttendeeRequest(input)
17271	return out, req.Send()
17272}
17273
17274// TagAttendeeWithContext is the same as TagAttendee with the addition of
17275// the ability to pass a context and additional request options.
17276//
17277// See TagAttendee for details on how to use this API operation.
17278//
17279// The context must be non-nil and will be used for request cancellation. If
17280// the context is nil a panic will occur. In the future the SDK may create
17281// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17282// for more information on using Contexts.
17283func (c *Chime) TagAttendeeWithContext(ctx aws.Context, input *TagAttendeeInput, opts ...request.Option) (*TagAttendeeOutput, error) {
17284	req, out := c.TagAttendeeRequest(input)
17285	req.SetContext(ctx)
17286	req.ApplyOptions(opts...)
17287	return out, req.Send()
17288}
17289
17290const opTagMeeting = "TagMeeting"
17291
17292// TagMeetingRequest generates a "aws/request.Request" representing the
17293// client's request for the TagMeeting operation. The "output" return
17294// value will be populated with the request's response once the request completes
17295// successfully.
17296//
17297// Use "Send" method on the returned Request to send the API call to the service.
17298// the "output" return value is not valid until after Send returns without error.
17299//
17300// See TagMeeting for more information on using the TagMeeting
17301// API call, and error handling.
17302//
17303// This method is useful when you want to inject custom logic or configuration
17304// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17305//
17306//
17307//    // Example sending a request using the TagMeetingRequest method.
17308//    req, resp := client.TagMeetingRequest(params)
17309//
17310//    err := req.Send()
17311//    if err == nil { // resp is now filled
17312//        fmt.Println(resp)
17313//    }
17314//
17315// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagMeeting
17316func (c *Chime) TagMeetingRequest(input *TagMeetingInput) (req *request.Request, output *TagMeetingOutput) {
17317	op := &request.Operation{
17318		Name:       opTagMeeting,
17319		HTTPMethod: "POST",
17320		HTTPPath:   "/meetings/{meetingId}/tags?operation=add",
17321	}
17322
17323	if input == nil {
17324		input = &TagMeetingInput{}
17325	}
17326
17327	output = &TagMeetingOutput{}
17328	req = c.newRequest(op, input, output)
17329	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
17330	return
17331}
17332
17333// TagMeeting API operation for Amazon Chime.
17334//
17335// Applies the specified tags to the specified Amazon Chime SDK meeting.
17336//
17337// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17338// with awserr.Error's Code and Message methods to get detailed information about
17339// the error.
17340//
17341// See the AWS API reference guide for Amazon Chime's
17342// API operation TagMeeting for usage and error information.
17343//
17344// Returned Error Types:
17345//   * BadRequestException
17346//   The input parameters don't match the service's restrictions.
17347//
17348//   * ForbiddenException
17349//   The client is permanently forbidden from making the request.
17350//
17351//   * NotFoundException
17352//   One or more of the resources in the request does not exist in the system.
17353//
17354//   * ResourceLimitExceededException
17355//   The request exceeds the resource limit.
17356//
17357//   * ThrottledClientException
17358//   The client exceeded its request rate limit.
17359//
17360//   * UnauthorizedClientException
17361//   The client is not currently authorized to make the request.
17362//
17363//   * ServiceUnavailableException
17364//   The service is currently unavailable.
17365//
17366//   * ServiceFailureException
17367//   The service encountered an unexpected error.
17368//
17369// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagMeeting
17370func (c *Chime) TagMeeting(input *TagMeetingInput) (*TagMeetingOutput, error) {
17371	req, out := c.TagMeetingRequest(input)
17372	return out, req.Send()
17373}
17374
17375// TagMeetingWithContext is the same as TagMeeting with the addition of
17376// the ability to pass a context and additional request options.
17377//
17378// See TagMeeting for details on how to use this API operation.
17379//
17380// The context must be non-nil and will be used for request cancellation. If
17381// the context is nil a panic will occur. In the future the SDK may create
17382// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17383// for more information on using Contexts.
17384func (c *Chime) TagMeetingWithContext(ctx aws.Context, input *TagMeetingInput, opts ...request.Option) (*TagMeetingOutput, error) {
17385	req, out := c.TagMeetingRequest(input)
17386	req.SetContext(ctx)
17387	req.ApplyOptions(opts...)
17388	return out, req.Send()
17389}
17390
17391const opTagResource = "TagResource"
17392
17393// TagResourceRequest generates a "aws/request.Request" representing the
17394// client's request for the TagResource operation. The "output" return
17395// value will be populated with the request's response once the request completes
17396// successfully.
17397//
17398// Use "Send" method on the returned Request to send the API call to the service.
17399// the "output" return value is not valid until after Send returns without error.
17400//
17401// See TagResource for more information on using the TagResource
17402// API call, and error handling.
17403//
17404// This method is useful when you want to inject custom logic or configuration
17405// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17406//
17407//
17408//    // Example sending a request using the TagResourceRequest method.
17409//    req, resp := client.TagResourceRequest(params)
17410//
17411//    err := req.Send()
17412//    if err == nil { // resp is now filled
17413//        fmt.Println(resp)
17414//    }
17415//
17416// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagResource
17417func (c *Chime) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
17418	op := &request.Operation{
17419		Name:       opTagResource,
17420		HTTPMethod: "POST",
17421		HTTPPath:   "/tags?operation=tag-resource",
17422	}
17423
17424	if input == nil {
17425		input = &TagResourceInput{}
17426	}
17427
17428	output = &TagResourceOutput{}
17429	req = c.newRequest(op, input, output)
17430	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
17431	return
17432}
17433
17434// TagResource API operation for Amazon Chime.
17435//
17436// Applies the specified tags to the specified Amazon Chime SDK meeting resource.
17437//
17438// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17439// with awserr.Error's Code and Message methods to get detailed information about
17440// the error.
17441//
17442// See the AWS API reference guide for Amazon Chime's
17443// API operation TagResource for usage and error information.
17444//
17445// Returned Error Types:
17446//   * BadRequestException
17447//   The input parameters don't match the service's restrictions.
17448//
17449//   * ForbiddenException
17450//   The client is permanently forbidden from making the request.
17451//
17452//   * NotFoundException
17453//   One or more of the resources in the request does not exist in the system.
17454//
17455//   * UnauthorizedClientException
17456//   The client is not currently authorized to make the request.
17457//
17458//   * ServiceUnavailableException
17459//   The service is currently unavailable.
17460//
17461//   * ServiceFailureException
17462//   The service encountered an unexpected error.
17463//
17464// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagResource
17465func (c *Chime) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
17466	req, out := c.TagResourceRequest(input)
17467	return out, req.Send()
17468}
17469
17470// TagResourceWithContext is the same as TagResource with the addition of
17471// the ability to pass a context and additional request options.
17472//
17473// See TagResource for details on how to use this API operation.
17474//
17475// The context must be non-nil and will be used for request cancellation. If
17476// the context is nil a panic will occur. In the future the SDK may create
17477// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17478// for more information on using Contexts.
17479func (c *Chime) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
17480	req, out := c.TagResourceRequest(input)
17481	req.SetContext(ctx)
17482	req.ApplyOptions(opts...)
17483	return out, req.Send()
17484}
17485
17486const opUntagAttendee = "UntagAttendee"
17487
17488// UntagAttendeeRequest generates a "aws/request.Request" representing the
17489// client's request for the UntagAttendee operation. The "output" return
17490// value will be populated with the request's response once the request completes
17491// successfully.
17492//
17493// Use "Send" method on the returned Request to send the API call to the service.
17494// the "output" return value is not valid until after Send returns without error.
17495//
17496// See UntagAttendee for more information on using the UntagAttendee
17497// API call, and error handling.
17498//
17499// This method is useful when you want to inject custom logic or configuration
17500// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17501//
17502//
17503//    // Example sending a request using the UntagAttendeeRequest method.
17504//    req, resp := client.UntagAttendeeRequest(params)
17505//
17506//    err := req.Send()
17507//    if err == nil { // resp is now filled
17508//        fmt.Println(resp)
17509//    }
17510//
17511// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagAttendee
17512func (c *Chime) UntagAttendeeRequest(input *UntagAttendeeInput) (req *request.Request, output *UntagAttendeeOutput) {
17513	op := &request.Operation{
17514		Name:       opUntagAttendee,
17515		HTTPMethod: "POST",
17516		HTTPPath:   "/meetings/{meetingId}/attendees/{attendeeId}/tags?operation=delete",
17517	}
17518
17519	if input == nil {
17520		input = &UntagAttendeeInput{}
17521	}
17522
17523	output = &UntagAttendeeOutput{}
17524	req = c.newRequest(op, input, output)
17525	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
17526	return
17527}
17528
17529// UntagAttendee API operation for Amazon Chime.
17530//
17531// Untags the specified tags from the specified Amazon Chime SDK attendee.
17532//
17533// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17534// with awserr.Error's Code and Message methods to get detailed information about
17535// the error.
17536//
17537// See the AWS API reference guide for Amazon Chime's
17538// API operation UntagAttendee for usage and error information.
17539//
17540// Returned Error Types:
17541//   * BadRequestException
17542//   The input parameters don't match the service's restrictions.
17543//
17544//   * ForbiddenException
17545//   The client is permanently forbidden from making the request.
17546//
17547//   * ThrottledClientException
17548//   The client exceeded its request rate limit.
17549//
17550//   * NotFoundException
17551//   One or more of the resources in the request does not exist in the system.
17552//
17553//   * UnauthorizedClientException
17554//   The client is not currently authorized to make the request.
17555//
17556//   * ServiceUnavailableException
17557//   The service is currently unavailable.
17558//
17559//   * ServiceFailureException
17560//   The service encountered an unexpected error.
17561//
17562// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagAttendee
17563func (c *Chime) UntagAttendee(input *UntagAttendeeInput) (*UntagAttendeeOutput, error) {
17564	req, out := c.UntagAttendeeRequest(input)
17565	return out, req.Send()
17566}
17567
17568// UntagAttendeeWithContext is the same as UntagAttendee with the addition of
17569// the ability to pass a context and additional request options.
17570//
17571// See UntagAttendee for details on how to use this API operation.
17572//
17573// The context must be non-nil and will be used for request cancellation. If
17574// the context is nil a panic will occur. In the future the SDK may create
17575// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17576// for more information on using Contexts.
17577func (c *Chime) UntagAttendeeWithContext(ctx aws.Context, input *UntagAttendeeInput, opts ...request.Option) (*UntagAttendeeOutput, error) {
17578	req, out := c.UntagAttendeeRequest(input)
17579	req.SetContext(ctx)
17580	req.ApplyOptions(opts...)
17581	return out, req.Send()
17582}
17583
17584const opUntagMeeting = "UntagMeeting"
17585
17586// UntagMeetingRequest generates a "aws/request.Request" representing the
17587// client's request for the UntagMeeting operation. The "output" return
17588// value will be populated with the request's response once the request completes
17589// successfully.
17590//
17591// Use "Send" method on the returned Request to send the API call to the service.
17592// the "output" return value is not valid until after Send returns without error.
17593//
17594// See UntagMeeting for more information on using the UntagMeeting
17595// API call, and error handling.
17596//
17597// This method is useful when you want to inject custom logic or configuration
17598// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17599//
17600//
17601//    // Example sending a request using the UntagMeetingRequest method.
17602//    req, resp := client.UntagMeetingRequest(params)
17603//
17604//    err := req.Send()
17605//    if err == nil { // resp is now filled
17606//        fmt.Println(resp)
17607//    }
17608//
17609// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagMeeting
17610func (c *Chime) UntagMeetingRequest(input *UntagMeetingInput) (req *request.Request, output *UntagMeetingOutput) {
17611	op := &request.Operation{
17612		Name:       opUntagMeeting,
17613		HTTPMethod: "POST",
17614		HTTPPath:   "/meetings/{meetingId}/tags?operation=delete",
17615	}
17616
17617	if input == nil {
17618		input = &UntagMeetingInput{}
17619	}
17620
17621	output = &UntagMeetingOutput{}
17622	req = c.newRequest(op, input, output)
17623	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
17624	return
17625}
17626
17627// UntagMeeting API operation for Amazon Chime.
17628//
17629// Untags the specified tags from the specified Amazon Chime SDK meeting.
17630//
17631// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17632// with awserr.Error's Code and Message methods to get detailed information about
17633// the error.
17634//
17635// See the AWS API reference guide for Amazon Chime's
17636// API operation UntagMeeting for usage and error information.
17637//
17638// Returned Error Types:
17639//   * BadRequestException
17640//   The input parameters don't match the service's restrictions.
17641//
17642//   * ForbiddenException
17643//   The client is permanently forbidden from making the request.
17644//
17645//   * ThrottledClientException
17646//   The client exceeded its request rate limit.
17647//
17648//   * NotFoundException
17649//   One or more of the resources in the request does not exist in the system.
17650//
17651//   * UnauthorizedClientException
17652//   The client is not currently authorized to make the request.
17653//
17654//   * ServiceUnavailableException
17655//   The service is currently unavailable.
17656//
17657//   * ServiceFailureException
17658//   The service encountered an unexpected error.
17659//
17660// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagMeeting
17661func (c *Chime) UntagMeeting(input *UntagMeetingInput) (*UntagMeetingOutput, error) {
17662	req, out := c.UntagMeetingRequest(input)
17663	return out, req.Send()
17664}
17665
17666// UntagMeetingWithContext is the same as UntagMeeting with the addition of
17667// the ability to pass a context and additional request options.
17668//
17669// See UntagMeeting for details on how to use this API operation.
17670//
17671// The context must be non-nil and will be used for request cancellation. If
17672// the context is nil a panic will occur. In the future the SDK may create
17673// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17674// for more information on using Contexts.
17675func (c *Chime) UntagMeetingWithContext(ctx aws.Context, input *UntagMeetingInput, opts ...request.Option) (*UntagMeetingOutput, error) {
17676	req, out := c.UntagMeetingRequest(input)
17677	req.SetContext(ctx)
17678	req.ApplyOptions(opts...)
17679	return out, req.Send()
17680}
17681
17682const opUntagResource = "UntagResource"
17683
17684// UntagResourceRequest generates a "aws/request.Request" representing the
17685// client's request for the UntagResource operation. The "output" return
17686// value will be populated with the request's response once the request completes
17687// successfully.
17688//
17689// Use "Send" method on the returned Request to send the API call to the service.
17690// the "output" return value is not valid until after Send returns without error.
17691//
17692// See UntagResource for more information on using the UntagResource
17693// API call, and error handling.
17694//
17695// This method is useful when you want to inject custom logic or configuration
17696// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17697//
17698//
17699//    // Example sending a request using the UntagResourceRequest method.
17700//    req, resp := client.UntagResourceRequest(params)
17701//
17702//    err := req.Send()
17703//    if err == nil { // resp is now filled
17704//        fmt.Println(resp)
17705//    }
17706//
17707// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagResource
17708func (c *Chime) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
17709	op := &request.Operation{
17710		Name:       opUntagResource,
17711		HTTPMethod: "POST",
17712		HTTPPath:   "/tags?operation=untag-resource",
17713	}
17714
17715	if input == nil {
17716		input = &UntagResourceInput{}
17717	}
17718
17719	output = &UntagResourceOutput{}
17720	req = c.newRequest(op, input, output)
17721	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
17722	return
17723}
17724
17725// UntagResource API operation for Amazon Chime.
17726//
17727// Untags the specified tags from the specified Amazon Chime SDK meeting resource.
17728//
17729// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17730// with awserr.Error's Code and Message methods to get detailed information about
17731// the error.
17732//
17733// See the AWS API reference guide for Amazon Chime's
17734// API operation UntagResource for usage and error information.
17735//
17736// Returned Error Types:
17737//   * BadRequestException
17738//   The input parameters don't match the service's restrictions.
17739//
17740//   * ForbiddenException
17741//   The client is permanently forbidden from making the request.
17742//
17743//   * NotFoundException
17744//   One or more of the resources in the request does not exist in the system.
17745//
17746//   * UnauthorizedClientException
17747//   The client is not currently authorized to make the request.
17748//
17749//   * ServiceUnavailableException
17750//   The service is currently unavailable.
17751//
17752//   * ServiceFailureException
17753//   The service encountered an unexpected error.
17754//
17755// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagResource
17756func (c *Chime) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
17757	req, out := c.UntagResourceRequest(input)
17758	return out, req.Send()
17759}
17760
17761// UntagResourceWithContext is the same as UntagResource with the addition of
17762// the ability to pass a context and additional request options.
17763//
17764// See UntagResource for details on how to use this API operation.
17765//
17766// The context must be non-nil and will be used for request cancellation. If
17767// the context is nil a panic will occur. In the future the SDK may create
17768// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17769// for more information on using Contexts.
17770func (c *Chime) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
17771	req, out := c.UntagResourceRequest(input)
17772	req.SetContext(ctx)
17773	req.ApplyOptions(opts...)
17774	return out, req.Send()
17775}
17776
17777const opUpdateAccount = "UpdateAccount"
17778
17779// UpdateAccountRequest generates a "aws/request.Request" representing the
17780// client's request for the UpdateAccount operation. The "output" return
17781// value will be populated with the request's response once the request completes
17782// successfully.
17783//
17784// Use "Send" method on the returned Request to send the API call to the service.
17785// the "output" return value is not valid until after Send returns without error.
17786//
17787// See UpdateAccount for more information on using the UpdateAccount
17788// API call, and error handling.
17789//
17790// This method is useful when you want to inject custom logic or configuration
17791// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17792//
17793//
17794//    // Example sending a request using the UpdateAccountRequest method.
17795//    req, resp := client.UpdateAccountRequest(params)
17796//
17797//    err := req.Send()
17798//    if err == nil { // resp is now filled
17799//        fmt.Println(resp)
17800//    }
17801//
17802// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccount
17803func (c *Chime) UpdateAccountRequest(input *UpdateAccountInput) (req *request.Request, output *UpdateAccountOutput) {
17804	op := &request.Operation{
17805		Name:       opUpdateAccount,
17806		HTTPMethod: "POST",
17807		HTTPPath:   "/accounts/{accountId}",
17808	}
17809
17810	if input == nil {
17811		input = &UpdateAccountInput{}
17812	}
17813
17814	output = &UpdateAccountOutput{}
17815	req = c.newRequest(op, input, output)
17816	return
17817}
17818
17819// UpdateAccount API operation for Amazon Chime.
17820//
17821// Updates account details for the specified Amazon Chime account. Currently,
17822// only account name and default license updates are supported for this action.
17823//
17824// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17825// with awserr.Error's Code and Message methods to get detailed information about
17826// the error.
17827//
17828// See the AWS API reference guide for Amazon Chime's
17829// API operation UpdateAccount for usage and error information.
17830//
17831// Returned Error Types:
17832//   * UnauthorizedClientException
17833//   The client is not currently authorized to make the request.
17834//
17835//   * NotFoundException
17836//   One or more of the resources in the request does not exist in the system.
17837//
17838//   * ForbiddenException
17839//   The client is permanently forbidden from making the request.
17840//
17841//   * BadRequestException
17842//   The input parameters don't match the service's restrictions.
17843//
17844//   * ThrottledClientException
17845//   The client exceeded its request rate limit.
17846//
17847//   * ServiceUnavailableException
17848//   The service is currently unavailable.
17849//
17850//   * ServiceFailureException
17851//   The service encountered an unexpected error.
17852//
17853// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccount
17854func (c *Chime) UpdateAccount(input *UpdateAccountInput) (*UpdateAccountOutput, error) {
17855	req, out := c.UpdateAccountRequest(input)
17856	return out, req.Send()
17857}
17858
17859// UpdateAccountWithContext is the same as UpdateAccount with the addition of
17860// the ability to pass a context and additional request options.
17861//
17862// See UpdateAccount for details on how to use this API operation.
17863//
17864// The context must be non-nil and will be used for request cancellation. If
17865// the context is nil a panic will occur. In the future the SDK may create
17866// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17867// for more information on using Contexts.
17868func (c *Chime) UpdateAccountWithContext(ctx aws.Context, input *UpdateAccountInput, opts ...request.Option) (*UpdateAccountOutput, error) {
17869	req, out := c.UpdateAccountRequest(input)
17870	req.SetContext(ctx)
17871	req.ApplyOptions(opts...)
17872	return out, req.Send()
17873}
17874
17875const opUpdateAccountSettings = "UpdateAccountSettings"
17876
17877// UpdateAccountSettingsRequest generates a "aws/request.Request" representing the
17878// client's request for the UpdateAccountSettings operation. The "output" return
17879// value will be populated with the request's response once the request completes
17880// successfully.
17881//
17882// Use "Send" method on the returned Request to send the API call to the service.
17883// the "output" return value is not valid until after Send returns without error.
17884//
17885// See UpdateAccountSettings for more information on using the UpdateAccountSettings
17886// API call, and error handling.
17887//
17888// This method is useful when you want to inject custom logic or configuration
17889// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17890//
17891//
17892//    // Example sending a request using the UpdateAccountSettingsRequest method.
17893//    req, resp := client.UpdateAccountSettingsRequest(params)
17894//
17895//    err := req.Send()
17896//    if err == nil { // resp is now filled
17897//        fmt.Println(resp)
17898//    }
17899//
17900// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccountSettings
17901func (c *Chime) UpdateAccountSettingsRequest(input *UpdateAccountSettingsInput) (req *request.Request, output *UpdateAccountSettingsOutput) {
17902	op := &request.Operation{
17903		Name:       opUpdateAccountSettings,
17904		HTTPMethod: "PUT",
17905		HTTPPath:   "/accounts/{accountId}/settings",
17906	}
17907
17908	if input == nil {
17909		input = &UpdateAccountSettingsInput{}
17910	}
17911
17912	output = &UpdateAccountSettingsOutput{}
17913	req = c.newRequest(op, input, output)
17914	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
17915	return
17916}
17917
17918// UpdateAccountSettings API operation for Amazon Chime.
17919//
17920// Updates the settings for the specified Amazon Chime account. You can update
17921// settings for remote control of shared screens, or for the dial-out option.
17922// For more information about these settings, see Use the Policies Page (https://docs.aws.amazon.com/chime/latest/ag/policies.html)
17923// in the Amazon Chime Administration Guide.
17924//
17925// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17926// with awserr.Error's Code and Message methods to get detailed information about
17927// the error.
17928//
17929// See the AWS API reference guide for Amazon Chime's
17930// API operation UpdateAccountSettings for usage and error information.
17931//
17932// Returned Error Types:
17933//   * UnauthorizedClientException
17934//   The client is not currently authorized to make the request.
17935//
17936//   * NotFoundException
17937//   One or more of the resources in the request does not exist in the system.
17938//
17939//   * BadRequestException
17940//   The input parameters don't match the service's restrictions.
17941//
17942//   * ForbiddenException
17943//   The client is permanently forbidden from making the request.
17944//
17945//   * ConflictException
17946//   The request could not be processed because of conflict in the current state
17947//   of the resource.
17948//
17949//   * ThrottledClientException
17950//   The client exceeded its request rate limit.
17951//
17952//   * ServiceUnavailableException
17953//   The service is currently unavailable.
17954//
17955//   * ServiceFailureException
17956//   The service encountered an unexpected error.
17957//
17958// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccountSettings
17959func (c *Chime) UpdateAccountSettings(input *UpdateAccountSettingsInput) (*UpdateAccountSettingsOutput, error) {
17960	req, out := c.UpdateAccountSettingsRequest(input)
17961	return out, req.Send()
17962}
17963
17964// UpdateAccountSettingsWithContext is the same as UpdateAccountSettings with the addition of
17965// the ability to pass a context and additional request options.
17966//
17967// See UpdateAccountSettings for details on how to use this API operation.
17968//
17969// The context must be non-nil and will be used for request cancellation. If
17970// the context is nil a panic will occur. In the future the SDK may create
17971// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17972// for more information on using Contexts.
17973func (c *Chime) UpdateAccountSettingsWithContext(ctx aws.Context, input *UpdateAccountSettingsInput, opts ...request.Option) (*UpdateAccountSettingsOutput, error) {
17974	req, out := c.UpdateAccountSettingsRequest(input)
17975	req.SetContext(ctx)
17976	req.ApplyOptions(opts...)
17977	return out, req.Send()
17978}
17979
17980const opUpdateAppInstance = "UpdateAppInstance"
17981
17982// UpdateAppInstanceRequest generates a "aws/request.Request" representing the
17983// client's request for the UpdateAppInstance operation. The "output" return
17984// value will be populated with the request's response once the request completes
17985// successfully.
17986//
17987// Use "Send" method on the returned Request to send the API call to the service.
17988// the "output" return value is not valid until after Send returns without error.
17989//
17990// See UpdateAppInstance for more information on using the UpdateAppInstance
17991// API call, and error handling.
17992//
17993// This method is useful when you want to inject custom logic or configuration
17994// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17995//
17996//
17997//    // Example sending a request using the UpdateAppInstanceRequest method.
17998//    req, resp := client.UpdateAppInstanceRequest(params)
17999//
18000//    err := req.Send()
18001//    if err == nil { // resp is now filled
18002//        fmt.Println(resp)
18003//    }
18004//
18005// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAppInstance
18006func (c *Chime) UpdateAppInstanceRequest(input *UpdateAppInstanceInput) (req *request.Request, output *UpdateAppInstanceOutput) {
18007	op := &request.Operation{
18008		Name:       opUpdateAppInstance,
18009		HTTPMethod: "PUT",
18010		HTTPPath:   "/app-instances/{appInstanceArn}",
18011	}
18012
18013	if input == nil {
18014		input = &UpdateAppInstanceInput{}
18015	}
18016
18017	output = &UpdateAppInstanceOutput{}
18018	req = c.newRequest(op, input, output)
18019	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
18020	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
18021	return
18022}
18023
18024// UpdateAppInstance API operation for Amazon Chime.
18025//
18026// Updates AppInstance metadata.
18027//
18028// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18029// with awserr.Error's Code and Message methods to get detailed information about
18030// the error.
18031//
18032// See the AWS API reference guide for Amazon Chime's
18033// API operation UpdateAppInstance for usage and error information.
18034//
18035// Returned Error Types:
18036//   * BadRequestException
18037//   The input parameters don't match the service's restrictions.
18038//
18039//   * ConflictException
18040//   The request could not be processed because of conflict in the current state
18041//   of the resource.
18042//
18043//   * ForbiddenException
18044//   The client is permanently forbidden from making the request.
18045//
18046//   * ThrottledClientException
18047//   The client exceeded its request rate limit.
18048//
18049//   * UnauthorizedClientException
18050//   The client is not currently authorized to make the request.
18051//
18052//   * ServiceUnavailableException
18053//   The service is currently unavailable.
18054//
18055//   * ServiceFailureException
18056//   The service encountered an unexpected error.
18057//
18058// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAppInstance
18059func (c *Chime) UpdateAppInstance(input *UpdateAppInstanceInput) (*UpdateAppInstanceOutput, error) {
18060	req, out := c.UpdateAppInstanceRequest(input)
18061	return out, req.Send()
18062}
18063
18064// UpdateAppInstanceWithContext is the same as UpdateAppInstance with the addition of
18065// the ability to pass a context and additional request options.
18066//
18067// See UpdateAppInstance for details on how to use this API operation.
18068//
18069// The context must be non-nil and will be used for request cancellation. If
18070// the context is nil a panic will occur. In the future the SDK may create
18071// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18072// for more information on using Contexts.
18073func (c *Chime) UpdateAppInstanceWithContext(ctx aws.Context, input *UpdateAppInstanceInput, opts ...request.Option) (*UpdateAppInstanceOutput, error) {
18074	req, out := c.UpdateAppInstanceRequest(input)
18075	req.SetContext(ctx)
18076	req.ApplyOptions(opts...)
18077	return out, req.Send()
18078}
18079
18080const opUpdateAppInstanceUser = "UpdateAppInstanceUser"
18081
18082// UpdateAppInstanceUserRequest generates a "aws/request.Request" representing the
18083// client's request for the UpdateAppInstanceUser operation. The "output" return
18084// value will be populated with the request's response once the request completes
18085// successfully.
18086//
18087// Use "Send" method on the returned Request to send the API call to the service.
18088// the "output" return value is not valid until after Send returns without error.
18089//
18090// See UpdateAppInstanceUser for more information on using the UpdateAppInstanceUser
18091// API call, and error handling.
18092//
18093// This method is useful when you want to inject custom logic or configuration
18094// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18095//
18096//
18097//    // Example sending a request using the UpdateAppInstanceUserRequest method.
18098//    req, resp := client.UpdateAppInstanceUserRequest(params)
18099//
18100//    err := req.Send()
18101//    if err == nil { // resp is now filled
18102//        fmt.Println(resp)
18103//    }
18104//
18105// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAppInstanceUser
18106func (c *Chime) UpdateAppInstanceUserRequest(input *UpdateAppInstanceUserInput) (req *request.Request, output *UpdateAppInstanceUserOutput) {
18107	op := &request.Operation{
18108		Name:       opUpdateAppInstanceUser,
18109		HTTPMethod: "PUT",
18110		HTTPPath:   "/app-instance-users/{appInstanceUserArn}",
18111	}
18112
18113	if input == nil {
18114		input = &UpdateAppInstanceUserInput{}
18115	}
18116
18117	output = &UpdateAppInstanceUserOutput{}
18118	req = c.newRequest(op, input, output)
18119	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
18120	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
18121	return
18122}
18123
18124// UpdateAppInstanceUser API operation for Amazon Chime.
18125//
18126// Updates the details of an AppInstanceUser. You can update names and metadata.
18127//
18128// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18129// with awserr.Error's Code and Message methods to get detailed information about
18130// the error.
18131//
18132// See the AWS API reference guide for Amazon Chime's
18133// API operation UpdateAppInstanceUser for usage and error information.
18134//
18135// Returned Error Types:
18136//   * BadRequestException
18137//   The input parameters don't match the service's restrictions.
18138//
18139//   * ConflictException
18140//   The request could not be processed because of conflict in the current state
18141//   of the resource.
18142//
18143//   * ForbiddenException
18144//   The client is permanently forbidden from making the request.
18145//
18146//   * ThrottledClientException
18147//   The client exceeded its request rate limit.
18148//
18149//   * UnauthorizedClientException
18150//   The client is not currently authorized to make the request.
18151//
18152//   * ServiceUnavailableException
18153//   The service is currently unavailable.
18154//
18155//   * ServiceFailureException
18156//   The service encountered an unexpected error.
18157//
18158// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAppInstanceUser
18159func (c *Chime) UpdateAppInstanceUser(input *UpdateAppInstanceUserInput) (*UpdateAppInstanceUserOutput, error) {
18160	req, out := c.UpdateAppInstanceUserRequest(input)
18161	return out, req.Send()
18162}
18163
18164// UpdateAppInstanceUserWithContext is the same as UpdateAppInstanceUser with the addition of
18165// the ability to pass a context and additional request options.
18166//
18167// See UpdateAppInstanceUser for details on how to use this API operation.
18168//
18169// The context must be non-nil and will be used for request cancellation. If
18170// the context is nil a panic will occur. In the future the SDK may create
18171// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18172// for more information on using Contexts.
18173func (c *Chime) UpdateAppInstanceUserWithContext(ctx aws.Context, input *UpdateAppInstanceUserInput, opts ...request.Option) (*UpdateAppInstanceUserOutput, error) {
18174	req, out := c.UpdateAppInstanceUserRequest(input)
18175	req.SetContext(ctx)
18176	req.ApplyOptions(opts...)
18177	return out, req.Send()
18178}
18179
18180const opUpdateBot = "UpdateBot"
18181
18182// UpdateBotRequest generates a "aws/request.Request" representing the
18183// client's request for the UpdateBot operation. The "output" return
18184// value will be populated with the request's response once the request completes
18185// successfully.
18186//
18187// Use "Send" method on the returned Request to send the API call to the service.
18188// the "output" return value is not valid until after Send returns without error.
18189//
18190// See UpdateBot for more information on using the UpdateBot
18191// API call, and error handling.
18192//
18193// This method is useful when you want to inject custom logic or configuration
18194// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18195//
18196//
18197//    // Example sending a request using the UpdateBotRequest method.
18198//    req, resp := client.UpdateBotRequest(params)
18199//
18200//    err := req.Send()
18201//    if err == nil { // resp is now filled
18202//        fmt.Println(resp)
18203//    }
18204//
18205// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateBot
18206func (c *Chime) UpdateBotRequest(input *UpdateBotInput) (req *request.Request, output *UpdateBotOutput) {
18207	op := &request.Operation{
18208		Name:       opUpdateBot,
18209		HTTPMethod: "POST",
18210		HTTPPath:   "/accounts/{accountId}/bots/{botId}",
18211	}
18212
18213	if input == nil {
18214		input = &UpdateBotInput{}
18215	}
18216
18217	output = &UpdateBotOutput{}
18218	req = c.newRequest(op, input, output)
18219	return
18220}
18221
18222// UpdateBot API operation for Amazon Chime.
18223//
18224// Updates the status of the specified bot, such as starting or stopping the
18225// bot from running in your Amazon Chime Enterprise account.
18226//
18227// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18228// with awserr.Error's Code and Message methods to get detailed information about
18229// the error.
18230//
18231// See the AWS API reference guide for Amazon Chime's
18232// API operation UpdateBot for usage and error information.
18233//
18234// Returned Error Types:
18235//   * ServiceUnavailableException
18236//   The service is currently unavailable.
18237//
18238//   * ServiceFailureException
18239//   The service encountered an unexpected error.
18240//
18241//   * ForbiddenException
18242//   The client is permanently forbidden from making the request.
18243//
18244//   * BadRequestException
18245//   The input parameters don't match the service's restrictions.
18246//
18247//   * UnauthorizedClientException
18248//   The client is not currently authorized to make the request.
18249//
18250//   * NotFoundException
18251//   One or more of the resources in the request does not exist in the system.
18252//
18253//   * ThrottledClientException
18254//   The client exceeded its request rate limit.
18255//
18256// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateBot
18257func (c *Chime) UpdateBot(input *UpdateBotInput) (*UpdateBotOutput, error) {
18258	req, out := c.UpdateBotRequest(input)
18259	return out, req.Send()
18260}
18261
18262// UpdateBotWithContext is the same as UpdateBot with the addition of
18263// the ability to pass a context and additional request options.
18264//
18265// See UpdateBot for details on how to use this API operation.
18266//
18267// The context must be non-nil and will be used for request cancellation. If
18268// the context is nil a panic will occur. In the future the SDK may create
18269// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18270// for more information on using Contexts.
18271func (c *Chime) UpdateBotWithContext(ctx aws.Context, input *UpdateBotInput, opts ...request.Option) (*UpdateBotOutput, error) {
18272	req, out := c.UpdateBotRequest(input)
18273	req.SetContext(ctx)
18274	req.ApplyOptions(opts...)
18275	return out, req.Send()
18276}
18277
18278const opUpdateChannel = "UpdateChannel"
18279
18280// UpdateChannelRequest generates a "aws/request.Request" representing the
18281// client's request for the UpdateChannel operation. The "output" return
18282// value will be populated with the request's response once the request completes
18283// successfully.
18284//
18285// Use "Send" method on the returned Request to send the API call to the service.
18286// the "output" return value is not valid until after Send returns without error.
18287//
18288// See UpdateChannel for more information on using the UpdateChannel
18289// API call, and error handling.
18290//
18291// This method is useful when you want to inject custom logic or configuration
18292// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18293//
18294//
18295//    // Example sending a request using the UpdateChannelRequest method.
18296//    req, resp := client.UpdateChannelRequest(params)
18297//
18298//    err := req.Send()
18299//    if err == nil { // resp is now filled
18300//        fmt.Println(resp)
18301//    }
18302//
18303// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannel
18304func (c *Chime) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) {
18305	op := &request.Operation{
18306		Name:       opUpdateChannel,
18307		HTTPMethod: "PUT",
18308		HTTPPath:   "/channels/{channelArn}",
18309	}
18310
18311	if input == nil {
18312		input = &UpdateChannelInput{}
18313	}
18314
18315	output = &UpdateChannelOutput{}
18316	req = c.newRequest(op, input, output)
18317	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
18318	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
18319	return
18320}
18321
18322// UpdateChannel API operation for Amazon Chime.
18323//
18324// Update a channel's attributes.
18325//
18326// Restriction: You can't change a channel's privacy.
18327//
18328// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
18329// of the user that makes the API call as the value in the header.
18330//
18331// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18332// with awserr.Error's Code and Message methods to get detailed information about
18333// the error.
18334//
18335// See the AWS API reference guide for Amazon Chime's
18336// API operation UpdateChannel for usage and error information.
18337//
18338// Returned Error Types:
18339//   * BadRequestException
18340//   The input parameters don't match the service's restrictions.
18341//
18342//   * ForbiddenException
18343//   The client is permanently forbidden from making the request.
18344//
18345//   * ConflictException
18346//   The request could not be processed because of conflict in the current state
18347//   of the resource.
18348//
18349//   * UnauthorizedClientException
18350//   The client is not currently authorized to make the request.
18351//
18352//   * ThrottledClientException
18353//   The client exceeded its request rate limit.
18354//
18355//   * ServiceUnavailableException
18356//   The service is currently unavailable.
18357//
18358//   * ServiceFailureException
18359//   The service encountered an unexpected error.
18360//
18361// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannel
18362func (c *Chime) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) {
18363	req, out := c.UpdateChannelRequest(input)
18364	return out, req.Send()
18365}
18366
18367// UpdateChannelWithContext is the same as UpdateChannel with the addition of
18368// the ability to pass a context and additional request options.
18369//
18370// See UpdateChannel for details on how to use this API operation.
18371//
18372// The context must be non-nil and will be used for request cancellation. If
18373// the context is nil a panic will occur. In the future the SDK may create
18374// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18375// for more information on using Contexts.
18376func (c *Chime) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error) {
18377	req, out := c.UpdateChannelRequest(input)
18378	req.SetContext(ctx)
18379	req.ApplyOptions(opts...)
18380	return out, req.Send()
18381}
18382
18383const opUpdateChannelMessage = "UpdateChannelMessage"
18384
18385// UpdateChannelMessageRequest generates a "aws/request.Request" representing the
18386// client's request for the UpdateChannelMessage operation. The "output" return
18387// value will be populated with the request's response once the request completes
18388// successfully.
18389//
18390// Use "Send" method on the returned Request to send the API call to the service.
18391// the "output" return value is not valid until after Send returns without error.
18392//
18393// See UpdateChannelMessage for more information on using the UpdateChannelMessage
18394// API call, and error handling.
18395//
18396// This method is useful when you want to inject custom logic or configuration
18397// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18398//
18399//
18400//    // Example sending a request using the UpdateChannelMessageRequest method.
18401//    req, resp := client.UpdateChannelMessageRequest(params)
18402//
18403//    err := req.Send()
18404//    if err == nil { // resp is now filled
18405//        fmt.Println(resp)
18406//    }
18407//
18408// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannelMessage
18409func (c *Chime) UpdateChannelMessageRequest(input *UpdateChannelMessageInput) (req *request.Request, output *UpdateChannelMessageOutput) {
18410	op := &request.Operation{
18411		Name:       opUpdateChannelMessage,
18412		HTTPMethod: "PUT",
18413		HTTPPath:   "/channels/{channelArn}/messages/{messageId}",
18414	}
18415
18416	if input == nil {
18417		input = &UpdateChannelMessageInput{}
18418	}
18419
18420	output = &UpdateChannelMessageOutput{}
18421	req = c.newRequest(op, input, output)
18422	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
18423	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
18424	return
18425}
18426
18427// UpdateChannelMessage API operation for Amazon Chime.
18428//
18429// Updates the content of a message.
18430//
18431// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
18432// of the user that makes the API call as the value in the header.
18433//
18434// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18435// with awserr.Error's Code and Message methods to get detailed information about
18436// the error.
18437//
18438// See the AWS API reference guide for Amazon Chime's
18439// API operation UpdateChannelMessage for usage and error information.
18440//
18441// Returned Error Types:
18442//   * BadRequestException
18443//   The input parameters don't match the service's restrictions.
18444//
18445//   * ConflictException
18446//   The request could not be processed because of conflict in the current state
18447//   of the resource.
18448//
18449//   * ForbiddenException
18450//   The client is permanently forbidden from making the request.
18451//
18452//   * UnauthorizedClientException
18453//   The client is not currently authorized to make the request.
18454//
18455//   * ThrottledClientException
18456//   The client exceeded its request rate limit.
18457//
18458//   * ServiceUnavailableException
18459//   The service is currently unavailable.
18460//
18461//   * ServiceFailureException
18462//   The service encountered an unexpected error.
18463//
18464// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannelMessage
18465func (c *Chime) UpdateChannelMessage(input *UpdateChannelMessageInput) (*UpdateChannelMessageOutput, error) {
18466	req, out := c.UpdateChannelMessageRequest(input)
18467	return out, req.Send()
18468}
18469
18470// UpdateChannelMessageWithContext is the same as UpdateChannelMessage with the addition of
18471// the ability to pass a context and additional request options.
18472//
18473// See UpdateChannelMessage for details on how to use this API operation.
18474//
18475// The context must be non-nil and will be used for request cancellation. If
18476// the context is nil a panic will occur. In the future the SDK may create
18477// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18478// for more information on using Contexts.
18479func (c *Chime) UpdateChannelMessageWithContext(ctx aws.Context, input *UpdateChannelMessageInput, opts ...request.Option) (*UpdateChannelMessageOutput, error) {
18480	req, out := c.UpdateChannelMessageRequest(input)
18481	req.SetContext(ctx)
18482	req.ApplyOptions(opts...)
18483	return out, req.Send()
18484}
18485
18486const opUpdateChannelReadMarker = "UpdateChannelReadMarker"
18487
18488// UpdateChannelReadMarkerRequest generates a "aws/request.Request" representing the
18489// client's request for the UpdateChannelReadMarker operation. The "output" return
18490// value will be populated with the request's response once the request completes
18491// successfully.
18492//
18493// Use "Send" method on the returned Request to send the API call to the service.
18494// the "output" return value is not valid until after Send returns without error.
18495//
18496// See UpdateChannelReadMarker for more information on using the UpdateChannelReadMarker
18497// API call, and error handling.
18498//
18499// This method is useful when you want to inject custom logic or configuration
18500// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18501//
18502//
18503//    // Example sending a request using the UpdateChannelReadMarkerRequest method.
18504//    req, resp := client.UpdateChannelReadMarkerRequest(params)
18505//
18506//    err := req.Send()
18507//    if err == nil { // resp is now filled
18508//        fmt.Println(resp)
18509//    }
18510//
18511// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannelReadMarker
18512func (c *Chime) UpdateChannelReadMarkerRequest(input *UpdateChannelReadMarkerInput) (req *request.Request, output *UpdateChannelReadMarkerOutput) {
18513	op := &request.Operation{
18514		Name:       opUpdateChannelReadMarker,
18515		HTTPMethod: "PUT",
18516		HTTPPath:   "/channels/{channelArn}/readMarker",
18517	}
18518
18519	if input == nil {
18520		input = &UpdateChannelReadMarkerInput{}
18521	}
18522
18523	output = &UpdateChannelReadMarkerOutput{}
18524	req = c.newRequest(op, input, output)
18525	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
18526	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
18527	return
18528}
18529
18530// UpdateChannelReadMarker API operation for Amazon Chime.
18531//
18532// The details of the time when a user last read messages in a channel.
18533//
18534// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
18535// of the user that makes the API call as the value in the header.
18536//
18537// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18538// with awserr.Error's Code and Message methods to get detailed information about
18539// the error.
18540//
18541// See the AWS API reference guide for Amazon Chime's
18542// API operation UpdateChannelReadMarker for usage and error information.
18543//
18544// Returned Error Types:
18545//   * BadRequestException
18546//   The input parameters don't match the service's restrictions.
18547//
18548//   * ForbiddenException
18549//   The client is permanently forbidden from making the request.
18550//
18551//   * ConflictException
18552//   The request could not be processed because of conflict in the current state
18553//   of the resource.
18554//
18555//   * UnauthorizedClientException
18556//   The client is not currently authorized to make the request.
18557//
18558//   * ThrottledClientException
18559//   The client exceeded its request rate limit.
18560//
18561//   * ServiceUnavailableException
18562//   The service is currently unavailable.
18563//
18564//   * ServiceFailureException
18565//   The service encountered an unexpected error.
18566//
18567// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannelReadMarker
18568func (c *Chime) UpdateChannelReadMarker(input *UpdateChannelReadMarkerInput) (*UpdateChannelReadMarkerOutput, error) {
18569	req, out := c.UpdateChannelReadMarkerRequest(input)
18570	return out, req.Send()
18571}
18572
18573// UpdateChannelReadMarkerWithContext is the same as UpdateChannelReadMarker with the addition of
18574// the ability to pass a context and additional request options.
18575//
18576// See UpdateChannelReadMarker for details on how to use this API operation.
18577//
18578// The context must be non-nil and will be used for request cancellation. If
18579// the context is nil a panic will occur. In the future the SDK may create
18580// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18581// for more information on using Contexts.
18582func (c *Chime) UpdateChannelReadMarkerWithContext(ctx aws.Context, input *UpdateChannelReadMarkerInput, opts ...request.Option) (*UpdateChannelReadMarkerOutput, error) {
18583	req, out := c.UpdateChannelReadMarkerRequest(input)
18584	req.SetContext(ctx)
18585	req.ApplyOptions(opts...)
18586	return out, req.Send()
18587}
18588
18589const opUpdateGlobalSettings = "UpdateGlobalSettings"
18590
18591// UpdateGlobalSettingsRequest generates a "aws/request.Request" representing the
18592// client's request for the UpdateGlobalSettings operation. The "output" return
18593// value will be populated with the request's response once the request completes
18594// successfully.
18595//
18596// Use "Send" method on the returned Request to send the API call to the service.
18597// the "output" return value is not valid until after Send returns without error.
18598//
18599// See UpdateGlobalSettings for more information on using the UpdateGlobalSettings
18600// API call, and error handling.
18601//
18602// This method is useful when you want to inject custom logic or configuration
18603// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18604//
18605//
18606//    // Example sending a request using the UpdateGlobalSettingsRequest method.
18607//    req, resp := client.UpdateGlobalSettingsRequest(params)
18608//
18609//    err := req.Send()
18610//    if err == nil { // resp is now filled
18611//        fmt.Println(resp)
18612//    }
18613//
18614// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateGlobalSettings
18615func (c *Chime) UpdateGlobalSettingsRequest(input *UpdateGlobalSettingsInput) (req *request.Request, output *UpdateGlobalSettingsOutput) {
18616	op := &request.Operation{
18617		Name:       opUpdateGlobalSettings,
18618		HTTPMethod: "PUT",
18619		HTTPPath:   "/settings",
18620	}
18621
18622	if input == nil {
18623		input = &UpdateGlobalSettingsInput{}
18624	}
18625
18626	output = &UpdateGlobalSettingsOutput{}
18627	req = c.newRequest(op, input, output)
18628	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
18629	return
18630}
18631
18632// UpdateGlobalSettings API operation for Amazon Chime.
18633//
18634// Updates global settings for the administrator's AWS account, such as Amazon
18635// Chime Business Calling and Amazon Chime Voice Connector settings.
18636//
18637// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18638// with awserr.Error's Code and Message methods to get detailed information about
18639// the error.
18640//
18641// See the AWS API reference guide for Amazon Chime's
18642// API operation UpdateGlobalSettings for usage and error information.
18643//
18644// Returned Error Types:
18645//   * UnauthorizedClientException
18646//   The client is not currently authorized to make the request.
18647//
18648//   * ForbiddenException
18649//   The client is permanently forbidden from making the request.
18650//
18651//   * BadRequestException
18652//   The input parameters don't match the service's restrictions.
18653//
18654//   * ThrottledClientException
18655//   The client exceeded its request rate limit.
18656//
18657//   * ServiceUnavailableException
18658//   The service is currently unavailable.
18659//
18660//   * ServiceFailureException
18661//   The service encountered an unexpected error.
18662//
18663// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateGlobalSettings
18664func (c *Chime) UpdateGlobalSettings(input *UpdateGlobalSettingsInput) (*UpdateGlobalSettingsOutput, error) {
18665	req, out := c.UpdateGlobalSettingsRequest(input)
18666	return out, req.Send()
18667}
18668
18669// UpdateGlobalSettingsWithContext is the same as UpdateGlobalSettings with the addition of
18670// the ability to pass a context and additional request options.
18671//
18672// See UpdateGlobalSettings for details on how to use this API operation.
18673//
18674// The context must be non-nil and will be used for request cancellation. If
18675// the context is nil a panic will occur. In the future the SDK may create
18676// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18677// for more information on using Contexts.
18678func (c *Chime) UpdateGlobalSettingsWithContext(ctx aws.Context, input *UpdateGlobalSettingsInput, opts ...request.Option) (*UpdateGlobalSettingsOutput, error) {
18679	req, out := c.UpdateGlobalSettingsRequest(input)
18680	req.SetContext(ctx)
18681	req.ApplyOptions(opts...)
18682	return out, req.Send()
18683}
18684
18685const opUpdatePhoneNumber = "UpdatePhoneNumber"
18686
18687// UpdatePhoneNumberRequest generates a "aws/request.Request" representing the
18688// client's request for the UpdatePhoneNumber operation. The "output" return
18689// value will be populated with the request's response once the request completes
18690// successfully.
18691//
18692// Use "Send" method on the returned Request to send the API call to the service.
18693// the "output" return value is not valid until after Send returns without error.
18694//
18695// See UpdatePhoneNumber for more information on using the UpdatePhoneNumber
18696// API call, and error handling.
18697//
18698// This method is useful when you want to inject custom logic or configuration
18699// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18700//
18701//
18702//    // Example sending a request using the UpdatePhoneNumberRequest method.
18703//    req, resp := client.UpdatePhoneNumberRequest(params)
18704//
18705//    err := req.Send()
18706//    if err == nil { // resp is now filled
18707//        fmt.Println(resp)
18708//    }
18709//
18710// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumber
18711func (c *Chime) UpdatePhoneNumberRequest(input *UpdatePhoneNumberInput) (req *request.Request, output *UpdatePhoneNumberOutput) {
18712	op := &request.Operation{
18713		Name:       opUpdatePhoneNumber,
18714		HTTPMethod: "POST",
18715		HTTPPath:   "/phone-numbers/{phoneNumberId}",
18716	}
18717
18718	if input == nil {
18719		input = &UpdatePhoneNumberInput{}
18720	}
18721
18722	output = &UpdatePhoneNumberOutput{}
18723	req = c.newRequest(op, input, output)
18724	return
18725}
18726
18727// UpdatePhoneNumber API operation for Amazon Chime.
18728//
18729// Updates phone number details, such as product type or calling name, for the
18730// specified phone number ID. You can update one phone number detail at a time.
18731// For example, you can update either the product type or the calling name in
18732// one action.
18733//
18734// For toll-free numbers, you cannot use the Amazon Chime Business Calling product
18735// type. For numbers outside the U.S., you must use the Amazon Chime SIP Media
18736// Application Dial-In product type.
18737//
18738// Updates to outbound calling names can take 72 hours to complete. Pending
18739// updates to outbound calling names must be complete before you can request
18740// another update.
18741//
18742// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18743// with awserr.Error's Code and Message methods to get detailed information about
18744// the error.
18745//
18746// See the AWS API reference guide for Amazon Chime's
18747// API operation UpdatePhoneNumber for usage and error information.
18748//
18749// Returned Error Types:
18750//   * UnauthorizedClientException
18751//   The client is not currently authorized to make the request.
18752//
18753//   * NotFoundException
18754//   One or more of the resources in the request does not exist in the system.
18755//
18756//   * ForbiddenException
18757//   The client is permanently forbidden from making the request.
18758//
18759//   * BadRequestException
18760//   The input parameters don't match the service's restrictions.
18761//
18762//   * ThrottledClientException
18763//   The client exceeded its request rate limit.
18764//
18765//   * ServiceUnavailableException
18766//   The service is currently unavailable.
18767//
18768//   * ServiceFailureException
18769//   The service encountered an unexpected error.
18770//
18771// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumber
18772func (c *Chime) UpdatePhoneNumber(input *UpdatePhoneNumberInput) (*UpdatePhoneNumberOutput, error) {
18773	req, out := c.UpdatePhoneNumberRequest(input)
18774	return out, req.Send()
18775}
18776
18777// UpdatePhoneNumberWithContext is the same as UpdatePhoneNumber with the addition of
18778// the ability to pass a context and additional request options.
18779//
18780// See UpdatePhoneNumber for details on how to use this API operation.
18781//
18782// The context must be non-nil and will be used for request cancellation. If
18783// the context is nil a panic will occur. In the future the SDK may create
18784// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18785// for more information on using Contexts.
18786func (c *Chime) UpdatePhoneNumberWithContext(ctx aws.Context, input *UpdatePhoneNumberInput, opts ...request.Option) (*UpdatePhoneNumberOutput, error) {
18787	req, out := c.UpdatePhoneNumberRequest(input)
18788	req.SetContext(ctx)
18789	req.ApplyOptions(opts...)
18790	return out, req.Send()
18791}
18792
18793const opUpdatePhoneNumberSettings = "UpdatePhoneNumberSettings"
18794
18795// UpdatePhoneNumberSettingsRequest generates a "aws/request.Request" representing the
18796// client's request for the UpdatePhoneNumberSettings operation. The "output" return
18797// value will be populated with the request's response once the request completes
18798// successfully.
18799//
18800// Use "Send" method on the returned Request to send the API call to the service.
18801// the "output" return value is not valid until after Send returns without error.
18802//
18803// See UpdatePhoneNumberSettings for more information on using the UpdatePhoneNumberSettings
18804// API call, and error handling.
18805//
18806// This method is useful when you want to inject custom logic or configuration
18807// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18808//
18809//
18810//    // Example sending a request using the UpdatePhoneNumberSettingsRequest method.
18811//    req, resp := client.UpdatePhoneNumberSettingsRequest(params)
18812//
18813//    err := req.Send()
18814//    if err == nil { // resp is now filled
18815//        fmt.Println(resp)
18816//    }
18817//
18818// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumberSettings
18819func (c *Chime) UpdatePhoneNumberSettingsRequest(input *UpdatePhoneNumberSettingsInput) (req *request.Request, output *UpdatePhoneNumberSettingsOutput) {
18820	op := &request.Operation{
18821		Name:       opUpdatePhoneNumberSettings,
18822		HTTPMethod: "PUT",
18823		HTTPPath:   "/settings/phone-number",
18824	}
18825
18826	if input == nil {
18827		input = &UpdatePhoneNumberSettingsInput{}
18828	}
18829
18830	output = &UpdatePhoneNumberSettingsOutput{}
18831	req = c.newRequest(op, input, output)
18832	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
18833	return
18834}
18835
18836// UpdatePhoneNumberSettings API operation for Amazon Chime.
18837//
18838// Updates the phone number settings for the administrator's AWS account, such
18839// as the default outbound calling name. You can update the default outbound
18840// calling name once every seven days. Outbound calling names can take up to
18841// 72 hours to update.
18842//
18843// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18844// with awserr.Error's Code and Message methods to get detailed information about
18845// the error.
18846//
18847// See the AWS API reference guide for Amazon Chime's
18848// API operation UpdatePhoneNumberSettings for usage and error information.
18849//
18850// Returned Error Types:
18851//   * UnauthorizedClientException
18852//   The client is not currently authorized to make the request.
18853//
18854//   * ForbiddenException
18855//   The client is permanently forbidden from making the request.
18856//
18857//   * BadRequestException
18858//   The input parameters don't match the service's restrictions.
18859//
18860//   * ThrottledClientException
18861//   The client exceeded its request rate limit.
18862//
18863//   * ServiceUnavailableException
18864//   The service is currently unavailable.
18865//
18866//   * ServiceFailureException
18867//   The service encountered an unexpected error.
18868//
18869// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumberSettings
18870func (c *Chime) UpdatePhoneNumberSettings(input *UpdatePhoneNumberSettingsInput) (*UpdatePhoneNumberSettingsOutput, error) {
18871	req, out := c.UpdatePhoneNumberSettingsRequest(input)
18872	return out, req.Send()
18873}
18874
18875// UpdatePhoneNumberSettingsWithContext is the same as UpdatePhoneNumberSettings with the addition of
18876// the ability to pass a context and additional request options.
18877//
18878// See UpdatePhoneNumberSettings for details on how to use this API operation.
18879//
18880// The context must be non-nil and will be used for request cancellation. If
18881// the context is nil a panic will occur. In the future the SDK may create
18882// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18883// for more information on using Contexts.
18884func (c *Chime) UpdatePhoneNumberSettingsWithContext(ctx aws.Context, input *UpdatePhoneNumberSettingsInput, opts ...request.Option) (*UpdatePhoneNumberSettingsOutput, error) {
18885	req, out := c.UpdatePhoneNumberSettingsRequest(input)
18886	req.SetContext(ctx)
18887	req.ApplyOptions(opts...)
18888	return out, req.Send()
18889}
18890
18891const opUpdateProxySession = "UpdateProxySession"
18892
18893// UpdateProxySessionRequest generates a "aws/request.Request" representing the
18894// client's request for the UpdateProxySession operation. The "output" return
18895// value will be populated with the request's response once the request completes
18896// successfully.
18897//
18898// Use "Send" method on the returned Request to send the API call to the service.
18899// the "output" return value is not valid until after Send returns without error.
18900//
18901// See UpdateProxySession for more information on using the UpdateProxySession
18902// API call, and error handling.
18903//
18904// This method is useful when you want to inject custom logic or configuration
18905// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18906//
18907//
18908//    // Example sending a request using the UpdateProxySessionRequest method.
18909//    req, resp := client.UpdateProxySessionRequest(params)
18910//
18911//    err := req.Send()
18912//    if err == nil { // resp is now filled
18913//        fmt.Println(resp)
18914//    }
18915//
18916// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateProxySession
18917func (c *Chime) UpdateProxySessionRequest(input *UpdateProxySessionInput) (req *request.Request, output *UpdateProxySessionOutput) {
18918	op := &request.Operation{
18919		Name:       opUpdateProxySession,
18920		HTTPMethod: "POST",
18921		HTTPPath:   "/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}",
18922	}
18923
18924	if input == nil {
18925		input = &UpdateProxySessionInput{}
18926	}
18927
18928	output = &UpdateProxySessionOutput{}
18929	req = c.newRequest(op, input, output)
18930	return
18931}
18932
18933// UpdateProxySession API operation for Amazon Chime.
18934//
18935// Updates the specified proxy session details, such as voice or SMS capabilities.
18936//
18937// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18938// with awserr.Error's Code and Message methods to get detailed information about
18939// the error.
18940//
18941// See the AWS API reference guide for Amazon Chime's
18942// API operation UpdateProxySession for usage and error information.
18943//
18944// Returned Error Types:
18945//   * UnauthorizedClientException
18946//   The client is not currently authorized to make the request.
18947//
18948//   * NotFoundException
18949//   One or more of the resources in the request does not exist in the system.
18950//
18951//   * ForbiddenException
18952//   The client is permanently forbidden from making the request.
18953//
18954//   * BadRequestException
18955//   The input parameters don't match the service's restrictions.
18956//
18957//   * ThrottledClientException
18958//   The client exceeded its request rate limit.
18959//
18960//   * ServiceUnavailableException
18961//   The service is currently unavailable.
18962//
18963//   * ServiceFailureException
18964//   The service encountered an unexpected error.
18965//
18966// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateProxySession
18967func (c *Chime) UpdateProxySession(input *UpdateProxySessionInput) (*UpdateProxySessionOutput, error) {
18968	req, out := c.UpdateProxySessionRequest(input)
18969	return out, req.Send()
18970}
18971
18972// UpdateProxySessionWithContext is the same as UpdateProxySession with the addition of
18973// the ability to pass a context and additional request options.
18974//
18975// See UpdateProxySession for details on how to use this API operation.
18976//
18977// The context must be non-nil and will be used for request cancellation. If
18978// the context is nil a panic will occur. In the future the SDK may create
18979// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18980// for more information on using Contexts.
18981func (c *Chime) UpdateProxySessionWithContext(ctx aws.Context, input *UpdateProxySessionInput, opts ...request.Option) (*UpdateProxySessionOutput, error) {
18982	req, out := c.UpdateProxySessionRequest(input)
18983	req.SetContext(ctx)
18984	req.ApplyOptions(opts...)
18985	return out, req.Send()
18986}
18987
18988const opUpdateRoom = "UpdateRoom"
18989
18990// UpdateRoomRequest generates a "aws/request.Request" representing the
18991// client's request for the UpdateRoom operation. The "output" return
18992// value will be populated with the request's response once the request completes
18993// successfully.
18994//
18995// Use "Send" method on the returned Request to send the API call to the service.
18996// the "output" return value is not valid until after Send returns without error.
18997//
18998// See UpdateRoom for more information on using the UpdateRoom
18999// API call, and error handling.
19000//
19001// This method is useful when you want to inject custom logic or configuration
19002// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19003//
19004//
19005//    // Example sending a request using the UpdateRoomRequest method.
19006//    req, resp := client.UpdateRoomRequest(params)
19007//
19008//    err := req.Send()
19009//    if err == nil { // resp is now filled
19010//        fmt.Println(resp)
19011//    }
19012//
19013// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoom
19014func (c *Chime) UpdateRoomRequest(input *UpdateRoomInput) (req *request.Request, output *UpdateRoomOutput) {
19015	op := &request.Operation{
19016		Name:       opUpdateRoom,
19017		HTTPMethod: "POST",
19018		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}",
19019	}
19020
19021	if input == nil {
19022		input = &UpdateRoomInput{}
19023	}
19024
19025	output = &UpdateRoomOutput{}
19026	req = c.newRequest(op, input, output)
19027	return
19028}
19029
19030// UpdateRoom API operation for Amazon Chime.
19031//
19032// Updates room details, such as the room name, for a room in an Amazon Chime
19033// Enterprise account.
19034//
19035// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19036// with awserr.Error's Code and Message methods to get detailed information about
19037// the error.
19038//
19039// See the AWS API reference guide for Amazon Chime's
19040// API operation UpdateRoom for usage and error information.
19041//
19042// Returned Error Types:
19043//   * BadRequestException
19044//   The input parameters don't match the service's restrictions.
19045//
19046//   * ForbiddenException
19047//   The client is permanently forbidden from making the request.
19048//
19049//   * NotFoundException
19050//   One or more of the resources in the request does not exist in the system.
19051//
19052//   * UnauthorizedClientException
19053//   The client is not currently authorized to make the request.
19054//
19055//   * ThrottledClientException
19056//   The client exceeded its request rate limit.
19057//
19058//   * ServiceUnavailableException
19059//   The service is currently unavailable.
19060//
19061//   * ServiceFailureException
19062//   The service encountered an unexpected error.
19063//
19064// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoom
19065func (c *Chime) UpdateRoom(input *UpdateRoomInput) (*UpdateRoomOutput, error) {
19066	req, out := c.UpdateRoomRequest(input)
19067	return out, req.Send()
19068}
19069
19070// UpdateRoomWithContext is the same as UpdateRoom with the addition of
19071// the ability to pass a context and additional request options.
19072//
19073// See UpdateRoom for details on how to use this API operation.
19074//
19075// The context must be non-nil and will be used for request cancellation. If
19076// the context is nil a panic will occur. In the future the SDK may create
19077// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19078// for more information on using Contexts.
19079func (c *Chime) UpdateRoomWithContext(ctx aws.Context, input *UpdateRoomInput, opts ...request.Option) (*UpdateRoomOutput, error) {
19080	req, out := c.UpdateRoomRequest(input)
19081	req.SetContext(ctx)
19082	req.ApplyOptions(opts...)
19083	return out, req.Send()
19084}
19085
19086const opUpdateRoomMembership = "UpdateRoomMembership"
19087
19088// UpdateRoomMembershipRequest generates a "aws/request.Request" representing the
19089// client's request for the UpdateRoomMembership operation. The "output" return
19090// value will be populated with the request's response once the request completes
19091// successfully.
19092//
19093// Use "Send" method on the returned Request to send the API call to the service.
19094// the "output" return value is not valid until after Send returns without error.
19095//
19096// See UpdateRoomMembership for more information on using the UpdateRoomMembership
19097// API call, and error handling.
19098//
19099// This method is useful when you want to inject custom logic or configuration
19100// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19101//
19102//
19103//    // Example sending a request using the UpdateRoomMembershipRequest method.
19104//    req, resp := client.UpdateRoomMembershipRequest(params)
19105//
19106//    err := req.Send()
19107//    if err == nil { // resp is now filled
19108//        fmt.Println(resp)
19109//    }
19110//
19111// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoomMembership
19112func (c *Chime) UpdateRoomMembershipRequest(input *UpdateRoomMembershipInput) (req *request.Request, output *UpdateRoomMembershipOutput) {
19113	op := &request.Operation{
19114		Name:       opUpdateRoomMembership,
19115		HTTPMethod: "POST",
19116		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}/memberships/{memberId}",
19117	}
19118
19119	if input == nil {
19120		input = &UpdateRoomMembershipInput{}
19121	}
19122
19123	output = &UpdateRoomMembershipOutput{}
19124	req = c.newRequest(op, input, output)
19125	return
19126}
19127
19128// UpdateRoomMembership API operation for Amazon Chime.
19129//
19130// Updates room membership details, such as the member role, for a room in an
19131// Amazon Chime Enterprise account. The member role designates whether the member
19132// is a chat room administrator or a general chat room member. The member role
19133// can be updated only for user IDs.
19134//
19135// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19136// with awserr.Error's Code and Message methods to get detailed information about
19137// the error.
19138//
19139// See the AWS API reference guide for Amazon Chime's
19140// API operation UpdateRoomMembership for usage and error information.
19141//
19142// Returned Error Types:
19143//   * UnauthorizedClientException
19144//   The client is not currently authorized to make the request.
19145//
19146//   * NotFoundException
19147//   One or more of the resources in the request does not exist in the system.
19148//
19149//   * BadRequestException
19150//   The input parameters don't match the service's restrictions.
19151//
19152//   * ForbiddenException
19153//   The client is permanently forbidden from making the request.
19154//
19155//   * ThrottledClientException
19156//   The client exceeded its request rate limit.
19157//
19158//   * ServiceUnavailableException
19159//   The service is currently unavailable.
19160//
19161//   * ServiceFailureException
19162//   The service encountered an unexpected error.
19163//
19164// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoomMembership
19165func (c *Chime) UpdateRoomMembership(input *UpdateRoomMembershipInput) (*UpdateRoomMembershipOutput, error) {
19166	req, out := c.UpdateRoomMembershipRequest(input)
19167	return out, req.Send()
19168}
19169
19170// UpdateRoomMembershipWithContext is the same as UpdateRoomMembership with the addition of
19171// the ability to pass a context and additional request options.
19172//
19173// See UpdateRoomMembership for details on how to use this API operation.
19174//
19175// The context must be non-nil and will be used for request cancellation. If
19176// the context is nil a panic will occur. In the future the SDK may create
19177// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19178// for more information on using Contexts.
19179func (c *Chime) UpdateRoomMembershipWithContext(ctx aws.Context, input *UpdateRoomMembershipInput, opts ...request.Option) (*UpdateRoomMembershipOutput, error) {
19180	req, out := c.UpdateRoomMembershipRequest(input)
19181	req.SetContext(ctx)
19182	req.ApplyOptions(opts...)
19183	return out, req.Send()
19184}
19185
19186const opUpdateSipMediaApplication = "UpdateSipMediaApplication"
19187
19188// UpdateSipMediaApplicationRequest generates a "aws/request.Request" representing the
19189// client's request for the UpdateSipMediaApplication operation. The "output" return
19190// value will be populated with the request's response once the request completes
19191// successfully.
19192//
19193// Use "Send" method on the returned Request to send the API call to the service.
19194// the "output" return value is not valid until after Send returns without error.
19195//
19196// See UpdateSipMediaApplication for more information on using the UpdateSipMediaApplication
19197// API call, and error handling.
19198//
19199// This method is useful when you want to inject custom logic or configuration
19200// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19201//
19202//
19203//    // Example sending a request using the UpdateSipMediaApplicationRequest method.
19204//    req, resp := client.UpdateSipMediaApplicationRequest(params)
19205//
19206//    err := req.Send()
19207//    if err == nil { // resp is now filled
19208//        fmt.Println(resp)
19209//    }
19210//
19211// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplication
19212func (c *Chime) UpdateSipMediaApplicationRequest(input *UpdateSipMediaApplicationInput) (req *request.Request, output *UpdateSipMediaApplicationOutput) {
19213	op := &request.Operation{
19214		Name:       opUpdateSipMediaApplication,
19215		HTTPMethod: "PUT",
19216		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}",
19217	}
19218
19219	if input == nil {
19220		input = &UpdateSipMediaApplicationInput{}
19221	}
19222
19223	output = &UpdateSipMediaApplicationOutput{}
19224	req = c.newRequest(op, input, output)
19225	return
19226}
19227
19228// UpdateSipMediaApplication API operation for Amazon Chime.
19229//
19230// Updates the details of the specified SIP media application.
19231//
19232// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19233// with awserr.Error's Code and Message methods to get detailed information about
19234// the error.
19235//
19236// See the AWS API reference guide for Amazon Chime's
19237// API operation UpdateSipMediaApplication for usage and error information.
19238//
19239// Returned Error Types:
19240//   * UnauthorizedClientException
19241//   The client is not currently authorized to make the request.
19242//
19243//   * NotFoundException
19244//   One or more of the resources in the request does not exist in the system.
19245//
19246//   * ForbiddenException
19247//   The client is permanently forbidden from making the request.
19248//
19249//   * BadRequestException
19250//   The input parameters don't match the service's restrictions.
19251//
19252//   * ConflictException
19253//   The request could not be processed because of conflict in the current state
19254//   of the resource.
19255//
19256//   * ThrottledClientException
19257//   The client exceeded its request rate limit.
19258//
19259//   * ServiceUnavailableException
19260//   The service is currently unavailable.
19261//
19262//   * ServiceFailureException
19263//   The service encountered an unexpected error.
19264//
19265// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplication
19266func (c *Chime) UpdateSipMediaApplication(input *UpdateSipMediaApplicationInput) (*UpdateSipMediaApplicationOutput, error) {
19267	req, out := c.UpdateSipMediaApplicationRequest(input)
19268	return out, req.Send()
19269}
19270
19271// UpdateSipMediaApplicationWithContext is the same as UpdateSipMediaApplication with the addition of
19272// the ability to pass a context and additional request options.
19273//
19274// See UpdateSipMediaApplication for details on how to use this API operation.
19275//
19276// The context must be non-nil and will be used for request cancellation. If
19277// the context is nil a panic will occur. In the future the SDK may create
19278// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19279// for more information on using Contexts.
19280func (c *Chime) UpdateSipMediaApplicationWithContext(ctx aws.Context, input *UpdateSipMediaApplicationInput, opts ...request.Option) (*UpdateSipMediaApplicationOutput, error) {
19281	req, out := c.UpdateSipMediaApplicationRequest(input)
19282	req.SetContext(ctx)
19283	req.ApplyOptions(opts...)
19284	return out, req.Send()
19285}
19286
19287const opUpdateSipMediaApplicationCall = "UpdateSipMediaApplicationCall"
19288
19289// UpdateSipMediaApplicationCallRequest generates a "aws/request.Request" representing the
19290// client's request for the UpdateSipMediaApplicationCall operation. The "output" return
19291// value will be populated with the request's response once the request completes
19292// successfully.
19293//
19294// Use "Send" method on the returned Request to send the API call to the service.
19295// the "output" return value is not valid until after Send returns without error.
19296//
19297// See UpdateSipMediaApplicationCall for more information on using the UpdateSipMediaApplicationCall
19298// API call, and error handling.
19299//
19300// This method is useful when you want to inject custom logic or configuration
19301// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19302//
19303//
19304//    // Example sending a request using the UpdateSipMediaApplicationCallRequest method.
19305//    req, resp := client.UpdateSipMediaApplicationCallRequest(params)
19306//
19307//    err := req.Send()
19308//    if err == nil { // resp is now filled
19309//        fmt.Println(resp)
19310//    }
19311//
19312// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplicationCall
19313func (c *Chime) UpdateSipMediaApplicationCallRequest(input *UpdateSipMediaApplicationCallInput) (req *request.Request, output *UpdateSipMediaApplicationCallOutput) {
19314	op := &request.Operation{
19315		Name:       opUpdateSipMediaApplicationCall,
19316		HTTPMethod: "POST",
19317		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}/calls/{transactionId}",
19318	}
19319
19320	if input == nil {
19321		input = &UpdateSipMediaApplicationCallInput{}
19322	}
19323
19324	output = &UpdateSipMediaApplicationCallOutput{}
19325	req = c.newRequest(op, input, output)
19326	return
19327}
19328
19329// UpdateSipMediaApplicationCall API operation for Amazon Chime.
19330//
19331// Allows you to trigger a Lambda function at any time while a call is active,
19332// and replace the current actions with new actions returned by the invocation.
19333//
19334// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19335// with awserr.Error's Code and Message methods to get detailed information about
19336// the error.
19337//
19338// See the AWS API reference guide for Amazon Chime's
19339// API operation UpdateSipMediaApplicationCall for usage and error information.
19340//
19341// Returned Error Types:
19342//   * BadRequestException
19343//   The input parameters don't match the service's restrictions.
19344//
19345//   * NotFoundException
19346//   One or more of the resources in the request does not exist in the system.
19347//
19348//   * ForbiddenException
19349//   The client is permanently forbidden from making the request.
19350//
19351//   * ResourceLimitExceededException
19352//   The request exceeds the resource limit.
19353//
19354//   * ThrottledClientException
19355//   The client exceeded its request rate limit.
19356//
19357//   * UnauthorizedClientException
19358//   The client is not currently authorized to make the request.
19359//
19360//   * ServiceUnavailableException
19361//   The service is currently unavailable.
19362//
19363//   * ServiceFailureException
19364//   The service encountered an unexpected error.
19365//
19366// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplicationCall
19367func (c *Chime) UpdateSipMediaApplicationCall(input *UpdateSipMediaApplicationCallInput) (*UpdateSipMediaApplicationCallOutput, error) {
19368	req, out := c.UpdateSipMediaApplicationCallRequest(input)
19369	return out, req.Send()
19370}
19371
19372// UpdateSipMediaApplicationCallWithContext is the same as UpdateSipMediaApplicationCall with the addition of
19373// the ability to pass a context and additional request options.
19374//
19375// See UpdateSipMediaApplicationCall for details on how to use this API operation.
19376//
19377// The context must be non-nil and will be used for request cancellation. If
19378// the context is nil a panic will occur. In the future the SDK may create
19379// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19380// for more information on using Contexts.
19381func (c *Chime) UpdateSipMediaApplicationCallWithContext(ctx aws.Context, input *UpdateSipMediaApplicationCallInput, opts ...request.Option) (*UpdateSipMediaApplicationCallOutput, error) {
19382	req, out := c.UpdateSipMediaApplicationCallRequest(input)
19383	req.SetContext(ctx)
19384	req.ApplyOptions(opts...)
19385	return out, req.Send()
19386}
19387
19388const opUpdateSipRule = "UpdateSipRule"
19389
19390// UpdateSipRuleRequest generates a "aws/request.Request" representing the
19391// client's request for the UpdateSipRule operation. The "output" return
19392// value will be populated with the request's response once the request completes
19393// successfully.
19394//
19395// Use "Send" method on the returned Request to send the API call to the service.
19396// the "output" return value is not valid until after Send returns without error.
19397//
19398// See UpdateSipRule for more information on using the UpdateSipRule
19399// API call, and error handling.
19400//
19401// This method is useful when you want to inject custom logic or configuration
19402// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19403//
19404//
19405//    // Example sending a request using the UpdateSipRuleRequest method.
19406//    req, resp := client.UpdateSipRuleRequest(params)
19407//
19408//    err := req.Send()
19409//    if err == nil { // resp is now filled
19410//        fmt.Println(resp)
19411//    }
19412//
19413// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipRule
19414func (c *Chime) UpdateSipRuleRequest(input *UpdateSipRuleInput) (req *request.Request, output *UpdateSipRuleOutput) {
19415	op := &request.Operation{
19416		Name:       opUpdateSipRule,
19417		HTTPMethod: "PUT",
19418		HTTPPath:   "/sip-rules/{sipRuleId}",
19419	}
19420
19421	if input == nil {
19422		input = &UpdateSipRuleInput{}
19423	}
19424
19425	output = &UpdateSipRuleOutput{}
19426	req = c.newRequest(op, input, output)
19427	return
19428}
19429
19430// UpdateSipRule API operation for Amazon Chime.
19431//
19432// Updates the details of the specified SIP rule.
19433//
19434// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19435// with awserr.Error's Code and Message methods to get detailed information about
19436// the error.
19437//
19438// See the AWS API reference guide for Amazon Chime's
19439// API operation UpdateSipRule for usage and error information.
19440//
19441// Returned Error Types:
19442//   * UnauthorizedClientException
19443//   The client is not currently authorized to make the request.
19444//
19445//   * NotFoundException
19446//   One or more of the resources in the request does not exist in the system.
19447//
19448//   * ForbiddenException
19449//   The client is permanently forbidden from making the request.
19450//
19451//   * BadRequestException
19452//   The input parameters don't match the service's restrictions.
19453//
19454//   * ConflictException
19455//   The request could not be processed because of conflict in the current state
19456//   of the resource.
19457//
19458//   * ThrottledClientException
19459//   The client exceeded its request rate limit.
19460//
19461//   * ResourceLimitExceededException
19462//   The request exceeds the resource limit.
19463//
19464//   * ServiceUnavailableException
19465//   The service is currently unavailable.
19466//
19467//   * ServiceFailureException
19468//   The service encountered an unexpected error.
19469//
19470// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipRule
19471func (c *Chime) UpdateSipRule(input *UpdateSipRuleInput) (*UpdateSipRuleOutput, error) {
19472	req, out := c.UpdateSipRuleRequest(input)
19473	return out, req.Send()
19474}
19475
19476// UpdateSipRuleWithContext is the same as UpdateSipRule with the addition of
19477// the ability to pass a context and additional request options.
19478//
19479// See UpdateSipRule for details on how to use this API operation.
19480//
19481// The context must be non-nil and will be used for request cancellation. If
19482// the context is nil a panic will occur. In the future the SDK may create
19483// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19484// for more information on using Contexts.
19485func (c *Chime) UpdateSipRuleWithContext(ctx aws.Context, input *UpdateSipRuleInput, opts ...request.Option) (*UpdateSipRuleOutput, error) {
19486	req, out := c.UpdateSipRuleRequest(input)
19487	req.SetContext(ctx)
19488	req.ApplyOptions(opts...)
19489	return out, req.Send()
19490}
19491
19492const opUpdateUser = "UpdateUser"
19493
19494// UpdateUserRequest generates a "aws/request.Request" representing the
19495// client's request for the UpdateUser operation. The "output" return
19496// value will be populated with the request's response once the request completes
19497// successfully.
19498//
19499// Use "Send" method on the returned Request to send the API call to the service.
19500// the "output" return value is not valid until after Send returns without error.
19501//
19502// See UpdateUser for more information on using the UpdateUser
19503// API call, and error handling.
19504//
19505// This method is useful when you want to inject custom logic or configuration
19506// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19507//
19508//
19509//    // Example sending a request using the UpdateUserRequest method.
19510//    req, resp := client.UpdateUserRequest(params)
19511//
19512//    err := req.Send()
19513//    if err == nil { // resp is now filled
19514//        fmt.Println(resp)
19515//    }
19516//
19517// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUser
19518func (c *Chime) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) {
19519	op := &request.Operation{
19520		Name:       opUpdateUser,
19521		HTTPMethod: "POST",
19522		HTTPPath:   "/accounts/{accountId}/users/{userId}",
19523	}
19524
19525	if input == nil {
19526		input = &UpdateUserInput{}
19527	}
19528
19529	output = &UpdateUserOutput{}
19530	req = c.newRequest(op, input, output)
19531	return
19532}
19533
19534// UpdateUser API operation for Amazon Chime.
19535//
19536// Updates user details for a specified user ID. Currently, only LicenseType
19537// updates are supported for this action.
19538//
19539// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19540// with awserr.Error's Code and Message methods to get detailed information about
19541// the error.
19542//
19543// See the AWS API reference guide for Amazon Chime's
19544// API operation UpdateUser for usage and error information.
19545//
19546// Returned Error Types:
19547//   * UnauthorizedClientException
19548//   The client is not currently authorized to make the request.
19549//
19550//   * NotFoundException
19551//   One or more of the resources in the request does not exist in the system.
19552//
19553//   * ForbiddenException
19554//   The client is permanently forbidden from making the request.
19555//
19556//   * BadRequestException
19557//   The input parameters don't match the service's restrictions.
19558//
19559//   * ThrottledClientException
19560//   The client exceeded its request rate limit.
19561//
19562//   * ServiceUnavailableException
19563//   The service is currently unavailable.
19564//
19565//   * ServiceFailureException
19566//   The service encountered an unexpected error.
19567//
19568// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUser
19569func (c *Chime) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) {
19570	req, out := c.UpdateUserRequest(input)
19571	return out, req.Send()
19572}
19573
19574// UpdateUserWithContext is the same as UpdateUser with the addition of
19575// the ability to pass a context and additional request options.
19576//
19577// See UpdateUser for details on how to use this API operation.
19578//
19579// The context must be non-nil and will be used for request cancellation. If
19580// the context is nil a panic will occur. In the future the SDK may create
19581// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19582// for more information on using Contexts.
19583func (c *Chime) UpdateUserWithContext(ctx aws.Context, input *UpdateUserInput, opts ...request.Option) (*UpdateUserOutput, error) {
19584	req, out := c.UpdateUserRequest(input)
19585	req.SetContext(ctx)
19586	req.ApplyOptions(opts...)
19587	return out, req.Send()
19588}
19589
19590const opUpdateUserSettings = "UpdateUserSettings"
19591
19592// UpdateUserSettingsRequest generates a "aws/request.Request" representing the
19593// client's request for the UpdateUserSettings operation. The "output" return
19594// value will be populated with the request's response once the request completes
19595// successfully.
19596//
19597// Use "Send" method on the returned Request to send the API call to the service.
19598// the "output" return value is not valid until after Send returns without error.
19599//
19600// See UpdateUserSettings for more information on using the UpdateUserSettings
19601// API call, and error handling.
19602//
19603// This method is useful when you want to inject custom logic or configuration
19604// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19605//
19606//
19607//    // Example sending a request using the UpdateUserSettingsRequest method.
19608//    req, resp := client.UpdateUserSettingsRequest(params)
19609//
19610//    err := req.Send()
19611//    if err == nil { // resp is now filled
19612//        fmt.Println(resp)
19613//    }
19614//
19615// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUserSettings
19616func (c *Chime) UpdateUserSettingsRequest(input *UpdateUserSettingsInput) (req *request.Request, output *UpdateUserSettingsOutput) {
19617	op := &request.Operation{
19618		Name:       opUpdateUserSettings,
19619		HTTPMethod: "PUT",
19620		HTTPPath:   "/accounts/{accountId}/users/{userId}/settings",
19621	}
19622
19623	if input == nil {
19624		input = &UpdateUserSettingsInput{}
19625	}
19626
19627	output = &UpdateUserSettingsOutput{}
19628	req = c.newRequest(op, input, output)
19629	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19630	return
19631}
19632
19633// UpdateUserSettings API operation for Amazon Chime.
19634//
19635// Updates the settings for the specified user, such as phone number settings.
19636//
19637// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19638// with awserr.Error's Code and Message methods to get detailed information about
19639// the error.
19640//
19641// See the AWS API reference guide for Amazon Chime's
19642// API operation UpdateUserSettings for usage and error information.
19643//
19644// Returned Error Types:
19645//   * UnauthorizedClientException
19646//   The client is not currently authorized to make the request.
19647//
19648//   * NotFoundException
19649//   One or more of the resources in the request does not exist in the system.
19650//
19651//   * ForbiddenException
19652//   The client is permanently forbidden from making the request.
19653//
19654//   * BadRequestException
19655//   The input parameters don't match the service's restrictions.
19656//
19657//   * ThrottledClientException
19658//   The client exceeded its request rate limit.
19659//
19660//   * ServiceUnavailableException
19661//   The service is currently unavailable.
19662//
19663//   * ServiceFailureException
19664//   The service encountered an unexpected error.
19665//
19666// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUserSettings
19667func (c *Chime) UpdateUserSettings(input *UpdateUserSettingsInput) (*UpdateUserSettingsOutput, error) {
19668	req, out := c.UpdateUserSettingsRequest(input)
19669	return out, req.Send()
19670}
19671
19672// UpdateUserSettingsWithContext is the same as UpdateUserSettings with the addition of
19673// the ability to pass a context and additional request options.
19674//
19675// See UpdateUserSettings for details on how to use this API operation.
19676//
19677// The context must be non-nil and will be used for request cancellation. If
19678// the context is nil a panic will occur. In the future the SDK may create
19679// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19680// for more information on using Contexts.
19681func (c *Chime) UpdateUserSettingsWithContext(ctx aws.Context, input *UpdateUserSettingsInput, opts ...request.Option) (*UpdateUserSettingsOutput, error) {
19682	req, out := c.UpdateUserSettingsRequest(input)
19683	req.SetContext(ctx)
19684	req.ApplyOptions(opts...)
19685	return out, req.Send()
19686}
19687
19688const opUpdateVoiceConnector = "UpdateVoiceConnector"
19689
19690// UpdateVoiceConnectorRequest generates a "aws/request.Request" representing the
19691// client's request for the UpdateVoiceConnector operation. The "output" return
19692// value will be populated with the request's response once the request completes
19693// successfully.
19694//
19695// Use "Send" method on the returned Request to send the API call to the service.
19696// the "output" return value is not valid until after Send returns without error.
19697//
19698// See UpdateVoiceConnector for more information on using the UpdateVoiceConnector
19699// API call, and error handling.
19700//
19701// This method is useful when you want to inject custom logic or configuration
19702// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19703//
19704//
19705//    // Example sending a request using the UpdateVoiceConnectorRequest method.
19706//    req, resp := client.UpdateVoiceConnectorRequest(params)
19707//
19708//    err := req.Send()
19709//    if err == nil { // resp is now filled
19710//        fmt.Println(resp)
19711//    }
19712//
19713// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnector
19714func (c *Chime) UpdateVoiceConnectorRequest(input *UpdateVoiceConnectorInput) (req *request.Request, output *UpdateVoiceConnectorOutput) {
19715	op := &request.Operation{
19716		Name:       opUpdateVoiceConnector,
19717		HTTPMethod: "PUT",
19718		HTTPPath:   "/voice-connectors/{voiceConnectorId}",
19719	}
19720
19721	if input == nil {
19722		input = &UpdateVoiceConnectorInput{}
19723	}
19724
19725	output = &UpdateVoiceConnectorOutput{}
19726	req = c.newRequest(op, input, output)
19727	return
19728}
19729
19730// UpdateVoiceConnector API operation for Amazon Chime.
19731//
19732// Updates details for the specified Amazon Chime Voice Connector.
19733//
19734// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19735// with awserr.Error's Code and Message methods to get detailed information about
19736// the error.
19737//
19738// See the AWS API reference guide for Amazon Chime's
19739// API operation UpdateVoiceConnector for usage and error information.
19740//
19741// Returned Error Types:
19742//   * UnauthorizedClientException
19743//   The client is not currently authorized to make the request.
19744//
19745//   * NotFoundException
19746//   One or more of the resources in the request does not exist in the system.
19747//
19748//   * ForbiddenException
19749//   The client is permanently forbidden from making the request.
19750//
19751//   * BadRequestException
19752//   The input parameters don't match the service's restrictions.
19753//
19754//   * ThrottledClientException
19755//   The client exceeded its request rate limit.
19756//
19757//   * ServiceUnavailableException
19758//   The service is currently unavailable.
19759//
19760//   * ServiceFailureException
19761//   The service encountered an unexpected error.
19762//
19763// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnector
19764func (c *Chime) UpdateVoiceConnector(input *UpdateVoiceConnectorInput) (*UpdateVoiceConnectorOutput, error) {
19765	req, out := c.UpdateVoiceConnectorRequest(input)
19766	return out, req.Send()
19767}
19768
19769// UpdateVoiceConnectorWithContext is the same as UpdateVoiceConnector with the addition of
19770// the ability to pass a context and additional request options.
19771//
19772// See UpdateVoiceConnector for details on how to use this API operation.
19773//
19774// The context must be non-nil and will be used for request cancellation. If
19775// the context is nil a panic will occur. In the future the SDK may create
19776// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19777// for more information on using Contexts.
19778func (c *Chime) UpdateVoiceConnectorWithContext(ctx aws.Context, input *UpdateVoiceConnectorInput, opts ...request.Option) (*UpdateVoiceConnectorOutput, error) {
19779	req, out := c.UpdateVoiceConnectorRequest(input)
19780	req.SetContext(ctx)
19781	req.ApplyOptions(opts...)
19782	return out, req.Send()
19783}
19784
19785const opUpdateVoiceConnectorGroup = "UpdateVoiceConnectorGroup"
19786
19787// UpdateVoiceConnectorGroupRequest generates a "aws/request.Request" representing the
19788// client's request for the UpdateVoiceConnectorGroup operation. The "output" return
19789// value will be populated with the request's response once the request completes
19790// successfully.
19791//
19792// Use "Send" method on the returned Request to send the API call to the service.
19793// the "output" return value is not valid until after Send returns without error.
19794//
19795// See UpdateVoiceConnectorGroup for more information on using the UpdateVoiceConnectorGroup
19796// API call, and error handling.
19797//
19798// This method is useful when you want to inject custom logic or configuration
19799// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19800//
19801//
19802//    // Example sending a request using the UpdateVoiceConnectorGroupRequest method.
19803//    req, resp := client.UpdateVoiceConnectorGroupRequest(params)
19804//
19805//    err := req.Send()
19806//    if err == nil { // resp is now filled
19807//        fmt.Println(resp)
19808//    }
19809//
19810// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnectorGroup
19811func (c *Chime) UpdateVoiceConnectorGroupRequest(input *UpdateVoiceConnectorGroupInput) (req *request.Request, output *UpdateVoiceConnectorGroupOutput) {
19812	op := &request.Operation{
19813		Name:       opUpdateVoiceConnectorGroup,
19814		HTTPMethod: "PUT",
19815		HTTPPath:   "/voice-connector-groups/{voiceConnectorGroupId}",
19816	}
19817
19818	if input == nil {
19819		input = &UpdateVoiceConnectorGroupInput{}
19820	}
19821
19822	output = &UpdateVoiceConnectorGroupOutput{}
19823	req = c.newRequest(op, input, output)
19824	return
19825}
19826
19827// UpdateVoiceConnectorGroup API operation for Amazon Chime.
19828//
19829// Updates details of the specified Amazon Chime Voice Connector group, such
19830// as the name and Amazon Chime Voice Connector priority ranking.
19831//
19832// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19833// with awserr.Error's Code and Message methods to get detailed information about
19834// the error.
19835//
19836// See the AWS API reference guide for Amazon Chime's
19837// API operation UpdateVoiceConnectorGroup for usage and error information.
19838//
19839// Returned Error Types:
19840//   * UnauthorizedClientException
19841//   The client is not currently authorized to make the request.
19842//
19843//   * NotFoundException
19844//   One or more of the resources in the request does not exist in the system.
19845//
19846//   * ForbiddenException
19847//   The client is permanently forbidden from making the request.
19848//
19849//   * BadRequestException
19850//   The input parameters don't match the service's restrictions.
19851//
19852//   * ConflictException
19853//   The request could not be processed because of conflict in the current state
19854//   of the resource.
19855//
19856//   * ThrottledClientException
19857//   The client exceeded its request rate limit.
19858//
19859//   * ServiceUnavailableException
19860//   The service is currently unavailable.
19861//
19862//   * ServiceFailureException
19863//   The service encountered an unexpected error.
19864//
19865// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnectorGroup
19866func (c *Chime) UpdateVoiceConnectorGroup(input *UpdateVoiceConnectorGroupInput) (*UpdateVoiceConnectorGroupOutput, error) {
19867	req, out := c.UpdateVoiceConnectorGroupRequest(input)
19868	return out, req.Send()
19869}
19870
19871// UpdateVoiceConnectorGroupWithContext is the same as UpdateVoiceConnectorGroup with the addition of
19872// the ability to pass a context and additional request options.
19873//
19874// See UpdateVoiceConnectorGroup for details on how to use this API operation.
19875//
19876// The context must be non-nil and will be used for request cancellation. If
19877// the context is nil a panic will occur. In the future the SDK may create
19878// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19879// for more information on using Contexts.
19880func (c *Chime) UpdateVoiceConnectorGroupWithContext(ctx aws.Context, input *UpdateVoiceConnectorGroupInput, opts ...request.Option) (*UpdateVoiceConnectorGroupOutput, error) {
19881	req, out := c.UpdateVoiceConnectorGroupRequest(input)
19882	req.SetContext(ctx)
19883	req.ApplyOptions(opts...)
19884	return out, req.Send()
19885}
19886
19887// You don't have permissions to perform the requested operation.
19888type AccessDeniedException struct {
19889	_            struct{}                  `type:"structure"`
19890	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
19891
19892	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
19893
19894	Message_ *string `locationName:"Message" type:"string"`
19895}
19896
19897// String returns the string representation
19898func (s AccessDeniedException) String() string {
19899	return awsutil.Prettify(s)
19900}
19901
19902// GoString returns the string representation
19903func (s AccessDeniedException) GoString() string {
19904	return s.String()
19905}
19906
19907func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
19908	return &AccessDeniedException{
19909		RespMetadata: v,
19910	}
19911}
19912
19913// Code returns the exception type name.
19914func (s *AccessDeniedException) Code() string {
19915	return "AccessDeniedException"
19916}
19917
19918// Message returns the exception's message.
19919func (s *AccessDeniedException) Message() string {
19920	if s.Message_ != nil {
19921		return *s.Message_
19922	}
19923	return ""
19924}
19925
19926// OrigErr always returns nil, satisfies awserr.Error interface.
19927func (s *AccessDeniedException) OrigErr() error {
19928	return nil
19929}
19930
19931func (s *AccessDeniedException) Error() string {
19932	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
19933}
19934
19935// Status code returns the HTTP status code for the request's response error.
19936func (s *AccessDeniedException) StatusCode() int {
19937	return s.RespMetadata.StatusCode
19938}
19939
19940// RequestID returns the service's response RequestID for request.
19941func (s *AccessDeniedException) RequestID() string {
19942	return s.RespMetadata.RequestID
19943}
19944
19945// The Amazon Chime account details. An AWS account can have multiple Amazon
19946// Chime accounts.
19947type Account struct {
19948	_ struct{} `type:"structure"`
19949
19950	// The Amazon Chime account ID.
19951	//
19952	// AccountId is a required field
19953	AccountId *string `type:"string" required:"true"`
19954
19955	// The Amazon Chime account type. For more information about different account
19956	// types, see Managing Your Amazon Chime Accounts (https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html)
19957	// in the Amazon Chime Administration Guide.
19958	AccountType *string `type:"string" enum:"AccountType"`
19959
19960	// The AWS account ID.
19961	//
19962	// AwsAccountId is a required field
19963	AwsAccountId *string `type:"string" required:"true"`
19964
19965	// The Amazon Chime account creation timestamp, in ISO 8601 format.
19966	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
19967
19968	// The default license for the Amazon Chime account.
19969	DefaultLicense *string `type:"string" enum:"License"`
19970
19971	// The Amazon Chime account name.
19972	//
19973	// Name is a required field
19974	Name *string `type:"string" required:"true"`
19975
19976	// The sign-in delegate groups associated with the account.
19977	SigninDelegateGroups []*SigninDelegateGroup `type:"list"`
19978
19979	// Supported licenses for the Amazon Chime account.
19980	SupportedLicenses []*string `type:"list"`
19981}
19982
19983// String returns the string representation
19984func (s Account) String() string {
19985	return awsutil.Prettify(s)
19986}
19987
19988// GoString returns the string representation
19989func (s Account) GoString() string {
19990	return s.String()
19991}
19992
19993// SetAccountId sets the AccountId field's value.
19994func (s *Account) SetAccountId(v string) *Account {
19995	s.AccountId = &v
19996	return s
19997}
19998
19999// SetAccountType sets the AccountType field's value.
20000func (s *Account) SetAccountType(v string) *Account {
20001	s.AccountType = &v
20002	return s
20003}
20004
20005// SetAwsAccountId sets the AwsAccountId field's value.
20006func (s *Account) SetAwsAccountId(v string) *Account {
20007	s.AwsAccountId = &v
20008	return s
20009}
20010
20011// SetCreatedTimestamp sets the CreatedTimestamp field's value.
20012func (s *Account) SetCreatedTimestamp(v time.Time) *Account {
20013	s.CreatedTimestamp = &v
20014	return s
20015}
20016
20017// SetDefaultLicense sets the DefaultLicense field's value.
20018func (s *Account) SetDefaultLicense(v string) *Account {
20019	s.DefaultLicense = &v
20020	return s
20021}
20022
20023// SetName sets the Name field's value.
20024func (s *Account) SetName(v string) *Account {
20025	s.Name = &v
20026	return s
20027}
20028
20029// SetSigninDelegateGroups sets the SigninDelegateGroups field's value.
20030func (s *Account) SetSigninDelegateGroups(v []*SigninDelegateGroup) *Account {
20031	s.SigninDelegateGroups = v
20032	return s
20033}
20034
20035// SetSupportedLicenses sets the SupportedLicenses field's value.
20036func (s *Account) SetSupportedLicenses(v []*string) *Account {
20037	s.SupportedLicenses = v
20038	return s
20039}
20040
20041// Settings related to the Amazon Chime account. This includes settings that
20042// start or stop remote control of shared screens, or start or stop the dial-out
20043// option in the Amazon Chime web application. For more information about these
20044// settings, see Use the Policies Page (https://docs.aws.amazon.com/chime/latest/ag/policies.html)
20045// in the Amazon Chime Administration Guide.
20046type AccountSettings struct {
20047	_ struct{} `type:"structure"`
20048
20049	// Setting that stops or starts remote control of shared screens during meetings.
20050	DisableRemoteControl *bool `type:"boolean"`
20051
20052	// Setting that allows meeting participants to choose the Call me at a phone
20053	// number option. For more information, see Join a Meeting without the Amazon
20054	// Chime App (https://docs.aws.amazon.com/chime/latest/ug/chime-join-meeting.html).
20055	EnableDialOut *bool `type:"boolean"`
20056}
20057
20058// String returns the string representation
20059func (s AccountSettings) String() string {
20060	return awsutil.Prettify(s)
20061}
20062
20063// GoString returns the string representation
20064func (s AccountSettings) GoString() string {
20065	return s.String()
20066}
20067
20068// SetDisableRemoteControl sets the DisableRemoteControl field's value.
20069func (s *AccountSettings) SetDisableRemoteControl(v bool) *AccountSettings {
20070	s.DisableRemoteControl = &v
20071	return s
20072}
20073
20074// SetEnableDialOut sets the EnableDialOut field's value.
20075func (s *AccountSettings) SetEnableDialOut(v bool) *AccountSettings {
20076	s.EnableDialOut = &v
20077	return s
20078}
20079
20080// The Alexa for Business metadata associated with an Amazon Chime user, used
20081// to integrate Alexa for Business with a device.
20082type AlexaForBusinessMetadata struct {
20083	_ struct{} `type:"structure"`
20084
20085	// The ARN of the room resource.
20086	AlexaForBusinessRoomArn *string `type:"string" sensitive:"true"`
20087
20088	// Starts or stops Alexa for Business.
20089	IsAlexaForBusinessEnabled *bool `type:"boolean"`
20090}
20091
20092// String returns the string representation
20093func (s AlexaForBusinessMetadata) String() string {
20094	return awsutil.Prettify(s)
20095}
20096
20097// GoString returns the string representation
20098func (s AlexaForBusinessMetadata) GoString() string {
20099	return s.String()
20100}
20101
20102// SetAlexaForBusinessRoomArn sets the AlexaForBusinessRoomArn field's value.
20103func (s *AlexaForBusinessMetadata) SetAlexaForBusinessRoomArn(v string) *AlexaForBusinessMetadata {
20104	s.AlexaForBusinessRoomArn = &v
20105	return s
20106}
20107
20108// SetIsAlexaForBusinessEnabled sets the IsAlexaForBusinessEnabled field's value.
20109func (s *AlexaForBusinessMetadata) SetIsAlexaForBusinessEnabled(v bool) *AlexaForBusinessMetadata {
20110	s.IsAlexaForBusinessEnabled = &v
20111	return s
20112}
20113
20114// The details of an AppInstance, an instance of an Amazon Chime SDK messaging
20115// application.
20116type AppInstance struct {
20117	_ struct{} `type:"structure"`
20118
20119	// The ARN of the messaging instance.
20120	AppInstanceArn *string `min:"5" type:"string"`
20121
20122	// The time at which an AppInstance was created. In epoch milliseconds.
20123	CreatedTimestamp *time.Time `type:"timestamp"`
20124
20125	// The time an AppInstance was last updated. In epoch milliseconds.
20126	LastUpdatedTimestamp *time.Time `type:"timestamp"`
20127
20128	// The metadata of an AppInstance.
20129	Metadata *string `type:"string" sensitive:"true"`
20130
20131	// The name of an AppInstance.
20132	Name *string `min:"1" type:"string" sensitive:"true"`
20133}
20134
20135// String returns the string representation
20136func (s AppInstance) String() string {
20137	return awsutil.Prettify(s)
20138}
20139
20140// GoString returns the string representation
20141func (s AppInstance) GoString() string {
20142	return s.String()
20143}
20144
20145// SetAppInstanceArn sets the AppInstanceArn field's value.
20146func (s *AppInstance) SetAppInstanceArn(v string) *AppInstance {
20147	s.AppInstanceArn = &v
20148	return s
20149}
20150
20151// SetCreatedTimestamp sets the CreatedTimestamp field's value.
20152func (s *AppInstance) SetCreatedTimestamp(v time.Time) *AppInstance {
20153	s.CreatedTimestamp = &v
20154	return s
20155}
20156
20157// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
20158func (s *AppInstance) SetLastUpdatedTimestamp(v time.Time) *AppInstance {
20159	s.LastUpdatedTimestamp = &v
20160	return s
20161}
20162
20163// SetMetadata sets the Metadata field's value.
20164func (s *AppInstance) SetMetadata(v string) *AppInstance {
20165	s.Metadata = &v
20166	return s
20167}
20168
20169// SetName sets the Name field's value.
20170func (s *AppInstance) SetName(v string) *AppInstance {
20171	s.Name = &v
20172	return s
20173}
20174
20175// The details of an AppInstanceAdmin.
20176type AppInstanceAdmin struct {
20177	_ struct{} `type:"structure"`
20178
20179	// The AppInstanceAdmin data.
20180	Admin *Identity `type:"structure"`
20181
20182	// The ARN of the AppInstance for which the user is an administrator.
20183	AppInstanceArn *string `min:"5" type:"string"`
20184
20185	// The time at which an administrator was created.
20186	CreatedTimestamp *time.Time `type:"timestamp"`
20187}
20188
20189// String returns the string representation
20190func (s AppInstanceAdmin) String() string {
20191	return awsutil.Prettify(s)
20192}
20193
20194// GoString returns the string representation
20195func (s AppInstanceAdmin) GoString() string {
20196	return s.String()
20197}
20198
20199// SetAdmin sets the Admin field's value.
20200func (s *AppInstanceAdmin) SetAdmin(v *Identity) *AppInstanceAdmin {
20201	s.Admin = v
20202	return s
20203}
20204
20205// SetAppInstanceArn sets the AppInstanceArn field's value.
20206func (s *AppInstanceAdmin) SetAppInstanceArn(v string) *AppInstanceAdmin {
20207	s.AppInstanceArn = &v
20208	return s
20209}
20210
20211// SetCreatedTimestamp sets the CreatedTimestamp field's value.
20212func (s *AppInstanceAdmin) SetCreatedTimestamp(v time.Time) *AppInstanceAdmin {
20213	s.CreatedTimestamp = &v
20214	return s
20215}
20216
20217// Summary of the details of an AppInstanceAdmin.
20218type AppInstanceAdminSummary struct {
20219	_ struct{} `type:"structure"`
20220
20221	// The details of the AppInstanceAdmin.
20222	Admin *Identity `type:"structure"`
20223}
20224
20225// String returns the string representation
20226func (s AppInstanceAdminSummary) String() string {
20227	return awsutil.Prettify(s)
20228}
20229
20230// GoString returns the string representation
20231func (s AppInstanceAdminSummary) GoString() string {
20232	return s.String()
20233}
20234
20235// SetAdmin sets the Admin field's value.
20236func (s *AppInstanceAdminSummary) SetAdmin(v *Identity) *AppInstanceAdminSummary {
20237	s.Admin = v
20238	return s
20239}
20240
20241// The details of the data-retention settings for an AppInstance.
20242type AppInstanceRetentionSettings struct {
20243	_ struct{} `type:"structure"`
20244
20245	// The length of time in days to retain the messages in a channel.
20246	ChannelRetentionSettings *ChannelRetentionSettings `type:"structure"`
20247}
20248
20249// String returns the string representation
20250func (s AppInstanceRetentionSettings) String() string {
20251	return awsutil.Prettify(s)
20252}
20253
20254// GoString returns the string representation
20255func (s AppInstanceRetentionSettings) GoString() string {
20256	return s.String()
20257}
20258
20259// Validate inspects the fields of the type to determine if they are valid.
20260func (s *AppInstanceRetentionSettings) Validate() error {
20261	invalidParams := request.ErrInvalidParams{Context: "AppInstanceRetentionSettings"}
20262	if s.ChannelRetentionSettings != nil {
20263		if err := s.ChannelRetentionSettings.Validate(); err != nil {
20264			invalidParams.AddNested("ChannelRetentionSettings", err.(request.ErrInvalidParams))
20265		}
20266	}
20267
20268	if invalidParams.Len() > 0 {
20269		return invalidParams
20270	}
20271	return nil
20272}
20273
20274// SetChannelRetentionSettings sets the ChannelRetentionSettings field's value.
20275func (s *AppInstanceRetentionSettings) SetChannelRetentionSettings(v *ChannelRetentionSettings) *AppInstanceRetentionSettings {
20276	s.ChannelRetentionSettings = v
20277	return s
20278}
20279
20280// The details of the streaming configuration of an AppInstance.
20281type AppInstanceStreamingConfiguration struct {
20282	_ struct{} `type:"structure"`
20283
20284	// The type of data to be streamed.
20285	//
20286	// AppInstanceDataType is a required field
20287	AppInstanceDataType *string `type:"string" required:"true" enum:"AppInstanceDataType"`
20288
20289	// The resource ARN.
20290	//
20291	// ResourceArn is a required field
20292	ResourceArn *string `min:"1" type:"string" required:"true" sensitive:"true"`
20293}
20294
20295// String returns the string representation
20296func (s AppInstanceStreamingConfiguration) String() string {
20297	return awsutil.Prettify(s)
20298}
20299
20300// GoString returns the string representation
20301func (s AppInstanceStreamingConfiguration) GoString() string {
20302	return s.String()
20303}
20304
20305// Validate inspects the fields of the type to determine if they are valid.
20306func (s *AppInstanceStreamingConfiguration) Validate() error {
20307	invalidParams := request.ErrInvalidParams{Context: "AppInstanceStreamingConfiguration"}
20308	if s.AppInstanceDataType == nil {
20309		invalidParams.Add(request.NewErrParamRequired("AppInstanceDataType"))
20310	}
20311	if s.ResourceArn == nil {
20312		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
20313	}
20314	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
20315		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
20316	}
20317
20318	if invalidParams.Len() > 0 {
20319		return invalidParams
20320	}
20321	return nil
20322}
20323
20324// SetAppInstanceDataType sets the AppInstanceDataType field's value.
20325func (s *AppInstanceStreamingConfiguration) SetAppInstanceDataType(v string) *AppInstanceStreamingConfiguration {
20326	s.AppInstanceDataType = &v
20327	return s
20328}
20329
20330// SetResourceArn sets the ResourceArn field's value.
20331func (s *AppInstanceStreamingConfiguration) SetResourceArn(v string) *AppInstanceStreamingConfiguration {
20332	s.ResourceArn = &v
20333	return s
20334}
20335
20336// Summary of the data for an AppInstance.
20337type AppInstanceSummary struct {
20338	_ struct{} `type:"structure"`
20339
20340	// The AppInstance ARN.
20341	AppInstanceArn *string `min:"5" type:"string"`
20342
20343	// The metadata of the AppInstance.
20344	Metadata *string `type:"string" sensitive:"true"`
20345
20346	// The name of the AppInstance.
20347	Name *string `min:"1" type:"string" sensitive:"true"`
20348}
20349
20350// String returns the string representation
20351func (s AppInstanceSummary) String() string {
20352	return awsutil.Prettify(s)
20353}
20354
20355// GoString returns the string representation
20356func (s AppInstanceSummary) GoString() string {
20357	return s.String()
20358}
20359
20360// SetAppInstanceArn sets the AppInstanceArn field's value.
20361func (s *AppInstanceSummary) SetAppInstanceArn(v string) *AppInstanceSummary {
20362	s.AppInstanceArn = &v
20363	return s
20364}
20365
20366// SetMetadata sets the Metadata field's value.
20367func (s *AppInstanceSummary) SetMetadata(v string) *AppInstanceSummary {
20368	s.Metadata = &v
20369	return s
20370}
20371
20372// SetName sets the Name field's value.
20373func (s *AppInstanceSummary) SetName(v string) *AppInstanceSummary {
20374	s.Name = &v
20375	return s
20376}
20377
20378// The details of an AppInstanceUser.
20379type AppInstanceUser struct {
20380	_ struct{} `type:"structure"`
20381
20382	// The ARN of the AppInstanceUser.
20383	AppInstanceUserArn *string `min:"5" type:"string"`
20384
20385	// The time at which the AppInstanceUser was created.
20386	CreatedTimestamp *time.Time `type:"timestamp"`
20387
20388	// The time at which the AppInstanceUser was last updated.
20389	LastUpdatedTimestamp *time.Time `type:"timestamp"`
20390
20391	// The metadata of the AppInstanceUser.
20392	Metadata *string `type:"string" sensitive:"true"`
20393
20394	// The name of the AppInstanceUser.
20395	Name *string `min:"1" type:"string" sensitive:"true"`
20396}
20397
20398// String returns the string representation
20399func (s AppInstanceUser) String() string {
20400	return awsutil.Prettify(s)
20401}
20402
20403// GoString returns the string representation
20404func (s AppInstanceUser) GoString() string {
20405	return s.String()
20406}
20407
20408// SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
20409func (s *AppInstanceUser) SetAppInstanceUserArn(v string) *AppInstanceUser {
20410	s.AppInstanceUserArn = &v
20411	return s
20412}
20413
20414// SetCreatedTimestamp sets the CreatedTimestamp field's value.
20415func (s *AppInstanceUser) SetCreatedTimestamp(v time.Time) *AppInstanceUser {
20416	s.CreatedTimestamp = &v
20417	return s
20418}
20419
20420// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
20421func (s *AppInstanceUser) SetLastUpdatedTimestamp(v time.Time) *AppInstanceUser {
20422	s.LastUpdatedTimestamp = &v
20423	return s
20424}
20425
20426// SetMetadata sets the Metadata field's value.
20427func (s *AppInstanceUser) SetMetadata(v string) *AppInstanceUser {
20428	s.Metadata = &v
20429	return s
20430}
20431
20432// SetName sets the Name field's value.
20433func (s *AppInstanceUser) SetName(v string) *AppInstanceUser {
20434	s.Name = &v
20435	return s
20436}
20437
20438// Summary of the membership details of an AppInstanceUser.
20439type AppInstanceUserMembershipSummary struct {
20440	_ struct{} `type:"structure"`
20441
20442	// The time at which a message was last read.
20443	ReadMarkerTimestamp *time.Time `type:"timestamp"`
20444
20445	// The type of ChannelMembership.
20446	Type *string `type:"string" enum:"ChannelMembershipType"`
20447}
20448
20449// String returns the string representation
20450func (s AppInstanceUserMembershipSummary) String() string {
20451	return awsutil.Prettify(s)
20452}
20453
20454// GoString returns the string representation
20455func (s AppInstanceUserMembershipSummary) GoString() string {
20456	return s.String()
20457}
20458
20459// SetReadMarkerTimestamp sets the ReadMarkerTimestamp field's value.
20460func (s *AppInstanceUserMembershipSummary) SetReadMarkerTimestamp(v time.Time) *AppInstanceUserMembershipSummary {
20461	s.ReadMarkerTimestamp = &v
20462	return s
20463}
20464
20465// SetType sets the Type field's value.
20466func (s *AppInstanceUserMembershipSummary) SetType(v string) *AppInstanceUserMembershipSummary {
20467	s.Type = &v
20468	return s
20469}
20470
20471// Summary of the details of an AppInstanceUser.
20472type AppInstanceUserSummary struct {
20473	_ struct{} `type:"structure"`
20474
20475	// The ARN of the AppInstanceUser.
20476	AppInstanceUserArn *string `min:"5" type:"string"`
20477
20478	// The metadata of the AppInstanceUser.
20479	Metadata *string `type:"string" sensitive:"true"`
20480
20481	// The name of an AppInstanceUser.
20482	Name *string `min:"1" type:"string" sensitive:"true"`
20483}
20484
20485// String returns the string representation
20486func (s AppInstanceUserSummary) String() string {
20487	return awsutil.Prettify(s)
20488}
20489
20490// GoString returns the string representation
20491func (s AppInstanceUserSummary) GoString() string {
20492	return s.String()
20493}
20494
20495// SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
20496func (s *AppInstanceUserSummary) SetAppInstanceUserArn(v string) *AppInstanceUserSummary {
20497	s.AppInstanceUserArn = &v
20498	return s
20499}
20500
20501// SetMetadata sets the Metadata field's value.
20502func (s *AppInstanceUserSummary) SetMetadata(v string) *AppInstanceUserSummary {
20503	s.Metadata = &v
20504	return s
20505}
20506
20507// SetName sets the Name field's value.
20508func (s *AppInstanceUserSummary) SetName(v string) *AppInstanceUserSummary {
20509	s.Name = &v
20510	return s
20511}
20512
20513type AssociatePhoneNumberWithUserInput struct {
20514	_ struct{} `type:"structure"`
20515
20516	// The Amazon Chime account ID.
20517	//
20518	// AccountId is a required field
20519	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
20520
20521	// The phone number, in E.164 format.
20522	//
20523	// E164PhoneNumber is a required field
20524	E164PhoneNumber *string `type:"string" required:"true" sensitive:"true"`
20525
20526	// The user ID.
20527	//
20528	// UserId is a required field
20529	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
20530}
20531
20532// String returns the string representation
20533func (s AssociatePhoneNumberWithUserInput) String() string {
20534	return awsutil.Prettify(s)
20535}
20536
20537// GoString returns the string representation
20538func (s AssociatePhoneNumberWithUserInput) GoString() string {
20539	return s.String()
20540}
20541
20542// Validate inspects the fields of the type to determine if they are valid.
20543func (s *AssociatePhoneNumberWithUserInput) Validate() error {
20544	invalidParams := request.ErrInvalidParams{Context: "AssociatePhoneNumberWithUserInput"}
20545	if s.AccountId == nil {
20546		invalidParams.Add(request.NewErrParamRequired("AccountId"))
20547	}
20548	if s.AccountId != nil && len(*s.AccountId) < 1 {
20549		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
20550	}
20551	if s.E164PhoneNumber == nil {
20552		invalidParams.Add(request.NewErrParamRequired("E164PhoneNumber"))
20553	}
20554	if s.UserId == nil {
20555		invalidParams.Add(request.NewErrParamRequired("UserId"))
20556	}
20557	if s.UserId != nil && len(*s.UserId) < 1 {
20558		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
20559	}
20560
20561	if invalidParams.Len() > 0 {
20562		return invalidParams
20563	}
20564	return nil
20565}
20566
20567// SetAccountId sets the AccountId field's value.
20568func (s *AssociatePhoneNumberWithUserInput) SetAccountId(v string) *AssociatePhoneNumberWithUserInput {
20569	s.AccountId = &v
20570	return s
20571}
20572
20573// SetE164PhoneNumber sets the E164PhoneNumber field's value.
20574func (s *AssociatePhoneNumberWithUserInput) SetE164PhoneNumber(v string) *AssociatePhoneNumberWithUserInput {
20575	s.E164PhoneNumber = &v
20576	return s
20577}
20578
20579// SetUserId sets the UserId field's value.
20580func (s *AssociatePhoneNumberWithUserInput) SetUserId(v string) *AssociatePhoneNumberWithUserInput {
20581	s.UserId = &v
20582	return s
20583}
20584
20585type AssociatePhoneNumberWithUserOutput struct {
20586	_ struct{} `type:"structure"`
20587}
20588
20589// String returns the string representation
20590func (s AssociatePhoneNumberWithUserOutput) String() string {
20591	return awsutil.Prettify(s)
20592}
20593
20594// GoString returns the string representation
20595func (s AssociatePhoneNumberWithUserOutput) GoString() string {
20596	return s.String()
20597}
20598
20599type AssociatePhoneNumbersWithVoiceConnectorGroupInput struct {
20600	_ struct{} `type:"structure"`
20601
20602	// List of phone numbers, in E.164 format.
20603	//
20604	// E164PhoneNumbers is a required field
20605	E164PhoneNumbers []*string `type:"list" required:"true"`
20606
20607	// If true, associates the provided phone numbers with the provided Amazon Chime
20608	// Voice Connector Group and removes any previously existing associations. If
20609	// false, does not associate any phone numbers that have previously existing
20610	// associations.
20611	ForceAssociate *bool `type:"boolean"`
20612
20613	// The Amazon Chime Voice Connector group ID.
20614	//
20615	// VoiceConnectorGroupId is a required field
20616	VoiceConnectorGroupId *string `location:"uri" locationName:"voiceConnectorGroupId" type:"string" required:"true"`
20617}
20618
20619// String returns the string representation
20620func (s AssociatePhoneNumbersWithVoiceConnectorGroupInput) String() string {
20621	return awsutil.Prettify(s)
20622}
20623
20624// GoString returns the string representation
20625func (s AssociatePhoneNumbersWithVoiceConnectorGroupInput) GoString() string {
20626	return s.String()
20627}
20628
20629// Validate inspects the fields of the type to determine if they are valid.
20630func (s *AssociatePhoneNumbersWithVoiceConnectorGroupInput) Validate() error {
20631	invalidParams := request.ErrInvalidParams{Context: "AssociatePhoneNumbersWithVoiceConnectorGroupInput"}
20632	if s.E164PhoneNumbers == nil {
20633		invalidParams.Add(request.NewErrParamRequired("E164PhoneNumbers"))
20634	}
20635	if s.VoiceConnectorGroupId == nil {
20636		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorGroupId"))
20637	}
20638	if s.VoiceConnectorGroupId != nil && len(*s.VoiceConnectorGroupId) < 1 {
20639		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorGroupId", 1))
20640	}
20641
20642	if invalidParams.Len() > 0 {
20643		return invalidParams
20644	}
20645	return nil
20646}
20647
20648// SetE164PhoneNumbers sets the E164PhoneNumbers field's value.
20649func (s *AssociatePhoneNumbersWithVoiceConnectorGroupInput) SetE164PhoneNumbers(v []*string) *AssociatePhoneNumbersWithVoiceConnectorGroupInput {
20650	s.E164PhoneNumbers = v
20651	return s
20652}
20653
20654// SetForceAssociate sets the ForceAssociate field's value.
20655func (s *AssociatePhoneNumbersWithVoiceConnectorGroupInput) SetForceAssociate(v bool) *AssociatePhoneNumbersWithVoiceConnectorGroupInput {
20656	s.ForceAssociate = &v
20657	return s
20658}
20659
20660// SetVoiceConnectorGroupId sets the VoiceConnectorGroupId field's value.
20661func (s *AssociatePhoneNumbersWithVoiceConnectorGroupInput) SetVoiceConnectorGroupId(v string) *AssociatePhoneNumbersWithVoiceConnectorGroupInput {
20662	s.VoiceConnectorGroupId = &v
20663	return s
20664}
20665
20666type AssociatePhoneNumbersWithVoiceConnectorGroupOutput struct {
20667	_ struct{} `type:"structure"`
20668
20669	// If the action fails for one or more of the phone numbers in the request,
20670	// a list of the phone numbers is returned, along with error codes and error
20671	// messages.
20672	PhoneNumberErrors []*PhoneNumberError `type:"list"`
20673}
20674
20675// String returns the string representation
20676func (s AssociatePhoneNumbersWithVoiceConnectorGroupOutput) String() string {
20677	return awsutil.Prettify(s)
20678}
20679
20680// GoString returns the string representation
20681func (s AssociatePhoneNumbersWithVoiceConnectorGroupOutput) GoString() string {
20682	return s.String()
20683}
20684
20685// SetPhoneNumberErrors sets the PhoneNumberErrors field's value.
20686func (s *AssociatePhoneNumbersWithVoiceConnectorGroupOutput) SetPhoneNumberErrors(v []*PhoneNumberError) *AssociatePhoneNumbersWithVoiceConnectorGroupOutput {
20687	s.PhoneNumberErrors = v
20688	return s
20689}
20690
20691type AssociatePhoneNumbersWithVoiceConnectorInput struct {
20692	_ struct{} `type:"structure"`
20693
20694	// List of phone numbers, in E.164 format.
20695	//
20696	// E164PhoneNumbers is a required field
20697	E164PhoneNumbers []*string `type:"list" required:"true"`
20698
20699	// If true, associates the provided phone numbers with the provided Amazon Chime
20700	// Voice Connector and removes any previously existing associations. If false,
20701	// does not associate any phone numbers that have previously existing associations.
20702	ForceAssociate *bool `type:"boolean"`
20703
20704	// The Amazon Chime Voice Connector ID.
20705	//
20706	// VoiceConnectorId is a required field
20707	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
20708}
20709
20710// String returns the string representation
20711func (s AssociatePhoneNumbersWithVoiceConnectorInput) String() string {
20712	return awsutil.Prettify(s)
20713}
20714
20715// GoString returns the string representation
20716func (s AssociatePhoneNumbersWithVoiceConnectorInput) GoString() string {
20717	return s.String()
20718}
20719
20720// Validate inspects the fields of the type to determine if they are valid.
20721func (s *AssociatePhoneNumbersWithVoiceConnectorInput) Validate() error {
20722	invalidParams := request.ErrInvalidParams{Context: "AssociatePhoneNumbersWithVoiceConnectorInput"}
20723	if s.E164PhoneNumbers == nil {
20724		invalidParams.Add(request.NewErrParamRequired("E164PhoneNumbers"))
20725	}
20726	if s.VoiceConnectorId == nil {
20727		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
20728	}
20729	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
20730		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
20731	}
20732
20733	if invalidParams.Len() > 0 {
20734		return invalidParams
20735	}
20736	return nil
20737}
20738
20739// SetE164PhoneNumbers sets the E164PhoneNumbers field's value.
20740func (s *AssociatePhoneNumbersWithVoiceConnectorInput) SetE164PhoneNumbers(v []*string) *AssociatePhoneNumbersWithVoiceConnectorInput {
20741	s.E164PhoneNumbers = v
20742	return s
20743}
20744
20745// SetForceAssociate sets the ForceAssociate field's value.
20746func (s *AssociatePhoneNumbersWithVoiceConnectorInput) SetForceAssociate(v bool) *AssociatePhoneNumbersWithVoiceConnectorInput {
20747	s.ForceAssociate = &v
20748	return s
20749}
20750
20751// SetVoiceConnectorId sets the VoiceConnectorId field's value.
20752func (s *AssociatePhoneNumbersWithVoiceConnectorInput) SetVoiceConnectorId(v string) *AssociatePhoneNumbersWithVoiceConnectorInput {
20753	s.VoiceConnectorId = &v
20754	return s
20755}
20756
20757type AssociatePhoneNumbersWithVoiceConnectorOutput struct {
20758	_ struct{} `type:"structure"`
20759
20760	// If the action fails for one or more of the phone numbers in the request,
20761	// a list of the phone numbers is returned, along with error codes and error
20762	// messages.
20763	PhoneNumberErrors []*PhoneNumberError `type:"list"`
20764}
20765
20766// String returns the string representation
20767func (s AssociatePhoneNumbersWithVoiceConnectorOutput) String() string {
20768	return awsutil.Prettify(s)
20769}
20770
20771// GoString returns the string representation
20772func (s AssociatePhoneNumbersWithVoiceConnectorOutput) GoString() string {
20773	return s.String()
20774}
20775
20776// SetPhoneNumberErrors sets the PhoneNumberErrors field's value.
20777func (s *AssociatePhoneNumbersWithVoiceConnectorOutput) SetPhoneNumberErrors(v []*PhoneNumberError) *AssociatePhoneNumbersWithVoiceConnectorOutput {
20778	s.PhoneNumberErrors = v
20779	return s
20780}
20781
20782type AssociateSigninDelegateGroupsWithAccountInput struct {
20783	_ struct{} `type:"structure"`
20784
20785	// The Amazon Chime account ID.
20786	//
20787	// AccountId is a required field
20788	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
20789
20790	// The sign-in delegate groups.
20791	//
20792	// SigninDelegateGroups is a required field
20793	SigninDelegateGroups []*SigninDelegateGroup `type:"list" required:"true"`
20794}
20795
20796// String returns the string representation
20797func (s AssociateSigninDelegateGroupsWithAccountInput) String() string {
20798	return awsutil.Prettify(s)
20799}
20800
20801// GoString returns the string representation
20802func (s AssociateSigninDelegateGroupsWithAccountInput) GoString() string {
20803	return s.String()
20804}
20805
20806// Validate inspects the fields of the type to determine if they are valid.
20807func (s *AssociateSigninDelegateGroupsWithAccountInput) Validate() error {
20808	invalidParams := request.ErrInvalidParams{Context: "AssociateSigninDelegateGroupsWithAccountInput"}
20809	if s.AccountId == nil {
20810		invalidParams.Add(request.NewErrParamRequired("AccountId"))
20811	}
20812	if s.AccountId != nil && len(*s.AccountId) < 1 {
20813		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
20814	}
20815	if s.SigninDelegateGroups == nil {
20816		invalidParams.Add(request.NewErrParamRequired("SigninDelegateGroups"))
20817	}
20818
20819	if invalidParams.Len() > 0 {
20820		return invalidParams
20821	}
20822	return nil
20823}
20824
20825// SetAccountId sets the AccountId field's value.
20826func (s *AssociateSigninDelegateGroupsWithAccountInput) SetAccountId(v string) *AssociateSigninDelegateGroupsWithAccountInput {
20827	s.AccountId = &v
20828	return s
20829}
20830
20831// SetSigninDelegateGroups sets the SigninDelegateGroups field's value.
20832func (s *AssociateSigninDelegateGroupsWithAccountInput) SetSigninDelegateGroups(v []*SigninDelegateGroup) *AssociateSigninDelegateGroupsWithAccountInput {
20833	s.SigninDelegateGroups = v
20834	return s
20835}
20836
20837type AssociateSigninDelegateGroupsWithAccountOutput struct {
20838	_ struct{} `type:"structure"`
20839}
20840
20841// String returns the string representation
20842func (s AssociateSigninDelegateGroupsWithAccountOutput) String() string {
20843	return awsutil.Prettify(s)
20844}
20845
20846// GoString returns the string representation
20847func (s AssociateSigninDelegateGroupsWithAccountOutput) GoString() string {
20848	return s.String()
20849}
20850
20851// An Amazon Chime SDK meeting attendee. Includes a unique AttendeeId and JoinToken
20852// . The JoinToken allows a client to authenticate and join as the specified
20853// attendee. The JoinToken expires when the meeting ends or when DeleteAttendee
20854// is called. After that, the attendee is unable to join the meeting.
20855//
20856// We recommend securely transferring each JoinToken from your server application
20857// to the client so that no other client has access to the token except for
20858// the one authorized to represent the attendee.
20859type Attendee struct {
20860	_ struct{} `type:"structure"`
20861
20862	// The Amazon Chime SDK attendee ID.
20863	AttendeeId *string `type:"string"`
20864
20865	// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee
20866	// to an identity managed by a builder application.
20867	ExternalUserId *string `min:"2" type:"string" sensitive:"true"`
20868
20869	// The join token used by the Amazon Chime SDK attendee.
20870	JoinToken *string `min:"2" type:"string" sensitive:"true"`
20871}
20872
20873// String returns the string representation
20874func (s Attendee) String() string {
20875	return awsutil.Prettify(s)
20876}
20877
20878// GoString returns the string representation
20879func (s Attendee) GoString() string {
20880	return s.String()
20881}
20882
20883// SetAttendeeId sets the AttendeeId field's value.
20884func (s *Attendee) SetAttendeeId(v string) *Attendee {
20885	s.AttendeeId = &v
20886	return s
20887}
20888
20889// SetExternalUserId sets the ExternalUserId field's value.
20890func (s *Attendee) SetExternalUserId(v string) *Attendee {
20891	s.ExternalUserId = &v
20892	return s
20893}
20894
20895// SetJoinToken sets the JoinToken field's value.
20896func (s *Attendee) SetJoinToken(v string) *Attendee {
20897	s.JoinToken = &v
20898	return s
20899}
20900
20901// The input parameters don't match the service's restrictions.
20902type BadRequestException struct {
20903	_            struct{}                  `type:"structure"`
20904	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
20905
20906	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
20907
20908	Message_ *string `locationName:"Message" type:"string"`
20909}
20910
20911// String returns the string representation
20912func (s BadRequestException) String() string {
20913	return awsutil.Prettify(s)
20914}
20915
20916// GoString returns the string representation
20917func (s BadRequestException) GoString() string {
20918	return s.String()
20919}
20920
20921func newErrorBadRequestException(v protocol.ResponseMetadata) error {
20922	return &BadRequestException{
20923		RespMetadata: v,
20924	}
20925}
20926
20927// Code returns the exception type name.
20928func (s *BadRequestException) Code() string {
20929	return "BadRequestException"
20930}
20931
20932// Message returns the exception's message.
20933func (s *BadRequestException) Message() string {
20934	if s.Message_ != nil {
20935		return *s.Message_
20936	}
20937	return ""
20938}
20939
20940// OrigErr always returns nil, satisfies awserr.Error interface.
20941func (s *BadRequestException) OrigErr() error {
20942	return nil
20943}
20944
20945func (s *BadRequestException) Error() string {
20946	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
20947}
20948
20949// Status code returns the HTTP status code for the request's response error.
20950func (s *BadRequestException) StatusCode() int {
20951	return s.RespMetadata.StatusCode
20952}
20953
20954// RequestID returns the service's response RequestID for request.
20955func (s *BadRequestException) RequestID() string {
20956	return s.RespMetadata.RequestID
20957}
20958
20959// The membership information, including member ARNs, the channel ARN, and membership
20960// types.
20961type BatchChannelMemberships struct {
20962	_ struct{} `type:"structure"`
20963
20964	// The ARN of the channel to which you're adding users.
20965	ChannelArn *string `min:"5" type:"string"`
20966
20967	// The details of a user.
20968	InvitedBy *Identity `type:"structure"`
20969
20970	// The users successfully added to the request.
20971	Members []*Identity `type:"list"`
20972
20973	// The membership types set for the channel users.
20974	Type *string `type:"string" enum:"ChannelMembershipType"`
20975}
20976
20977// String returns the string representation
20978func (s BatchChannelMemberships) String() string {
20979	return awsutil.Prettify(s)
20980}
20981
20982// GoString returns the string representation
20983func (s BatchChannelMemberships) GoString() string {
20984	return s.String()
20985}
20986
20987// SetChannelArn sets the ChannelArn field's value.
20988func (s *BatchChannelMemberships) SetChannelArn(v string) *BatchChannelMemberships {
20989	s.ChannelArn = &v
20990	return s
20991}
20992
20993// SetInvitedBy sets the InvitedBy field's value.
20994func (s *BatchChannelMemberships) SetInvitedBy(v *Identity) *BatchChannelMemberships {
20995	s.InvitedBy = v
20996	return s
20997}
20998
20999// SetMembers sets the Members field's value.
21000func (s *BatchChannelMemberships) SetMembers(v []*Identity) *BatchChannelMemberships {
21001	s.Members = v
21002	return s
21003}
21004
21005// SetType sets the Type field's value.
21006func (s *BatchChannelMemberships) SetType(v string) *BatchChannelMemberships {
21007	s.Type = &v
21008	return s
21009}
21010
21011type BatchCreateAttendeeInput struct {
21012	_ struct{} `type:"structure"`
21013
21014	// The request containing the attendees to create.
21015	//
21016	// Attendees is a required field
21017	Attendees []*CreateAttendeeRequestItem `type:"list" required:"true"`
21018
21019	// The Amazon Chime SDK meeting ID.
21020	//
21021	// MeetingId is a required field
21022	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
21023}
21024
21025// String returns the string representation
21026func (s BatchCreateAttendeeInput) String() string {
21027	return awsutil.Prettify(s)
21028}
21029
21030// GoString returns the string representation
21031func (s BatchCreateAttendeeInput) GoString() string {
21032	return s.String()
21033}
21034
21035// Validate inspects the fields of the type to determine if they are valid.
21036func (s *BatchCreateAttendeeInput) Validate() error {
21037	invalidParams := request.ErrInvalidParams{Context: "BatchCreateAttendeeInput"}
21038	if s.Attendees == nil {
21039		invalidParams.Add(request.NewErrParamRequired("Attendees"))
21040	}
21041	if s.MeetingId == nil {
21042		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
21043	}
21044	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
21045		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
21046	}
21047	if s.Attendees != nil {
21048		for i, v := range s.Attendees {
21049			if v == nil {
21050				continue
21051			}
21052			if err := v.Validate(); err != nil {
21053				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Attendees", i), err.(request.ErrInvalidParams))
21054			}
21055		}
21056	}
21057
21058	if invalidParams.Len() > 0 {
21059		return invalidParams
21060	}
21061	return nil
21062}
21063
21064// SetAttendees sets the Attendees field's value.
21065func (s *BatchCreateAttendeeInput) SetAttendees(v []*CreateAttendeeRequestItem) *BatchCreateAttendeeInput {
21066	s.Attendees = v
21067	return s
21068}
21069
21070// SetMeetingId sets the MeetingId field's value.
21071func (s *BatchCreateAttendeeInput) SetMeetingId(v string) *BatchCreateAttendeeInput {
21072	s.MeetingId = &v
21073	return s
21074}
21075
21076type BatchCreateAttendeeOutput struct {
21077	_ struct{} `type:"structure"`
21078
21079	// The attendee information, including attendees IDs and join tokens.
21080	Attendees []*Attendee `type:"list"`
21081
21082	// If the action fails for one or more of the attendees in the request, a list
21083	// of the attendees is returned, along with error codes and error messages.
21084	Errors []*CreateAttendeeError `type:"list"`
21085}
21086
21087// String returns the string representation
21088func (s BatchCreateAttendeeOutput) String() string {
21089	return awsutil.Prettify(s)
21090}
21091
21092// GoString returns the string representation
21093func (s BatchCreateAttendeeOutput) GoString() string {
21094	return s.String()
21095}
21096
21097// SetAttendees sets the Attendees field's value.
21098func (s *BatchCreateAttendeeOutput) SetAttendees(v []*Attendee) *BatchCreateAttendeeOutput {
21099	s.Attendees = v
21100	return s
21101}
21102
21103// SetErrors sets the Errors field's value.
21104func (s *BatchCreateAttendeeOutput) SetErrors(v []*CreateAttendeeError) *BatchCreateAttendeeOutput {
21105	s.Errors = v
21106	return s
21107}
21108
21109// A list of failed member ARNs, error codes, and error messages.
21110type BatchCreateChannelMembershipError struct {
21111	_ struct{} `type:"structure"`
21112
21113	// The error code.
21114	ErrorCode *string `type:"string" enum:"ErrorCode"`
21115
21116	// The error message.
21117	ErrorMessage *string `type:"string"`
21118
21119	// The ARN of the member that the service couldn't add.
21120	MemberArn *string `min:"5" type:"string"`
21121}
21122
21123// String returns the string representation
21124func (s BatchCreateChannelMembershipError) String() string {
21125	return awsutil.Prettify(s)
21126}
21127
21128// GoString returns the string representation
21129func (s BatchCreateChannelMembershipError) GoString() string {
21130	return s.String()
21131}
21132
21133// SetErrorCode sets the ErrorCode field's value.
21134func (s *BatchCreateChannelMembershipError) SetErrorCode(v string) *BatchCreateChannelMembershipError {
21135	s.ErrorCode = &v
21136	return s
21137}
21138
21139// SetErrorMessage sets the ErrorMessage field's value.
21140func (s *BatchCreateChannelMembershipError) SetErrorMessage(v string) *BatchCreateChannelMembershipError {
21141	s.ErrorMessage = &v
21142	return s
21143}
21144
21145// SetMemberArn sets the MemberArn field's value.
21146func (s *BatchCreateChannelMembershipError) SetMemberArn(v string) *BatchCreateChannelMembershipError {
21147	s.MemberArn = &v
21148	return s
21149}
21150
21151type BatchCreateChannelMembershipInput struct {
21152	_ struct{} `type:"structure"`
21153
21154	// The ARN of the channel to which you're adding users.
21155	//
21156	// ChannelArn is a required field
21157	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
21158
21159	// The AppInstanceUserArn of the user that makes the API call.
21160	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
21161
21162	// The ARNs of the members you want to add to the channel.
21163	//
21164	// MemberArns is a required field
21165	MemberArns []*string `min:"1" type:"list" required:"true"`
21166
21167	// The membership type of a user, DEFAULT or HIDDEN. Default members are always
21168	// returned as part of ListChannelMemberships. Hidden members are only returned
21169	// if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden
21170	// members are not returned. This is only supported by moderators.
21171	Type *string `type:"string" enum:"ChannelMembershipType"`
21172}
21173
21174// String returns the string representation
21175func (s BatchCreateChannelMembershipInput) String() string {
21176	return awsutil.Prettify(s)
21177}
21178
21179// GoString returns the string representation
21180func (s BatchCreateChannelMembershipInput) GoString() string {
21181	return s.String()
21182}
21183
21184// Validate inspects the fields of the type to determine if they are valid.
21185func (s *BatchCreateChannelMembershipInput) Validate() error {
21186	invalidParams := request.ErrInvalidParams{Context: "BatchCreateChannelMembershipInput"}
21187	if s.ChannelArn == nil {
21188		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
21189	}
21190	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
21191		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
21192	}
21193	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
21194		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
21195	}
21196	if s.MemberArns == nil {
21197		invalidParams.Add(request.NewErrParamRequired("MemberArns"))
21198	}
21199	if s.MemberArns != nil && len(s.MemberArns) < 1 {
21200		invalidParams.Add(request.NewErrParamMinLen("MemberArns", 1))
21201	}
21202
21203	if invalidParams.Len() > 0 {
21204		return invalidParams
21205	}
21206	return nil
21207}
21208
21209// SetChannelArn sets the ChannelArn field's value.
21210func (s *BatchCreateChannelMembershipInput) SetChannelArn(v string) *BatchCreateChannelMembershipInput {
21211	s.ChannelArn = &v
21212	return s
21213}
21214
21215// SetChimeBearer sets the ChimeBearer field's value.
21216func (s *BatchCreateChannelMembershipInput) SetChimeBearer(v string) *BatchCreateChannelMembershipInput {
21217	s.ChimeBearer = &v
21218	return s
21219}
21220
21221// SetMemberArns sets the MemberArns field's value.
21222func (s *BatchCreateChannelMembershipInput) SetMemberArns(v []*string) *BatchCreateChannelMembershipInput {
21223	s.MemberArns = v
21224	return s
21225}
21226
21227// SetType sets the Type field's value.
21228func (s *BatchCreateChannelMembershipInput) SetType(v string) *BatchCreateChannelMembershipInput {
21229	s.Type = &v
21230	return s
21231}
21232
21233type BatchCreateChannelMembershipOutput struct {
21234	_ struct{} `type:"structure"`
21235
21236	// The list of channel memberships in the response.
21237	BatchChannelMemberships *BatchChannelMemberships `type:"structure"`
21238
21239	// If the action fails for one or more of the memberships in the request, a
21240	// list of the memberships is returned, along with error codes and error messages.
21241	Errors []*BatchCreateChannelMembershipError `type:"list"`
21242}
21243
21244// String returns the string representation
21245func (s BatchCreateChannelMembershipOutput) String() string {
21246	return awsutil.Prettify(s)
21247}
21248
21249// GoString returns the string representation
21250func (s BatchCreateChannelMembershipOutput) GoString() string {
21251	return s.String()
21252}
21253
21254// SetBatchChannelMemberships sets the BatchChannelMemberships field's value.
21255func (s *BatchCreateChannelMembershipOutput) SetBatchChannelMemberships(v *BatchChannelMemberships) *BatchCreateChannelMembershipOutput {
21256	s.BatchChannelMemberships = v
21257	return s
21258}
21259
21260// SetErrors sets the Errors field's value.
21261func (s *BatchCreateChannelMembershipOutput) SetErrors(v []*BatchCreateChannelMembershipError) *BatchCreateChannelMembershipOutput {
21262	s.Errors = v
21263	return s
21264}
21265
21266type BatchCreateRoomMembershipInput struct {
21267	_ struct{} `type:"structure"`
21268
21269	// The Amazon Chime account ID.
21270	//
21271	// AccountId is a required field
21272	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
21273
21274	// The list of membership items.
21275	//
21276	// MembershipItemList is a required field
21277	MembershipItemList []*MembershipItem `type:"list" required:"true"`
21278
21279	// The room ID.
21280	//
21281	// RoomId is a required field
21282	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
21283}
21284
21285// String returns the string representation
21286func (s BatchCreateRoomMembershipInput) String() string {
21287	return awsutil.Prettify(s)
21288}
21289
21290// GoString returns the string representation
21291func (s BatchCreateRoomMembershipInput) GoString() string {
21292	return s.String()
21293}
21294
21295// Validate inspects the fields of the type to determine if they are valid.
21296func (s *BatchCreateRoomMembershipInput) Validate() error {
21297	invalidParams := request.ErrInvalidParams{Context: "BatchCreateRoomMembershipInput"}
21298	if s.AccountId == nil {
21299		invalidParams.Add(request.NewErrParamRequired("AccountId"))
21300	}
21301	if s.AccountId != nil && len(*s.AccountId) < 1 {
21302		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
21303	}
21304	if s.MembershipItemList == nil {
21305		invalidParams.Add(request.NewErrParamRequired("MembershipItemList"))
21306	}
21307	if s.RoomId == nil {
21308		invalidParams.Add(request.NewErrParamRequired("RoomId"))
21309	}
21310	if s.RoomId != nil && len(*s.RoomId) < 1 {
21311		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
21312	}
21313
21314	if invalidParams.Len() > 0 {
21315		return invalidParams
21316	}
21317	return nil
21318}
21319
21320// SetAccountId sets the AccountId field's value.
21321func (s *BatchCreateRoomMembershipInput) SetAccountId(v string) *BatchCreateRoomMembershipInput {
21322	s.AccountId = &v
21323	return s
21324}
21325
21326// SetMembershipItemList sets the MembershipItemList field's value.
21327func (s *BatchCreateRoomMembershipInput) SetMembershipItemList(v []*MembershipItem) *BatchCreateRoomMembershipInput {
21328	s.MembershipItemList = v
21329	return s
21330}
21331
21332// SetRoomId sets the RoomId field's value.
21333func (s *BatchCreateRoomMembershipInput) SetRoomId(v string) *BatchCreateRoomMembershipInput {
21334	s.RoomId = &v
21335	return s
21336}
21337
21338type BatchCreateRoomMembershipOutput struct {
21339	_ struct{} `type:"structure"`
21340
21341	// If the action fails for one or more of the member IDs in the request, a list
21342	// of the member IDs is returned, along with error codes and error messages.
21343	Errors []*MemberError `type:"list"`
21344}
21345
21346// String returns the string representation
21347func (s BatchCreateRoomMembershipOutput) String() string {
21348	return awsutil.Prettify(s)
21349}
21350
21351// GoString returns the string representation
21352func (s BatchCreateRoomMembershipOutput) GoString() string {
21353	return s.String()
21354}
21355
21356// SetErrors sets the Errors field's value.
21357func (s *BatchCreateRoomMembershipOutput) SetErrors(v []*MemberError) *BatchCreateRoomMembershipOutput {
21358	s.Errors = v
21359	return s
21360}
21361
21362type BatchDeletePhoneNumberInput struct {
21363	_ struct{} `type:"structure"`
21364
21365	// List of phone number IDs.
21366	//
21367	// PhoneNumberIds is a required field
21368	PhoneNumberIds []*string `min:"1" type:"list" required:"true"`
21369}
21370
21371// String returns the string representation
21372func (s BatchDeletePhoneNumberInput) String() string {
21373	return awsutil.Prettify(s)
21374}
21375
21376// GoString returns the string representation
21377func (s BatchDeletePhoneNumberInput) GoString() string {
21378	return s.String()
21379}
21380
21381// Validate inspects the fields of the type to determine if they are valid.
21382func (s *BatchDeletePhoneNumberInput) Validate() error {
21383	invalidParams := request.ErrInvalidParams{Context: "BatchDeletePhoneNumberInput"}
21384	if s.PhoneNumberIds == nil {
21385		invalidParams.Add(request.NewErrParamRequired("PhoneNumberIds"))
21386	}
21387	if s.PhoneNumberIds != nil && len(s.PhoneNumberIds) < 1 {
21388		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberIds", 1))
21389	}
21390
21391	if invalidParams.Len() > 0 {
21392		return invalidParams
21393	}
21394	return nil
21395}
21396
21397// SetPhoneNumberIds sets the PhoneNumberIds field's value.
21398func (s *BatchDeletePhoneNumberInput) SetPhoneNumberIds(v []*string) *BatchDeletePhoneNumberInput {
21399	s.PhoneNumberIds = v
21400	return s
21401}
21402
21403type BatchDeletePhoneNumberOutput struct {
21404	_ struct{} `type:"structure"`
21405
21406	// If the action fails for one or more of the phone numbers in the request,
21407	// a list of the phone numbers is returned, along with error codes and error
21408	// messages.
21409	PhoneNumberErrors []*PhoneNumberError `type:"list"`
21410}
21411
21412// String returns the string representation
21413func (s BatchDeletePhoneNumberOutput) String() string {
21414	return awsutil.Prettify(s)
21415}
21416
21417// GoString returns the string representation
21418func (s BatchDeletePhoneNumberOutput) GoString() string {
21419	return s.String()
21420}
21421
21422// SetPhoneNumberErrors sets the PhoneNumberErrors field's value.
21423func (s *BatchDeletePhoneNumberOutput) SetPhoneNumberErrors(v []*PhoneNumberError) *BatchDeletePhoneNumberOutput {
21424	s.PhoneNumberErrors = v
21425	return s
21426}
21427
21428type BatchSuspendUserInput struct {
21429	_ struct{} `type:"structure"`
21430
21431	// The Amazon Chime account ID.
21432	//
21433	// AccountId is a required field
21434	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
21435
21436	// The request containing the user IDs to suspend.
21437	//
21438	// UserIdList is a required field
21439	UserIdList []*string `type:"list" required:"true"`
21440}
21441
21442// String returns the string representation
21443func (s BatchSuspendUserInput) String() string {
21444	return awsutil.Prettify(s)
21445}
21446
21447// GoString returns the string representation
21448func (s BatchSuspendUserInput) GoString() string {
21449	return s.String()
21450}
21451
21452// Validate inspects the fields of the type to determine if they are valid.
21453func (s *BatchSuspendUserInput) Validate() error {
21454	invalidParams := request.ErrInvalidParams{Context: "BatchSuspendUserInput"}
21455	if s.AccountId == nil {
21456		invalidParams.Add(request.NewErrParamRequired("AccountId"))
21457	}
21458	if s.AccountId != nil && len(*s.AccountId) < 1 {
21459		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
21460	}
21461	if s.UserIdList == nil {
21462		invalidParams.Add(request.NewErrParamRequired("UserIdList"))
21463	}
21464
21465	if invalidParams.Len() > 0 {
21466		return invalidParams
21467	}
21468	return nil
21469}
21470
21471// SetAccountId sets the AccountId field's value.
21472func (s *BatchSuspendUserInput) SetAccountId(v string) *BatchSuspendUserInput {
21473	s.AccountId = &v
21474	return s
21475}
21476
21477// SetUserIdList sets the UserIdList field's value.
21478func (s *BatchSuspendUserInput) SetUserIdList(v []*string) *BatchSuspendUserInput {
21479	s.UserIdList = v
21480	return s
21481}
21482
21483type BatchSuspendUserOutput struct {
21484	_ struct{} `type:"structure"`
21485
21486	// If the BatchSuspendUser action fails for one or more of the user IDs in the
21487	// request, a list of the user IDs is returned, along with error codes and error
21488	// messages.
21489	UserErrors []*UserError `type:"list"`
21490}
21491
21492// String returns the string representation
21493func (s BatchSuspendUserOutput) String() string {
21494	return awsutil.Prettify(s)
21495}
21496
21497// GoString returns the string representation
21498func (s BatchSuspendUserOutput) GoString() string {
21499	return s.String()
21500}
21501
21502// SetUserErrors sets the UserErrors field's value.
21503func (s *BatchSuspendUserOutput) SetUserErrors(v []*UserError) *BatchSuspendUserOutput {
21504	s.UserErrors = v
21505	return s
21506}
21507
21508type BatchUnsuspendUserInput struct {
21509	_ struct{} `type:"structure"`
21510
21511	// The Amazon Chime account ID.
21512	//
21513	// AccountId is a required field
21514	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
21515
21516	// The request containing the user IDs to unsuspend.
21517	//
21518	// UserIdList is a required field
21519	UserIdList []*string `type:"list" required:"true"`
21520}
21521
21522// String returns the string representation
21523func (s BatchUnsuspendUserInput) String() string {
21524	return awsutil.Prettify(s)
21525}
21526
21527// GoString returns the string representation
21528func (s BatchUnsuspendUserInput) GoString() string {
21529	return s.String()
21530}
21531
21532// Validate inspects the fields of the type to determine if they are valid.
21533func (s *BatchUnsuspendUserInput) Validate() error {
21534	invalidParams := request.ErrInvalidParams{Context: "BatchUnsuspendUserInput"}
21535	if s.AccountId == nil {
21536		invalidParams.Add(request.NewErrParamRequired("AccountId"))
21537	}
21538	if s.AccountId != nil && len(*s.AccountId) < 1 {
21539		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
21540	}
21541	if s.UserIdList == nil {
21542		invalidParams.Add(request.NewErrParamRequired("UserIdList"))
21543	}
21544
21545	if invalidParams.Len() > 0 {
21546		return invalidParams
21547	}
21548	return nil
21549}
21550
21551// SetAccountId sets the AccountId field's value.
21552func (s *BatchUnsuspendUserInput) SetAccountId(v string) *BatchUnsuspendUserInput {
21553	s.AccountId = &v
21554	return s
21555}
21556
21557// SetUserIdList sets the UserIdList field's value.
21558func (s *BatchUnsuspendUserInput) SetUserIdList(v []*string) *BatchUnsuspendUserInput {
21559	s.UserIdList = v
21560	return s
21561}
21562
21563type BatchUnsuspendUserOutput struct {
21564	_ struct{} `type:"structure"`
21565
21566	// If the BatchUnsuspendUser action fails for one or more of the user IDs in
21567	// the request, a list of the user IDs is returned, along with error codes and
21568	// error messages.
21569	UserErrors []*UserError `type:"list"`
21570}
21571
21572// String returns the string representation
21573func (s BatchUnsuspendUserOutput) String() string {
21574	return awsutil.Prettify(s)
21575}
21576
21577// GoString returns the string representation
21578func (s BatchUnsuspendUserOutput) GoString() string {
21579	return s.String()
21580}
21581
21582// SetUserErrors sets the UserErrors field's value.
21583func (s *BatchUnsuspendUserOutput) SetUserErrors(v []*UserError) *BatchUnsuspendUserOutput {
21584	s.UserErrors = v
21585	return s
21586}
21587
21588type BatchUpdatePhoneNumberInput struct {
21589	_ struct{} `type:"structure"`
21590
21591	// The request containing the phone number IDs and product types or calling
21592	// names to update.
21593	//
21594	// UpdatePhoneNumberRequestItems is a required field
21595	UpdatePhoneNumberRequestItems []*UpdatePhoneNumberRequestItem `type:"list" required:"true"`
21596}
21597
21598// String returns the string representation
21599func (s BatchUpdatePhoneNumberInput) String() string {
21600	return awsutil.Prettify(s)
21601}
21602
21603// GoString returns the string representation
21604func (s BatchUpdatePhoneNumberInput) GoString() string {
21605	return s.String()
21606}
21607
21608// Validate inspects the fields of the type to determine if they are valid.
21609func (s *BatchUpdatePhoneNumberInput) Validate() error {
21610	invalidParams := request.ErrInvalidParams{Context: "BatchUpdatePhoneNumberInput"}
21611	if s.UpdatePhoneNumberRequestItems == nil {
21612		invalidParams.Add(request.NewErrParamRequired("UpdatePhoneNumberRequestItems"))
21613	}
21614	if s.UpdatePhoneNumberRequestItems != nil {
21615		for i, v := range s.UpdatePhoneNumberRequestItems {
21616			if v == nil {
21617				continue
21618			}
21619			if err := v.Validate(); err != nil {
21620				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UpdatePhoneNumberRequestItems", i), err.(request.ErrInvalidParams))
21621			}
21622		}
21623	}
21624
21625	if invalidParams.Len() > 0 {
21626		return invalidParams
21627	}
21628	return nil
21629}
21630
21631// SetUpdatePhoneNumberRequestItems sets the UpdatePhoneNumberRequestItems field's value.
21632func (s *BatchUpdatePhoneNumberInput) SetUpdatePhoneNumberRequestItems(v []*UpdatePhoneNumberRequestItem) *BatchUpdatePhoneNumberInput {
21633	s.UpdatePhoneNumberRequestItems = v
21634	return s
21635}
21636
21637type BatchUpdatePhoneNumberOutput struct {
21638	_ struct{} `type:"structure"`
21639
21640	// If the action fails for one or more of the phone numbers in the request,
21641	// a list of the phone numbers is returned, along with error codes and error
21642	// messages.
21643	PhoneNumberErrors []*PhoneNumberError `type:"list"`
21644}
21645
21646// String returns the string representation
21647func (s BatchUpdatePhoneNumberOutput) String() string {
21648	return awsutil.Prettify(s)
21649}
21650
21651// GoString returns the string representation
21652func (s BatchUpdatePhoneNumberOutput) GoString() string {
21653	return s.String()
21654}
21655
21656// SetPhoneNumberErrors sets the PhoneNumberErrors field's value.
21657func (s *BatchUpdatePhoneNumberOutput) SetPhoneNumberErrors(v []*PhoneNumberError) *BatchUpdatePhoneNumberOutput {
21658	s.PhoneNumberErrors = v
21659	return s
21660}
21661
21662type BatchUpdateUserInput struct {
21663	_ struct{} `type:"structure"`
21664
21665	// The Amazon Chime account ID.
21666	//
21667	// AccountId is a required field
21668	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
21669
21670	// The request containing the user IDs and details to update.
21671	//
21672	// UpdateUserRequestItems is a required field
21673	UpdateUserRequestItems []*UpdateUserRequestItem `type:"list" required:"true"`
21674}
21675
21676// String returns the string representation
21677func (s BatchUpdateUserInput) String() string {
21678	return awsutil.Prettify(s)
21679}
21680
21681// GoString returns the string representation
21682func (s BatchUpdateUserInput) GoString() string {
21683	return s.String()
21684}
21685
21686// Validate inspects the fields of the type to determine if they are valid.
21687func (s *BatchUpdateUserInput) Validate() error {
21688	invalidParams := request.ErrInvalidParams{Context: "BatchUpdateUserInput"}
21689	if s.AccountId == nil {
21690		invalidParams.Add(request.NewErrParamRequired("AccountId"))
21691	}
21692	if s.AccountId != nil && len(*s.AccountId) < 1 {
21693		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
21694	}
21695	if s.UpdateUserRequestItems == nil {
21696		invalidParams.Add(request.NewErrParamRequired("UpdateUserRequestItems"))
21697	}
21698	if s.UpdateUserRequestItems != nil {
21699		for i, v := range s.UpdateUserRequestItems {
21700			if v == nil {
21701				continue
21702			}
21703			if err := v.Validate(); err != nil {
21704				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UpdateUserRequestItems", i), err.(request.ErrInvalidParams))
21705			}
21706		}
21707	}
21708
21709	if invalidParams.Len() > 0 {
21710		return invalidParams
21711	}
21712	return nil
21713}
21714
21715// SetAccountId sets the AccountId field's value.
21716func (s *BatchUpdateUserInput) SetAccountId(v string) *BatchUpdateUserInput {
21717	s.AccountId = &v
21718	return s
21719}
21720
21721// SetUpdateUserRequestItems sets the UpdateUserRequestItems field's value.
21722func (s *BatchUpdateUserInput) SetUpdateUserRequestItems(v []*UpdateUserRequestItem) *BatchUpdateUserInput {
21723	s.UpdateUserRequestItems = v
21724	return s
21725}
21726
21727type BatchUpdateUserOutput struct {
21728	_ struct{} `type:"structure"`
21729
21730	// If the BatchUpdateUser action fails for one or more of the user IDs in the
21731	// request, a list of the user IDs is returned, along with error codes and error
21732	// messages.
21733	UserErrors []*UserError `type:"list"`
21734}
21735
21736// String returns the string representation
21737func (s BatchUpdateUserOutput) String() string {
21738	return awsutil.Prettify(s)
21739}
21740
21741// GoString returns the string representation
21742func (s BatchUpdateUserOutput) GoString() string {
21743	return s.String()
21744}
21745
21746// SetUserErrors sets the UserErrors field's value.
21747func (s *BatchUpdateUserOutput) SetUserErrors(v []*UserError) *BatchUpdateUserOutput {
21748	s.UserErrors = v
21749	return s
21750}
21751
21752// A resource that allows Enterprise account administrators to configure an
21753// interface to receive events from Amazon Chime.
21754type Bot struct {
21755	_ struct{} `type:"structure"`
21756
21757	// The bot email address.
21758	BotEmail *string `type:"string" sensitive:"true"`
21759
21760	// The bot ID.
21761	BotId *string `type:"string"`
21762
21763	// The bot type.
21764	BotType *string `type:"string" enum:"BotType"`
21765
21766	// The bot creation timestamp, in ISO 8601 format.
21767	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
21768
21769	// When true, the bot is stopped from running in your account.
21770	Disabled *bool `type:"boolean"`
21771
21772	// The bot display name.
21773	DisplayName *string `type:"string" sensitive:"true"`
21774
21775	// The security token used to authenticate Amazon Chime with the outgoing event
21776	// endpoint.
21777	SecurityToken *string `type:"string" sensitive:"true"`
21778
21779	// The updated bot timestamp, in ISO 8601 format.
21780	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
21781
21782	// The unique ID for the bot user.
21783	UserId *string `type:"string"`
21784}
21785
21786// String returns the string representation
21787func (s Bot) String() string {
21788	return awsutil.Prettify(s)
21789}
21790
21791// GoString returns the string representation
21792func (s Bot) GoString() string {
21793	return s.String()
21794}
21795
21796// SetBotEmail sets the BotEmail field's value.
21797func (s *Bot) SetBotEmail(v string) *Bot {
21798	s.BotEmail = &v
21799	return s
21800}
21801
21802// SetBotId sets the BotId field's value.
21803func (s *Bot) SetBotId(v string) *Bot {
21804	s.BotId = &v
21805	return s
21806}
21807
21808// SetBotType sets the BotType field's value.
21809func (s *Bot) SetBotType(v string) *Bot {
21810	s.BotType = &v
21811	return s
21812}
21813
21814// SetCreatedTimestamp sets the CreatedTimestamp field's value.
21815func (s *Bot) SetCreatedTimestamp(v time.Time) *Bot {
21816	s.CreatedTimestamp = &v
21817	return s
21818}
21819
21820// SetDisabled sets the Disabled field's value.
21821func (s *Bot) SetDisabled(v bool) *Bot {
21822	s.Disabled = &v
21823	return s
21824}
21825
21826// SetDisplayName sets the DisplayName field's value.
21827func (s *Bot) SetDisplayName(v string) *Bot {
21828	s.DisplayName = &v
21829	return s
21830}
21831
21832// SetSecurityToken sets the SecurityToken field's value.
21833func (s *Bot) SetSecurityToken(v string) *Bot {
21834	s.SecurityToken = &v
21835	return s
21836}
21837
21838// SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
21839func (s *Bot) SetUpdatedTimestamp(v time.Time) *Bot {
21840	s.UpdatedTimestamp = &v
21841	return s
21842}
21843
21844// SetUserId sets the UserId field's value.
21845func (s *Bot) SetUserId(v string) *Bot {
21846	s.UserId = &v
21847	return s
21848}
21849
21850// The Amazon Chime Business Calling settings for the administrator's AWS account.
21851// Includes any Amazon S3 buckets designated for storing call detail records.
21852type BusinessCallingSettings struct {
21853	_ struct{} `type:"structure"`
21854
21855	// The Amazon S3 bucket designated for call detail record storage.
21856	CdrBucket *string `type:"string"`
21857}
21858
21859// String returns the string representation
21860func (s BusinessCallingSettings) String() string {
21861	return awsutil.Prettify(s)
21862}
21863
21864// GoString returns the string representation
21865func (s BusinessCallingSettings) GoString() string {
21866	return s.String()
21867}
21868
21869// SetCdrBucket sets the CdrBucket field's value.
21870func (s *BusinessCallingSettings) SetCdrBucket(v string) *BusinessCallingSettings {
21871	s.CdrBucket = &v
21872	return s
21873}
21874
21875// The details of a channel.
21876type Channel struct {
21877	_ struct{} `type:"structure"`
21878
21879	// The ARN of the channel.
21880	ChannelArn *string `min:"5" type:"string"`
21881
21882	// The AppInstanceUser who created the channel.
21883	CreatedBy *Identity `type:"structure"`
21884
21885	// The time at which the AppInstanceUser created the channel.
21886	CreatedTimestamp *time.Time `type:"timestamp"`
21887
21888	// The time at which a member sent the last message in the channel.
21889	LastMessageTimestamp *time.Time `type:"timestamp"`
21890
21891	// The time at which a channel was last updated.
21892	LastUpdatedTimestamp *time.Time `type:"timestamp"`
21893
21894	// The channel's metadata.
21895	Metadata *string `type:"string" sensitive:"true"`
21896
21897	// The mode of the channel.
21898	Mode *string `type:"string" enum:"ChannelMode"`
21899
21900	// The name of the channel.
21901	Name *string `min:"1" type:"string" sensitive:"true"`
21902
21903	// The channel's privacy setting.
21904	Privacy *string `type:"string" enum:"ChannelPrivacy"`
21905}
21906
21907// String returns the string representation
21908func (s Channel) String() string {
21909	return awsutil.Prettify(s)
21910}
21911
21912// GoString returns the string representation
21913func (s Channel) GoString() string {
21914	return s.String()
21915}
21916
21917// SetChannelArn sets the ChannelArn field's value.
21918func (s *Channel) SetChannelArn(v string) *Channel {
21919	s.ChannelArn = &v
21920	return s
21921}
21922
21923// SetCreatedBy sets the CreatedBy field's value.
21924func (s *Channel) SetCreatedBy(v *Identity) *Channel {
21925	s.CreatedBy = v
21926	return s
21927}
21928
21929// SetCreatedTimestamp sets the CreatedTimestamp field's value.
21930func (s *Channel) SetCreatedTimestamp(v time.Time) *Channel {
21931	s.CreatedTimestamp = &v
21932	return s
21933}
21934
21935// SetLastMessageTimestamp sets the LastMessageTimestamp field's value.
21936func (s *Channel) SetLastMessageTimestamp(v time.Time) *Channel {
21937	s.LastMessageTimestamp = &v
21938	return s
21939}
21940
21941// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
21942func (s *Channel) SetLastUpdatedTimestamp(v time.Time) *Channel {
21943	s.LastUpdatedTimestamp = &v
21944	return s
21945}
21946
21947// SetMetadata sets the Metadata field's value.
21948func (s *Channel) SetMetadata(v string) *Channel {
21949	s.Metadata = &v
21950	return s
21951}
21952
21953// SetMode sets the Mode field's value.
21954func (s *Channel) SetMode(v string) *Channel {
21955	s.Mode = &v
21956	return s
21957}
21958
21959// SetName sets the Name field's value.
21960func (s *Channel) SetName(v string) *Channel {
21961	s.Name = &v
21962	return s
21963}
21964
21965// SetPrivacy sets the Privacy field's value.
21966func (s *Channel) SetPrivacy(v string) *Channel {
21967	s.Privacy = &v
21968	return s
21969}
21970
21971// The details of a channel ban.
21972type ChannelBan struct {
21973	_ struct{} `type:"structure"`
21974
21975	// The ARN of the channel from which a member is being banned.
21976	ChannelArn *string `min:"5" type:"string"`
21977
21978	// The AppInstanceUser who created the ban.
21979	CreatedBy *Identity `type:"structure"`
21980
21981	// The time at which the ban was created.
21982	CreatedTimestamp *time.Time `type:"timestamp"`
21983
21984	// The member being banned from the channel.
21985	Member *Identity `type:"structure"`
21986}
21987
21988// String returns the string representation
21989func (s ChannelBan) String() string {
21990	return awsutil.Prettify(s)
21991}
21992
21993// GoString returns the string representation
21994func (s ChannelBan) GoString() string {
21995	return s.String()
21996}
21997
21998// SetChannelArn sets the ChannelArn field's value.
21999func (s *ChannelBan) SetChannelArn(v string) *ChannelBan {
22000	s.ChannelArn = &v
22001	return s
22002}
22003
22004// SetCreatedBy sets the CreatedBy field's value.
22005func (s *ChannelBan) SetCreatedBy(v *Identity) *ChannelBan {
22006	s.CreatedBy = v
22007	return s
22008}
22009
22010// SetCreatedTimestamp sets the CreatedTimestamp field's value.
22011func (s *ChannelBan) SetCreatedTimestamp(v time.Time) *ChannelBan {
22012	s.CreatedTimestamp = &v
22013	return s
22014}
22015
22016// SetMember sets the Member field's value.
22017func (s *ChannelBan) SetMember(v *Identity) *ChannelBan {
22018	s.Member = v
22019	return s
22020}
22021
22022// Summary of the details of a ChannelBan.
22023type ChannelBanSummary struct {
22024	_ struct{} `type:"structure"`
22025
22026	// The member being banned from a channel.
22027	Member *Identity `type:"structure"`
22028}
22029
22030// String returns the string representation
22031func (s ChannelBanSummary) String() string {
22032	return awsutil.Prettify(s)
22033}
22034
22035// GoString returns the string representation
22036func (s ChannelBanSummary) GoString() string {
22037	return s.String()
22038}
22039
22040// SetMember sets the Member field's value.
22041func (s *ChannelBanSummary) SetMember(v *Identity) *ChannelBanSummary {
22042	s.Member = v
22043	return s
22044}
22045
22046// The details of a channel member.
22047type ChannelMembership struct {
22048	_ struct{} `type:"structure"`
22049
22050	// The ARN of the member's channel.
22051	ChannelArn *string `min:"5" type:"string"`
22052
22053	// The time at which the channel membership was created.
22054	CreatedTimestamp *time.Time `type:"timestamp"`
22055
22056	// The identifier of the member who invited another member.
22057	InvitedBy *Identity `type:"structure"`
22058
22059	// The time at which a channel membership was last updated.
22060	LastUpdatedTimestamp *time.Time `type:"timestamp"`
22061
22062	// The data of the channel member.
22063	Member *Identity `type:"structure"`
22064
22065	// The membership type set for the channel member.
22066	Type *string `type:"string" enum:"ChannelMembershipType"`
22067}
22068
22069// String returns the string representation
22070func (s ChannelMembership) String() string {
22071	return awsutil.Prettify(s)
22072}
22073
22074// GoString returns the string representation
22075func (s ChannelMembership) GoString() string {
22076	return s.String()
22077}
22078
22079// SetChannelArn sets the ChannelArn field's value.
22080func (s *ChannelMembership) SetChannelArn(v string) *ChannelMembership {
22081	s.ChannelArn = &v
22082	return s
22083}
22084
22085// SetCreatedTimestamp sets the CreatedTimestamp field's value.
22086func (s *ChannelMembership) SetCreatedTimestamp(v time.Time) *ChannelMembership {
22087	s.CreatedTimestamp = &v
22088	return s
22089}
22090
22091// SetInvitedBy sets the InvitedBy field's value.
22092func (s *ChannelMembership) SetInvitedBy(v *Identity) *ChannelMembership {
22093	s.InvitedBy = v
22094	return s
22095}
22096
22097// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
22098func (s *ChannelMembership) SetLastUpdatedTimestamp(v time.Time) *ChannelMembership {
22099	s.LastUpdatedTimestamp = &v
22100	return s
22101}
22102
22103// SetMember sets the Member field's value.
22104func (s *ChannelMembership) SetMember(v *Identity) *ChannelMembership {
22105	s.Member = v
22106	return s
22107}
22108
22109// SetType sets the Type field's value.
22110func (s *ChannelMembership) SetType(v string) *ChannelMembership {
22111	s.Type = &v
22112	return s
22113}
22114
22115// Summary of the channel membership details of an AppInstanceUser.
22116type ChannelMembershipForAppInstanceUserSummary struct {
22117	_ struct{} `type:"structure"`
22118
22119	// Returns the channel membership data for an AppInstance.
22120	AppInstanceUserMembershipSummary *AppInstanceUserMembershipSummary `type:"structure"`
22121
22122	// Summary of the details of a Channel.
22123	ChannelSummary *ChannelSummary `type:"structure"`
22124}
22125
22126// String returns the string representation
22127func (s ChannelMembershipForAppInstanceUserSummary) String() string {
22128	return awsutil.Prettify(s)
22129}
22130
22131// GoString returns the string representation
22132func (s ChannelMembershipForAppInstanceUserSummary) GoString() string {
22133	return s.String()
22134}
22135
22136// SetAppInstanceUserMembershipSummary sets the AppInstanceUserMembershipSummary field's value.
22137func (s *ChannelMembershipForAppInstanceUserSummary) SetAppInstanceUserMembershipSummary(v *AppInstanceUserMembershipSummary) *ChannelMembershipForAppInstanceUserSummary {
22138	s.AppInstanceUserMembershipSummary = v
22139	return s
22140}
22141
22142// SetChannelSummary sets the ChannelSummary field's value.
22143func (s *ChannelMembershipForAppInstanceUserSummary) SetChannelSummary(v *ChannelSummary) *ChannelMembershipForAppInstanceUserSummary {
22144	s.ChannelSummary = v
22145	return s
22146}
22147
22148// Summary of the details of a ChannelMembership.
22149type ChannelMembershipSummary struct {
22150	_ struct{} `type:"structure"`
22151
22152	// A member's summary data.
22153	Member *Identity `type:"structure"`
22154}
22155
22156// String returns the string representation
22157func (s ChannelMembershipSummary) String() string {
22158	return awsutil.Prettify(s)
22159}
22160
22161// GoString returns the string representation
22162func (s ChannelMembershipSummary) GoString() string {
22163	return s.String()
22164}
22165
22166// SetMember sets the Member field's value.
22167func (s *ChannelMembershipSummary) SetMember(v *Identity) *ChannelMembershipSummary {
22168	s.Member = v
22169	return s
22170}
22171
22172// The details of a message in a channel.
22173type ChannelMessage struct {
22174	_ struct{} `type:"structure"`
22175
22176	// The ARN of the channel.
22177	ChannelArn *string `min:"5" type:"string"`
22178
22179	// The message content.
22180	Content *string `type:"string" sensitive:"true"`
22181
22182	// The time at which the message was created.
22183	CreatedTimestamp *time.Time `type:"timestamp"`
22184
22185	// The time at which a message was edited.
22186	LastEditedTimestamp *time.Time `type:"timestamp"`
22187
22188	// The time at which a message was updated.
22189	LastUpdatedTimestamp *time.Time `type:"timestamp"`
22190
22191	// The ID of a message.
22192	MessageId *string `min:"1" type:"string"`
22193
22194	// The message metadata.
22195	Metadata *string `type:"string" sensitive:"true"`
22196
22197	// The persistence setting for a channel message.
22198	Persistence *string `type:"string" enum:"ChannelMessagePersistenceType"`
22199
22200	// Hides the content of a message.
22201	Redacted *bool `type:"boolean"`
22202
22203	// The message sender.
22204	Sender *Identity `type:"structure"`
22205
22206	// The message type.
22207	Type *string `type:"string" enum:"ChannelMessageType"`
22208}
22209
22210// String returns the string representation
22211func (s ChannelMessage) String() string {
22212	return awsutil.Prettify(s)
22213}
22214
22215// GoString returns the string representation
22216func (s ChannelMessage) GoString() string {
22217	return s.String()
22218}
22219
22220// SetChannelArn sets the ChannelArn field's value.
22221func (s *ChannelMessage) SetChannelArn(v string) *ChannelMessage {
22222	s.ChannelArn = &v
22223	return s
22224}
22225
22226// SetContent sets the Content field's value.
22227func (s *ChannelMessage) SetContent(v string) *ChannelMessage {
22228	s.Content = &v
22229	return s
22230}
22231
22232// SetCreatedTimestamp sets the CreatedTimestamp field's value.
22233func (s *ChannelMessage) SetCreatedTimestamp(v time.Time) *ChannelMessage {
22234	s.CreatedTimestamp = &v
22235	return s
22236}
22237
22238// SetLastEditedTimestamp sets the LastEditedTimestamp field's value.
22239func (s *ChannelMessage) SetLastEditedTimestamp(v time.Time) *ChannelMessage {
22240	s.LastEditedTimestamp = &v
22241	return s
22242}
22243
22244// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
22245func (s *ChannelMessage) SetLastUpdatedTimestamp(v time.Time) *ChannelMessage {
22246	s.LastUpdatedTimestamp = &v
22247	return s
22248}
22249
22250// SetMessageId sets the MessageId field's value.
22251func (s *ChannelMessage) SetMessageId(v string) *ChannelMessage {
22252	s.MessageId = &v
22253	return s
22254}
22255
22256// SetMetadata sets the Metadata field's value.
22257func (s *ChannelMessage) SetMetadata(v string) *ChannelMessage {
22258	s.Metadata = &v
22259	return s
22260}
22261
22262// SetPersistence sets the Persistence field's value.
22263func (s *ChannelMessage) SetPersistence(v string) *ChannelMessage {
22264	s.Persistence = &v
22265	return s
22266}
22267
22268// SetRedacted sets the Redacted field's value.
22269func (s *ChannelMessage) SetRedacted(v bool) *ChannelMessage {
22270	s.Redacted = &v
22271	return s
22272}
22273
22274// SetSender sets the Sender field's value.
22275func (s *ChannelMessage) SetSender(v *Identity) *ChannelMessage {
22276	s.Sender = v
22277	return s
22278}
22279
22280// SetType sets the Type field's value.
22281func (s *ChannelMessage) SetType(v string) *ChannelMessage {
22282	s.Type = &v
22283	return s
22284}
22285
22286// Summary of the messages in a Channel.
22287type ChannelMessageSummary struct {
22288	_ struct{} `type:"structure"`
22289
22290	// The content of the message.
22291	Content *string `type:"string" sensitive:"true"`
22292
22293	// The time at which the message summary was created.
22294	CreatedTimestamp *time.Time `type:"timestamp"`
22295
22296	// The time at which a message was last edited.
22297	LastEditedTimestamp *time.Time `type:"timestamp"`
22298
22299	// The time at which a message was last updated.
22300	LastUpdatedTimestamp *time.Time `type:"timestamp"`
22301
22302	// The ID of the message.
22303	MessageId *string `min:"1" type:"string"`
22304
22305	// The metadata of the message.
22306	Metadata *string `type:"string" sensitive:"true"`
22307
22308	// Indicates whether a message was redacted.
22309	Redacted *bool `type:"boolean"`
22310
22311	// The message sender.
22312	Sender *Identity `type:"structure"`
22313
22314	// The type of message.
22315	Type *string `type:"string" enum:"ChannelMessageType"`
22316}
22317
22318// String returns the string representation
22319func (s ChannelMessageSummary) String() string {
22320	return awsutil.Prettify(s)
22321}
22322
22323// GoString returns the string representation
22324func (s ChannelMessageSummary) GoString() string {
22325	return s.String()
22326}
22327
22328// SetContent sets the Content field's value.
22329func (s *ChannelMessageSummary) SetContent(v string) *ChannelMessageSummary {
22330	s.Content = &v
22331	return s
22332}
22333
22334// SetCreatedTimestamp sets the CreatedTimestamp field's value.
22335func (s *ChannelMessageSummary) SetCreatedTimestamp(v time.Time) *ChannelMessageSummary {
22336	s.CreatedTimestamp = &v
22337	return s
22338}
22339
22340// SetLastEditedTimestamp sets the LastEditedTimestamp field's value.
22341func (s *ChannelMessageSummary) SetLastEditedTimestamp(v time.Time) *ChannelMessageSummary {
22342	s.LastEditedTimestamp = &v
22343	return s
22344}
22345
22346// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
22347func (s *ChannelMessageSummary) SetLastUpdatedTimestamp(v time.Time) *ChannelMessageSummary {
22348	s.LastUpdatedTimestamp = &v
22349	return s
22350}
22351
22352// SetMessageId sets the MessageId field's value.
22353func (s *ChannelMessageSummary) SetMessageId(v string) *ChannelMessageSummary {
22354	s.MessageId = &v
22355	return s
22356}
22357
22358// SetMetadata sets the Metadata field's value.
22359func (s *ChannelMessageSummary) SetMetadata(v string) *ChannelMessageSummary {
22360	s.Metadata = &v
22361	return s
22362}
22363
22364// SetRedacted sets the Redacted field's value.
22365func (s *ChannelMessageSummary) SetRedacted(v bool) *ChannelMessageSummary {
22366	s.Redacted = &v
22367	return s
22368}
22369
22370// SetSender sets the Sender field's value.
22371func (s *ChannelMessageSummary) SetSender(v *Identity) *ChannelMessageSummary {
22372	s.Sender = v
22373	return s
22374}
22375
22376// SetType sets the Type field's value.
22377func (s *ChannelMessageSummary) SetType(v string) *ChannelMessageSummary {
22378	s.Type = &v
22379	return s
22380}
22381
22382// Summary of the details of a moderated channel.
22383type ChannelModeratedByAppInstanceUserSummary struct {
22384	_ struct{} `type:"structure"`
22385
22386	// Summary of the details of a Channel.
22387	ChannelSummary *ChannelSummary `type:"structure"`
22388}
22389
22390// String returns the string representation
22391func (s ChannelModeratedByAppInstanceUserSummary) String() string {
22392	return awsutil.Prettify(s)
22393}
22394
22395// GoString returns the string representation
22396func (s ChannelModeratedByAppInstanceUserSummary) GoString() string {
22397	return s.String()
22398}
22399
22400// SetChannelSummary sets the ChannelSummary field's value.
22401func (s *ChannelModeratedByAppInstanceUserSummary) SetChannelSummary(v *ChannelSummary) *ChannelModeratedByAppInstanceUserSummary {
22402	s.ChannelSummary = v
22403	return s
22404}
22405
22406// The details of a channel moderator.
22407type ChannelModerator struct {
22408	_ struct{} `type:"structure"`
22409
22410	// The ARN of the moderator's channel.
22411	ChannelArn *string `min:"5" type:"string"`
22412
22413	// The AppInstanceUser who created the moderator.
22414	CreatedBy *Identity `type:"structure"`
22415
22416	// The time at which the moderator was created.
22417	CreatedTimestamp *time.Time `type:"timestamp"`
22418
22419	// The moderator's data.
22420	Moderator *Identity `type:"structure"`
22421}
22422
22423// String returns the string representation
22424func (s ChannelModerator) String() string {
22425	return awsutil.Prettify(s)
22426}
22427
22428// GoString returns the string representation
22429func (s ChannelModerator) GoString() string {
22430	return s.String()
22431}
22432
22433// SetChannelArn sets the ChannelArn field's value.
22434func (s *ChannelModerator) SetChannelArn(v string) *ChannelModerator {
22435	s.ChannelArn = &v
22436	return s
22437}
22438
22439// SetCreatedBy sets the CreatedBy field's value.
22440func (s *ChannelModerator) SetCreatedBy(v *Identity) *ChannelModerator {
22441	s.CreatedBy = v
22442	return s
22443}
22444
22445// SetCreatedTimestamp sets the CreatedTimestamp field's value.
22446func (s *ChannelModerator) SetCreatedTimestamp(v time.Time) *ChannelModerator {
22447	s.CreatedTimestamp = &v
22448	return s
22449}
22450
22451// SetModerator sets the Moderator field's value.
22452func (s *ChannelModerator) SetModerator(v *Identity) *ChannelModerator {
22453	s.Moderator = v
22454	return s
22455}
22456
22457// Summary of the details of a ChannelModerator.
22458type ChannelModeratorSummary struct {
22459	_ struct{} `type:"structure"`
22460
22461	// The data for a moderator.
22462	Moderator *Identity `type:"structure"`
22463}
22464
22465// String returns the string representation
22466func (s ChannelModeratorSummary) String() string {
22467	return awsutil.Prettify(s)
22468}
22469
22470// GoString returns the string representation
22471func (s ChannelModeratorSummary) GoString() string {
22472	return s.String()
22473}
22474
22475// SetModerator sets the Moderator field's value.
22476func (s *ChannelModeratorSummary) SetModerator(v *Identity) *ChannelModeratorSummary {
22477	s.Moderator = v
22478	return s
22479}
22480
22481// The details of the retention settings for a channel.
22482type ChannelRetentionSettings struct {
22483	_ struct{} `type:"structure"`
22484
22485	// The time in days to retain the messages in a channel.
22486	RetentionDays *int64 `min:"1" type:"integer"`
22487}
22488
22489// String returns the string representation
22490func (s ChannelRetentionSettings) String() string {
22491	return awsutil.Prettify(s)
22492}
22493
22494// GoString returns the string representation
22495func (s ChannelRetentionSettings) GoString() string {
22496	return s.String()
22497}
22498
22499// Validate inspects the fields of the type to determine if they are valid.
22500func (s *ChannelRetentionSettings) Validate() error {
22501	invalidParams := request.ErrInvalidParams{Context: "ChannelRetentionSettings"}
22502	if s.RetentionDays != nil && *s.RetentionDays < 1 {
22503		invalidParams.Add(request.NewErrParamMinValue("RetentionDays", 1))
22504	}
22505
22506	if invalidParams.Len() > 0 {
22507		return invalidParams
22508	}
22509	return nil
22510}
22511
22512// SetRetentionDays sets the RetentionDays field's value.
22513func (s *ChannelRetentionSettings) SetRetentionDays(v int64) *ChannelRetentionSettings {
22514	s.RetentionDays = &v
22515	return s
22516}
22517
22518// Summary of the details of a Channel.
22519type ChannelSummary struct {
22520	_ struct{} `type:"structure"`
22521
22522	// The ARN of the channel.
22523	ChannelArn *string `min:"5" type:"string"`
22524
22525	// The time at which the last message in a channel was sent.
22526	LastMessageTimestamp *time.Time `type:"timestamp"`
22527
22528	// The metadata of the channel.
22529	Metadata *string `type:"string" sensitive:"true"`
22530
22531	// The mode of the channel.
22532	Mode *string `type:"string" enum:"ChannelMode"`
22533
22534	// The name of the channel.
22535	Name *string `min:"1" type:"string" sensitive:"true"`
22536
22537	// The privacy setting of the channel.
22538	Privacy *string `type:"string" enum:"ChannelPrivacy"`
22539}
22540
22541// String returns the string representation
22542func (s ChannelSummary) String() string {
22543	return awsutil.Prettify(s)
22544}
22545
22546// GoString returns the string representation
22547func (s ChannelSummary) GoString() string {
22548	return s.String()
22549}
22550
22551// SetChannelArn sets the ChannelArn field's value.
22552func (s *ChannelSummary) SetChannelArn(v string) *ChannelSummary {
22553	s.ChannelArn = &v
22554	return s
22555}
22556
22557// SetLastMessageTimestamp sets the LastMessageTimestamp field's value.
22558func (s *ChannelSummary) SetLastMessageTimestamp(v time.Time) *ChannelSummary {
22559	s.LastMessageTimestamp = &v
22560	return s
22561}
22562
22563// SetMetadata sets the Metadata field's value.
22564func (s *ChannelSummary) SetMetadata(v string) *ChannelSummary {
22565	s.Metadata = &v
22566	return s
22567}
22568
22569// SetMode sets the Mode field's value.
22570func (s *ChannelSummary) SetMode(v string) *ChannelSummary {
22571	s.Mode = &v
22572	return s
22573}
22574
22575// SetName sets the Name field's value.
22576func (s *ChannelSummary) SetName(v string) *ChannelSummary {
22577	s.Name = &v
22578	return s
22579}
22580
22581// SetPrivacy sets the Privacy field's value.
22582func (s *ChannelSummary) SetPrivacy(v string) *ChannelSummary {
22583	s.Privacy = &v
22584	return s
22585}
22586
22587// The request could not be processed because of conflict in the current state
22588// of the resource.
22589type ConflictException struct {
22590	_            struct{}                  `type:"structure"`
22591	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
22592
22593	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
22594
22595	Message_ *string `locationName:"Message" type:"string"`
22596}
22597
22598// String returns the string representation
22599func (s ConflictException) String() string {
22600	return awsutil.Prettify(s)
22601}
22602
22603// GoString returns the string representation
22604func (s ConflictException) GoString() string {
22605	return s.String()
22606}
22607
22608func newErrorConflictException(v protocol.ResponseMetadata) error {
22609	return &ConflictException{
22610		RespMetadata: v,
22611	}
22612}
22613
22614// Code returns the exception type name.
22615func (s *ConflictException) Code() string {
22616	return "ConflictException"
22617}
22618
22619// Message returns the exception's message.
22620func (s *ConflictException) Message() string {
22621	if s.Message_ != nil {
22622		return *s.Message_
22623	}
22624	return ""
22625}
22626
22627// OrigErr always returns nil, satisfies awserr.Error interface.
22628func (s *ConflictException) OrigErr() error {
22629	return nil
22630}
22631
22632func (s *ConflictException) Error() string {
22633	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
22634}
22635
22636// Status code returns the HTTP status code for the request's response error.
22637func (s *ConflictException) StatusCode() int {
22638	return s.RespMetadata.StatusCode
22639}
22640
22641// RequestID returns the service's response RequestID for request.
22642func (s *ConflictException) RequestID() string {
22643	return s.RespMetadata.RequestID
22644}
22645
22646// The retention settings that determine how long to retain conversation messages
22647// for an Amazon Chime Enterprise account.
22648type ConversationRetentionSettings struct {
22649	_ struct{} `type:"structure"`
22650
22651	// The number of days for which to retain conversation messages.
22652	RetentionDays *int64 `min:"1" type:"integer"`
22653}
22654
22655// String returns the string representation
22656func (s ConversationRetentionSettings) String() string {
22657	return awsutil.Prettify(s)
22658}
22659
22660// GoString returns the string representation
22661func (s ConversationRetentionSettings) GoString() string {
22662	return s.String()
22663}
22664
22665// Validate inspects the fields of the type to determine if they are valid.
22666func (s *ConversationRetentionSettings) Validate() error {
22667	invalidParams := request.ErrInvalidParams{Context: "ConversationRetentionSettings"}
22668	if s.RetentionDays != nil && *s.RetentionDays < 1 {
22669		invalidParams.Add(request.NewErrParamMinValue("RetentionDays", 1))
22670	}
22671
22672	if invalidParams.Len() > 0 {
22673		return invalidParams
22674	}
22675	return nil
22676}
22677
22678// SetRetentionDays sets the RetentionDays field's value.
22679func (s *ConversationRetentionSettings) SetRetentionDays(v int64) *ConversationRetentionSettings {
22680	s.RetentionDays = &v
22681	return s
22682}
22683
22684type CreateAccountInput struct {
22685	_ struct{} `type:"structure"`
22686
22687	// The name of the Amazon Chime account.
22688	//
22689	// Name is a required field
22690	Name *string `min:"1" type:"string" required:"true"`
22691}
22692
22693// String returns the string representation
22694func (s CreateAccountInput) String() string {
22695	return awsutil.Prettify(s)
22696}
22697
22698// GoString returns the string representation
22699func (s CreateAccountInput) GoString() string {
22700	return s.String()
22701}
22702
22703// Validate inspects the fields of the type to determine if they are valid.
22704func (s *CreateAccountInput) Validate() error {
22705	invalidParams := request.ErrInvalidParams{Context: "CreateAccountInput"}
22706	if s.Name == nil {
22707		invalidParams.Add(request.NewErrParamRequired("Name"))
22708	}
22709	if s.Name != nil && len(*s.Name) < 1 {
22710		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
22711	}
22712
22713	if invalidParams.Len() > 0 {
22714		return invalidParams
22715	}
22716	return nil
22717}
22718
22719// SetName sets the Name field's value.
22720func (s *CreateAccountInput) SetName(v string) *CreateAccountInput {
22721	s.Name = &v
22722	return s
22723}
22724
22725type CreateAccountOutput struct {
22726	_ struct{} `type:"structure"`
22727
22728	// The Amazon Chime account details.
22729	Account *Account `type:"structure"`
22730}
22731
22732// String returns the string representation
22733func (s CreateAccountOutput) String() string {
22734	return awsutil.Prettify(s)
22735}
22736
22737// GoString returns the string representation
22738func (s CreateAccountOutput) GoString() string {
22739	return s.String()
22740}
22741
22742// SetAccount sets the Account field's value.
22743func (s *CreateAccountOutput) SetAccount(v *Account) *CreateAccountOutput {
22744	s.Account = v
22745	return s
22746}
22747
22748type CreateAppInstanceAdminInput struct {
22749	_ struct{} `type:"structure"`
22750
22751	// The ARN of the administrator of the current AppInstance.
22752	//
22753	// AppInstanceAdminArn is a required field
22754	AppInstanceAdminArn *string `min:"5" type:"string" required:"true"`
22755
22756	// The ARN of the AppInstance.
22757	//
22758	// AppInstanceArn is a required field
22759	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
22760}
22761
22762// String returns the string representation
22763func (s CreateAppInstanceAdminInput) String() string {
22764	return awsutil.Prettify(s)
22765}
22766
22767// GoString returns the string representation
22768func (s CreateAppInstanceAdminInput) GoString() string {
22769	return s.String()
22770}
22771
22772// Validate inspects the fields of the type to determine if they are valid.
22773func (s *CreateAppInstanceAdminInput) Validate() error {
22774	invalidParams := request.ErrInvalidParams{Context: "CreateAppInstanceAdminInput"}
22775	if s.AppInstanceAdminArn == nil {
22776		invalidParams.Add(request.NewErrParamRequired("AppInstanceAdminArn"))
22777	}
22778	if s.AppInstanceAdminArn != nil && len(*s.AppInstanceAdminArn) < 5 {
22779		invalidParams.Add(request.NewErrParamMinLen("AppInstanceAdminArn", 5))
22780	}
22781	if s.AppInstanceArn == nil {
22782		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
22783	}
22784	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
22785		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
22786	}
22787
22788	if invalidParams.Len() > 0 {
22789		return invalidParams
22790	}
22791	return nil
22792}
22793
22794// SetAppInstanceAdminArn sets the AppInstanceAdminArn field's value.
22795func (s *CreateAppInstanceAdminInput) SetAppInstanceAdminArn(v string) *CreateAppInstanceAdminInput {
22796	s.AppInstanceAdminArn = &v
22797	return s
22798}
22799
22800// SetAppInstanceArn sets the AppInstanceArn field's value.
22801func (s *CreateAppInstanceAdminInput) SetAppInstanceArn(v string) *CreateAppInstanceAdminInput {
22802	s.AppInstanceArn = &v
22803	return s
22804}
22805
22806type CreateAppInstanceAdminOutput struct {
22807	_ struct{} `type:"structure"`
22808
22809	// The name and ARN of the admin for the AppInstance.
22810	AppInstanceAdmin *Identity `type:"structure"`
22811
22812	// The ARN of the of the admin for the AppInstance.
22813	AppInstanceArn *string `min:"5" type:"string"`
22814}
22815
22816// String returns the string representation
22817func (s CreateAppInstanceAdminOutput) String() string {
22818	return awsutil.Prettify(s)
22819}
22820
22821// GoString returns the string representation
22822func (s CreateAppInstanceAdminOutput) GoString() string {
22823	return s.String()
22824}
22825
22826// SetAppInstanceAdmin sets the AppInstanceAdmin field's value.
22827func (s *CreateAppInstanceAdminOutput) SetAppInstanceAdmin(v *Identity) *CreateAppInstanceAdminOutput {
22828	s.AppInstanceAdmin = v
22829	return s
22830}
22831
22832// SetAppInstanceArn sets the AppInstanceArn field's value.
22833func (s *CreateAppInstanceAdminOutput) SetAppInstanceArn(v string) *CreateAppInstanceAdminOutput {
22834	s.AppInstanceArn = &v
22835	return s
22836}
22837
22838type CreateAppInstanceInput struct {
22839	_ struct{} `type:"structure"`
22840
22841	// The ClientRequestToken of the AppInstance.
22842	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
22843
22844	// The metadata of the AppInstance. Limited to a 1KB string in UTF-8.
22845	Metadata *string `type:"string" sensitive:"true"`
22846
22847	// The name of the AppInstance.
22848	//
22849	// Name is a required field
22850	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
22851
22852	// Tags assigned to the AppInstanceUser.
22853	Tags []*Tag `min:"1" type:"list"`
22854}
22855
22856// String returns the string representation
22857func (s CreateAppInstanceInput) String() string {
22858	return awsutil.Prettify(s)
22859}
22860
22861// GoString returns the string representation
22862func (s CreateAppInstanceInput) GoString() string {
22863	return s.String()
22864}
22865
22866// Validate inspects the fields of the type to determine if they are valid.
22867func (s *CreateAppInstanceInput) Validate() error {
22868	invalidParams := request.ErrInvalidParams{Context: "CreateAppInstanceInput"}
22869	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
22870		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
22871	}
22872	if s.Name == nil {
22873		invalidParams.Add(request.NewErrParamRequired("Name"))
22874	}
22875	if s.Name != nil && len(*s.Name) < 1 {
22876		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
22877	}
22878	if s.Tags != nil && len(s.Tags) < 1 {
22879		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
22880	}
22881	if s.Tags != nil {
22882		for i, v := range s.Tags {
22883			if v == nil {
22884				continue
22885			}
22886			if err := v.Validate(); err != nil {
22887				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
22888			}
22889		}
22890	}
22891
22892	if invalidParams.Len() > 0 {
22893		return invalidParams
22894	}
22895	return nil
22896}
22897
22898// SetClientRequestToken sets the ClientRequestToken field's value.
22899func (s *CreateAppInstanceInput) SetClientRequestToken(v string) *CreateAppInstanceInput {
22900	s.ClientRequestToken = &v
22901	return s
22902}
22903
22904// SetMetadata sets the Metadata field's value.
22905func (s *CreateAppInstanceInput) SetMetadata(v string) *CreateAppInstanceInput {
22906	s.Metadata = &v
22907	return s
22908}
22909
22910// SetName sets the Name field's value.
22911func (s *CreateAppInstanceInput) SetName(v string) *CreateAppInstanceInput {
22912	s.Name = &v
22913	return s
22914}
22915
22916// SetTags sets the Tags field's value.
22917func (s *CreateAppInstanceInput) SetTags(v []*Tag) *CreateAppInstanceInput {
22918	s.Tags = v
22919	return s
22920}
22921
22922type CreateAppInstanceOutput struct {
22923	_ struct{} `type:"structure"`
22924
22925	// The Amazon Resource Number (ARN) of the AppInstance.
22926	AppInstanceArn *string `min:"5" type:"string"`
22927}
22928
22929// String returns the string representation
22930func (s CreateAppInstanceOutput) String() string {
22931	return awsutil.Prettify(s)
22932}
22933
22934// GoString returns the string representation
22935func (s CreateAppInstanceOutput) GoString() string {
22936	return s.String()
22937}
22938
22939// SetAppInstanceArn sets the AppInstanceArn field's value.
22940func (s *CreateAppInstanceOutput) SetAppInstanceArn(v string) *CreateAppInstanceOutput {
22941	s.AppInstanceArn = &v
22942	return s
22943}
22944
22945type CreateAppInstanceUserInput struct {
22946	_ struct{} `type:"structure"`
22947
22948	// The ARN of the AppInstance request.
22949	//
22950	// AppInstanceArn is a required field
22951	AppInstanceArn *string `min:"5" type:"string" required:"true"`
22952
22953	// The user ID of the AppInstance.
22954	//
22955	// AppInstanceUserId is a required field
22956	AppInstanceUserId *string `min:"1" type:"string" required:"true" sensitive:"true"`
22957
22958	// The token assigned to the user requesting an AppInstance.
22959	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
22960
22961	// The request's metadata. Limited to a 1KB string in UTF-8.
22962	Metadata *string `type:"string" sensitive:"true"`
22963
22964	// The user's name.
22965	//
22966	// Name is a required field
22967	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
22968
22969	// Tags assigned to the AppInstanceUser.
22970	Tags []*Tag `min:"1" type:"list"`
22971}
22972
22973// String returns the string representation
22974func (s CreateAppInstanceUserInput) String() string {
22975	return awsutil.Prettify(s)
22976}
22977
22978// GoString returns the string representation
22979func (s CreateAppInstanceUserInput) GoString() string {
22980	return s.String()
22981}
22982
22983// Validate inspects the fields of the type to determine if they are valid.
22984func (s *CreateAppInstanceUserInput) Validate() error {
22985	invalidParams := request.ErrInvalidParams{Context: "CreateAppInstanceUserInput"}
22986	if s.AppInstanceArn == nil {
22987		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
22988	}
22989	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
22990		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
22991	}
22992	if s.AppInstanceUserId == nil {
22993		invalidParams.Add(request.NewErrParamRequired("AppInstanceUserId"))
22994	}
22995	if s.AppInstanceUserId != nil && len(*s.AppInstanceUserId) < 1 {
22996		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserId", 1))
22997	}
22998	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
22999		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
23000	}
23001	if s.Name == nil {
23002		invalidParams.Add(request.NewErrParamRequired("Name"))
23003	}
23004	if s.Name != nil && len(*s.Name) < 1 {
23005		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23006	}
23007	if s.Tags != nil && len(s.Tags) < 1 {
23008		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
23009	}
23010	if s.Tags != nil {
23011		for i, v := range s.Tags {
23012			if v == nil {
23013				continue
23014			}
23015			if err := v.Validate(); err != nil {
23016				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
23017			}
23018		}
23019	}
23020
23021	if invalidParams.Len() > 0 {
23022		return invalidParams
23023	}
23024	return nil
23025}
23026
23027// SetAppInstanceArn sets the AppInstanceArn field's value.
23028func (s *CreateAppInstanceUserInput) SetAppInstanceArn(v string) *CreateAppInstanceUserInput {
23029	s.AppInstanceArn = &v
23030	return s
23031}
23032
23033// SetAppInstanceUserId sets the AppInstanceUserId field's value.
23034func (s *CreateAppInstanceUserInput) SetAppInstanceUserId(v string) *CreateAppInstanceUserInput {
23035	s.AppInstanceUserId = &v
23036	return s
23037}
23038
23039// SetClientRequestToken sets the ClientRequestToken field's value.
23040func (s *CreateAppInstanceUserInput) SetClientRequestToken(v string) *CreateAppInstanceUserInput {
23041	s.ClientRequestToken = &v
23042	return s
23043}
23044
23045// SetMetadata sets the Metadata field's value.
23046func (s *CreateAppInstanceUserInput) SetMetadata(v string) *CreateAppInstanceUserInput {
23047	s.Metadata = &v
23048	return s
23049}
23050
23051// SetName sets the Name field's value.
23052func (s *CreateAppInstanceUserInput) SetName(v string) *CreateAppInstanceUserInput {
23053	s.Name = &v
23054	return s
23055}
23056
23057// SetTags sets the Tags field's value.
23058func (s *CreateAppInstanceUserInput) SetTags(v []*Tag) *CreateAppInstanceUserInput {
23059	s.Tags = v
23060	return s
23061}
23062
23063type CreateAppInstanceUserOutput struct {
23064	_ struct{} `type:"structure"`
23065
23066	// The user's ARN.
23067	AppInstanceUserArn *string `min:"5" type:"string"`
23068}
23069
23070// String returns the string representation
23071func (s CreateAppInstanceUserOutput) String() string {
23072	return awsutil.Prettify(s)
23073}
23074
23075// GoString returns the string representation
23076func (s CreateAppInstanceUserOutput) GoString() string {
23077	return s.String()
23078}
23079
23080// SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
23081func (s *CreateAppInstanceUserOutput) SetAppInstanceUserArn(v string) *CreateAppInstanceUserOutput {
23082	s.AppInstanceUserArn = &v
23083	return s
23084}
23085
23086// The list of errors returned when errors are encountered during the BatchCreateAttendee
23087// and CreateAttendee actions. This includes external user IDs, error codes,
23088// and error messages.
23089type CreateAttendeeError struct {
23090	_ struct{} `type:"structure"`
23091
23092	// The error code.
23093	ErrorCode *string `type:"string"`
23094
23095	// The error message.
23096	ErrorMessage *string `type:"string"`
23097
23098	// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee
23099	// to an identity managed by a builder application.
23100	ExternalUserId *string `min:"2" type:"string" sensitive:"true"`
23101}
23102
23103// String returns the string representation
23104func (s CreateAttendeeError) String() string {
23105	return awsutil.Prettify(s)
23106}
23107
23108// GoString returns the string representation
23109func (s CreateAttendeeError) GoString() string {
23110	return s.String()
23111}
23112
23113// SetErrorCode sets the ErrorCode field's value.
23114func (s *CreateAttendeeError) SetErrorCode(v string) *CreateAttendeeError {
23115	s.ErrorCode = &v
23116	return s
23117}
23118
23119// SetErrorMessage sets the ErrorMessage field's value.
23120func (s *CreateAttendeeError) SetErrorMessage(v string) *CreateAttendeeError {
23121	s.ErrorMessage = &v
23122	return s
23123}
23124
23125// SetExternalUserId sets the ExternalUserId field's value.
23126func (s *CreateAttendeeError) SetExternalUserId(v string) *CreateAttendeeError {
23127	s.ExternalUserId = &v
23128	return s
23129}
23130
23131type CreateAttendeeInput struct {
23132	_ struct{} `type:"structure"`
23133
23134	// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee
23135	// to an identity managed by a builder application.
23136	//
23137	// ExternalUserId is a required field
23138	ExternalUserId *string `min:"2" type:"string" required:"true" sensitive:"true"`
23139
23140	// The Amazon Chime SDK meeting ID.
23141	//
23142	// MeetingId is a required field
23143	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
23144
23145	// The tag key-value pairs.
23146	Tags []*Tag `min:"1" type:"list"`
23147}
23148
23149// String returns the string representation
23150func (s CreateAttendeeInput) String() string {
23151	return awsutil.Prettify(s)
23152}
23153
23154// GoString returns the string representation
23155func (s CreateAttendeeInput) GoString() string {
23156	return s.String()
23157}
23158
23159// Validate inspects the fields of the type to determine if they are valid.
23160func (s *CreateAttendeeInput) Validate() error {
23161	invalidParams := request.ErrInvalidParams{Context: "CreateAttendeeInput"}
23162	if s.ExternalUserId == nil {
23163		invalidParams.Add(request.NewErrParamRequired("ExternalUserId"))
23164	}
23165	if s.ExternalUserId != nil && len(*s.ExternalUserId) < 2 {
23166		invalidParams.Add(request.NewErrParamMinLen("ExternalUserId", 2))
23167	}
23168	if s.MeetingId == nil {
23169		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
23170	}
23171	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
23172		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
23173	}
23174	if s.Tags != nil && len(s.Tags) < 1 {
23175		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
23176	}
23177	if s.Tags != nil {
23178		for i, v := range s.Tags {
23179			if v == nil {
23180				continue
23181			}
23182			if err := v.Validate(); err != nil {
23183				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
23184			}
23185		}
23186	}
23187
23188	if invalidParams.Len() > 0 {
23189		return invalidParams
23190	}
23191	return nil
23192}
23193
23194// SetExternalUserId sets the ExternalUserId field's value.
23195func (s *CreateAttendeeInput) SetExternalUserId(v string) *CreateAttendeeInput {
23196	s.ExternalUserId = &v
23197	return s
23198}
23199
23200// SetMeetingId sets the MeetingId field's value.
23201func (s *CreateAttendeeInput) SetMeetingId(v string) *CreateAttendeeInput {
23202	s.MeetingId = &v
23203	return s
23204}
23205
23206// SetTags sets the Tags field's value.
23207func (s *CreateAttendeeInput) SetTags(v []*Tag) *CreateAttendeeInput {
23208	s.Tags = v
23209	return s
23210}
23211
23212type CreateAttendeeOutput struct {
23213	_ struct{} `type:"structure"`
23214
23215	// The attendee information, including attendee ID and join token.
23216	Attendee *Attendee `type:"structure"`
23217}
23218
23219// String returns the string representation
23220func (s CreateAttendeeOutput) String() string {
23221	return awsutil.Prettify(s)
23222}
23223
23224// GoString returns the string representation
23225func (s CreateAttendeeOutput) GoString() string {
23226	return s.String()
23227}
23228
23229// SetAttendee sets the Attendee field's value.
23230func (s *CreateAttendeeOutput) SetAttendee(v *Attendee) *CreateAttendeeOutput {
23231	s.Attendee = v
23232	return s
23233}
23234
23235// The Amazon Chime SDK attendee fields to create, used with the BatchCreateAttendee
23236// action.
23237type CreateAttendeeRequestItem struct {
23238	_ struct{} `type:"structure"`
23239
23240	// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee
23241	// to an identity managed by a builder application.
23242	//
23243	// ExternalUserId is a required field
23244	ExternalUserId *string `min:"2" type:"string" required:"true" sensitive:"true"`
23245
23246	// The tag key-value pairs.
23247	Tags []*Tag `min:"1" type:"list"`
23248}
23249
23250// String returns the string representation
23251func (s CreateAttendeeRequestItem) String() string {
23252	return awsutil.Prettify(s)
23253}
23254
23255// GoString returns the string representation
23256func (s CreateAttendeeRequestItem) GoString() string {
23257	return s.String()
23258}
23259
23260// Validate inspects the fields of the type to determine if they are valid.
23261func (s *CreateAttendeeRequestItem) Validate() error {
23262	invalidParams := request.ErrInvalidParams{Context: "CreateAttendeeRequestItem"}
23263	if s.ExternalUserId == nil {
23264		invalidParams.Add(request.NewErrParamRequired("ExternalUserId"))
23265	}
23266	if s.ExternalUserId != nil && len(*s.ExternalUserId) < 2 {
23267		invalidParams.Add(request.NewErrParamMinLen("ExternalUserId", 2))
23268	}
23269	if s.Tags != nil && len(s.Tags) < 1 {
23270		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
23271	}
23272	if s.Tags != nil {
23273		for i, v := range s.Tags {
23274			if v == nil {
23275				continue
23276			}
23277			if err := v.Validate(); err != nil {
23278				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
23279			}
23280		}
23281	}
23282
23283	if invalidParams.Len() > 0 {
23284		return invalidParams
23285	}
23286	return nil
23287}
23288
23289// SetExternalUserId sets the ExternalUserId field's value.
23290func (s *CreateAttendeeRequestItem) SetExternalUserId(v string) *CreateAttendeeRequestItem {
23291	s.ExternalUserId = &v
23292	return s
23293}
23294
23295// SetTags sets the Tags field's value.
23296func (s *CreateAttendeeRequestItem) SetTags(v []*Tag) *CreateAttendeeRequestItem {
23297	s.Tags = v
23298	return s
23299}
23300
23301type CreateBotInput struct {
23302	_ struct{} `type:"structure"`
23303
23304	// The Amazon Chime account ID.
23305	//
23306	// AccountId is a required field
23307	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
23308
23309	// The bot display name.
23310	//
23311	// DisplayName is a required field
23312	DisplayName *string `type:"string" required:"true" sensitive:"true"`
23313
23314	// The domain of the Amazon Chime Enterprise account.
23315	Domain *string `type:"string"`
23316}
23317
23318// String returns the string representation
23319func (s CreateBotInput) String() string {
23320	return awsutil.Prettify(s)
23321}
23322
23323// GoString returns the string representation
23324func (s CreateBotInput) GoString() string {
23325	return s.String()
23326}
23327
23328// Validate inspects the fields of the type to determine if they are valid.
23329func (s *CreateBotInput) Validate() error {
23330	invalidParams := request.ErrInvalidParams{Context: "CreateBotInput"}
23331	if s.AccountId == nil {
23332		invalidParams.Add(request.NewErrParamRequired("AccountId"))
23333	}
23334	if s.AccountId != nil && len(*s.AccountId) < 1 {
23335		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
23336	}
23337	if s.DisplayName == nil {
23338		invalidParams.Add(request.NewErrParamRequired("DisplayName"))
23339	}
23340
23341	if invalidParams.Len() > 0 {
23342		return invalidParams
23343	}
23344	return nil
23345}
23346
23347// SetAccountId sets the AccountId field's value.
23348func (s *CreateBotInput) SetAccountId(v string) *CreateBotInput {
23349	s.AccountId = &v
23350	return s
23351}
23352
23353// SetDisplayName sets the DisplayName field's value.
23354func (s *CreateBotInput) SetDisplayName(v string) *CreateBotInput {
23355	s.DisplayName = &v
23356	return s
23357}
23358
23359// SetDomain sets the Domain field's value.
23360func (s *CreateBotInput) SetDomain(v string) *CreateBotInput {
23361	s.Domain = &v
23362	return s
23363}
23364
23365type CreateBotOutput struct {
23366	_ struct{} `type:"structure"`
23367
23368	// The bot details.
23369	Bot *Bot `type:"structure"`
23370}
23371
23372// String returns the string representation
23373func (s CreateBotOutput) String() string {
23374	return awsutil.Prettify(s)
23375}
23376
23377// GoString returns the string representation
23378func (s CreateBotOutput) GoString() string {
23379	return s.String()
23380}
23381
23382// SetBot sets the Bot field's value.
23383func (s *CreateBotOutput) SetBot(v *Bot) *CreateBotOutput {
23384	s.Bot = v
23385	return s
23386}
23387
23388type CreateChannelBanInput struct {
23389	_ struct{} `type:"structure"`
23390
23391	// The ARN of the ban request.
23392	//
23393	// ChannelArn is a required field
23394	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
23395
23396	// The AppInstanceUserArn of the user that makes the API call.
23397	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
23398
23399	// The ARN of the member being banned.
23400	//
23401	// MemberArn is a required field
23402	MemberArn *string `min:"5" type:"string" required:"true"`
23403}
23404
23405// String returns the string representation
23406func (s CreateChannelBanInput) String() string {
23407	return awsutil.Prettify(s)
23408}
23409
23410// GoString returns the string representation
23411func (s CreateChannelBanInput) GoString() string {
23412	return s.String()
23413}
23414
23415// Validate inspects the fields of the type to determine if they are valid.
23416func (s *CreateChannelBanInput) Validate() error {
23417	invalidParams := request.ErrInvalidParams{Context: "CreateChannelBanInput"}
23418	if s.ChannelArn == nil {
23419		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
23420	}
23421	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
23422		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
23423	}
23424	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
23425		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
23426	}
23427	if s.MemberArn == nil {
23428		invalidParams.Add(request.NewErrParamRequired("MemberArn"))
23429	}
23430	if s.MemberArn != nil && len(*s.MemberArn) < 5 {
23431		invalidParams.Add(request.NewErrParamMinLen("MemberArn", 5))
23432	}
23433
23434	if invalidParams.Len() > 0 {
23435		return invalidParams
23436	}
23437	return nil
23438}
23439
23440// SetChannelArn sets the ChannelArn field's value.
23441func (s *CreateChannelBanInput) SetChannelArn(v string) *CreateChannelBanInput {
23442	s.ChannelArn = &v
23443	return s
23444}
23445
23446// SetChimeBearer sets the ChimeBearer field's value.
23447func (s *CreateChannelBanInput) SetChimeBearer(v string) *CreateChannelBanInput {
23448	s.ChimeBearer = &v
23449	return s
23450}
23451
23452// SetMemberArn sets the MemberArn field's value.
23453func (s *CreateChannelBanInput) SetMemberArn(v string) *CreateChannelBanInput {
23454	s.MemberArn = &v
23455	return s
23456}
23457
23458type CreateChannelBanOutput struct {
23459	_ struct{} `type:"structure"`
23460
23461	// The ARN of the response to the ban request.
23462	ChannelArn *string `min:"5" type:"string"`
23463
23464	// The ChannelArn and BannedIdentity of the member in the ban response.
23465	Member *Identity `type:"structure"`
23466}
23467
23468// String returns the string representation
23469func (s CreateChannelBanOutput) String() string {
23470	return awsutil.Prettify(s)
23471}
23472
23473// GoString returns the string representation
23474func (s CreateChannelBanOutput) GoString() string {
23475	return s.String()
23476}
23477
23478// SetChannelArn sets the ChannelArn field's value.
23479func (s *CreateChannelBanOutput) SetChannelArn(v string) *CreateChannelBanOutput {
23480	s.ChannelArn = &v
23481	return s
23482}
23483
23484// SetMember sets the Member field's value.
23485func (s *CreateChannelBanOutput) SetMember(v *Identity) *CreateChannelBanOutput {
23486	s.Member = v
23487	return s
23488}
23489
23490type CreateChannelInput struct {
23491	_ struct{} `type:"structure"`
23492
23493	// The ARN of the channel request.
23494	//
23495	// AppInstanceArn is a required field
23496	AppInstanceArn *string `min:"5" type:"string" required:"true"`
23497
23498	// The AppInstanceUserArn of the user that makes the API call.
23499	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
23500
23501	// The client token for the request. An Idempotency token.
23502	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
23503
23504	// The metadata of the creation request. Limited to 1KB and UTF-8.
23505	Metadata *string `type:"string" sensitive:"true"`
23506
23507	// The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators,
23508	// and channel members can add themselves and other members to unrestricted
23509	// channels. Only administrators and moderators can add members to restricted
23510	// channels.
23511	Mode *string `type:"string" enum:"ChannelMode"`
23512
23513	// The name of the channel.
23514	//
23515	// Name is a required field
23516	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
23517
23518	// The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't discoverable
23519	// by users outside the channel. Public channels are discoverable by anyone
23520	// in the AppInstance.
23521	Privacy *string `type:"string" enum:"ChannelPrivacy"`
23522
23523	// The tags for the creation request.
23524	Tags []*Tag `min:"1" type:"list"`
23525}
23526
23527// String returns the string representation
23528func (s CreateChannelInput) String() string {
23529	return awsutil.Prettify(s)
23530}
23531
23532// GoString returns the string representation
23533func (s CreateChannelInput) GoString() string {
23534	return s.String()
23535}
23536
23537// Validate inspects the fields of the type to determine if they are valid.
23538func (s *CreateChannelInput) Validate() error {
23539	invalidParams := request.ErrInvalidParams{Context: "CreateChannelInput"}
23540	if s.AppInstanceArn == nil {
23541		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
23542	}
23543	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
23544		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
23545	}
23546	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
23547		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
23548	}
23549	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
23550		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
23551	}
23552	if s.Name == nil {
23553		invalidParams.Add(request.NewErrParamRequired("Name"))
23554	}
23555	if s.Name != nil && len(*s.Name) < 1 {
23556		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23557	}
23558	if s.Tags != nil && len(s.Tags) < 1 {
23559		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
23560	}
23561	if s.Tags != nil {
23562		for i, v := range s.Tags {
23563			if v == nil {
23564				continue
23565			}
23566			if err := v.Validate(); err != nil {
23567				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
23568			}
23569		}
23570	}
23571
23572	if invalidParams.Len() > 0 {
23573		return invalidParams
23574	}
23575	return nil
23576}
23577
23578// SetAppInstanceArn sets the AppInstanceArn field's value.
23579func (s *CreateChannelInput) SetAppInstanceArn(v string) *CreateChannelInput {
23580	s.AppInstanceArn = &v
23581	return s
23582}
23583
23584// SetChimeBearer sets the ChimeBearer field's value.
23585func (s *CreateChannelInput) SetChimeBearer(v string) *CreateChannelInput {
23586	s.ChimeBearer = &v
23587	return s
23588}
23589
23590// SetClientRequestToken sets the ClientRequestToken field's value.
23591func (s *CreateChannelInput) SetClientRequestToken(v string) *CreateChannelInput {
23592	s.ClientRequestToken = &v
23593	return s
23594}
23595
23596// SetMetadata sets the Metadata field's value.
23597func (s *CreateChannelInput) SetMetadata(v string) *CreateChannelInput {
23598	s.Metadata = &v
23599	return s
23600}
23601
23602// SetMode sets the Mode field's value.
23603func (s *CreateChannelInput) SetMode(v string) *CreateChannelInput {
23604	s.Mode = &v
23605	return s
23606}
23607
23608// SetName sets the Name field's value.
23609func (s *CreateChannelInput) SetName(v string) *CreateChannelInput {
23610	s.Name = &v
23611	return s
23612}
23613
23614// SetPrivacy sets the Privacy field's value.
23615func (s *CreateChannelInput) SetPrivacy(v string) *CreateChannelInput {
23616	s.Privacy = &v
23617	return s
23618}
23619
23620// SetTags sets the Tags field's value.
23621func (s *CreateChannelInput) SetTags(v []*Tag) *CreateChannelInput {
23622	s.Tags = v
23623	return s
23624}
23625
23626type CreateChannelMembershipInput struct {
23627	_ struct{} `type:"structure"`
23628
23629	// The ARN of the channel to which you're adding users.
23630	//
23631	// ChannelArn is a required field
23632	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
23633
23634	// The AppInstanceUserArn of the user that makes the API call.
23635	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
23636
23637	// The ARN of the member you want to add to the channel.
23638	//
23639	// MemberArn is a required field
23640	MemberArn *string `min:"5" type:"string" required:"true"`
23641
23642	// The membership type of a user, DEFAULT or HIDDEN. Default members are always
23643	// returned as part of ListChannelMemberships. Hidden members are only returned
23644	// if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden
23645	// members are not returned. This is only supported by moderators.
23646	//
23647	// Type is a required field
23648	Type *string `type:"string" required:"true" enum:"ChannelMembershipType"`
23649}
23650
23651// String returns the string representation
23652func (s CreateChannelMembershipInput) String() string {
23653	return awsutil.Prettify(s)
23654}
23655
23656// GoString returns the string representation
23657func (s CreateChannelMembershipInput) GoString() string {
23658	return s.String()
23659}
23660
23661// Validate inspects the fields of the type to determine if they are valid.
23662func (s *CreateChannelMembershipInput) Validate() error {
23663	invalidParams := request.ErrInvalidParams{Context: "CreateChannelMembershipInput"}
23664	if s.ChannelArn == nil {
23665		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
23666	}
23667	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
23668		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
23669	}
23670	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
23671		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
23672	}
23673	if s.MemberArn == nil {
23674		invalidParams.Add(request.NewErrParamRequired("MemberArn"))
23675	}
23676	if s.MemberArn != nil && len(*s.MemberArn) < 5 {
23677		invalidParams.Add(request.NewErrParamMinLen("MemberArn", 5))
23678	}
23679	if s.Type == nil {
23680		invalidParams.Add(request.NewErrParamRequired("Type"))
23681	}
23682
23683	if invalidParams.Len() > 0 {
23684		return invalidParams
23685	}
23686	return nil
23687}
23688
23689// SetChannelArn sets the ChannelArn field's value.
23690func (s *CreateChannelMembershipInput) SetChannelArn(v string) *CreateChannelMembershipInput {
23691	s.ChannelArn = &v
23692	return s
23693}
23694
23695// SetChimeBearer sets the ChimeBearer field's value.
23696func (s *CreateChannelMembershipInput) SetChimeBearer(v string) *CreateChannelMembershipInput {
23697	s.ChimeBearer = &v
23698	return s
23699}
23700
23701// SetMemberArn sets the MemberArn field's value.
23702func (s *CreateChannelMembershipInput) SetMemberArn(v string) *CreateChannelMembershipInput {
23703	s.MemberArn = &v
23704	return s
23705}
23706
23707// SetType sets the Type field's value.
23708func (s *CreateChannelMembershipInput) SetType(v string) *CreateChannelMembershipInput {
23709	s.Type = &v
23710	return s
23711}
23712
23713type CreateChannelMembershipOutput struct {
23714	_ struct{} `type:"structure"`
23715
23716	// The ARN of the channel.
23717	ChannelArn *string `min:"5" type:"string"`
23718
23719	// The ARN and metadata of the member being added.
23720	Member *Identity `type:"structure"`
23721}
23722
23723// String returns the string representation
23724func (s CreateChannelMembershipOutput) String() string {
23725	return awsutil.Prettify(s)
23726}
23727
23728// GoString returns the string representation
23729func (s CreateChannelMembershipOutput) GoString() string {
23730	return s.String()
23731}
23732
23733// SetChannelArn sets the ChannelArn field's value.
23734func (s *CreateChannelMembershipOutput) SetChannelArn(v string) *CreateChannelMembershipOutput {
23735	s.ChannelArn = &v
23736	return s
23737}
23738
23739// SetMember sets the Member field's value.
23740func (s *CreateChannelMembershipOutput) SetMember(v *Identity) *CreateChannelMembershipOutput {
23741	s.Member = v
23742	return s
23743}
23744
23745type CreateChannelModeratorInput struct {
23746	_ struct{} `type:"structure"`
23747
23748	// The ARN of the channel.
23749	//
23750	// ChannelArn is a required field
23751	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
23752
23753	// The ARN of the moderator.
23754	//
23755	// ChannelModeratorArn is a required field
23756	ChannelModeratorArn *string `min:"5" type:"string" required:"true"`
23757
23758	// The AppInstanceUserArn of the user that makes the API call.
23759	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
23760}
23761
23762// String returns the string representation
23763func (s CreateChannelModeratorInput) String() string {
23764	return awsutil.Prettify(s)
23765}
23766
23767// GoString returns the string representation
23768func (s CreateChannelModeratorInput) GoString() string {
23769	return s.String()
23770}
23771
23772// Validate inspects the fields of the type to determine if they are valid.
23773func (s *CreateChannelModeratorInput) Validate() error {
23774	invalidParams := request.ErrInvalidParams{Context: "CreateChannelModeratorInput"}
23775	if s.ChannelArn == nil {
23776		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
23777	}
23778	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
23779		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
23780	}
23781	if s.ChannelModeratorArn == nil {
23782		invalidParams.Add(request.NewErrParamRequired("ChannelModeratorArn"))
23783	}
23784	if s.ChannelModeratorArn != nil && len(*s.ChannelModeratorArn) < 5 {
23785		invalidParams.Add(request.NewErrParamMinLen("ChannelModeratorArn", 5))
23786	}
23787	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
23788		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
23789	}
23790
23791	if invalidParams.Len() > 0 {
23792		return invalidParams
23793	}
23794	return nil
23795}
23796
23797// SetChannelArn sets the ChannelArn field's value.
23798func (s *CreateChannelModeratorInput) SetChannelArn(v string) *CreateChannelModeratorInput {
23799	s.ChannelArn = &v
23800	return s
23801}
23802
23803// SetChannelModeratorArn sets the ChannelModeratorArn field's value.
23804func (s *CreateChannelModeratorInput) SetChannelModeratorArn(v string) *CreateChannelModeratorInput {
23805	s.ChannelModeratorArn = &v
23806	return s
23807}
23808
23809// SetChimeBearer sets the ChimeBearer field's value.
23810func (s *CreateChannelModeratorInput) SetChimeBearer(v string) *CreateChannelModeratorInput {
23811	s.ChimeBearer = &v
23812	return s
23813}
23814
23815type CreateChannelModeratorOutput struct {
23816	_ struct{} `type:"structure"`
23817
23818	// The ARN of the channel.
23819	ChannelArn *string `min:"5" type:"string"`
23820
23821	// The ARNs of the channel and the moderator.
23822	ChannelModerator *Identity `type:"structure"`
23823}
23824
23825// String returns the string representation
23826func (s CreateChannelModeratorOutput) String() string {
23827	return awsutil.Prettify(s)
23828}
23829
23830// GoString returns the string representation
23831func (s CreateChannelModeratorOutput) GoString() string {
23832	return s.String()
23833}
23834
23835// SetChannelArn sets the ChannelArn field's value.
23836func (s *CreateChannelModeratorOutput) SetChannelArn(v string) *CreateChannelModeratorOutput {
23837	s.ChannelArn = &v
23838	return s
23839}
23840
23841// SetChannelModerator sets the ChannelModerator field's value.
23842func (s *CreateChannelModeratorOutput) SetChannelModerator(v *Identity) *CreateChannelModeratorOutput {
23843	s.ChannelModerator = v
23844	return s
23845}
23846
23847type CreateChannelOutput struct {
23848	_ struct{} `type:"structure"`
23849
23850	// The ARN of the channel.
23851	ChannelArn *string `min:"5" type:"string"`
23852}
23853
23854// String returns the string representation
23855func (s CreateChannelOutput) String() string {
23856	return awsutil.Prettify(s)
23857}
23858
23859// GoString returns the string representation
23860func (s CreateChannelOutput) GoString() string {
23861	return s.String()
23862}
23863
23864// SetChannelArn sets the ChannelArn field's value.
23865func (s *CreateChannelOutput) SetChannelArn(v string) *CreateChannelOutput {
23866	s.ChannelArn = &v
23867	return s
23868}
23869
23870type CreateMeetingDialOutInput struct {
23871	_ struct{} `type:"structure"`
23872
23873	// Phone number used as the caller ID when the remote party receives a call.
23874	//
23875	// FromPhoneNumber is a required field
23876	FromPhoneNumber *string `type:"string" required:"true" sensitive:"true"`
23877
23878	// Token used by the Amazon Chime SDK attendee. Call the CreateAttendee (https://docs.aws.amazon.com/chime/latest/APIReference/API_CreateAttendee.html)
23879	// action to get a join token.
23880	//
23881	// JoinToken is a required field
23882	JoinToken *string `min:"2" type:"string" required:"true" sensitive:"true"`
23883
23884	// The Amazon Chime SDK meeting ID.
23885	//
23886	// MeetingId is a required field
23887	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
23888
23889	// Phone number called when inviting someone to a meeting.
23890	//
23891	// ToPhoneNumber is a required field
23892	ToPhoneNumber *string `type:"string" required:"true" sensitive:"true"`
23893}
23894
23895// String returns the string representation
23896func (s CreateMeetingDialOutInput) String() string {
23897	return awsutil.Prettify(s)
23898}
23899
23900// GoString returns the string representation
23901func (s CreateMeetingDialOutInput) GoString() string {
23902	return s.String()
23903}
23904
23905// Validate inspects the fields of the type to determine if they are valid.
23906func (s *CreateMeetingDialOutInput) Validate() error {
23907	invalidParams := request.ErrInvalidParams{Context: "CreateMeetingDialOutInput"}
23908	if s.FromPhoneNumber == nil {
23909		invalidParams.Add(request.NewErrParamRequired("FromPhoneNumber"))
23910	}
23911	if s.JoinToken == nil {
23912		invalidParams.Add(request.NewErrParamRequired("JoinToken"))
23913	}
23914	if s.JoinToken != nil && len(*s.JoinToken) < 2 {
23915		invalidParams.Add(request.NewErrParamMinLen("JoinToken", 2))
23916	}
23917	if s.MeetingId == nil {
23918		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
23919	}
23920	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
23921		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
23922	}
23923	if s.ToPhoneNumber == nil {
23924		invalidParams.Add(request.NewErrParamRequired("ToPhoneNumber"))
23925	}
23926
23927	if invalidParams.Len() > 0 {
23928		return invalidParams
23929	}
23930	return nil
23931}
23932
23933// SetFromPhoneNumber sets the FromPhoneNumber field's value.
23934func (s *CreateMeetingDialOutInput) SetFromPhoneNumber(v string) *CreateMeetingDialOutInput {
23935	s.FromPhoneNumber = &v
23936	return s
23937}
23938
23939// SetJoinToken sets the JoinToken field's value.
23940func (s *CreateMeetingDialOutInput) SetJoinToken(v string) *CreateMeetingDialOutInput {
23941	s.JoinToken = &v
23942	return s
23943}
23944
23945// SetMeetingId sets the MeetingId field's value.
23946func (s *CreateMeetingDialOutInput) SetMeetingId(v string) *CreateMeetingDialOutInput {
23947	s.MeetingId = &v
23948	return s
23949}
23950
23951// SetToPhoneNumber sets the ToPhoneNumber field's value.
23952func (s *CreateMeetingDialOutInput) SetToPhoneNumber(v string) *CreateMeetingDialOutInput {
23953	s.ToPhoneNumber = &v
23954	return s
23955}
23956
23957type CreateMeetingDialOutOutput struct {
23958	_ struct{} `type:"structure"`
23959
23960	// Unique ID that tracks API calls.
23961	TransactionId *string `type:"string"`
23962}
23963
23964// String returns the string representation
23965func (s CreateMeetingDialOutOutput) String() string {
23966	return awsutil.Prettify(s)
23967}
23968
23969// GoString returns the string representation
23970func (s CreateMeetingDialOutOutput) GoString() string {
23971	return s.String()
23972}
23973
23974// SetTransactionId sets the TransactionId field's value.
23975func (s *CreateMeetingDialOutOutput) SetTransactionId(v string) *CreateMeetingDialOutOutput {
23976	s.TransactionId = &v
23977	return s
23978}
23979
23980type CreateMeetingInput struct {
23981	_ struct{} `type:"structure"`
23982
23983	// The unique identifier for the client request. Use a different token for different
23984	// meetings.
23985	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
23986
23987	// The external meeting ID.
23988	ExternalMeetingId *string `min:"2" type:"string" sensitive:"true"`
23989
23990	// The Region in which to create the meeting. Default: us-east-1.
23991	//
23992	// Available values: af-south-1 , ap-northeast-1 , ap-northeast-2 , ap-south-1
23993	// , ap-southeast-1 , ap-southeast-2 , ca-central-1 , eu-central-1 , eu-north-1
23994	// , eu-south-1 , eu-west-1 , eu-west-2 , eu-west-3 , sa-east-1 , us-east-1
23995	// , us-east-2 , us-west-1 , us-west-2 .
23996	MediaRegion *string `type:"string"`
23997
23998	// Reserved.
23999	MeetingHostId *string `min:"2" type:"string" sensitive:"true"`
24000
24001	// The configuration for resource targets to receive notifications when meeting
24002	// and attendee events occur.
24003	NotificationsConfiguration *MeetingNotificationConfiguration `type:"structure"`
24004
24005	// The tag key-value pairs.
24006	Tags []*Tag `min:"1" type:"list"`
24007}
24008
24009// String returns the string representation
24010func (s CreateMeetingInput) String() string {
24011	return awsutil.Prettify(s)
24012}
24013
24014// GoString returns the string representation
24015func (s CreateMeetingInput) GoString() string {
24016	return s.String()
24017}
24018
24019// Validate inspects the fields of the type to determine if they are valid.
24020func (s *CreateMeetingInput) Validate() error {
24021	invalidParams := request.ErrInvalidParams{Context: "CreateMeetingInput"}
24022	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
24023		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
24024	}
24025	if s.ExternalMeetingId != nil && len(*s.ExternalMeetingId) < 2 {
24026		invalidParams.Add(request.NewErrParamMinLen("ExternalMeetingId", 2))
24027	}
24028	if s.MeetingHostId != nil && len(*s.MeetingHostId) < 2 {
24029		invalidParams.Add(request.NewErrParamMinLen("MeetingHostId", 2))
24030	}
24031	if s.Tags != nil && len(s.Tags) < 1 {
24032		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
24033	}
24034	if s.NotificationsConfiguration != nil {
24035		if err := s.NotificationsConfiguration.Validate(); err != nil {
24036			invalidParams.AddNested("NotificationsConfiguration", err.(request.ErrInvalidParams))
24037		}
24038	}
24039	if s.Tags != nil {
24040		for i, v := range s.Tags {
24041			if v == nil {
24042				continue
24043			}
24044			if err := v.Validate(); err != nil {
24045				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
24046			}
24047		}
24048	}
24049
24050	if invalidParams.Len() > 0 {
24051		return invalidParams
24052	}
24053	return nil
24054}
24055
24056// SetClientRequestToken sets the ClientRequestToken field's value.
24057func (s *CreateMeetingInput) SetClientRequestToken(v string) *CreateMeetingInput {
24058	s.ClientRequestToken = &v
24059	return s
24060}
24061
24062// SetExternalMeetingId sets the ExternalMeetingId field's value.
24063func (s *CreateMeetingInput) SetExternalMeetingId(v string) *CreateMeetingInput {
24064	s.ExternalMeetingId = &v
24065	return s
24066}
24067
24068// SetMediaRegion sets the MediaRegion field's value.
24069func (s *CreateMeetingInput) SetMediaRegion(v string) *CreateMeetingInput {
24070	s.MediaRegion = &v
24071	return s
24072}
24073
24074// SetMeetingHostId sets the MeetingHostId field's value.
24075func (s *CreateMeetingInput) SetMeetingHostId(v string) *CreateMeetingInput {
24076	s.MeetingHostId = &v
24077	return s
24078}
24079
24080// SetNotificationsConfiguration sets the NotificationsConfiguration field's value.
24081func (s *CreateMeetingInput) SetNotificationsConfiguration(v *MeetingNotificationConfiguration) *CreateMeetingInput {
24082	s.NotificationsConfiguration = v
24083	return s
24084}
24085
24086// SetTags sets the Tags field's value.
24087func (s *CreateMeetingInput) SetTags(v []*Tag) *CreateMeetingInput {
24088	s.Tags = v
24089	return s
24090}
24091
24092type CreateMeetingOutput struct {
24093	_ struct{} `type:"structure"`
24094
24095	// The meeting information, including the meeting ID and MediaPlacement .
24096	Meeting *Meeting `type:"structure"`
24097}
24098
24099// String returns the string representation
24100func (s CreateMeetingOutput) String() string {
24101	return awsutil.Prettify(s)
24102}
24103
24104// GoString returns the string representation
24105func (s CreateMeetingOutput) GoString() string {
24106	return s.String()
24107}
24108
24109// SetMeeting sets the Meeting field's value.
24110func (s *CreateMeetingOutput) SetMeeting(v *Meeting) *CreateMeetingOutput {
24111	s.Meeting = v
24112	return s
24113}
24114
24115type CreateMeetingWithAttendeesInput struct {
24116	_ struct{} `type:"structure"`
24117
24118	// The request containing the attendees to create.
24119	Attendees []*CreateAttendeeRequestItem `min:"1" type:"list"`
24120
24121	// The unique identifier for the client request. Use a different token for different
24122	// meetings.
24123	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
24124
24125	// The external meeting ID.
24126	ExternalMeetingId *string `min:"2" type:"string" sensitive:"true"`
24127
24128	// The Region in which to create the meeting. Default: us-east-1 .
24129	//
24130	// Available values: af-south-1 , ap-northeast-1 , ap-northeast-2 , ap-south-1
24131	// , ap-southeast-1 , ap-southeast-2 , ca-central-1 , eu-central-1 , eu-north-1
24132	// , eu-south-1 , eu-west-1 , eu-west-2 , eu-west-3 , sa-east-1 , us-east-1
24133	// , us-east-2 , us-west-1 , us-west-2 .
24134	MediaRegion *string `type:"string"`
24135
24136	// Reserved.
24137	MeetingHostId *string `min:"2" type:"string" sensitive:"true"`
24138
24139	// The resource target configurations for receiving Amazon Chime SDK meeting
24140	// and attendee event notifications. The Amazon Chime SDK supports resource
24141	// targets located in the US East (N. Virginia) AWS Region (us-east-1).
24142	NotificationsConfiguration *MeetingNotificationConfiguration `type:"structure"`
24143
24144	// The tag key-value pairs.
24145	Tags []*Tag `min:"1" type:"list"`
24146}
24147
24148// String returns the string representation
24149func (s CreateMeetingWithAttendeesInput) String() string {
24150	return awsutil.Prettify(s)
24151}
24152
24153// GoString returns the string representation
24154func (s CreateMeetingWithAttendeesInput) GoString() string {
24155	return s.String()
24156}
24157
24158// Validate inspects the fields of the type to determine if they are valid.
24159func (s *CreateMeetingWithAttendeesInput) Validate() error {
24160	invalidParams := request.ErrInvalidParams{Context: "CreateMeetingWithAttendeesInput"}
24161	if s.Attendees != nil && len(s.Attendees) < 1 {
24162		invalidParams.Add(request.NewErrParamMinLen("Attendees", 1))
24163	}
24164	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
24165		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
24166	}
24167	if s.ExternalMeetingId != nil && len(*s.ExternalMeetingId) < 2 {
24168		invalidParams.Add(request.NewErrParamMinLen("ExternalMeetingId", 2))
24169	}
24170	if s.MeetingHostId != nil && len(*s.MeetingHostId) < 2 {
24171		invalidParams.Add(request.NewErrParamMinLen("MeetingHostId", 2))
24172	}
24173	if s.Tags != nil && len(s.Tags) < 1 {
24174		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
24175	}
24176	if s.Attendees != nil {
24177		for i, v := range s.Attendees {
24178			if v == nil {
24179				continue
24180			}
24181			if err := v.Validate(); err != nil {
24182				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Attendees", i), err.(request.ErrInvalidParams))
24183			}
24184		}
24185	}
24186	if s.NotificationsConfiguration != nil {
24187		if err := s.NotificationsConfiguration.Validate(); err != nil {
24188			invalidParams.AddNested("NotificationsConfiguration", err.(request.ErrInvalidParams))
24189		}
24190	}
24191	if s.Tags != nil {
24192		for i, v := range s.Tags {
24193			if v == nil {
24194				continue
24195			}
24196			if err := v.Validate(); err != nil {
24197				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
24198			}
24199		}
24200	}
24201
24202	if invalidParams.Len() > 0 {
24203		return invalidParams
24204	}
24205	return nil
24206}
24207
24208// SetAttendees sets the Attendees field's value.
24209func (s *CreateMeetingWithAttendeesInput) SetAttendees(v []*CreateAttendeeRequestItem) *CreateMeetingWithAttendeesInput {
24210	s.Attendees = v
24211	return s
24212}
24213
24214// SetClientRequestToken sets the ClientRequestToken field's value.
24215func (s *CreateMeetingWithAttendeesInput) SetClientRequestToken(v string) *CreateMeetingWithAttendeesInput {
24216	s.ClientRequestToken = &v
24217	return s
24218}
24219
24220// SetExternalMeetingId sets the ExternalMeetingId field's value.
24221func (s *CreateMeetingWithAttendeesInput) SetExternalMeetingId(v string) *CreateMeetingWithAttendeesInput {
24222	s.ExternalMeetingId = &v
24223	return s
24224}
24225
24226// SetMediaRegion sets the MediaRegion field's value.
24227func (s *CreateMeetingWithAttendeesInput) SetMediaRegion(v string) *CreateMeetingWithAttendeesInput {
24228	s.MediaRegion = &v
24229	return s
24230}
24231
24232// SetMeetingHostId sets the MeetingHostId field's value.
24233func (s *CreateMeetingWithAttendeesInput) SetMeetingHostId(v string) *CreateMeetingWithAttendeesInput {
24234	s.MeetingHostId = &v
24235	return s
24236}
24237
24238// SetNotificationsConfiguration sets the NotificationsConfiguration field's value.
24239func (s *CreateMeetingWithAttendeesInput) SetNotificationsConfiguration(v *MeetingNotificationConfiguration) *CreateMeetingWithAttendeesInput {
24240	s.NotificationsConfiguration = v
24241	return s
24242}
24243
24244// SetTags sets the Tags field's value.
24245func (s *CreateMeetingWithAttendeesInput) SetTags(v []*Tag) *CreateMeetingWithAttendeesInput {
24246	s.Tags = v
24247	return s
24248}
24249
24250type CreateMeetingWithAttendeesOutput struct {
24251	_ struct{} `type:"structure"`
24252
24253	// The attendee information, including attendees IDs and join tokens.
24254	Attendees []*Attendee `type:"list"`
24255
24256	// If the action fails for one or more of the attendees in the request, a list
24257	// of the attendees is returned, along with error codes and error messages.
24258	Errors []*CreateAttendeeError `type:"list"`
24259
24260	// A meeting created using the Amazon Chime SDK.
24261	Meeting *Meeting `type:"structure"`
24262}
24263
24264// String returns the string representation
24265func (s CreateMeetingWithAttendeesOutput) String() string {
24266	return awsutil.Prettify(s)
24267}
24268
24269// GoString returns the string representation
24270func (s CreateMeetingWithAttendeesOutput) GoString() string {
24271	return s.String()
24272}
24273
24274// SetAttendees sets the Attendees field's value.
24275func (s *CreateMeetingWithAttendeesOutput) SetAttendees(v []*Attendee) *CreateMeetingWithAttendeesOutput {
24276	s.Attendees = v
24277	return s
24278}
24279
24280// SetErrors sets the Errors field's value.
24281func (s *CreateMeetingWithAttendeesOutput) SetErrors(v []*CreateAttendeeError) *CreateMeetingWithAttendeesOutput {
24282	s.Errors = v
24283	return s
24284}
24285
24286// SetMeeting sets the Meeting field's value.
24287func (s *CreateMeetingWithAttendeesOutput) SetMeeting(v *Meeting) *CreateMeetingWithAttendeesOutput {
24288	s.Meeting = v
24289	return s
24290}
24291
24292type CreatePhoneNumberOrderInput struct {
24293	_ struct{} `type:"structure"`
24294
24295	// List of phone numbers, in E.164 format.
24296	//
24297	// E164PhoneNumbers is a required field
24298	E164PhoneNumbers []*string `type:"list" required:"true"`
24299
24300	// The phone number product type.
24301	//
24302	// ProductType is a required field
24303	ProductType *string `type:"string" required:"true" enum:"PhoneNumberProductType"`
24304}
24305
24306// String returns the string representation
24307func (s CreatePhoneNumberOrderInput) String() string {
24308	return awsutil.Prettify(s)
24309}
24310
24311// GoString returns the string representation
24312func (s CreatePhoneNumberOrderInput) GoString() string {
24313	return s.String()
24314}
24315
24316// Validate inspects the fields of the type to determine if they are valid.
24317func (s *CreatePhoneNumberOrderInput) Validate() error {
24318	invalidParams := request.ErrInvalidParams{Context: "CreatePhoneNumberOrderInput"}
24319	if s.E164PhoneNumbers == nil {
24320		invalidParams.Add(request.NewErrParamRequired("E164PhoneNumbers"))
24321	}
24322	if s.ProductType == nil {
24323		invalidParams.Add(request.NewErrParamRequired("ProductType"))
24324	}
24325
24326	if invalidParams.Len() > 0 {
24327		return invalidParams
24328	}
24329	return nil
24330}
24331
24332// SetE164PhoneNumbers sets the E164PhoneNumbers field's value.
24333func (s *CreatePhoneNumberOrderInput) SetE164PhoneNumbers(v []*string) *CreatePhoneNumberOrderInput {
24334	s.E164PhoneNumbers = v
24335	return s
24336}
24337
24338// SetProductType sets the ProductType field's value.
24339func (s *CreatePhoneNumberOrderInput) SetProductType(v string) *CreatePhoneNumberOrderInput {
24340	s.ProductType = &v
24341	return s
24342}
24343
24344type CreatePhoneNumberOrderOutput struct {
24345	_ struct{} `type:"structure"`
24346
24347	// The phone number order details.
24348	PhoneNumberOrder *PhoneNumberOrder `type:"structure"`
24349}
24350
24351// String returns the string representation
24352func (s CreatePhoneNumberOrderOutput) String() string {
24353	return awsutil.Prettify(s)
24354}
24355
24356// GoString returns the string representation
24357func (s CreatePhoneNumberOrderOutput) GoString() string {
24358	return s.String()
24359}
24360
24361// SetPhoneNumberOrder sets the PhoneNumberOrder field's value.
24362func (s *CreatePhoneNumberOrderOutput) SetPhoneNumberOrder(v *PhoneNumberOrder) *CreatePhoneNumberOrderOutput {
24363	s.PhoneNumberOrder = v
24364	return s
24365}
24366
24367type CreateProxySessionInput struct {
24368	_ struct{} `type:"structure"`
24369
24370	// The proxy session capabilities.
24371	//
24372	// Capabilities is a required field
24373	Capabilities []*string `type:"list" required:"true"`
24374
24375	// The number of minutes allowed for the proxy session.
24376	ExpiryMinutes *int64 `min:"1" type:"integer"`
24377
24378	// The preference for matching the country or area code of the proxy phone number
24379	// with that of the first participant.
24380	GeoMatchLevel *string `type:"string" enum:"GeoMatchLevel"`
24381
24382	// The country and area code for the proxy phone number.
24383	GeoMatchParams *GeoMatchParams `type:"structure"`
24384
24385	// The name of the proxy session.
24386	Name *string `type:"string" sensitive:"true"`
24387
24388	// The preference for proxy phone number reuse, or stickiness, between the same
24389	// participants across sessions.
24390	NumberSelectionBehavior *string `type:"string" enum:"NumberSelectionBehavior"`
24391
24392	// The participant phone numbers.
24393	//
24394	// ParticipantPhoneNumbers is a required field
24395	ParticipantPhoneNumbers []*string `min:"2" type:"list" required:"true"`
24396
24397	// The Amazon Chime voice connector ID.
24398	//
24399	// VoiceConnectorId is a required field
24400	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
24401}
24402
24403// String returns the string representation
24404func (s CreateProxySessionInput) String() string {
24405	return awsutil.Prettify(s)
24406}
24407
24408// GoString returns the string representation
24409func (s CreateProxySessionInput) GoString() string {
24410	return s.String()
24411}
24412
24413// Validate inspects the fields of the type to determine if they are valid.
24414func (s *CreateProxySessionInput) Validate() error {
24415	invalidParams := request.ErrInvalidParams{Context: "CreateProxySessionInput"}
24416	if s.Capabilities == nil {
24417		invalidParams.Add(request.NewErrParamRequired("Capabilities"))
24418	}
24419	if s.ExpiryMinutes != nil && *s.ExpiryMinutes < 1 {
24420		invalidParams.Add(request.NewErrParamMinValue("ExpiryMinutes", 1))
24421	}
24422	if s.ParticipantPhoneNumbers == nil {
24423		invalidParams.Add(request.NewErrParamRequired("ParticipantPhoneNumbers"))
24424	}
24425	if s.ParticipantPhoneNumbers != nil && len(s.ParticipantPhoneNumbers) < 2 {
24426		invalidParams.Add(request.NewErrParamMinLen("ParticipantPhoneNumbers", 2))
24427	}
24428	if s.VoiceConnectorId == nil {
24429		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
24430	}
24431	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
24432		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
24433	}
24434	if s.GeoMatchParams != nil {
24435		if err := s.GeoMatchParams.Validate(); err != nil {
24436			invalidParams.AddNested("GeoMatchParams", err.(request.ErrInvalidParams))
24437		}
24438	}
24439
24440	if invalidParams.Len() > 0 {
24441		return invalidParams
24442	}
24443	return nil
24444}
24445
24446// SetCapabilities sets the Capabilities field's value.
24447func (s *CreateProxySessionInput) SetCapabilities(v []*string) *CreateProxySessionInput {
24448	s.Capabilities = v
24449	return s
24450}
24451
24452// SetExpiryMinutes sets the ExpiryMinutes field's value.
24453func (s *CreateProxySessionInput) SetExpiryMinutes(v int64) *CreateProxySessionInput {
24454	s.ExpiryMinutes = &v
24455	return s
24456}
24457
24458// SetGeoMatchLevel sets the GeoMatchLevel field's value.
24459func (s *CreateProxySessionInput) SetGeoMatchLevel(v string) *CreateProxySessionInput {
24460	s.GeoMatchLevel = &v
24461	return s
24462}
24463
24464// SetGeoMatchParams sets the GeoMatchParams field's value.
24465func (s *CreateProxySessionInput) SetGeoMatchParams(v *GeoMatchParams) *CreateProxySessionInput {
24466	s.GeoMatchParams = v
24467	return s
24468}
24469
24470// SetName sets the Name field's value.
24471func (s *CreateProxySessionInput) SetName(v string) *CreateProxySessionInput {
24472	s.Name = &v
24473	return s
24474}
24475
24476// SetNumberSelectionBehavior sets the NumberSelectionBehavior field's value.
24477func (s *CreateProxySessionInput) SetNumberSelectionBehavior(v string) *CreateProxySessionInput {
24478	s.NumberSelectionBehavior = &v
24479	return s
24480}
24481
24482// SetParticipantPhoneNumbers sets the ParticipantPhoneNumbers field's value.
24483func (s *CreateProxySessionInput) SetParticipantPhoneNumbers(v []*string) *CreateProxySessionInput {
24484	s.ParticipantPhoneNumbers = v
24485	return s
24486}
24487
24488// SetVoiceConnectorId sets the VoiceConnectorId field's value.
24489func (s *CreateProxySessionInput) SetVoiceConnectorId(v string) *CreateProxySessionInput {
24490	s.VoiceConnectorId = &v
24491	return s
24492}
24493
24494type CreateProxySessionOutput struct {
24495	_ struct{} `type:"structure"`
24496
24497	// The proxy session details.
24498	ProxySession *ProxySession `type:"structure"`
24499}
24500
24501// String returns the string representation
24502func (s CreateProxySessionOutput) String() string {
24503	return awsutil.Prettify(s)
24504}
24505
24506// GoString returns the string representation
24507func (s CreateProxySessionOutput) GoString() string {
24508	return s.String()
24509}
24510
24511// SetProxySession sets the ProxySession field's value.
24512func (s *CreateProxySessionOutput) SetProxySession(v *ProxySession) *CreateProxySessionOutput {
24513	s.ProxySession = v
24514	return s
24515}
24516
24517type CreateRoomInput struct {
24518	_ struct{} `type:"structure"`
24519
24520	// The Amazon Chime account ID.
24521	//
24522	// AccountId is a required field
24523	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
24524
24525	// The idempotency token for the request.
24526	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
24527
24528	// The room name.
24529	//
24530	// Name is a required field
24531	Name *string `type:"string" required:"true" sensitive:"true"`
24532}
24533
24534// String returns the string representation
24535func (s CreateRoomInput) String() string {
24536	return awsutil.Prettify(s)
24537}
24538
24539// GoString returns the string representation
24540func (s CreateRoomInput) GoString() string {
24541	return s.String()
24542}
24543
24544// Validate inspects the fields of the type to determine if they are valid.
24545func (s *CreateRoomInput) Validate() error {
24546	invalidParams := request.ErrInvalidParams{Context: "CreateRoomInput"}
24547	if s.AccountId == nil {
24548		invalidParams.Add(request.NewErrParamRequired("AccountId"))
24549	}
24550	if s.AccountId != nil && len(*s.AccountId) < 1 {
24551		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
24552	}
24553	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
24554		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
24555	}
24556	if s.Name == nil {
24557		invalidParams.Add(request.NewErrParamRequired("Name"))
24558	}
24559
24560	if invalidParams.Len() > 0 {
24561		return invalidParams
24562	}
24563	return nil
24564}
24565
24566// SetAccountId sets the AccountId field's value.
24567func (s *CreateRoomInput) SetAccountId(v string) *CreateRoomInput {
24568	s.AccountId = &v
24569	return s
24570}
24571
24572// SetClientRequestToken sets the ClientRequestToken field's value.
24573func (s *CreateRoomInput) SetClientRequestToken(v string) *CreateRoomInput {
24574	s.ClientRequestToken = &v
24575	return s
24576}
24577
24578// SetName sets the Name field's value.
24579func (s *CreateRoomInput) SetName(v string) *CreateRoomInput {
24580	s.Name = &v
24581	return s
24582}
24583
24584type CreateRoomMembershipInput struct {
24585	_ struct{} `type:"structure"`
24586
24587	// The Amazon Chime account ID.
24588	//
24589	// AccountId is a required field
24590	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
24591
24592	// The Amazon Chime member ID (user ID or bot ID).
24593	//
24594	// MemberId is a required field
24595	MemberId *string `type:"string" required:"true"`
24596
24597	// The role of the member.
24598	Role *string `type:"string" enum:"RoomMembershipRole"`
24599
24600	// The room ID.
24601	//
24602	// RoomId is a required field
24603	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
24604}
24605
24606// String returns the string representation
24607func (s CreateRoomMembershipInput) String() string {
24608	return awsutil.Prettify(s)
24609}
24610
24611// GoString returns the string representation
24612func (s CreateRoomMembershipInput) GoString() string {
24613	return s.String()
24614}
24615
24616// Validate inspects the fields of the type to determine if they are valid.
24617func (s *CreateRoomMembershipInput) Validate() error {
24618	invalidParams := request.ErrInvalidParams{Context: "CreateRoomMembershipInput"}
24619	if s.AccountId == nil {
24620		invalidParams.Add(request.NewErrParamRequired("AccountId"))
24621	}
24622	if s.AccountId != nil && len(*s.AccountId) < 1 {
24623		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
24624	}
24625	if s.MemberId == nil {
24626		invalidParams.Add(request.NewErrParamRequired("MemberId"))
24627	}
24628	if s.RoomId == nil {
24629		invalidParams.Add(request.NewErrParamRequired("RoomId"))
24630	}
24631	if s.RoomId != nil && len(*s.RoomId) < 1 {
24632		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
24633	}
24634
24635	if invalidParams.Len() > 0 {
24636		return invalidParams
24637	}
24638	return nil
24639}
24640
24641// SetAccountId sets the AccountId field's value.
24642func (s *CreateRoomMembershipInput) SetAccountId(v string) *CreateRoomMembershipInput {
24643	s.AccountId = &v
24644	return s
24645}
24646
24647// SetMemberId sets the MemberId field's value.
24648func (s *CreateRoomMembershipInput) SetMemberId(v string) *CreateRoomMembershipInput {
24649	s.MemberId = &v
24650	return s
24651}
24652
24653// SetRole sets the Role field's value.
24654func (s *CreateRoomMembershipInput) SetRole(v string) *CreateRoomMembershipInput {
24655	s.Role = &v
24656	return s
24657}
24658
24659// SetRoomId sets the RoomId field's value.
24660func (s *CreateRoomMembershipInput) SetRoomId(v string) *CreateRoomMembershipInput {
24661	s.RoomId = &v
24662	return s
24663}
24664
24665type CreateRoomMembershipOutput struct {
24666	_ struct{} `type:"structure"`
24667
24668	// The room membership details.
24669	RoomMembership *RoomMembership `type:"structure"`
24670}
24671
24672// String returns the string representation
24673func (s CreateRoomMembershipOutput) String() string {
24674	return awsutil.Prettify(s)
24675}
24676
24677// GoString returns the string representation
24678func (s CreateRoomMembershipOutput) GoString() string {
24679	return s.String()
24680}
24681
24682// SetRoomMembership sets the RoomMembership field's value.
24683func (s *CreateRoomMembershipOutput) SetRoomMembership(v *RoomMembership) *CreateRoomMembershipOutput {
24684	s.RoomMembership = v
24685	return s
24686}
24687
24688type CreateRoomOutput struct {
24689	_ struct{} `type:"structure"`
24690
24691	// The room details.
24692	Room *Room `type:"structure"`
24693}
24694
24695// String returns the string representation
24696func (s CreateRoomOutput) String() string {
24697	return awsutil.Prettify(s)
24698}
24699
24700// GoString returns the string representation
24701func (s CreateRoomOutput) GoString() string {
24702	return s.String()
24703}
24704
24705// SetRoom sets the Room field's value.
24706func (s *CreateRoomOutput) SetRoom(v *Room) *CreateRoomOutput {
24707	s.Room = v
24708	return s
24709}
24710
24711type CreateSipMediaApplicationCallInput struct {
24712	_ struct{} `type:"structure"`
24713
24714	// The phone number that a user calls from. This is a phone number in your Amazon
24715	// Chime phone number inventory.
24716	//
24717	// FromPhoneNumber is a required field
24718	FromPhoneNumber *string `type:"string" required:"true" sensitive:"true"`
24719
24720	// The ID of the SIP media application.
24721	//
24722	// SipMediaApplicationId is a required field
24723	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
24724
24725	// The phone number that the service should call.
24726	//
24727	// ToPhoneNumber is a required field
24728	ToPhoneNumber *string `type:"string" required:"true" sensitive:"true"`
24729}
24730
24731// String returns the string representation
24732func (s CreateSipMediaApplicationCallInput) String() string {
24733	return awsutil.Prettify(s)
24734}
24735
24736// GoString returns the string representation
24737func (s CreateSipMediaApplicationCallInput) GoString() string {
24738	return s.String()
24739}
24740
24741// Validate inspects the fields of the type to determine if they are valid.
24742func (s *CreateSipMediaApplicationCallInput) Validate() error {
24743	invalidParams := request.ErrInvalidParams{Context: "CreateSipMediaApplicationCallInput"}
24744	if s.FromPhoneNumber == nil {
24745		invalidParams.Add(request.NewErrParamRequired("FromPhoneNumber"))
24746	}
24747	if s.SipMediaApplicationId == nil {
24748		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
24749	}
24750	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
24751		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
24752	}
24753	if s.ToPhoneNumber == nil {
24754		invalidParams.Add(request.NewErrParamRequired("ToPhoneNumber"))
24755	}
24756
24757	if invalidParams.Len() > 0 {
24758		return invalidParams
24759	}
24760	return nil
24761}
24762
24763// SetFromPhoneNumber sets the FromPhoneNumber field's value.
24764func (s *CreateSipMediaApplicationCallInput) SetFromPhoneNumber(v string) *CreateSipMediaApplicationCallInput {
24765	s.FromPhoneNumber = &v
24766	return s
24767}
24768
24769// SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
24770func (s *CreateSipMediaApplicationCallInput) SetSipMediaApplicationId(v string) *CreateSipMediaApplicationCallInput {
24771	s.SipMediaApplicationId = &v
24772	return s
24773}
24774
24775// SetToPhoneNumber sets the ToPhoneNumber field's value.
24776func (s *CreateSipMediaApplicationCallInput) SetToPhoneNumber(v string) *CreateSipMediaApplicationCallInput {
24777	s.ToPhoneNumber = &v
24778	return s
24779}
24780
24781type CreateSipMediaApplicationCallOutput struct {
24782	_ struct{} `type:"structure"`
24783
24784	// The actual call.
24785	SipMediaApplicationCall *SipMediaApplicationCall `type:"structure"`
24786}
24787
24788// String returns the string representation
24789func (s CreateSipMediaApplicationCallOutput) String() string {
24790	return awsutil.Prettify(s)
24791}
24792
24793// GoString returns the string representation
24794func (s CreateSipMediaApplicationCallOutput) GoString() string {
24795	return s.String()
24796}
24797
24798// SetSipMediaApplicationCall sets the SipMediaApplicationCall field's value.
24799func (s *CreateSipMediaApplicationCallOutput) SetSipMediaApplicationCall(v *SipMediaApplicationCall) *CreateSipMediaApplicationCallOutput {
24800	s.SipMediaApplicationCall = v
24801	return s
24802}
24803
24804type CreateSipMediaApplicationInput struct {
24805	_ struct{} `type:"structure"`
24806
24807	// The AWS Region assigned to the SIP media application.
24808	//
24809	// AwsRegion is a required field
24810	AwsRegion *string `type:"string" required:"true"`
24811
24812	// List of endpoints (Lambda Amazon Resource Names) specified for the SIP media
24813	// application. Currently, only one endpoint is supported.
24814	//
24815	// Endpoints is a required field
24816	Endpoints []*SipMediaApplicationEndpoint `min:"1" type:"list" required:"true"`
24817
24818	// The SIP media application name.
24819	//
24820	// Name is a required field
24821	Name *string `min:"1" type:"string" required:"true"`
24822}
24823
24824// String returns the string representation
24825func (s CreateSipMediaApplicationInput) String() string {
24826	return awsutil.Prettify(s)
24827}
24828
24829// GoString returns the string representation
24830func (s CreateSipMediaApplicationInput) GoString() string {
24831	return s.String()
24832}
24833
24834// Validate inspects the fields of the type to determine if they are valid.
24835func (s *CreateSipMediaApplicationInput) Validate() error {
24836	invalidParams := request.ErrInvalidParams{Context: "CreateSipMediaApplicationInput"}
24837	if s.AwsRegion == nil {
24838		invalidParams.Add(request.NewErrParamRequired("AwsRegion"))
24839	}
24840	if s.Endpoints == nil {
24841		invalidParams.Add(request.NewErrParamRequired("Endpoints"))
24842	}
24843	if s.Endpoints != nil && len(s.Endpoints) < 1 {
24844		invalidParams.Add(request.NewErrParamMinLen("Endpoints", 1))
24845	}
24846	if s.Name == nil {
24847		invalidParams.Add(request.NewErrParamRequired("Name"))
24848	}
24849	if s.Name != nil && len(*s.Name) < 1 {
24850		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24851	}
24852
24853	if invalidParams.Len() > 0 {
24854		return invalidParams
24855	}
24856	return nil
24857}
24858
24859// SetAwsRegion sets the AwsRegion field's value.
24860func (s *CreateSipMediaApplicationInput) SetAwsRegion(v string) *CreateSipMediaApplicationInput {
24861	s.AwsRegion = &v
24862	return s
24863}
24864
24865// SetEndpoints sets the Endpoints field's value.
24866func (s *CreateSipMediaApplicationInput) SetEndpoints(v []*SipMediaApplicationEndpoint) *CreateSipMediaApplicationInput {
24867	s.Endpoints = v
24868	return s
24869}
24870
24871// SetName sets the Name field's value.
24872func (s *CreateSipMediaApplicationInput) SetName(v string) *CreateSipMediaApplicationInput {
24873	s.Name = &v
24874	return s
24875}
24876
24877type CreateSipMediaApplicationOutput struct {
24878	_ struct{} `type:"structure"`
24879
24880	// The SIP media application details.
24881	SipMediaApplication *SipMediaApplication `type:"structure"`
24882}
24883
24884// String returns the string representation
24885func (s CreateSipMediaApplicationOutput) String() string {
24886	return awsutil.Prettify(s)
24887}
24888
24889// GoString returns the string representation
24890func (s CreateSipMediaApplicationOutput) GoString() string {
24891	return s.String()
24892}
24893
24894// SetSipMediaApplication sets the SipMediaApplication field's value.
24895func (s *CreateSipMediaApplicationOutput) SetSipMediaApplication(v *SipMediaApplication) *CreateSipMediaApplicationOutput {
24896	s.SipMediaApplication = v
24897	return s
24898}
24899
24900type CreateSipRuleInput struct {
24901	_ struct{} `type:"structure"`
24902
24903	// Enables or disables a rule. You must disable rules before you can delete
24904	// them.
24905	Disabled *bool `type:"boolean"`
24906
24907	// The name of the SIP rule.
24908	//
24909	// Name is a required field
24910	Name *string `min:"1" type:"string" required:"true"`
24911
24912	// List of SIP media applications with priority and AWS Region. Only one SIP
24913	// application per AWS Region can be used.
24914	//
24915	// TargetApplications is a required field
24916	TargetApplications []*SipRuleTargetApplication `min:"1" type:"list" required:"true"`
24917
24918	// The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname
24919	// or ToPhoneNumber.
24920	//
24921	// TriggerType is a required field
24922	TriggerType *string `type:"string" required:"true" enum:"SipRuleTriggerType"`
24923
24924	// If TriggerType is RequestUriHostname, the value can be the outbound host
24925	// name of an Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber,
24926	// the value can be a customer-owned phone number in the E164 format. The SipMediaApplication
24927	// specified in the SipRule is triggered if the request URI in an incoming SIP
24928	// request matches the RequestUriHostname, or if the To header in the incoming
24929	// SIP request matches the ToPhoneNumber value.
24930	//
24931	// TriggerValue is a required field
24932	TriggerValue *string `type:"string" required:"true"`
24933}
24934
24935// String returns the string representation
24936func (s CreateSipRuleInput) String() string {
24937	return awsutil.Prettify(s)
24938}
24939
24940// GoString returns the string representation
24941func (s CreateSipRuleInput) GoString() string {
24942	return s.String()
24943}
24944
24945// Validate inspects the fields of the type to determine if they are valid.
24946func (s *CreateSipRuleInput) Validate() error {
24947	invalidParams := request.ErrInvalidParams{Context: "CreateSipRuleInput"}
24948	if s.Name == nil {
24949		invalidParams.Add(request.NewErrParamRequired("Name"))
24950	}
24951	if s.Name != nil && len(*s.Name) < 1 {
24952		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24953	}
24954	if s.TargetApplications == nil {
24955		invalidParams.Add(request.NewErrParamRequired("TargetApplications"))
24956	}
24957	if s.TargetApplications != nil && len(s.TargetApplications) < 1 {
24958		invalidParams.Add(request.NewErrParamMinLen("TargetApplications", 1))
24959	}
24960	if s.TriggerType == nil {
24961		invalidParams.Add(request.NewErrParamRequired("TriggerType"))
24962	}
24963	if s.TriggerValue == nil {
24964		invalidParams.Add(request.NewErrParamRequired("TriggerValue"))
24965	}
24966	if s.TargetApplications != nil {
24967		for i, v := range s.TargetApplications {
24968			if v == nil {
24969				continue
24970			}
24971			if err := v.Validate(); err != nil {
24972				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TargetApplications", i), err.(request.ErrInvalidParams))
24973			}
24974		}
24975	}
24976
24977	if invalidParams.Len() > 0 {
24978		return invalidParams
24979	}
24980	return nil
24981}
24982
24983// SetDisabled sets the Disabled field's value.
24984func (s *CreateSipRuleInput) SetDisabled(v bool) *CreateSipRuleInput {
24985	s.Disabled = &v
24986	return s
24987}
24988
24989// SetName sets the Name field's value.
24990func (s *CreateSipRuleInput) SetName(v string) *CreateSipRuleInput {
24991	s.Name = &v
24992	return s
24993}
24994
24995// SetTargetApplications sets the TargetApplications field's value.
24996func (s *CreateSipRuleInput) SetTargetApplications(v []*SipRuleTargetApplication) *CreateSipRuleInput {
24997	s.TargetApplications = v
24998	return s
24999}
25000
25001// SetTriggerType sets the TriggerType field's value.
25002func (s *CreateSipRuleInput) SetTriggerType(v string) *CreateSipRuleInput {
25003	s.TriggerType = &v
25004	return s
25005}
25006
25007// SetTriggerValue sets the TriggerValue field's value.
25008func (s *CreateSipRuleInput) SetTriggerValue(v string) *CreateSipRuleInput {
25009	s.TriggerValue = &v
25010	return s
25011}
25012
25013type CreateSipRuleOutput struct {
25014	_ struct{} `type:"structure"`
25015
25016	// Returns the SIP rule information, including the rule ID, triggers, and target
25017	// applications.
25018	SipRule *SipRule `type:"structure"`
25019}
25020
25021// String returns the string representation
25022func (s CreateSipRuleOutput) String() string {
25023	return awsutil.Prettify(s)
25024}
25025
25026// GoString returns the string representation
25027func (s CreateSipRuleOutput) GoString() string {
25028	return s.String()
25029}
25030
25031// SetSipRule sets the SipRule field's value.
25032func (s *CreateSipRuleOutput) SetSipRule(v *SipRule) *CreateSipRuleOutput {
25033	s.SipRule = v
25034	return s
25035}
25036
25037type CreateUserInput struct {
25038	_ struct{} `type:"structure"`
25039
25040	// The Amazon Chime account ID.
25041	//
25042	// AccountId is a required field
25043	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
25044
25045	// The user's email address.
25046	Email *string `type:"string" sensitive:"true"`
25047
25048	// The user type.
25049	UserType *string `type:"string" enum:"UserType"`
25050
25051	// The user name.
25052	Username *string `type:"string"`
25053}
25054
25055// String returns the string representation
25056func (s CreateUserInput) String() string {
25057	return awsutil.Prettify(s)
25058}
25059
25060// GoString returns the string representation
25061func (s CreateUserInput) GoString() string {
25062	return s.String()
25063}
25064
25065// Validate inspects the fields of the type to determine if they are valid.
25066func (s *CreateUserInput) Validate() error {
25067	invalidParams := request.ErrInvalidParams{Context: "CreateUserInput"}
25068	if s.AccountId == nil {
25069		invalidParams.Add(request.NewErrParamRequired("AccountId"))
25070	}
25071	if s.AccountId != nil && len(*s.AccountId) < 1 {
25072		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
25073	}
25074
25075	if invalidParams.Len() > 0 {
25076		return invalidParams
25077	}
25078	return nil
25079}
25080
25081// SetAccountId sets the AccountId field's value.
25082func (s *CreateUserInput) SetAccountId(v string) *CreateUserInput {
25083	s.AccountId = &v
25084	return s
25085}
25086
25087// SetEmail sets the Email field's value.
25088func (s *CreateUserInput) SetEmail(v string) *CreateUserInput {
25089	s.Email = &v
25090	return s
25091}
25092
25093// SetUserType sets the UserType field's value.
25094func (s *CreateUserInput) SetUserType(v string) *CreateUserInput {
25095	s.UserType = &v
25096	return s
25097}
25098
25099// SetUsername sets the Username field's value.
25100func (s *CreateUserInput) SetUsername(v string) *CreateUserInput {
25101	s.Username = &v
25102	return s
25103}
25104
25105type CreateUserOutput struct {
25106	_ struct{} `type:"structure"`
25107
25108	// The user on the Amazon Chime account.
25109	User *User `type:"structure"`
25110}
25111
25112// String returns the string representation
25113func (s CreateUserOutput) String() string {
25114	return awsutil.Prettify(s)
25115}
25116
25117// GoString returns the string representation
25118func (s CreateUserOutput) GoString() string {
25119	return s.String()
25120}
25121
25122// SetUser sets the User field's value.
25123func (s *CreateUserOutput) SetUser(v *User) *CreateUserOutput {
25124	s.User = v
25125	return s
25126}
25127
25128type CreateVoiceConnectorGroupInput struct {
25129	_ struct{} `type:"structure"`
25130
25131	// The name of the Amazon Chime Voice Connector group.
25132	//
25133	// Name is a required field
25134	Name *string `min:"1" type:"string" required:"true"`
25135
25136	// The Amazon Chime Voice Connectors to route inbound calls to.
25137	VoiceConnectorItems []*VoiceConnectorItem `type:"list"`
25138}
25139
25140// String returns the string representation
25141func (s CreateVoiceConnectorGroupInput) String() string {
25142	return awsutil.Prettify(s)
25143}
25144
25145// GoString returns the string representation
25146func (s CreateVoiceConnectorGroupInput) GoString() string {
25147	return s.String()
25148}
25149
25150// Validate inspects the fields of the type to determine if they are valid.
25151func (s *CreateVoiceConnectorGroupInput) Validate() error {
25152	invalidParams := request.ErrInvalidParams{Context: "CreateVoiceConnectorGroupInput"}
25153	if s.Name == nil {
25154		invalidParams.Add(request.NewErrParamRequired("Name"))
25155	}
25156	if s.Name != nil && len(*s.Name) < 1 {
25157		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
25158	}
25159	if s.VoiceConnectorItems != nil {
25160		for i, v := range s.VoiceConnectorItems {
25161			if v == nil {
25162				continue
25163			}
25164			if err := v.Validate(); err != nil {
25165				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "VoiceConnectorItems", i), err.(request.ErrInvalidParams))
25166			}
25167		}
25168	}
25169
25170	if invalidParams.Len() > 0 {
25171		return invalidParams
25172	}
25173	return nil
25174}
25175
25176// SetName sets the Name field's value.
25177func (s *CreateVoiceConnectorGroupInput) SetName(v string) *CreateVoiceConnectorGroupInput {
25178	s.Name = &v
25179	return s
25180}
25181
25182// SetVoiceConnectorItems sets the VoiceConnectorItems field's value.
25183func (s *CreateVoiceConnectorGroupInput) SetVoiceConnectorItems(v []*VoiceConnectorItem) *CreateVoiceConnectorGroupInput {
25184	s.VoiceConnectorItems = v
25185	return s
25186}
25187
25188type CreateVoiceConnectorGroupOutput struct {
25189	_ struct{} `type:"structure"`
25190
25191	// The Amazon Chime Voice Connector group details.
25192	VoiceConnectorGroup *VoiceConnectorGroup `type:"structure"`
25193}
25194
25195// String returns the string representation
25196func (s CreateVoiceConnectorGroupOutput) String() string {
25197	return awsutil.Prettify(s)
25198}
25199
25200// GoString returns the string representation
25201func (s CreateVoiceConnectorGroupOutput) GoString() string {
25202	return s.String()
25203}
25204
25205// SetVoiceConnectorGroup sets the VoiceConnectorGroup field's value.
25206func (s *CreateVoiceConnectorGroupOutput) SetVoiceConnectorGroup(v *VoiceConnectorGroup) *CreateVoiceConnectorGroupOutput {
25207	s.VoiceConnectorGroup = v
25208	return s
25209}
25210
25211type CreateVoiceConnectorInput struct {
25212	_ struct{} `type:"structure"`
25213
25214	// The AWS Region in which the Amazon Chime Voice Connector is created. Default
25215	// value: us-east-1 .
25216	AwsRegion *string `type:"string" enum:"VoiceConnectorAwsRegion"`
25217
25218	// The name of the Amazon Chime Voice Connector.
25219	//
25220	// Name is a required field
25221	Name *string `min:"1" type:"string" required:"true"`
25222
25223	// When enabled, requires encryption for the Amazon Chime Voice Connector.
25224	//
25225	// RequireEncryption is a required field
25226	RequireEncryption *bool `type:"boolean" required:"true"`
25227}
25228
25229// String returns the string representation
25230func (s CreateVoiceConnectorInput) String() string {
25231	return awsutil.Prettify(s)
25232}
25233
25234// GoString returns the string representation
25235func (s CreateVoiceConnectorInput) GoString() string {
25236	return s.String()
25237}
25238
25239// Validate inspects the fields of the type to determine if they are valid.
25240func (s *CreateVoiceConnectorInput) Validate() error {
25241	invalidParams := request.ErrInvalidParams{Context: "CreateVoiceConnectorInput"}
25242	if s.Name == nil {
25243		invalidParams.Add(request.NewErrParamRequired("Name"))
25244	}
25245	if s.Name != nil && len(*s.Name) < 1 {
25246		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
25247	}
25248	if s.RequireEncryption == nil {
25249		invalidParams.Add(request.NewErrParamRequired("RequireEncryption"))
25250	}
25251
25252	if invalidParams.Len() > 0 {
25253		return invalidParams
25254	}
25255	return nil
25256}
25257
25258// SetAwsRegion sets the AwsRegion field's value.
25259func (s *CreateVoiceConnectorInput) SetAwsRegion(v string) *CreateVoiceConnectorInput {
25260	s.AwsRegion = &v
25261	return s
25262}
25263
25264// SetName sets the Name field's value.
25265func (s *CreateVoiceConnectorInput) SetName(v string) *CreateVoiceConnectorInput {
25266	s.Name = &v
25267	return s
25268}
25269
25270// SetRequireEncryption sets the RequireEncryption field's value.
25271func (s *CreateVoiceConnectorInput) SetRequireEncryption(v bool) *CreateVoiceConnectorInput {
25272	s.RequireEncryption = &v
25273	return s
25274}
25275
25276type CreateVoiceConnectorOutput struct {
25277	_ struct{} `type:"structure"`
25278
25279	// The Amazon Chime Voice Connector details.
25280	VoiceConnector *VoiceConnector `type:"structure"`
25281}
25282
25283// String returns the string representation
25284func (s CreateVoiceConnectorOutput) String() string {
25285	return awsutil.Prettify(s)
25286}
25287
25288// GoString returns the string representation
25289func (s CreateVoiceConnectorOutput) GoString() string {
25290	return s.String()
25291}
25292
25293// SetVoiceConnector sets the VoiceConnector field's value.
25294func (s *CreateVoiceConnectorOutput) SetVoiceConnector(v *VoiceConnector) *CreateVoiceConnectorOutput {
25295	s.VoiceConnector = v
25296	return s
25297}
25298
25299// The SIP credentials used to authenticate requests to your Amazon Chime Voice
25300// Connector.
25301type Credential struct {
25302	_ struct{} `type:"structure"`
25303
25304	// The RFC2617 compliant password associated with the SIP credentials, in US-ASCII
25305	// format.
25306	Password *string `type:"string" sensitive:"true"`
25307
25308	// The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII
25309	// format.
25310	Username *string `type:"string" sensitive:"true"`
25311}
25312
25313// String returns the string representation
25314func (s Credential) String() string {
25315	return awsutil.Prettify(s)
25316}
25317
25318// GoString returns the string representation
25319func (s Credential) GoString() string {
25320	return s.String()
25321}
25322
25323// SetPassword sets the Password field's value.
25324func (s *Credential) SetPassword(v string) *Credential {
25325	s.Password = &v
25326	return s
25327}
25328
25329// SetUsername sets the Username field's value.
25330func (s *Credential) SetUsername(v string) *Credential {
25331	s.Username = &v
25332	return s
25333}
25334
25335// The Dialed Number Identification Service (DNIS) emergency calling configuration
25336// details associated with an Amazon Chime Voice Connector's emergency calling
25337// configuration.
25338type DNISEmergencyCallingConfiguration struct {
25339	_ struct{} `type:"structure"`
25340
25341	// The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
25342	// format.
25343	//
25344	// CallingCountry is a required field
25345	CallingCountry *string `type:"string" required:"true"`
25346
25347	// The DNIS phone number to route emergency calls to, in E.164 format.
25348	//
25349	// EmergencyPhoneNumber is a required field
25350	EmergencyPhoneNumber *string `type:"string" required:"true" sensitive:"true"`
25351
25352	// The DNIS phone number to route test emergency calls to, in E.164 format.
25353	TestPhoneNumber *string `type:"string" sensitive:"true"`
25354}
25355
25356// String returns the string representation
25357func (s DNISEmergencyCallingConfiguration) String() string {
25358	return awsutil.Prettify(s)
25359}
25360
25361// GoString returns the string representation
25362func (s DNISEmergencyCallingConfiguration) GoString() string {
25363	return s.String()
25364}
25365
25366// Validate inspects the fields of the type to determine if they are valid.
25367func (s *DNISEmergencyCallingConfiguration) Validate() error {
25368	invalidParams := request.ErrInvalidParams{Context: "DNISEmergencyCallingConfiguration"}
25369	if s.CallingCountry == nil {
25370		invalidParams.Add(request.NewErrParamRequired("CallingCountry"))
25371	}
25372	if s.EmergencyPhoneNumber == nil {
25373		invalidParams.Add(request.NewErrParamRequired("EmergencyPhoneNumber"))
25374	}
25375
25376	if invalidParams.Len() > 0 {
25377		return invalidParams
25378	}
25379	return nil
25380}
25381
25382// SetCallingCountry sets the CallingCountry field's value.
25383func (s *DNISEmergencyCallingConfiguration) SetCallingCountry(v string) *DNISEmergencyCallingConfiguration {
25384	s.CallingCountry = &v
25385	return s
25386}
25387
25388// SetEmergencyPhoneNumber sets the EmergencyPhoneNumber field's value.
25389func (s *DNISEmergencyCallingConfiguration) SetEmergencyPhoneNumber(v string) *DNISEmergencyCallingConfiguration {
25390	s.EmergencyPhoneNumber = &v
25391	return s
25392}
25393
25394// SetTestPhoneNumber sets the TestPhoneNumber field's value.
25395func (s *DNISEmergencyCallingConfiguration) SetTestPhoneNumber(v string) *DNISEmergencyCallingConfiguration {
25396	s.TestPhoneNumber = &v
25397	return s
25398}
25399
25400type DeleteAccountInput struct {
25401	_ struct{} `type:"structure"`
25402
25403	// The Amazon Chime account ID.
25404	//
25405	// AccountId is a required field
25406	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
25407}
25408
25409// String returns the string representation
25410func (s DeleteAccountInput) String() string {
25411	return awsutil.Prettify(s)
25412}
25413
25414// GoString returns the string representation
25415func (s DeleteAccountInput) GoString() string {
25416	return s.String()
25417}
25418
25419// Validate inspects the fields of the type to determine if they are valid.
25420func (s *DeleteAccountInput) Validate() error {
25421	invalidParams := request.ErrInvalidParams{Context: "DeleteAccountInput"}
25422	if s.AccountId == nil {
25423		invalidParams.Add(request.NewErrParamRequired("AccountId"))
25424	}
25425	if s.AccountId != nil && len(*s.AccountId) < 1 {
25426		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
25427	}
25428
25429	if invalidParams.Len() > 0 {
25430		return invalidParams
25431	}
25432	return nil
25433}
25434
25435// SetAccountId sets the AccountId field's value.
25436func (s *DeleteAccountInput) SetAccountId(v string) *DeleteAccountInput {
25437	s.AccountId = &v
25438	return s
25439}
25440
25441type DeleteAccountOutput struct {
25442	_ struct{} `type:"structure"`
25443}
25444
25445// String returns the string representation
25446func (s DeleteAccountOutput) String() string {
25447	return awsutil.Prettify(s)
25448}
25449
25450// GoString returns the string representation
25451func (s DeleteAccountOutput) GoString() string {
25452	return s.String()
25453}
25454
25455type DeleteAppInstanceAdminInput struct {
25456	_ struct{} `type:"structure"`
25457
25458	// The ARN of the AppInstance's administrator.
25459	//
25460	// AppInstanceAdminArn is a required field
25461	AppInstanceAdminArn *string `location:"uri" locationName:"appInstanceAdminArn" min:"5" type:"string" required:"true"`
25462
25463	// The ARN of the AppInstance.
25464	//
25465	// AppInstanceArn is a required field
25466	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
25467}
25468
25469// String returns the string representation
25470func (s DeleteAppInstanceAdminInput) String() string {
25471	return awsutil.Prettify(s)
25472}
25473
25474// GoString returns the string representation
25475func (s DeleteAppInstanceAdminInput) GoString() string {
25476	return s.String()
25477}
25478
25479// Validate inspects the fields of the type to determine if they are valid.
25480func (s *DeleteAppInstanceAdminInput) Validate() error {
25481	invalidParams := request.ErrInvalidParams{Context: "DeleteAppInstanceAdminInput"}
25482	if s.AppInstanceAdminArn == nil {
25483		invalidParams.Add(request.NewErrParamRequired("AppInstanceAdminArn"))
25484	}
25485	if s.AppInstanceAdminArn != nil && len(*s.AppInstanceAdminArn) < 5 {
25486		invalidParams.Add(request.NewErrParamMinLen("AppInstanceAdminArn", 5))
25487	}
25488	if s.AppInstanceArn == nil {
25489		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
25490	}
25491	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
25492		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
25493	}
25494
25495	if invalidParams.Len() > 0 {
25496		return invalidParams
25497	}
25498	return nil
25499}
25500
25501// SetAppInstanceAdminArn sets the AppInstanceAdminArn field's value.
25502func (s *DeleteAppInstanceAdminInput) SetAppInstanceAdminArn(v string) *DeleteAppInstanceAdminInput {
25503	s.AppInstanceAdminArn = &v
25504	return s
25505}
25506
25507// SetAppInstanceArn sets the AppInstanceArn field's value.
25508func (s *DeleteAppInstanceAdminInput) SetAppInstanceArn(v string) *DeleteAppInstanceAdminInput {
25509	s.AppInstanceArn = &v
25510	return s
25511}
25512
25513type DeleteAppInstanceAdminOutput struct {
25514	_ struct{} `type:"structure"`
25515}
25516
25517// String returns the string representation
25518func (s DeleteAppInstanceAdminOutput) String() string {
25519	return awsutil.Prettify(s)
25520}
25521
25522// GoString returns the string representation
25523func (s DeleteAppInstanceAdminOutput) GoString() string {
25524	return s.String()
25525}
25526
25527type DeleteAppInstanceInput struct {
25528	_ struct{} `type:"structure"`
25529
25530	// The ARN of the AppInstance.
25531	//
25532	// AppInstanceArn is a required field
25533	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
25534}
25535
25536// String returns the string representation
25537func (s DeleteAppInstanceInput) String() string {
25538	return awsutil.Prettify(s)
25539}
25540
25541// GoString returns the string representation
25542func (s DeleteAppInstanceInput) GoString() string {
25543	return s.String()
25544}
25545
25546// Validate inspects the fields of the type to determine if they are valid.
25547func (s *DeleteAppInstanceInput) Validate() error {
25548	invalidParams := request.ErrInvalidParams{Context: "DeleteAppInstanceInput"}
25549	if s.AppInstanceArn == nil {
25550		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
25551	}
25552	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
25553		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
25554	}
25555
25556	if invalidParams.Len() > 0 {
25557		return invalidParams
25558	}
25559	return nil
25560}
25561
25562// SetAppInstanceArn sets the AppInstanceArn field's value.
25563func (s *DeleteAppInstanceInput) SetAppInstanceArn(v string) *DeleteAppInstanceInput {
25564	s.AppInstanceArn = &v
25565	return s
25566}
25567
25568type DeleteAppInstanceOutput struct {
25569	_ struct{} `type:"structure"`
25570}
25571
25572// String returns the string representation
25573func (s DeleteAppInstanceOutput) String() string {
25574	return awsutil.Prettify(s)
25575}
25576
25577// GoString returns the string representation
25578func (s DeleteAppInstanceOutput) GoString() string {
25579	return s.String()
25580}
25581
25582type DeleteAppInstanceStreamingConfigurationsInput struct {
25583	_ struct{} `type:"structure"`
25584
25585	// The ARN of the streaming configurations being deleted.
25586	//
25587	// AppInstanceArn is a required field
25588	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
25589}
25590
25591// String returns the string representation
25592func (s DeleteAppInstanceStreamingConfigurationsInput) String() string {
25593	return awsutil.Prettify(s)
25594}
25595
25596// GoString returns the string representation
25597func (s DeleteAppInstanceStreamingConfigurationsInput) GoString() string {
25598	return s.String()
25599}
25600
25601// Validate inspects the fields of the type to determine if they are valid.
25602func (s *DeleteAppInstanceStreamingConfigurationsInput) Validate() error {
25603	invalidParams := request.ErrInvalidParams{Context: "DeleteAppInstanceStreamingConfigurationsInput"}
25604	if s.AppInstanceArn == nil {
25605		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
25606	}
25607	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
25608		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
25609	}
25610
25611	if invalidParams.Len() > 0 {
25612		return invalidParams
25613	}
25614	return nil
25615}
25616
25617// SetAppInstanceArn sets the AppInstanceArn field's value.
25618func (s *DeleteAppInstanceStreamingConfigurationsInput) SetAppInstanceArn(v string) *DeleteAppInstanceStreamingConfigurationsInput {
25619	s.AppInstanceArn = &v
25620	return s
25621}
25622
25623type DeleteAppInstanceStreamingConfigurationsOutput struct {
25624	_ struct{} `type:"structure"`
25625}
25626
25627// String returns the string representation
25628func (s DeleteAppInstanceStreamingConfigurationsOutput) String() string {
25629	return awsutil.Prettify(s)
25630}
25631
25632// GoString returns the string representation
25633func (s DeleteAppInstanceStreamingConfigurationsOutput) GoString() string {
25634	return s.String()
25635}
25636
25637type DeleteAppInstanceUserInput struct {
25638	_ struct{} `type:"structure"`
25639
25640	// The ARN of the user request being deleted.
25641	//
25642	// AppInstanceUserArn is a required field
25643	AppInstanceUserArn *string `location:"uri" locationName:"appInstanceUserArn" min:"5" type:"string" required:"true"`
25644}
25645
25646// String returns the string representation
25647func (s DeleteAppInstanceUserInput) String() string {
25648	return awsutil.Prettify(s)
25649}
25650
25651// GoString returns the string representation
25652func (s DeleteAppInstanceUserInput) GoString() string {
25653	return s.String()
25654}
25655
25656// Validate inspects the fields of the type to determine if they are valid.
25657func (s *DeleteAppInstanceUserInput) Validate() error {
25658	invalidParams := request.ErrInvalidParams{Context: "DeleteAppInstanceUserInput"}
25659	if s.AppInstanceUserArn == nil {
25660		invalidParams.Add(request.NewErrParamRequired("AppInstanceUserArn"))
25661	}
25662	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
25663		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
25664	}
25665
25666	if invalidParams.Len() > 0 {
25667		return invalidParams
25668	}
25669	return nil
25670}
25671
25672// SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
25673func (s *DeleteAppInstanceUserInput) SetAppInstanceUserArn(v string) *DeleteAppInstanceUserInput {
25674	s.AppInstanceUserArn = &v
25675	return s
25676}
25677
25678type DeleteAppInstanceUserOutput struct {
25679	_ struct{} `type:"structure"`
25680}
25681
25682// String returns the string representation
25683func (s DeleteAppInstanceUserOutput) String() string {
25684	return awsutil.Prettify(s)
25685}
25686
25687// GoString returns the string representation
25688func (s DeleteAppInstanceUserOutput) GoString() string {
25689	return s.String()
25690}
25691
25692type DeleteAttendeeInput struct {
25693	_ struct{} `type:"structure"`
25694
25695	// The Amazon Chime SDK attendee ID.
25696	//
25697	// AttendeeId is a required field
25698	AttendeeId *string `location:"uri" locationName:"attendeeId" type:"string" required:"true"`
25699
25700	// The Amazon Chime SDK meeting ID.
25701	//
25702	// MeetingId is a required field
25703	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
25704}
25705
25706// String returns the string representation
25707func (s DeleteAttendeeInput) String() string {
25708	return awsutil.Prettify(s)
25709}
25710
25711// GoString returns the string representation
25712func (s DeleteAttendeeInput) GoString() string {
25713	return s.String()
25714}
25715
25716// Validate inspects the fields of the type to determine if they are valid.
25717func (s *DeleteAttendeeInput) Validate() error {
25718	invalidParams := request.ErrInvalidParams{Context: "DeleteAttendeeInput"}
25719	if s.AttendeeId == nil {
25720		invalidParams.Add(request.NewErrParamRequired("AttendeeId"))
25721	}
25722	if s.AttendeeId != nil && len(*s.AttendeeId) < 1 {
25723		invalidParams.Add(request.NewErrParamMinLen("AttendeeId", 1))
25724	}
25725	if s.MeetingId == nil {
25726		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
25727	}
25728	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
25729		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
25730	}
25731
25732	if invalidParams.Len() > 0 {
25733		return invalidParams
25734	}
25735	return nil
25736}
25737
25738// SetAttendeeId sets the AttendeeId field's value.
25739func (s *DeleteAttendeeInput) SetAttendeeId(v string) *DeleteAttendeeInput {
25740	s.AttendeeId = &v
25741	return s
25742}
25743
25744// SetMeetingId sets the MeetingId field's value.
25745func (s *DeleteAttendeeInput) SetMeetingId(v string) *DeleteAttendeeInput {
25746	s.MeetingId = &v
25747	return s
25748}
25749
25750type DeleteAttendeeOutput struct {
25751	_ struct{} `type:"structure"`
25752}
25753
25754// String returns the string representation
25755func (s DeleteAttendeeOutput) String() string {
25756	return awsutil.Prettify(s)
25757}
25758
25759// GoString returns the string representation
25760func (s DeleteAttendeeOutput) GoString() string {
25761	return s.String()
25762}
25763
25764type DeleteChannelBanInput struct {
25765	_ struct{} `type:"structure"`
25766
25767	// The ARN of the channel from which the AppInstanceUser was banned.
25768	//
25769	// ChannelArn is a required field
25770	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
25771
25772	// The AppInstanceUserArn of the user that makes the API call.
25773	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
25774
25775	// The ARN of the AppInstanceUser that you want to reinstate.
25776	//
25777	// MemberArn is a required field
25778	MemberArn *string `location:"uri" locationName:"memberArn" min:"5" type:"string" required:"true"`
25779}
25780
25781// String returns the string representation
25782func (s DeleteChannelBanInput) String() string {
25783	return awsutil.Prettify(s)
25784}
25785
25786// GoString returns the string representation
25787func (s DeleteChannelBanInput) GoString() string {
25788	return s.String()
25789}
25790
25791// Validate inspects the fields of the type to determine if they are valid.
25792func (s *DeleteChannelBanInput) Validate() error {
25793	invalidParams := request.ErrInvalidParams{Context: "DeleteChannelBanInput"}
25794	if s.ChannelArn == nil {
25795		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
25796	}
25797	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
25798		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
25799	}
25800	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
25801		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
25802	}
25803	if s.MemberArn == nil {
25804		invalidParams.Add(request.NewErrParamRequired("MemberArn"))
25805	}
25806	if s.MemberArn != nil && len(*s.MemberArn) < 5 {
25807		invalidParams.Add(request.NewErrParamMinLen("MemberArn", 5))
25808	}
25809
25810	if invalidParams.Len() > 0 {
25811		return invalidParams
25812	}
25813	return nil
25814}
25815
25816// SetChannelArn sets the ChannelArn field's value.
25817func (s *DeleteChannelBanInput) SetChannelArn(v string) *DeleteChannelBanInput {
25818	s.ChannelArn = &v
25819	return s
25820}
25821
25822// SetChimeBearer sets the ChimeBearer field's value.
25823func (s *DeleteChannelBanInput) SetChimeBearer(v string) *DeleteChannelBanInput {
25824	s.ChimeBearer = &v
25825	return s
25826}
25827
25828// SetMemberArn sets the MemberArn field's value.
25829func (s *DeleteChannelBanInput) SetMemberArn(v string) *DeleteChannelBanInput {
25830	s.MemberArn = &v
25831	return s
25832}
25833
25834type DeleteChannelBanOutput struct {
25835	_ struct{} `type:"structure"`
25836}
25837
25838// String returns the string representation
25839func (s DeleteChannelBanOutput) String() string {
25840	return awsutil.Prettify(s)
25841}
25842
25843// GoString returns the string representation
25844func (s DeleteChannelBanOutput) GoString() string {
25845	return s.String()
25846}
25847
25848type DeleteChannelInput struct {
25849	_ struct{} `type:"structure"`
25850
25851	// The ARN of the channel being deleted.
25852	//
25853	// ChannelArn is a required field
25854	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
25855
25856	// The AppInstanceUserArn of the user that makes the API call.
25857	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
25858}
25859
25860// String returns the string representation
25861func (s DeleteChannelInput) String() string {
25862	return awsutil.Prettify(s)
25863}
25864
25865// GoString returns the string representation
25866func (s DeleteChannelInput) GoString() string {
25867	return s.String()
25868}
25869
25870// Validate inspects the fields of the type to determine if they are valid.
25871func (s *DeleteChannelInput) Validate() error {
25872	invalidParams := request.ErrInvalidParams{Context: "DeleteChannelInput"}
25873	if s.ChannelArn == nil {
25874		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
25875	}
25876	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
25877		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
25878	}
25879	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
25880		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
25881	}
25882
25883	if invalidParams.Len() > 0 {
25884		return invalidParams
25885	}
25886	return nil
25887}
25888
25889// SetChannelArn sets the ChannelArn field's value.
25890func (s *DeleteChannelInput) SetChannelArn(v string) *DeleteChannelInput {
25891	s.ChannelArn = &v
25892	return s
25893}
25894
25895// SetChimeBearer sets the ChimeBearer field's value.
25896func (s *DeleteChannelInput) SetChimeBearer(v string) *DeleteChannelInput {
25897	s.ChimeBearer = &v
25898	return s
25899}
25900
25901type DeleteChannelMembershipInput struct {
25902	_ struct{} `type:"structure"`
25903
25904	// The ARN of the channel from which you want to remove the user.
25905	//
25906	// ChannelArn is a required field
25907	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
25908
25909	// The AppInstanceUserArn of the user that makes the API call.
25910	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
25911
25912	// The ARN of the member that you're removing from the channel.
25913	//
25914	// MemberArn is a required field
25915	MemberArn *string `location:"uri" locationName:"memberArn" min:"5" type:"string" required:"true"`
25916}
25917
25918// String returns the string representation
25919func (s DeleteChannelMembershipInput) String() string {
25920	return awsutil.Prettify(s)
25921}
25922
25923// GoString returns the string representation
25924func (s DeleteChannelMembershipInput) GoString() string {
25925	return s.String()
25926}
25927
25928// Validate inspects the fields of the type to determine if they are valid.
25929func (s *DeleteChannelMembershipInput) Validate() error {
25930	invalidParams := request.ErrInvalidParams{Context: "DeleteChannelMembershipInput"}
25931	if s.ChannelArn == nil {
25932		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
25933	}
25934	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
25935		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
25936	}
25937	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
25938		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
25939	}
25940	if s.MemberArn == nil {
25941		invalidParams.Add(request.NewErrParamRequired("MemberArn"))
25942	}
25943	if s.MemberArn != nil && len(*s.MemberArn) < 5 {
25944		invalidParams.Add(request.NewErrParamMinLen("MemberArn", 5))
25945	}
25946
25947	if invalidParams.Len() > 0 {
25948		return invalidParams
25949	}
25950	return nil
25951}
25952
25953// SetChannelArn sets the ChannelArn field's value.
25954func (s *DeleteChannelMembershipInput) SetChannelArn(v string) *DeleteChannelMembershipInput {
25955	s.ChannelArn = &v
25956	return s
25957}
25958
25959// SetChimeBearer sets the ChimeBearer field's value.
25960func (s *DeleteChannelMembershipInput) SetChimeBearer(v string) *DeleteChannelMembershipInput {
25961	s.ChimeBearer = &v
25962	return s
25963}
25964
25965// SetMemberArn sets the MemberArn field's value.
25966func (s *DeleteChannelMembershipInput) SetMemberArn(v string) *DeleteChannelMembershipInput {
25967	s.MemberArn = &v
25968	return s
25969}
25970
25971type DeleteChannelMembershipOutput struct {
25972	_ struct{} `type:"structure"`
25973}
25974
25975// String returns the string representation
25976func (s DeleteChannelMembershipOutput) String() string {
25977	return awsutil.Prettify(s)
25978}
25979
25980// GoString returns the string representation
25981func (s DeleteChannelMembershipOutput) GoString() string {
25982	return s.String()
25983}
25984
25985type DeleteChannelMessageInput struct {
25986	_ struct{} `type:"structure"`
25987
25988	// The ARN of the channel.
25989	//
25990	// ChannelArn is a required field
25991	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
25992
25993	// The AppInstanceUserArn of the user that makes the API call.
25994	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
25995
25996	// The ID of the message being deleted.
25997	//
25998	// MessageId is a required field
25999	MessageId *string `location:"uri" locationName:"messageId" min:"1" type:"string" required:"true"`
26000}
26001
26002// String returns the string representation
26003func (s DeleteChannelMessageInput) String() string {
26004	return awsutil.Prettify(s)
26005}
26006
26007// GoString returns the string representation
26008func (s DeleteChannelMessageInput) GoString() string {
26009	return s.String()
26010}
26011
26012// Validate inspects the fields of the type to determine if they are valid.
26013func (s *DeleteChannelMessageInput) Validate() error {
26014	invalidParams := request.ErrInvalidParams{Context: "DeleteChannelMessageInput"}
26015	if s.ChannelArn == nil {
26016		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
26017	}
26018	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
26019		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
26020	}
26021	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
26022		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
26023	}
26024	if s.MessageId == nil {
26025		invalidParams.Add(request.NewErrParamRequired("MessageId"))
26026	}
26027	if s.MessageId != nil && len(*s.MessageId) < 1 {
26028		invalidParams.Add(request.NewErrParamMinLen("MessageId", 1))
26029	}
26030
26031	if invalidParams.Len() > 0 {
26032		return invalidParams
26033	}
26034	return nil
26035}
26036
26037// SetChannelArn sets the ChannelArn field's value.
26038func (s *DeleteChannelMessageInput) SetChannelArn(v string) *DeleteChannelMessageInput {
26039	s.ChannelArn = &v
26040	return s
26041}
26042
26043// SetChimeBearer sets the ChimeBearer field's value.
26044func (s *DeleteChannelMessageInput) SetChimeBearer(v string) *DeleteChannelMessageInput {
26045	s.ChimeBearer = &v
26046	return s
26047}
26048
26049// SetMessageId sets the MessageId field's value.
26050func (s *DeleteChannelMessageInput) SetMessageId(v string) *DeleteChannelMessageInput {
26051	s.MessageId = &v
26052	return s
26053}
26054
26055type DeleteChannelMessageOutput struct {
26056	_ struct{} `type:"structure"`
26057}
26058
26059// String returns the string representation
26060func (s DeleteChannelMessageOutput) String() string {
26061	return awsutil.Prettify(s)
26062}
26063
26064// GoString returns the string representation
26065func (s DeleteChannelMessageOutput) GoString() string {
26066	return s.String()
26067}
26068
26069type DeleteChannelModeratorInput struct {
26070	_ struct{} `type:"structure"`
26071
26072	// The ARN of the channel.
26073	//
26074	// ChannelArn is a required field
26075	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
26076
26077	// The ARN of the moderator being deleted.
26078	//
26079	// ChannelModeratorArn is a required field
26080	ChannelModeratorArn *string `location:"uri" locationName:"channelModeratorArn" min:"5" type:"string" required:"true"`
26081
26082	// The AppInstanceUserArn of the user that makes the API call.
26083	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
26084}
26085
26086// String returns the string representation
26087func (s DeleteChannelModeratorInput) String() string {
26088	return awsutil.Prettify(s)
26089}
26090
26091// GoString returns the string representation
26092func (s DeleteChannelModeratorInput) GoString() string {
26093	return s.String()
26094}
26095
26096// Validate inspects the fields of the type to determine if they are valid.
26097func (s *DeleteChannelModeratorInput) Validate() error {
26098	invalidParams := request.ErrInvalidParams{Context: "DeleteChannelModeratorInput"}
26099	if s.ChannelArn == nil {
26100		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
26101	}
26102	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
26103		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
26104	}
26105	if s.ChannelModeratorArn == nil {
26106		invalidParams.Add(request.NewErrParamRequired("ChannelModeratorArn"))
26107	}
26108	if s.ChannelModeratorArn != nil && len(*s.ChannelModeratorArn) < 5 {
26109		invalidParams.Add(request.NewErrParamMinLen("ChannelModeratorArn", 5))
26110	}
26111	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
26112		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
26113	}
26114
26115	if invalidParams.Len() > 0 {
26116		return invalidParams
26117	}
26118	return nil
26119}
26120
26121// SetChannelArn sets the ChannelArn field's value.
26122func (s *DeleteChannelModeratorInput) SetChannelArn(v string) *DeleteChannelModeratorInput {
26123	s.ChannelArn = &v
26124	return s
26125}
26126
26127// SetChannelModeratorArn sets the ChannelModeratorArn field's value.
26128func (s *DeleteChannelModeratorInput) SetChannelModeratorArn(v string) *DeleteChannelModeratorInput {
26129	s.ChannelModeratorArn = &v
26130	return s
26131}
26132
26133// SetChimeBearer sets the ChimeBearer field's value.
26134func (s *DeleteChannelModeratorInput) SetChimeBearer(v string) *DeleteChannelModeratorInput {
26135	s.ChimeBearer = &v
26136	return s
26137}
26138
26139type DeleteChannelModeratorOutput struct {
26140	_ struct{} `type:"structure"`
26141}
26142
26143// String returns the string representation
26144func (s DeleteChannelModeratorOutput) String() string {
26145	return awsutil.Prettify(s)
26146}
26147
26148// GoString returns the string representation
26149func (s DeleteChannelModeratorOutput) GoString() string {
26150	return s.String()
26151}
26152
26153type DeleteChannelOutput struct {
26154	_ struct{} `type:"structure"`
26155}
26156
26157// String returns the string representation
26158func (s DeleteChannelOutput) String() string {
26159	return awsutil.Prettify(s)
26160}
26161
26162// GoString returns the string representation
26163func (s DeleteChannelOutput) GoString() string {
26164	return s.String()
26165}
26166
26167type DeleteEventsConfigurationInput struct {
26168	_ struct{} `type:"structure"`
26169
26170	// The Amazon Chime account ID.
26171	//
26172	// AccountId is a required field
26173	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
26174
26175	// The bot ID.
26176	//
26177	// BotId is a required field
26178	BotId *string `location:"uri" locationName:"botId" type:"string" required:"true"`
26179}
26180
26181// String returns the string representation
26182func (s DeleteEventsConfigurationInput) String() string {
26183	return awsutil.Prettify(s)
26184}
26185
26186// GoString returns the string representation
26187func (s DeleteEventsConfigurationInput) GoString() string {
26188	return s.String()
26189}
26190
26191// Validate inspects the fields of the type to determine if they are valid.
26192func (s *DeleteEventsConfigurationInput) Validate() error {
26193	invalidParams := request.ErrInvalidParams{Context: "DeleteEventsConfigurationInput"}
26194	if s.AccountId == nil {
26195		invalidParams.Add(request.NewErrParamRequired("AccountId"))
26196	}
26197	if s.AccountId != nil && len(*s.AccountId) < 1 {
26198		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
26199	}
26200	if s.BotId == nil {
26201		invalidParams.Add(request.NewErrParamRequired("BotId"))
26202	}
26203	if s.BotId != nil && len(*s.BotId) < 1 {
26204		invalidParams.Add(request.NewErrParamMinLen("BotId", 1))
26205	}
26206
26207	if invalidParams.Len() > 0 {
26208		return invalidParams
26209	}
26210	return nil
26211}
26212
26213// SetAccountId sets the AccountId field's value.
26214func (s *DeleteEventsConfigurationInput) SetAccountId(v string) *DeleteEventsConfigurationInput {
26215	s.AccountId = &v
26216	return s
26217}
26218
26219// SetBotId sets the BotId field's value.
26220func (s *DeleteEventsConfigurationInput) SetBotId(v string) *DeleteEventsConfigurationInput {
26221	s.BotId = &v
26222	return s
26223}
26224
26225type DeleteEventsConfigurationOutput struct {
26226	_ struct{} `type:"structure"`
26227}
26228
26229// String returns the string representation
26230func (s DeleteEventsConfigurationOutput) String() string {
26231	return awsutil.Prettify(s)
26232}
26233
26234// GoString returns the string representation
26235func (s DeleteEventsConfigurationOutput) GoString() string {
26236	return s.String()
26237}
26238
26239type DeleteMeetingInput struct {
26240	_ struct{} `type:"structure"`
26241
26242	// The Amazon Chime SDK meeting ID.
26243	//
26244	// MeetingId is a required field
26245	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
26246}
26247
26248// String returns the string representation
26249func (s DeleteMeetingInput) String() string {
26250	return awsutil.Prettify(s)
26251}
26252
26253// GoString returns the string representation
26254func (s DeleteMeetingInput) GoString() string {
26255	return s.String()
26256}
26257
26258// Validate inspects the fields of the type to determine if they are valid.
26259func (s *DeleteMeetingInput) Validate() error {
26260	invalidParams := request.ErrInvalidParams{Context: "DeleteMeetingInput"}
26261	if s.MeetingId == nil {
26262		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
26263	}
26264	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
26265		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
26266	}
26267
26268	if invalidParams.Len() > 0 {
26269		return invalidParams
26270	}
26271	return nil
26272}
26273
26274// SetMeetingId sets the MeetingId field's value.
26275func (s *DeleteMeetingInput) SetMeetingId(v string) *DeleteMeetingInput {
26276	s.MeetingId = &v
26277	return s
26278}
26279
26280type DeleteMeetingOutput struct {
26281	_ struct{} `type:"structure"`
26282}
26283
26284// String returns the string representation
26285func (s DeleteMeetingOutput) String() string {
26286	return awsutil.Prettify(s)
26287}
26288
26289// GoString returns the string representation
26290func (s DeleteMeetingOutput) GoString() string {
26291	return s.String()
26292}
26293
26294type DeletePhoneNumberInput struct {
26295	_ struct{} `type:"structure"`
26296
26297	// The phone number ID.
26298	//
26299	// PhoneNumberId is a required field
26300	PhoneNumberId *string `location:"uri" locationName:"phoneNumberId" type:"string" required:"true"`
26301}
26302
26303// String returns the string representation
26304func (s DeletePhoneNumberInput) String() string {
26305	return awsutil.Prettify(s)
26306}
26307
26308// GoString returns the string representation
26309func (s DeletePhoneNumberInput) GoString() string {
26310	return s.String()
26311}
26312
26313// Validate inspects the fields of the type to determine if they are valid.
26314func (s *DeletePhoneNumberInput) Validate() error {
26315	invalidParams := request.ErrInvalidParams{Context: "DeletePhoneNumberInput"}
26316	if s.PhoneNumberId == nil {
26317		invalidParams.Add(request.NewErrParamRequired("PhoneNumberId"))
26318	}
26319	if s.PhoneNumberId != nil && len(*s.PhoneNumberId) < 1 {
26320		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberId", 1))
26321	}
26322
26323	if invalidParams.Len() > 0 {
26324		return invalidParams
26325	}
26326	return nil
26327}
26328
26329// SetPhoneNumberId sets the PhoneNumberId field's value.
26330func (s *DeletePhoneNumberInput) SetPhoneNumberId(v string) *DeletePhoneNumberInput {
26331	s.PhoneNumberId = &v
26332	return s
26333}
26334
26335type DeletePhoneNumberOutput struct {
26336	_ struct{} `type:"structure"`
26337}
26338
26339// String returns the string representation
26340func (s DeletePhoneNumberOutput) String() string {
26341	return awsutil.Prettify(s)
26342}
26343
26344// GoString returns the string representation
26345func (s DeletePhoneNumberOutput) GoString() string {
26346	return s.String()
26347}
26348
26349type DeleteProxySessionInput struct {
26350	_ struct{} `type:"structure"`
26351
26352	// The proxy session ID.
26353	//
26354	// ProxySessionId is a required field
26355	ProxySessionId *string `location:"uri" locationName:"proxySessionId" min:"1" type:"string" required:"true"`
26356
26357	// The Amazon Chime voice connector ID.
26358	//
26359	// VoiceConnectorId is a required field
26360	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
26361}
26362
26363// String returns the string representation
26364func (s DeleteProxySessionInput) String() string {
26365	return awsutil.Prettify(s)
26366}
26367
26368// GoString returns the string representation
26369func (s DeleteProxySessionInput) GoString() string {
26370	return s.String()
26371}
26372
26373// Validate inspects the fields of the type to determine if they are valid.
26374func (s *DeleteProxySessionInput) Validate() error {
26375	invalidParams := request.ErrInvalidParams{Context: "DeleteProxySessionInput"}
26376	if s.ProxySessionId == nil {
26377		invalidParams.Add(request.NewErrParamRequired("ProxySessionId"))
26378	}
26379	if s.ProxySessionId != nil && len(*s.ProxySessionId) < 1 {
26380		invalidParams.Add(request.NewErrParamMinLen("ProxySessionId", 1))
26381	}
26382	if s.VoiceConnectorId == nil {
26383		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
26384	}
26385	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
26386		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
26387	}
26388
26389	if invalidParams.Len() > 0 {
26390		return invalidParams
26391	}
26392	return nil
26393}
26394
26395// SetProxySessionId sets the ProxySessionId field's value.
26396func (s *DeleteProxySessionInput) SetProxySessionId(v string) *DeleteProxySessionInput {
26397	s.ProxySessionId = &v
26398	return s
26399}
26400
26401// SetVoiceConnectorId sets the VoiceConnectorId field's value.
26402func (s *DeleteProxySessionInput) SetVoiceConnectorId(v string) *DeleteProxySessionInput {
26403	s.VoiceConnectorId = &v
26404	return s
26405}
26406
26407type DeleteProxySessionOutput struct {
26408	_ struct{} `type:"structure"`
26409}
26410
26411// String returns the string representation
26412func (s DeleteProxySessionOutput) String() string {
26413	return awsutil.Prettify(s)
26414}
26415
26416// GoString returns the string representation
26417func (s DeleteProxySessionOutput) GoString() string {
26418	return s.String()
26419}
26420
26421type DeleteRoomInput struct {
26422	_ struct{} `type:"structure"`
26423
26424	// The Amazon Chime account ID.
26425	//
26426	// AccountId is a required field
26427	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
26428
26429	// The chat room ID.
26430	//
26431	// RoomId is a required field
26432	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
26433}
26434
26435// String returns the string representation
26436func (s DeleteRoomInput) String() string {
26437	return awsutil.Prettify(s)
26438}
26439
26440// GoString returns the string representation
26441func (s DeleteRoomInput) GoString() string {
26442	return s.String()
26443}
26444
26445// Validate inspects the fields of the type to determine if they are valid.
26446func (s *DeleteRoomInput) Validate() error {
26447	invalidParams := request.ErrInvalidParams{Context: "DeleteRoomInput"}
26448	if s.AccountId == nil {
26449		invalidParams.Add(request.NewErrParamRequired("AccountId"))
26450	}
26451	if s.AccountId != nil && len(*s.AccountId) < 1 {
26452		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
26453	}
26454	if s.RoomId == nil {
26455		invalidParams.Add(request.NewErrParamRequired("RoomId"))
26456	}
26457	if s.RoomId != nil && len(*s.RoomId) < 1 {
26458		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
26459	}
26460
26461	if invalidParams.Len() > 0 {
26462		return invalidParams
26463	}
26464	return nil
26465}
26466
26467// SetAccountId sets the AccountId field's value.
26468func (s *DeleteRoomInput) SetAccountId(v string) *DeleteRoomInput {
26469	s.AccountId = &v
26470	return s
26471}
26472
26473// SetRoomId sets the RoomId field's value.
26474func (s *DeleteRoomInput) SetRoomId(v string) *DeleteRoomInput {
26475	s.RoomId = &v
26476	return s
26477}
26478
26479type DeleteRoomMembershipInput struct {
26480	_ struct{} `type:"structure"`
26481
26482	// The Amazon Chime account ID.
26483	//
26484	// AccountId is a required field
26485	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
26486
26487	// The member ID (user ID or bot ID).
26488	//
26489	// MemberId is a required field
26490	MemberId *string `location:"uri" locationName:"memberId" type:"string" required:"true"`
26491
26492	// The room ID.
26493	//
26494	// RoomId is a required field
26495	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
26496}
26497
26498// String returns the string representation
26499func (s DeleteRoomMembershipInput) String() string {
26500	return awsutil.Prettify(s)
26501}
26502
26503// GoString returns the string representation
26504func (s DeleteRoomMembershipInput) GoString() string {
26505	return s.String()
26506}
26507
26508// Validate inspects the fields of the type to determine if they are valid.
26509func (s *DeleteRoomMembershipInput) Validate() error {
26510	invalidParams := request.ErrInvalidParams{Context: "DeleteRoomMembershipInput"}
26511	if s.AccountId == nil {
26512		invalidParams.Add(request.NewErrParamRequired("AccountId"))
26513	}
26514	if s.AccountId != nil && len(*s.AccountId) < 1 {
26515		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
26516	}
26517	if s.MemberId == nil {
26518		invalidParams.Add(request.NewErrParamRequired("MemberId"))
26519	}
26520	if s.MemberId != nil && len(*s.MemberId) < 1 {
26521		invalidParams.Add(request.NewErrParamMinLen("MemberId", 1))
26522	}
26523	if s.RoomId == nil {
26524		invalidParams.Add(request.NewErrParamRequired("RoomId"))
26525	}
26526	if s.RoomId != nil && len(*s.RoomId) < 1 {
26527		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
26528	}
26529
26530	if invalidParams.Len() > 0 {
26531		return invalidParams
26532	}
26533	return nil
26534}
26535
26536// SetAccountId sets the AccountId field's value.
26537func (s *DeleteRoomMembershipInput) SetAccountId(v string) *DeleteRoomMembershipInput {
26538	s.AccountId = &v
26539	return s
26540}
26541
26542// SetMemberId sets the MemberId field's value.
26543func (s *DeleteRoomMembershipInput) SetMemberId(v string) *DeleteRoomMembershipInput {
26544	s.MemberId = &v
26545	return s
26546}
26547
26548// SetRoomId sets the RoomId field's value.
26549func (s *DeleteRoomMembershipInput) SetRoomId(v string) *DeleteRoomMembershipInput {
26550	s.RoomId = &v
26551	return s
26552}
26553
26554type DeleteRoomMembershipOutput struct {
26555	_ struct{} `type:"structure"`
26556}
26557
26558// String returns the string representation
26559func (s DeleteRoomMembershipOutput) String() string {
26560	return awsutil.Prettify(s)
26561}
26562
26563// GoString returns the string representation
26564func (s DeleteRoomMembershipOutput) GoString() string {
26565	return s.String()
26566}
26567
26568type DeleteRoomOutput struct {
26569	_ struct{} `type:"structure"`
26570}
26571
26572// String returns the string representation
26573func (s DeleteRoomOutput) String() string {
26574	return awsutil.Prettify(s)
26575}
26576
26577// GoString returns the string representation
26578func (s DeleteRoomOutput) GoString() string {
26579	return s.String()
26580}
26581
26582type DeleteSipMediaApplicationInput struct {
26583	_ struct{} `type:"structure"`
26584
26585	// The SIP media application ID.
26586	//
26587	// SipMediaApplicationId is a required field
26588	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
26589}
26590
26591// String returns the string representation
26592func (s DeleteSipMediaApplicationInput) String() string {
26593	return awsutil.Prettify(s)
26594}
26595
26596// GoString returns the string representation
26597func (s DeleteSipMediaApplicationInput) GoString() string {
26598	return s.String()
26599}
26600
26601// Validate inspects the fields of the type to determine if they are valid.
26602func (s *DeleteSipMediaApplicationInput) Validate() error {
26603	invalidParams := request.ErrInvalidParams{Context: "DeleteSipMediaApplicationInput"}
26604	if s.SipMediaApplicationId == nil {
26605		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
26606	}
26607	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
26608		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
26609	}
26610
26611	if invalidParams.Len() > 0 {
26612		return invalidParams
26613	}
26614	return nil
26615}
26616
26617// SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
26618func (s *DeleteSipMediaApplicationInput) SetSipMediaApplicationId(v string) *DeleteSipMediaApplicationInput {
26619	s.SipMediaApplicationId = &v
26620	return s
26621}
26622
26623type DeleteSipMediaApplicationOutput struct {
26624	_ struct{} `type:"structure"`
26625}
26626
26627// String returns the string representation
26628func (s DeleteSipMediaApplicationOutput) String() string {
26629	return awsutil.Prettify(s)
26630}
26631
26632// GoString returns the string representation
26633func (s DeleteSipMediaApplicationOutput) GoString() string {
26634	return s.String()
26635}
26636
26637type DeleteSipRuleInput struct {
26638	_ struct{} `type:"structure"`
26639
26640	// The SIP rule ID.
26641	//
26642	// SipRuleId is a required field
26643	SipRuleId *string `location:"uri" locationName:"sipRuleId" type:"string" required:"true"`
26644}
26645
26646// String returns the string representation
26647func (s DeleteSipRuleInput) String() string {
26648	return awsutil.Prettify(s)
26649}
26650
26651// GoString returns the string representation
26652func (s DeleteSipRuleInput) GoString() string {
26653	return s.String()
26654}
26655
26656// Validate inspects the fields of the type to determine if they are valid.
26657func (s *DeleteSipRuleInput) Validate() error {
26658	invalidParams := request.ErrInvalidParams{Context: "DeleteSipRuleInput"}
26659	if s.SipRuleId == nil {
26660		invalidParams.Add(request.NewErrParamRequired("SipRuleId"))
26661	}
26662	if s.SipRuleId != nil && len(*s.SipRuleId) < 1 {
26663		invalidParams.Add(request.NewErrParamMinLen("SipRuleId", 1))
26664	}
26665
26666	if invalidParams.Len() > 0 {
26667		return invalidParams
26668	}
26669	return nil
26670}
26671
26672// SetSipRuleId sets the SipRuleId field's value.
26673func (s *DeleteSipRuleInput) SetSipRuleId(v string) *DeleteSipRuleInput {
26674	s.SipRuleId = &v
26675	return s
26676}
26677
26678type DeleteSipRuleOutput struct {
26679	_ struct{} `type:"structure"`
26680}
26681
26682// String returns the string representation
26683func (s DeleteSipRuleOutput) String() string {
26684	return awsutil.Prettify(s)
26685}
26686
26687// GoString returns the string representation
26688func (s DeleteSipRuleOutput) GoString() string {
26689	return s.String()
26690}
26691
26692type DeleteVoiceConnectorEmergencyCallingConfigurationInput struct {
26693	_ struct{} `type:"structure"`
26694
26695	// The Amazon Chime Voice Connector ID.
26696	//
26697	// VoiceConnectorId is a required field
26698	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
26699}
26700
26701// String returns the string representation
26702func (s DeleteVoiceConnectorEmergencyCallingConfigurationInput) String() string {
26703	return awsutil.Prettify(s)
26704}
26705
26706// GoString returns the string representation
26707func (s DeleteVoiceConnectorEmergencyCallingConfigurationInput) GoString() string {
26708	return s.String()
26709}
26710
26711// Validate inspects the fields of the type to determine if they are valid.
26712func (s *DeleteVoiceConnectorEmergencyCallingConfigurationInput) Validate() error {
26713	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorEmergencyCallingConfigurationInput"}
26714	if s.VoiceConnectorId == nil {
26715		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
26716	}
26717	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
26718		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
26719	}
26720
26721	if invalidParams.Len() > 0 {
26722		return invalidParams
26723	}
26724	return nil
26725}
26726
26727// SetVoiceConnectorId sets the VoiceConnectorId field's value.
26728func (s *DeleteVoiceConnectorEmergencyCallingConfigurationInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorEmergencyCallingConfigurationInput {
26729	s.VoiceConnectorId = &v
26730	return s
26731}
26732
26733type DeleteVoiceConnectorEmergencyCallingConfigurationOutput struct {
26734	_ struct{} `type:"structure"`
26735}
26736
26737// String returns the string representation
26738func (s DeleteVoiceConnectorEmergencyCallingConfigurationOutput) String() string {
26739	return awsutil.Prettify(s)
26740}
26741
26742// GoString returns the string representation
26743func (s DeleteVoiceConnectorEmergencyCallingConfigurationOutput) GoString() string {
26744	return s.String()
26745}
26746
26747type DeleteVoiceConnectorGroupInput struct {
26748	_ struct{} `type:"structure"`
26749
26750	// The Amazon Chime Voice Connector group ID.
26751	//
26752	// VoiceConnectorGroupId is a required field
26753	VoiceConnectorGroupId *string `location:"uri" locationName:"voiceConnectorGroupId" type:"string" required:"true"`
26754}
26755
26756// String returns the string representation
26757func (s DeleteVoiceConnectorGroupInput) String() string {
26758	return awsutil.Prettify(s)
26759}
26760
26761// GoString returns the string representation
26762func (s DeleteVoiceConnectorGroupInput) GoString() string {
26763	return s.String()
26764}
26765
26766// Validate inspects the fields of the type to determine if they are valid.
26767func (s *DeleteVoiceConnectorGroupInput) Validate() error {
26768	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorGroupInput"}
26769	if s.VoiceConnectorGroupId == nil {
26770		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorGroupId"))
26771	}
26772	if s.VoiceConnectorGroupId != nil && len(*s.VoiceConnectorGroupId) < 1 {
26773		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorGroupId", 1))
26774	}
26775
26776	if invalidParams.Len() > 0 {
26777		return invalidParams
26778	}
26779	return nil
26780}
26781
26782// SetVoiceConnectorGroupId sets the VoiceConnectorGroupId field's value.
26783func (s *DeleteVoiceConnectorGroupInput) SetVoiceConnectorGroupId(v string) *DeleteVoiceConnectorGroupInput {
26784	s.VoiceConnectorGroupId = &v
26785	return s
26786}
26787
26788type DeleteVoiceConnectorGroupOutput struct {
26789	_ struct{} `type:"structure"`
26790}
26791
26792// String returns the string representation
26793func (s DeleteVoiceConnectorGroupOutput) String() string {
26794	return awsutil.Prettify(s)
26795}
26796
26797// GoString returns the string representation
26798func (s DeleteVoiceConnectorGroupOutput) GoString() string {
26799	return s.String()
26800}
26801
26802type DeleteVoiceConnectorInput struct {
26803	_ struct{} `type:"structure"`
26804
26805	// The Amazon Chime Voice Connector ID.
26806	//
26807	// VoiceConnectorId is a required field
26808	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
26809}
26810
26811// String returns the string representation
26812func (s DeleteVoiceConnectorInput) String() string {
26813	return awsutil.Prettify(s)
26814}
26815
26816// GoString returns the string representation
26817func (s DeleteVoiceConnectorInput) GoString() string {
26818	return s.String()
26819}
26820
26821// Validate inspects the fields of the type to determine if they are valid.
26822func (s *DeleteVoiceConnectorInput) Validate() error {
26823	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorInput"}
26824	if s.VoiceConnectorId == nil {
26825		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
26826	}
26827	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
26828		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
26829	}
26830
26831	if invalidParams.Len() > 0 {
26832		return invalidParams
26833	}
26834	return nil
26835}
26836
26837// SetVoiceConnectorId sets the VoiceConnectorId field's value.
26838func (s *DeleteVoiceConnectorInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorInput {
26839	s.VoiceConnectorId = &v
26840	return s
26841}
26842
26843type DeleteVoiceConnectorOriginationInput struct {
26844	_ struct{} `type:"structure"`
26845
26846	// The Amazon Chime Voice Connector ID.
26847	//
26848	// VoiceConnectorId is a required field
26849	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
26850}
26851
26852// String returns the string representation
26853func (s DeleteVoiceConnectorOriginationInput) String() string {
26854	return awsutil.Prettify(s)
26855}
26856
26857// GoString returns the string representation
26858func (s DeleteVoiceConnectorOriginationInput) GoString() string {
26859	return s.String()
26860}
26861
26862// Validate inspects the fields of the type to determine if they are valid.
26863func (s *DeleteVoiceConnectorOriginationInput) Validate() error {
26864	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorOriginationInput"}
26865	if s.VoiceConnectorId == nil {
26866		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
26867	}
26868	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
26869		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
26870	}
26871
26872	if invalidParams.Len() > 0 {
26873		return invalidParams
26874	}
26875	return nil
26876}
26877
26878// SetVoiceConnectorId sets the VoiceConnectorId field's value.
26879func (s *DeleteVoiceConnectorOriginationInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorOriginationInput {
26880	s.VoiceConnectorId = &v
26881	return s
26882}
26883
26884type DeleteVoiceConnectorOriginationOutput struct {
26885	_ struct{} `type:"structure"`
26886}
26887
26888// String returns the string representation
26889func (s DeleteVoiceConnectorOriginationOutput) String() string {
26890	return awsutil.Prettify(s)
26891}
26892
26893// GoString returns the string representation
26894func (s DeleteVoiceConnectorOriginationOutput) GoString() string {
26895	return s.String()
26896}
26897
26898type DeleteVoiceConnectorOutput struct {
26899	_ struct{} `type:"structure"`
26900}
26901
26902// String returns the string representation
26903func (s DeleteVoiceConnectorOutput) String() string {
26904	return awsutil.Prettify(s)
26905}
26906
26907// GoString returns the string representation
26908func (s DeleteVoiceConnectorOutput) GoString() string {
26909	return s.String()
26910}
26911
26912type DeleteVoiceConnectorProxyInput struct {
26913	_ struct{} `type:"structure"`
26914
26915	// The Amazon Chime Voice Connector ID.
26916	//
26917	// VoiceConnectorId is a required field
26918	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
26919}
26920
26921// String returns the string representation
26922func (s DeleteVoiceConnectorProxyInput) String() string {
26923	return awsutil.Prettify(s)
26924}
26925
26926// GoString returns the string representation
26927func (s DeleteVoiceConnectorProxyInput) GoString() string {
26928	return s.String()
26929}
26930
26931// Validate inspects the fields of the type to determine if they are valid.
26932func (s *DeleteVoiceConnectorProxyInput) Validate() error {
26933	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorProxyInput"}
26934	if s.VoiceConnectorId == nil {
26935		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
26936	}
26937	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
26938		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
26939	}
26940
26941	if invalidParams.Len() > 0 {
26942		return invalidParams
26943	}
26944	return nil
26945}
26946
26947// SetVoiceConnectorId sets the VoiceConnectorId field's value.
26948func (s *DeleteVoiceConnectorProxyInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorProxyInput {
26949	s.VoiceConnectorId = &v
26950	return s
26951}
26952
26953type DeleteVoiceConnectorProxyOutput struct {
26954	_ struct{} `type:"structure"`
26955}
26956
26957// String returns the string representation
26958func (s DeleteVoiceConnectorProxyOutput) String() string {
26959	return awsutil.Prettify(s)
26960}
26961
26962// GoString returns the string representation
26963func (s DeleteVoiceConnectorProxyOutput) GoString() string {
26964	return s.String()
26965}
26966
26967type DeleteVoiceConnectorStreamingConfigurationInput struct {
26968	_ struct{} `type:"structure"`
26969
26970	// The Amazon Chime Voice Connector ID.
26971	//
26972	// VoiceConnectorId is a required field
26973	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
26974}
26975
26976// String returns the string representation
26977func (s DeleteVoiceConnectorStreamingConfigurationInput) String() string {
26978	return awsutil.Prettify(s)
26979}
26980
26981// GoString returns the string representation
26982func (s DeleteVoiceConnectorStreamingConfigurationInput) GoString() string {
26983	return s.String()
26984}
26985
26986// Validate inspects the fields of the type to determine if they are valid.
26987func (s *DeleteVoiceConnectorStreamingConfigurationInput) Validate() error {
26988	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorStreamingConfigurationInput"}
26989	if s.VoiceConnectorId == nil {
26990		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
26991	}
26992	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
26993		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
26994	}
26995
26996	if invalidParams.Len() > 0 {
26997		return invalidParams
26998	}
26999	return nil
27000}
27001
27002// SetVoiceConnectorId sets the VoiceConnectorId field's value.
27003func (s *DeleteVoiceConnectorStreamingConfigurationInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorStreamingConfigurationInput {
27004	s.VoiceConnectorId = &v
27005	return s
27006}
27007
27008type DeleteVoiceConnectorStreamingConfigurationOutput struct {
27009	_ struct{} `type:"structure"`
27010}
27011
27012// String returns the string representation
27013func (s DeleteVoiceConnectorStreamingConfigurationOutput) String() string {
27014	return awsutil.Prettify(s)
27015}
27016
27017// GoString returns the string representation
27018func (s DeleteVoiceConnectorStreamingConfigurationOutput) GoString() string {
27019	return s.String()
27020}
27021
27022type DeleteVoiceConnectorTerminationCredentialsInput struct {
27023	_ struct{} `type:"structure"`
27024
27025	// The RFC2617 compliant username associated with the SIP credentials, in US-ASCII
27026	// format.
27027	//
27028	// Usernames is a required field
27029	Usernames []*string `type:"list" required:"true"`
27030
27031	// The Amazon Chime Voice Connector ID.
27032	//
27033	// VoiceConnectorId is a required field
27034	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
27035}
27036
27037// String returns the string representation
27038func (s DeleteVoiceConnectorTerminationCredentialsInput) String() string {
27039	return awsutil.Prettify(s)
27040}
27041
27042// GoString returns the string representation
27043func (s DeleteVoiceConnectorTerminationCredentialsInput) GoString() string {
27044	return s.String()
27045}
27046
27047// Validate inspects the fields of the type to determine if they are valid.
27048func (s *DeleteVoiceConnectorTerminationCredentialsInput) Validate() error {
27049	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorTerminationCredentialsInput"}
27050	if s.Usernames == nil {
27051		invalidParams.Add(request.NewErrParamRequired("Usernames"))
27052	}
27053	if s.VoiceConnectorId == nil {
27054		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
27055	}
27056	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
27057		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
27058	}
27059
27060	if invalidParams.Len() > 0 {
27061		return invalidParams
27062	}
27063	return nil
27064}
27065
27066// SetUsernames sets the Usernames field's value.
27067func (s *DeleteVoiceConnectorTerminationCredentialsInput) SetUsernames(v []*string) *DeleteVoiceConnectorTerminationCredentialsInput {
27068	s.Usernames = v
27069	return s
27070}
27071
27072// SetVoiceConnectorId sets the VoiceConnectorId field's value.
27073func (s *DeleteVoiceConnectorTerminationCredentialsInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorTerminationCredentialsInput {
27074	s.VoiceConnectorId = &v
27075	return s
27076}
27077
27078type DeleteVoiceConnectorTerminationCredentialsOutput struct {
27079	_ struct{} `type:"structure"`
27080}
27081
27082// String returns the string representation
27083func (s DeleteVoiceConnectorTerminationCredentialsOutput) String() string {
27084	return awsutil.Prettify(s)
27085}
27086
27087// GoString returns the string representation
27088func (s DeleteVoiceConnectorTerminationCredentialsOutput) GoString() string {
27089	return s.String()
27090}
27091
27092type DeleteVoiceConnectorTerminationInput struct {
27093	_ struct{} `type:"structure"`
27094
27095	// The Amazon Chime Voice Connector ID.
27096	//
27097	// VoiceConnectorId is a required field
27098	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
27099}
27100
27101// String returns the string representation
27102func (s DeleteVoiceConnectorTerminationInput) String() string {
27103	return awsutil.Prettify(s)
27104}
27105
27106// GoString returns the string representation
27107func (s DeleteVoiceConnectorTerminationInput) GoString() string {
27108	return s.String()
27109}
27110
27111// Validate inspects the fields of the type to determine if they are valid.
27112func (s *DeleteVoiceConnectorTerminationInput) Validate() error {
27113	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorTerminationInput"}
27114	if s.VoiceConnectorId == nil {
27115		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
27116	}
27117	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
27118		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
27119	}
27120
27121	if invalidParams.Len() > 0 {
27122		return invalidParams
27123	}
27124	return nil
27125}
27126
27127// SetVoiceConnectorId sets the VoiceConnectorId field's value.
27128func (s *DeleteVoiceConnectorTerminationInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorTerminationInput {
27129	s.VoiceConnectorId = &v
27130	return s
27131}
27132
27133type DeleteVoiceConnectorTerminationOutput struct {
27134	_ struct{} `type:"structure"`
27135}
27136
27137// String returns the string representation
27138func (s DeleteVoiceConnectorTerminationOutput) String() string {
27139	return awsutil.Prettify(s)
27140}
27141
27142// GoString returns the string representation
27143func (s DeleteVoiceConnectorTerminationOutput) GoString() string {
27144	return s.String()
27145}
27146
27147type DescribeAppInstanceAdminInput struct {
27148	_ struct{} `type:"structure"`
27149
27150	// The ARN of the AppInstanceAdmin.
27151	//
27152	// AppInstanceAdminArn is a required field
27153	AppInstanceAdminArn *string `location:"uri" locationName:"appInstanceAdminArn" min:"5" type:"string" required:"true"`
27154
27155	// The ARN of the AppInstance.
27156	//
27157	// AppInstanceArn is a required field
27158	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
27159}
27160
27161// String returns the string representation
27162func (s DescribeAppInstanceAdminInput) String() string {
27163	return awsutil.Prettify(s)
27164}
27165
27166// GoString returns the string representation
27167func (s DescribeAppInstanceAdminInput) GoString() string {
27168	return s.String()
27169}
27170
27171// Validate inspects the fields of the type to determine if they are valid.
27172func (s *DescribeAppInstanceAdminInput) Validate() error {
27173	invalidParams := request.ErrInvalidParams{Context: "DescribeAppInstanceAdminInput"}
27174	if s.AppInstanceAdminArn == nil {
27175		invalidParams.Add(request.NewErrParamRequired("AppInstanceAdminArn"))
27176	}
27177	if s.AppInstanceAdminArn != nil && len(*s.AppInstanceAdminArn) < 5 {
27178		invalidParams.Add(request.NewErrParamMinLen("AppInstanceAdminArn", 5))
27179	}
27180	if s.AppInstanceArn == nil {
27181		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
27182	}
27183	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
27184		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
27185	}
27186
27187	if invalidParams.Len() > 0 {
27188		return invalidParams
27189	}
27190	return nil
27191}
27192
27193// SetAppInstanceAdminArn sets the AppInstanceAdminArn field's value.
27194func (s *DescribeAppInstanceAdminInput) SetAppInstanceAdminArn(v string) *DescribeAppInstanceAdminInput {
27195	s.AppInstanceAdminArn = &v
27196	return s
27197}
27198
27199// SetAppInstanceArn sets the AppInstanceArn field's value.
27200func (s *DescribeAppInstanceAdminInput) SetAppInstanceArn(v string) *DescribeAppInstanceAdminInput {
27201	s.AppInstanceArn = &v
27202	return s
27203}
27204
27205type DescribeAppInstanceAdminOutput struct {
27206	_ struct{} `type:"structure"`
27207
27208	// The ARN and name of the AppInstanceUser, the ARN of the AppInstance, and
27209	// the created and last-updated timestamps. All timestamps use epoch milliseconds.
27210	AppInstanceAdmin *AppInstanceAdmin `type:"structure"`
27211}
27212
27213// String returns the string representation
27214func (s DescribeAppInstanceAdminOutput) String() string {
27215	return awsutil.Prettify(s)
27216}
27217
27218// GoString returns the string representation
27219func (s DescribeAppInstanceAdminOutput) GoString() string {
27220	return s.String()
27221}
27222
27223// SetAppInstanceAdmin sets the AppInstanceAdmin field's value.
27224func (s *DescribeAppInstanceAdminOutput) SetAppInstanceAdmin(v *AppInstanceAdmin) *DescribeAppInstanceAdminOutput {
27225	s.AppInstanceAdmin = v
27226	return s
27227}
27228
27229type DescribeAppInstanceInput struct {
27230	_ struct{} `type:"structure"`
27231
27232	// The ARN of the AppInstance.
27233	//
27234	// AppInstanceArn is a required field
27235	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
27236}
27237
27238// String returns the string representation
27239func (s DescribeAppInstanceInput) String() string {
27240	return awsutil.Prettify(s)
27241}
27242
27243// GoString returns the string representation
27244func (s DescribeAppInstanceInput) GoString() string {
27245	return s.String()
27246}
27247
27248// Validate inspects the fields of the type to determine if they are valid.
27249func (s *DescribeAppInstanceInput) Validate() error {
27250	invalidParams := request.ErrInvalidParams{Context: "DescribeAppInstanceInput"}
27251	if s.AppInstanceArn == nil {
27252		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
27253	}
27254	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
27255		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
27256	}
27257
27258	if invalidParams.Len() > 0 {
27259		return invalidParams
27260	}
27261	return nil
27262}
27263
27264// SetAppInstanceArn sets the AppInstanceArn field's value.
27265func (s *DescribeAppInstanceInput) SetAppInstanceArn(v string) *DescribeAppInstanceInput {
27266	s.AppInstanceArn = &v
27267	return s
27268}
27269
27270type DescribeAppInstanceOutput struct {
27271	_ struct{} `type:"structure"`
27272
27273	// The ARN, metadata, created and last-updated timestamps, and the name of the
27274	// AppInstance. All timestamps use epoch milliseconds.
27275	AppInstance *AppInstance `type:"structure"`
27276}
27277
27278// String returns the string representation
27279func (s DescribeAppInstanceOutput) String() string {
27280	return awsutil.Prettify(s)
27281}
27282
27283// GoString returns the string representation
27284func (s DescribeAppInstanceOutput) GoString() string {
27285	return s.String()
27286}
27287
27288// SetAppInstance sets the AppInstance field's value.
27289func (s *DescribeAppInstanceOutput) SetAppInstance(v *AppInstance) *DescribeAppInstanceOutput {
27290	s.AppInstance = v
27291	return s
27292}
27293
27294type DescribeAppInstanceUserInput struct {
27295	_ struct{} `type:"structure"`
27296
27297	// The ARN of the AppInstanceUser.
27298	//
27299	// AppInstanceUserArn is a required field
27300	AppInstanceUserArn *string `location:"uri" locationName:"appInstanceUserArn" min:"5" type:"string" required:"true"`
27301}
27302
27303// String returns the string representation
27304func (s DescribeAppInstanceUserInput) String() string {
27305	return awsutil.Prettify(s)
27306}
27307
27308// GoString returns the string representation
27309func (s DescribeAppInstanceUserInput) GoString() string {
27310	return s.String()
27311}
27312
27313// Validate inspects the fields of the type to determine if they are valid.
27314func (s *DescribeAppInstanceUserInput) Validate() error {
27315	invalidParams := request.ErrInvalidParams{Context: "DescribeAppInstanceUserInput"}
27316	if s.AppInstanceUserArn == nil {
27317		invalidParams.Add(request.NewErrParamRequired("AppInstanceUserArn"))
27318	}
27319	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
27320		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
27321	}
27322
27323	if invalidParams.Len() > 0 {
27324		return invalidParams
27325	}
27326	return nil
27327}
27328
27329// SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
27330func (s *DescribeAppInstanceUserInput) SetAppInstanceUserArn(v string) *DescribeAppInstanceUserInput {
27331	s.AppInstanceUserArn = &v
27332	return s
27333}
27334
27335type DescribeAppInstanceUserOutput struct {
27336	_ struct{} `type:"structure"`
27337
27338	// The name of the AppInstanceUser.
27339	AppInstanceUser *AppInstanceUser `type:"structure"`
27340}
27341
27342// String returns the string representation
27343func (s DescribeAppInstanceUserOutput) String() string {
27344	return awsutil.Prettify(s)
27345}
27346
27347// GoString returns the string representation
27348func (s DescribeAppInstanceUserOutput) GoString() string {
27349	return s.String()
27350}
27351
27352// SetAppInstanceUser sets the AppInstanceUser field's value.
27353func (s *DescribeAppInstanceUserOutput) SetAppInstanceUser(v *AppInstanceUser) *DescribeAppInstanceUserOutput {
27354	s.AppInstanceUser = v
27355	return s
27356}
27357
27358type DescribeChannelBanInput struct {
27359	_ struct{} `type:"structure"`
27360
27361	// The ARN of the channel from which the user is banned.
27362	//
27363	// ChannelArn is a required field
27364	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
27365
27366	// The AppInstanceUserArn of the user that makes the API call.
27367	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
27368
27369	// The ARN of the member being banned.
27370	//
27371	// MemberArn is a required field
27372	MemberArn *string `location:"uri" locationName:"memberArn" min:"5" type:"string" required:"true"`
27373}
27374
27375// String returns the string representation
27376func (s DescribeChannelBanInput) String() string {
27377	return awsutil.Prettify(s)
27378}
27379
27380// GoString returns the string representation
27381func (s DescribeChannelBanInput) GoString() string {
27382	return s.String()
27383}
27384
27385// Validate inspects the fields of the type to determine if they are valid.
27386func (s *DescribeChannelBanInput) Validate() error {
27387	invalidParams := request.ErrInvalidParams{Context: "DescribeChannelBanInput"}
27388	if s.ChannelArn == nil {
27389		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
27390	}
27391	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
27392		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
27393	}
27394	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
27395		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
27396	}
27397	if s.MemberArn == nil {
27398		invalidParams.Add(request.NewErrParamRequired("MemberArn"))
27399	}
27400	if s.MemberArn != nil && len(*s.MemberArn) < 5 {
27401		invalidParams.Add(request.NewErrParamMinLen("MemberArn", 5))
27402	}
27403
27404	if invalidParams.Len() > 0 {
27405		return invalidParams
27406	}
27407	return nil
27408}
27409
27410// SetChannelArn sets the ChannelArn field's value.
27411func (s *DescribeChannelBanInput) SetChannelArn(v string) *DescribeChannelBanInput {
27412	s.ChannelArn = &v
27413	return s
27414}
27415
27416// SetChimeBearer sets the ChimeBearer field's value.
27417func (s *DescribeChannelBanInput) SetChimeBearer(v string) *DescribeChannelBanInput {
27418	s.ChimeBearer = &v
27419	return s
27420}
27421
27422// SetMemberArn sets the MemberArn field's value.
27423func (s *DescribeChannelBanInput) SetMemberArn(v string) *DescribeChannelBanInput {
27424	s.MemberArn = &v
27425	return s
27426}
27427
27428type DescribeChannelBanOutput struct {
27429	_ struct{} `type:"structure"`
27430
27431	// The details of the ban.
27432	ChannelBan *ChannelBan `type:"structure"`
27433}
27434
27435// String returns the string representation
27436func (s DescribeChannelBanOutput) String() string {
27437	return awsutil.Prettify(s)
27438}
27439
27440// GoString returns the string representation
27441func (s DescribeChannelBanOutput) GoString() string {
27442	return s.String()
27443}
27444
27445// SetChannelBan sets the ChannelBan field's value.
27446func (s *DescribeChannelBanOutput) SetChannelBan(v *ChannelBan) *DescribeChannelBanOutput {
27447	s.ChannelBan = v
27448	return s
27449}
27450
27451type DescribeChannelInput struct {
27452	_ struct{} `type:"structure"`
27453
27454	// The ARN of the channel.
27455	//
27456	// ChannelArn is a required field
27457	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
27458
27459	// The AppInstanceUserArn of the user that makes the API call.
27460	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
27461}
27462
27463// String returns the string representation
27464func (s DescribeChannelInput) String() string {
27465	return awsutil.Prettify(s)
27466}
27467
27468// GoString returns the string representation
27469func (s DescribeChannelInput) GoString() string {
27470	return s.String()
27471}
27472
27473// Validate inspects the fields of the type to determine if they are valid.
27474func (s *DescribeChannelInput) Validate() error {
27475	invalidParams := request.ErrInvalidParams{Context: "DescribeChannelInput"}
27476	if s.ChannelArn == nil {
27477		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
27478	}
27479	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
27480		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
27481	}
27482	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
27483		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
27484	}
27485
27486	if invalidParams.Len() > 0 {
27487		return invalidParams
27488	}
27489	return nil
27490}
27491
27492// SetChannelArn sets the ChannelArn field's value.
27493func (s *DescribeChannelInput) SetChannelArn(v string) *DescribeChannelInput {
27494	s.ChannelArn = &v
27495	return s
27496}
27497
27498// SetChimeBearer sets the ChimeBearer field's value.
27499func (s *DescribeChannelInput) SetChimeBearer(v string) *DescribeChannelInput {
27500	s.ChimeBearer = &v
27501	return s
27502}
27503
27504type DescribeChannelMembershipForAppInstanceUserInput struct {
27505	_ struct{} `type:"structure"`
27506
27507	// The ARN of the user in a channel.
27508	//
27509	// AppInstanceUserArn is a required field
27510	AppInstanceUserArn *string `location:"querystring" locationName:"app-instance-user-arn" min:"5" type:"string" required:"true"`
27511
27512	// The ARN of the channel to which the user belongs.
27513	//
27514	// ChannelArn is a required field
27515	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
27516
27517	// The AppInstanceUserArn of the user that makes the API call.
27518	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
27519}
27520
27521// String returns the string representation
27522func (s DescribeChannelMembershipForAppInstanceUserInput) String() string {
27523	return awsutil.Prettify(s)
27524}
27525
27526// GoString returns the string representation
27527func (s DescribeChannelMembershipForAppInstanceUserInput) GoString() string {
27528	return s.String()
27529}
27530
27531// Validate inspects the fields of the type to determine if they are valid.
27532func (s *DescribeChannelMembershipForAppInstanceUserInput) Validate() error {
27533	invalidParams := request.ErrInvalidParams{Context: "DescribeChannelMembershipForAppInstanceUserInput"}
27534	if s.AppInstanceUserArn == nil {
27535		invalidParams.Add(request.NewErrParamRequired("AppInstanceUserArn"))
27536	}
27537	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
27538		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
27539	}
27540	if s.ChannelArn == nil {
27541		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
27542	}
27543	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
27544		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
27545	}
27546	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
27547		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
27548	}
27549
27550	if invalidParams.Len() > 0 {
27551		return invalidParams
27552	}
27553	return nil
27554}
27555
27556// SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
27557func (s *DescribeChannelMembershipForAppInstanceUserInput) SetAppInstanceUserArn(v string) *DescribeChannelMembershipForAppInstanceUserInput {
27558	s.AppInstanceUserArn = &v
27559	return s
27560}
27561
27562// SetChannelArn sets the ChannelArn field's value.
27563func (s *DescribeChannelMembershipForAppInstanceUserInput) SetChannelArn(v string) *DescribeChannelMembershipForAppInstanceUserInput {
27564	s.ChannelArn = &v
27565	return s
27566}
27567
27568// SetChimeBearer sets the ChimeBearer field's value.
27569func (s *DescribeChannelMembershipForAppInstanceUserInput) SetChimeBearer(v string) *DescribeChannelMembershipForAppInstanceUserInput {
27570	s.ChimeBearer = &v
27571	return s
27572}
27573
27574type DescribeChannelMembershipForAppInstanceUserOutput struct {
27575	_ struct{} `type:"structure"`
27576
27577	// The channel to which a user belongs.
27578	ChannelMembership *ChannelMembershipForAppInstanceUserSummary `type:"structure"`
27579}
27580
27581// String returns the string representation
27582func (s DescribeChannelMembershipForAppInstanceUserOutput) String() string {
27583	return awsutil.Prettify(s)
27584}
27585
27586// GoString returns the string representation
27587func (s DescribeChannelMembershipForAppInstanceUserOutput) GoString() string {
27588	return s.String()
27589}
27590
27591// SetChannelMembership sets the ChannelMembership field's value.
27592func (s *DescribeChannelMembershipForAppInstanceUserOutput) SetChannelMembership(v *ChannelMembershipForAppInstanceUserSummary) *DescribeChannelMembershipForAppInstanceUserOutput {
27593	s.ChannelMembership = v
27594	return s
27595}
27596
27597type DescribeChannelMembershipInput struct {
27598	_ struct{} `type:"structure"`
27599
27600	// The ARN of the channel.
27601	//
27602	// ChannelArn is a required field
27603	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
27604
27605	// The AppInstanceUserArn of the user that makes the API call.
27606	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
27607
27608	// The ARN of the member.
27609	//
27610	// MemberArn is a required field
27611	MemberArn *string `location:"uri" locationName:"memberArn" min:"5" type:"string" required:"true"`
27612}
27613
27614// String returns the string representation
27615func (s DescribeChannelMembershipInput) String() string {
27616	return awsutil.Prettify(s)
27617}
27618
27619// GoString returns the string representation
27620func (s DescribeChannelMembershipInput) GoString() string {
27621	return s.String()
27622}
27623
27624// Validate inspects the fields of the type to determine if they are valid.
27625func (s *DescribeChannelMembershipInput) Validate() error {
27626	invalidParams := request.ErrInvalidParams{Context: "DescribeChannelMembershipInput"}
27627	if s.ChannelArn == nil {
27628		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
27629	}
27630	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
27631		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
27632	}
27633	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
27634		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
27635	}
27636	if s.MemberArn == nil {
27637		invalidParams.Add(request.NewErrParamRequired("MemberArn"))
27638	}
27639	if s.MemberArn != nil && len(*s.MemberArn) < 5 {
27640		invalidParams.Add(request.NewErrParamMinLen("MemberArn", 5))
27641	}
27642
27643	if invalidParams.Len() > 0 {
27644		return invalidParams
27645	}
27646	return nil
27647}
27648
27649// SetChannelArn sets the ChannelArn field's value.
27650func (s *DescribeChannelMembershipInput) SetChannelArn(v string) *DescribeChannelMembershipInput {
27651	s.ChannelArn = &v
27652	return s
27653}
27654
27655// SetChimeBearer sets the ChimeBearer field's value.
27656func (s *DescribeChannelMembershipInput) SetChimeBearer(v string) *DescribeChannelMembershipInput {
27657	s.ChimeBearer = &v
27658	return s
27659}
27660
27661// SetMemberArn sets the MemberArn field's value.
27662func (s *DescribeChannelMembershipInput) SetMemberArn(v string) *DescribeChannelMembershipInput {
27663	s.MemberArn = &v
27664	return s
27665}
27666
27667type DescribeChannelMembershipOutput struct {
27668	_ struct{} `type:"structure"`
27669
27670	// The details of the membership.
27671	ChannelMembership *ChannelMembership `type:"structure"`
27672}
27673
27674// String returns the string representation
27675func (s DescribeChannelMembershipOutput) String() string {
27676	return awsutil.Prettify(s)
27677}
27678
27679// GoString returns the string representation
27680func (s DescribeChannelMembershipOutput) GoString() string {
27681	return s.String()
27682}
27683
27684// SetChannelMembership sets the ChannelMembership field's value.
27685func (s *DescribeChannelMembershipOutput) SetChannelMembership(v *ChannelMembership) *DescribeChannelMembershipOutput {
27686	s.ChannelMembership = v
27687	return s
27688}
27689
27690type DescribeChannelModeratedByAppInstanceUserInput struct {
27691	_ struct{} `type:"structure"`
27692
27693	// The ARN of the AppInstanceUser in the moderated channel.
27694	//
27695	// AppInstanceUserArn is a required field
27696	AppInstanceUserArn *string `location:"querystring" locationName:"app-instance-user-arn" min:"5" type:"string" required:"true"`
27697
27698	// The ARN of the moderated channel.
27699	//
27700	// ChannelArn is a required field
27701	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
27702
27703	// The AppInstanceUserArn of the user that makes the API call.
27704	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
27705}
27706
27707// String returns the string representation
27708func (s DescribeChannelModeratedByAppInstanceUserInput) String() string {
27709	return awsutil.Prettify(s)
27710}
27711
27712// GoString returns the string representation
27713func (s DescribeChannelModeratedByAppInstanceUserInput) GoString() string {
27714	return s.String()
27715}
27716
27717// Validate inspects the fields of the type to determine if they are valid.
27718func (s *DescribeChannelModeratedByAppInstanceUserInput) Validate() error {
27719	invalidParams := request.ErrInvalidParams{Context: "DescribeChannelModeratedByAppInstanceUserInput"}
27720	if s.AppInstanceUserArn == nil {
27721		invalidParams.Add(request.NewErrParamRequired("AppInstanceUserArn"))
27722	}
27723	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
27724		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
27725	}
27726	if s.ChannelArn == nil {
27727		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
27728	}
27729	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
27730		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
27731	}
27732	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
27733		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
27734	}
27735
27736	if invalidParams.Len() > 0 {
27737		return invalidParams
27738	}
27739	return nil
27740}
27741
27742// SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
27743func (s *DescribeChannelModeratedByAppInstanceUserInput) SetAppInstanceUserArn(v string) *DescribeChannelModeratedByAppInstanceUserInput {
27744	s.AppInstanceUserArn = &v
27745	return s
27746}
27747
27748// SetChannelArn sets the ChannelArn field's value.
27749func (s *DescribeChannelModeratedByAppInstanceUserInput) SetChannelArn(v string) *DescribeChannelModeratedByAppInstanceUserInput {
27750	s.ChannelArn = &v
27751	return s
27752}
27753
27754// SetChimeBearer sets the ChimeBearer field's value.
27755func (s *DescribeChannelModeratedByAppInstanceUserInput) SetChimeBearer(v string) *DescribeChannelModeratedByAppInstanceUserInput {
27756	s.ChimeBearer = &v
27757	return s
27758}
27759
27760type DescribeChannelModeratedByAppInstanceUserOutput struct {
27761	_ struct{} `type:"structure"`
27762
27763	// The moderated channel.
27764	Channel *ChannelModeratedByAppInstanceUserSummary `type:"structure"`
27765}
27766
27767// String returns the string representation
27768func (s DescribeChannelModeratedByAppInstanceUserOutput) String() string {
27769	return awsutil.Prettify(s)
27770}
27771
27772// GoString returns the string representation
27773func (s DescribeChannelModeratedByAppInstanceUserOutput) GoString() string {
27774	return s.String()
27775}
27776
27777// SetChannel sets the Channel field's value.
27778func (s *DescribeChannelModeratedByAppInstanceUserOutput) SetChannel(v *ChannelModeratedByAppInstanceUserSummary) *DescribeChannelModeratedByAppInstanceUserOutput {
27779	s.Channel = v
27780	return s
27781}
27782
27783type DescribeChannelModeratorInput struct {
27784	_ struct{} `type:"structure"`
27785
27786	// The ARN of the channel.
27787	//
27788	// ChannelArn is a required field
27789	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
27790
27791	// The ARN of the channel moderator.
27792	//
27793	// ChannelModeratorArn is a required field
27794	ChannelModeratorArn *string `location:"uri" locationName:"channelModeratorArn" min:"5" type:"string" required:"true"`
27795
27796	// The AppInstanceUserArn of the user that makes the API call.
27797	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
27798}
27799
27800// String returns the string representation
27801func (s DescribeChannelModeratorInput) String() string {
27802	return awsutil.Prettify(s)
27803}
27804
27805// GoString returns the string representation
27806func (s DescribeChannelModeratorInput) GoString() string {
27807	return s.String()
27808}
27809
27810// Validate inspects the fields of the type to determine if they are valid.
27811func (s *DescribeChannelModeratorInput) Validate() error {
27812	invalidParams := request.ErrInvalidParams{Context: "DescribeChannelModeratorInput"}
27813	if s.ChannelArn == nil {
27814		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
27815	}
27816	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
27817		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
27818	}
27819	if s.ChannelModeratorArn == nil {
27820		invalidParams.Add(request.NewErrParamRequired("ChannelModeratorArn"))
27821	}
27822	if s.ChannelModeratorArn != nil && len(*s.ChannelModeratorArn) < 5 {
27823		invalidParams.Add(request.NewErrParamMinLen("ChannelModeratorArn", 5))
27824	}
27825	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
27826		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
27827	}
27828
27829	if invalidParams.Len() > 0 {
27830		return invalidParams
27831	}
27832	return nil
27833}
27834
27835// SetChannelArn sets the ChannelArn field's value.
27836func (s *DescribeChannelModeratorInput) SetChannelArn(v string) *DescribeChannelModeratorInput {
27837	s.ChannelArn = &v
27838	return s
27839}
27840
27841// SetChannelModeratorArn sets the ChannelModeratorArn field's value.
27842func (s *DescribeChannelModeratorInput) SetChannelModeratorArn(v string) *DescribeChannelModeratorInput {
27843	s.ChannelModeratorArn = &v
27844	return s
27845}
27846
27847// SetChimeBearer sets the ChimeBearer field's value.
27848func (s *DescribeChannelModeratorInput) SetChimeBearer(v string) *DescribeChannelModeratorInput {
27849	s.ChimeBearer = &v
27850	return s
27851}
27852
27853type DescribeChannelModeratorOutput struct {
27854	_ struct{} `type:"structure"`
27855
27856	// The details of the channel moderator.
27857	ChannelModerator *ChannelModerator `type:"structure"`
27858}
27859
27860// String returns the string representation
27861func (s DescribeChannelModeratorOutput) String() string {
27862	return awsutil.Prettify(s)
27863}
27864
27865// GoString returns the string representation
27866func (s DescribeChannelModeratorOutput) GoString() string {
27867	return s.String()
27868}
27869
27870// SetChannelModerator sets the ChannelModerator field's value.
27871func (s *DescribeChannelModeratorOutput) SetChannelModerator(v *ChannelModerator) *DescribeChannelModeratorOutput {
27872	s.ChannelModerator = v
27873	return s
27874}
27875
27876type DescribeChannelOutput struct {
27877	_ struct{} `type:"structure"`
27878
27879	// The channel details.
27880	Channel *Channel `type:"structure"`
27881}
27882
27883// String returns the string representation
27884func (s DescribeChannelOutput) String() string {
27885	return awsutil.Prettify(s)
27886}
27887
27888// GoString returns the string representation
27889func (s DescribeChannelOutput) GoString() string {
27890	return s.String()
27891}
27892
27893// SetChannel sets the Channel field's value.
27894func (s *DescribeChannelOutput) SetChannel(v *Channel) *DescribeChannelOutput {
27895	s.Channel = v
27896	return s
27897}
27898
27899type DisassociatePhoneNumberFromUserInput struct {
27900	_ struct{} `type:"structure"`
27901
27902	// The Amazon Chime account ID.
27903	//
27904	// AccountId is a required field
27905	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
27906
27907	// The user ID.
27908	//
27909	// UserId is a required field
27910	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
27911}
27912
27913// String returns the string representation
27914func (s DisassociatePhoneNumberFromUserInput) String() string {
27915	return awsutil.Prettify(s)
27916}
27917
27918// GoString returns the string representation
27919func (s DisassociatePhoneNumberFromUserInput) GoString() string {
27920	return s.String()
27921}
27922
27923// Validate inspects the fields of the type to determine if they are valid.
27924func (s *DisassociatePhoneNumberFromUserInput) Validate() error {
27925	invalidParams := request.ErrInvalidParams{Context: "DisassociatePhoneNumberFromUserInput"}
27926	if s.AccountId == nil {
27927		invalidParams.Add(request.NewErrParamRequired("AccountId"))
27928	}
27929	if s.AccountId != nil && len(*s.AccountId) < 1 {
27930		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
27931	}
27932	if s.UserId == nil {
27933		invalidParams.Add(request.NewErrParamRequired("UserId"))
27934	}
27935	if s.UserId != nil && len(*s.UserId) < 1 {
27936		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
27937	}
27938
27939	if invalidParams.Len() > 0 {
27940		return invalidParams
27941	}
27942	return nil
27943}
27944
27945// SetAccountId sets the AccountId field's value.
27946func (s *DisassociatePhoneNumberFromUserInput) SetAccountId(v string) *DisassociatePhoneNumberFromUserInput {
27947	s.AccountId = &v
27948	return s
27949}
27950
27951// SetUserId sets the UserId field's value.
27952func (s *DisassociatePhoneNumberFromUserInput) SetUserId(v string) *DisassociatePhoneNumberFromUserInput {
27953	s.UserId = &v
27954	return s
27955}
27956
27957type DisassociatePhoneNumberFromUserOutput struct {
27958	_ struct{} `type:"structure"`
27959}
27960
27961// String returns the string representation
27962func (s DisassociatePhoneNumberFromUserOutput) String() string {
27963	return awsutil.Prettify(s)
27964}
27965
27966// GoString returns the string representation
27967func (s DisassociatePhoneNumberFromUserOutput) GoString() string {
27968	return s.String()
27969}
27970
27971type DisassociatePhoneNumbersFromVoiceConnectorGroupInput struct {
27972	_ struct{} `type:"structure"`
27973
27974	// List of phone numbers, in E.164 format.
27975	//
27976	// E164PhoneNumbers is a required field
27977	E164PhoneNumbers []*string `type:"list" required:"true"`
27978
27979	// The Amazon Chime Voice Connector group ID.
27980	//
27981	// VoiceConnectorGroupId is a required field
27982	VoiceConnectorGroupId *string `location:"uri" locationName:"voiceConnectorGroupId" type:"string" required:"true"`
27983}
27984
27985// String returns the string representation
27986func (s DisassociatePhoneNumbersFromVoiceConnectorGroupInput) String() string {
27987	return awsutil.Prettify(s)
27988}
27989
27990// GoString returns the string representation
27991func (s DisassociatePhoneNumbersFromVoiceConnectorGroupInput) GoString() string {
27992	return s.String()
27993}
27994
27995// Validate inspects the fields of the type to determine if they are valid.
27996func (s *DisassociatePhoneNumbersFromVoiceConnectorGroupInput) Validate() error {
27997	invalidParams := request.ErrInvalidParams{Context: "DisassociatePhoneNumbersFromVoiceConnectorGroupInput"}
27998	if s.E164PhoneNumbers == nil {
27999		invalidParams.Add(request.NewErrParamRequired("E164PhoneNumbers"))
28000	}
28001	if s.VoiceConnectorGroupId == nil {
28002		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorGroupId"))
28003	}
28004	if s.VoiceConnectorGroupId != nil && len(*s.VoiceConnectorGroupId) < 1 {
28005		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorGroupId", 1))
28006	}
28007
28008	if invalidParams.Len() > 0 {
28009		return invalidParams
28010	}
28011	return nil
28012}
28013
28014// SetE164PhoneNumbers sets the E164PhoneNumbers field's value.
28015func (s *DisassociatePhoneNumbersFromVoiceConnectorGroupInput) SetE164PhoneNumbers(v []*string) *DisassociatePhoneNumbersFromVoiceConnectorGroupInput {
28016	s.E164PhoneNumbers = v
28017	return s
28018}
28019
28020// SetVoiceConnectorGroupId sets the VoiceConnectorGroupId field's value.
28021func (s *DisassociatePhoneNumbersFromVoiceConnectorGroupInput) SetVoiceConnectorGroupId(v string) *DisassociatePhoneNumbersFromVoiceConnectorGroupInput {
28022	s.VoiceConnectorGroupId = &v
28023	return s
28024}
28025
28026type DisassociatePhoneNumbersFromVoiceConnectorGroupOutput struct {
28027	_ struct{} `type:"structure"`
28028
28029	// If the action fails for one or more of the phone numbers in the request,
28030	// a list of the phone numbers is returned, along with error codes and error
28031	// messages.
28032	PhoneNumberErrors []*PhoneNumberError `type:"list"`
28033}
28034
28035// String returns the string representation
28036func (s DisassociatePhoneNumbersFromVoiceConnectorGroupOutput) String() string {
28037	return awsutil.Prettify(s)
28038}
28039
28040// GoString returns the string representation
28041func (s DisassociatePhoneNumbersFromVoiceConnectorGroupOutput) GoString() string {
28042	return s.String()
28043}
28044
28045// SetPhoneNumberErrors sets the PhoneNumberErrors field's value.
28046func (s *DisassociatePhoneNumbersFromVoiceConnectorGroupOutput) SetPhoneNumberErrors(v []*PhoneNumberError) *DisassociatePhoneNumbersFromVoiceConnectorGroupOutput {
28047	s.PhoneNumberErrors = v
28048	return s
28049}
28050
28051type DisassociatePhoneNumbersFromVoiceConnectorInput struct {
28052	_ struct{} `type:"structure"`
28053
28054	// List of phone numbers, in E.164 format.
28055	//
28056	// E164PhoneNumbers is a required field
28057	E164PhoneNumbers []*string `type:"list" required:"true"`
28058
28059	// The Amazon Chime Voice Connector ID.
28060	//
28061	// VoiceConnectorId is a required field
28062	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
28063}
28064
28065// String returns the string representation
28066func (s DisassociatePhoneNumbersFromVoiceConnectorInput) String() string {
28067	return awsutil.Prettify(s)
28068}
28069
28070// GoString returns the string representation
28071func (s DisassociatePhoneNumbersFromVoiceConnectorInput) GoString() string {
28072	return s.String()
28073}
28074
28075// Validate inspects the fields of the type to determine if they are valid.
28076func (s *DisassociatePhoneNumbersFromVoiceConnectorInput) Validate() error {
28077	invalidParams := request.ErrInvalidParams{Context: "DisassociatePhoneNumbersFromVoiceConnectorInput"}
28078	if s.E164PhoneNumbers == nil {
28079		invalidParams.Add(request.NewErrParamRequired("E164PhoneNumbers"))
28080	}
28081	if s.VoiceConnectorId == nil {
28082		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
28083	}
28084	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
28085		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
28086	}
28087
28088	if invalidParams.Len() > 0 {
28089		return invalidParams
28090	}
28091	return nil
28092}
28093
28094// SetE164PhoneNumbers sets the E164PhoneNumbers field's value.
28095func (s *DisassociatePhoneNumbersFromVoiceConnectorInput) SetE164PhoneNumbers(v []*string) *DisassociatePhoneNumbersFromVoiceConnectorInput {
28096	s.E164PhoneNumbers = v
28097	return s
28098}
28099
28100// SetVoiceConnectorId sets the VoiceConnectorId field's value.
28101func (s *DisassociatePhoneNumbersFromVoiceConnectorInput) SetVoiceConnectorId(v string) *DisassociatePhoneNumbersFromVoiceConnectorInput {
28102	s.VoiceConnectorId = &v
28103	return s
28104}
28105
28106type DisassociatePhoneNumbersFromVoiceConnectorOutput struct {
28107	_ struct{} `type:"structure"`
28108
28109	// If the action fails for one or more of the phone numbers in the request,
28110	// a list of the phone numbers is returned, along with error codes and error
28111	// messages.
28112	PhoneNumberErrors []*PhoneNumberError `type:"list"`
28113}
28114
28115// String returns the string representation
28116func (s DisassociatePhoneNumbersFromVoiceConnectorOutput) String() string {
28117	return awsutil.Prettify(s)
28118}
28119
28120// GoString returns the string representation
28121func (s DisassociatePhoneNumbersFromVoiceConnectorOutput) GoString() string {
28122	return s.String()
28123}
28124
28125// SetPhoneNumberErrors sets the PhoneNumberErrors field's value.
28126func (s *DisassociatePhoneNumbersFromVoiceConnectorOutput) SetPhoneNumberErrors(v []*PhoneNumberError) *DisassociatePhoneNumbersFromVoiceConnectorOutput {
28127	s.PhoneNumberErrors = v
28128	return s
28129}
28130
28131type DisassociateSigninDelegateGroupsFromAccountInput struct {
28132	_ struct{} `type:"structure"`
28133
28134	// The Amazon Chime account ID.
28135	//
28136	// AccountId is a required field
28137	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
28138
28139	// The sign-in delegate group names.
28140	//
28141	// GroupNames is a required field
28142	GroupNames []*string `min:"1" type:"list" required:"true"`
28143}
28144
28145// String returns the string representation
28146func (s DisassociateSigninDelegateGroupsFromAccountInput) String() string {
28147	return awsutil.Prettify(s)
28148}
28149
28150// GoString returns the string representation
28151func (s DisassociateSigninDelegateGroupsFromAccountInput) GoString() string {
28152	return s.String()
28153}
28154
28155// Validate inspects the fields of the type to determine if they are valid.
28156func (s *DisassociateSigninDelegateGroupsFromAccountInput) Validate() error {
28157	invalidParams := request.ErrInvalidParams{Context: "DisassociateSigninDelegateGroupsFromAccountInput"}
28158	if s.AccountId == nil {
28159		invalidParams.Add(request.NewErrParamRequired("AccountId"))
28160	}
28161	if s.AccountId != nil && len(*s.AccountId) < 1 {
28162		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
28163	}
28164	if s.GroupNames == nil {
28165		invalidParams.Add(request.NewErrParamRequired("GroupNames"))
28166	}
28167	if s.GroupNames != nil && len(s.GroupNames) < 1 {
28168		invalidParams.Add(request.NewErrParamMinLen("GroupNames", 1))
28169	}
28170
28171	if invalidParams.Len() > 0 {
28172		return invalidParams
28173	}
28174	return nil
28175}
28176
28177// SetAccountId sets the AccountId field's value.
28178func (s *DisassociateSigninDelegateGroupsFromAccountInput) SetAccountId(v string) *DisassociateSigninDelegateGroupsFromAccountInput {
28179	s.AccountId = &v
28180	return s
28181}
28182
28183// SetGroupNames sets the GroupNames field's value.
28184func (s *DisassociateSigninDelegateGroupsFromAccountInput) SetGroupNames(v []*string) *DisassociateSigninDelegateGroupsFromAccountInput {
28185	s.GroupNames = v
28186	return s
28187}
28188
28189type DisassociateSigninDelegateGroupsFromAccountOutput struct {
28190	_ struct{} `type:"structure"`
28191}
28192
28193// String returns the string representation
28194func (s DisassociateSigninDelegateGroupsFromAccountOutput) String() string {
28195	return awsutil.Prettify(s)
28196}
28197
28198// GoString returns the string representation
28199func (s DisassociateSigninDelegateGroupsFromAccountOutput) GoString() string {
28200	return s.String()
28201}
28202
28203// The emergency calling configuration details associated with an Amazon Chime
28204// Voice Connector.
28205type EmergencyCallingConfiguration struct {
28206	_ struct{} `type:"structure"`
28207
28208	// The Dialed Number Identification Service (DNIS) emergency calling configuration
28209	// details.
28210	DNIS []*DNISEmergencyCallingConfiguration `type:"list"`
28211}
28212
28213// String returns the string representation
28214func (s EmergencyCallingConfiguration) String() string {
28215	return awsutil.Prettify(s)
28216}
28217
28218// GoString returns the string representation
28219func (s EmergencyCallingConfiguration) GoString() string {
28220	return s.String()
28221}
28222
28223// Validate inspects the fields of the type to determine if they are valid.
28224func (s *EmergencyCallingConfiguration) Validate() error {
28225	invalidParams := request.ErrInvalidParams{Context: "EmergencyCallingConfiguration"}
28226	if s.DNIS != nil {
28227		for i, v := range s.DNIS {
28228			if v == nil {
28229				continue
28230			}
28231			if err := v.Validate(); err != nil {
28232				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DNIS", i), err.(request.ErrInvalidParams))
28233			}
28234		}
28235	}
28236
28237	if invalidParams.Len() > 0 {
28238		return invalidParams
28239	}
28240	return nil
28241}
28242
28243// SetDNIS sets the DNIS field's value.
28244func (s *EmergencyCallingConfiguration) SetDNIS(v []*DNISEmergencyCallingConfiguration) *EmergencyCallingConfiguration {
28245	s.DNIS = v
28246	return s
28247}
28248
28249// The configuration that allows a bot to receive outgoing events. Can be either
28250// an HTTPS endpoint or a Lambda function ARN.
28251type EventsConfiguration struct {
28252	_ struct{} `type:"structure"`
28253
28254	// The bot ID.
28255	BotId *string `type:"string"`
28256
28257	// Lambda function ARN that allows a bot to receive outgoing events.
28258	LambdaFunctionArn *string `type:"string" sensitive:"true"`
28259
28260	// HTTPS endpoint that allows a bot to receive outgoing events.
28261	OutboundEventsHTTPSEndpoint *string `type:"string" sensitive:"true"`
28262}
28263
28264// String returns the string representation
28265func (s EventsConfiguration) String() string {
28266	return awsutil.Prettify(s)
28267}
28268
28269// GoString returns the string representation
28270func (s EventsConfiguration) GoString() string {
28271	return s.String()
28272}
28273
28274// SetBotId sets the BotId field's value.
28275func (s *EventsConfiguration) SetBotId(v string) *EventsConfiguration {
28276	s.BotId = &v
28277	return s
28278}
28279
28280// SetLambdaFunctionArn sets the LambdaFunctionArn field's value.
28281func (s *EventsConfiguration) SetLambdaFunctionArn(v string) *EventsConfiguration {
28282	s.LambdaFunctionArn = &v
28283	return s
28284}
28285
28286// SetOutboundEventsHTTPSEndpoint sets the OutboundEventsHTTPSEndpoint field's value.
28287func (s *EventsConfiguration) SetOutboundEventsHTTPSEndpoint(v string) *EventsConfiguration {
28288	s.OutboundEventsHTTPSEndpoint = &v
28289	return s
28290}
28291
28292// The client is permanently forbidden from making the request.
28293type ForbiddenException struct {
28294	_            struct{}                  `type:"structure"`
28295	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
28296
28297	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
28298
28299	Message_ *string `locationName:"Message" type:"string"`
28300}
28301
28302// String returns the string representation
28303func (s ForbiddenException) String() string {
28304	return awsutil.Prettify(s)
28305}
28306
28307// GoString returns the string representation
28308func (s ForbiddenException) GoString() string {
28309	return s.String()
28310}
28311
28312func newErrorForbiddenException(v protocol.ResponseMetadata) error {
28313	return &ForbiddenException{
28314		RespMetadata: v,
28315	}
28316}
28317
28318// Code returns the exception type name.
28319func (s *ForbiddenException) Code() string {
28320	return "ForbiddenException"
28321}
28322
28323// Message returns the exception's message.
28324func (s *ForbiddenException) Message() string {
28325	if s.Message_ != nil {
28326		return *s.Message_
28327	}
28328	return ""
28329}
28330
28331// OrigErr always returns nil, satisfies awserr.Error interface.
28332func (s *ForbiddenException) OrigErr() error {
28333	return nil
28334}
28335
28336func (s *ForbiddenException) Error() string {
28337	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
28338}
28339
28340// Status code returns the HTTP status code for the request's response error.
28341func (s *ForbiddenException) StatusCode() int {
28342	return s.RespMetadata.StatusCode
28343}
28344
28345// RequestID returns the service's response RequestID for request.
28346func (s *ForbiddenException) RequestID() string {
28347	return s.RespMetadata.RequestID
28348}
28349
28350// The country and area code for a proxy phone number in a proxy phone session.
28351type GeoMatchParams struct {
28352	_ struct{} `type:"structure"`
28353
28354	// The area code.
28355	//
28356	// AreaCode is a required field
28357	AreaCode *string `type:"string" required:"true"`
28358
28359	// The country.
28360	//
28361	// Country is a required field
28362	Country *string `type:"string" required:"true"`
28363}
28364
28365// String returns the string representation
28366func (s GeoMatchParams) String() string {
28367	return awsutil.Prettify(s)
28368}
28369
28370// GoString returns the string representation
28371func (s GeoMatchParams) GoString() string {
28372	return s.String()
28373}
28374
28375// Validate inspects the fields of the type to determine if they are valid.
28376func (s *GeoMatchParams) Validate() error {
28377	invalidParams := request.ErrInvalidParams{Context: "GeoMatchParams"}
28378	if s.AreaCode == nil {
28379		invalidParams.Add(request.NewErrParamRequired("AreaCode"))
28380	}
28381	if s.Country == nil {
28382		invalidParams.Add(request.NewErrParamRequired("Country"))
28383	}
28384
28385	if invalidParams.Len() > 0 {
28386		return invalidParams
28387	}
28388	return nil
28389}
28390
28391// SetAreaCode sets the AreaCode field's value.
28392func (s *GeoMatchParams) SetAreaCode(v string) *GeoMatchParams {
28393	s.AreaCode = &v
28394	return s
28395}
28396
28397// SetCountry sets the Country field's value.
28398func (s *GeoMatchParams) SetCountry(v string) *GeoMatchParams {
28399	s.Country = &v
28400	return s
28401}
28402
28403type GetAccountInput struct {
28404	_ struct{} `type:"structure"`
28405
28406	// The Amazon Chime account ID.
28407	//
28408	// AccountId is a required field
28409	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
28410}
28411
28412// String returns the string representation
28413func (s GetAccountInput) String() string {
28414	return awsutil.Prettify(s)
28415}
28416
28417// GoString returns the string representation
28418func (s GetAccountInput) GoString() string {
28419	return s.String()
28420}
28421
28422// Validate inspects the fields of the type to determine if they are valid.
28423func (s *GetAccountInput) Validate() error {
28424	invalidParams := request.ErrInvalidParams{Context: "GetAccountInput"}
28425	if s.AccountId == nil {
28426		invalidParams.Add(request.NewErrParamRequired("AccountId"))
28427	}
28428	if s.AccountId != nil && len(*s.AccountId) < 1 {
28429		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
28430	}
28431
28432	if invalidParams.Len() > 0 {
28433		return invalidParams
28434	}
28435	return nil
28436}
28437
28438// SetAccountId sets the AccountId field's value.
28439func (s *GetAccountInput) SetAccountId(v string) *GetAccountInput {
28440	s.AccountId = &v
28441	return s
28442}
28443
28444type GetAccountOutput struct {
28445	_ struct{} `type:"structure"`
28446
28447	// The Amazon Chime account details.
28448	Account *Account `type:"structure"`
28449}
28450
28451// String returns the string representation
28452func (s GetAccountOutput) String() string {
28453	return awsutil.Prettify(s)
28454}
28455
28456// GoString returns the string representation
28457func (s GetAccountOutput) GoString() string {
28458	return s.String()
28459}
28460
28461// SetAccount sets the Account field's value.
28462func (s *GetAccountOutput) SetAccount(v *Account) *GetAccountOutput {
28463	s.Account = v
28464	return s
28465}
28466
28467type GetAccountSettingsInput struct {
28468	_ struct{} `type:"structure"`
28469
28470	// The Amazon Chime account ID.
28471	//
28472	// AccountId is a required field
28473	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
28474}
28475
28476// String returns the string representation
28477func (s GetAccountSettingsInput) String() string {
28478	return awsutil.Prettify(s)
28479}
28480
28481// GoString returns the string representation
28482func (s GetAccountSettingsInput) GoString() string {
28483	return s.String()
28484}
28485
28486// Validate inspects the fields of the type to determine if they are valid.
28487func (s *GetAccountSettingsInput) Validate() error {
28488	invalidParams := request.ErrInvalidParams{Context: "GetAccountSettingsInput"}
28489	if s.AccountId == nil {
28490		invalidParams.Add(request.NewErrParamRequired("AccountId"))
28491	}
28492	if s.AccountId != nil && len(*s.AccountId) < 1 {
28493		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
28494	}
28495
28496	if invalidParams.Len() > 0 {
28497		return invalidParams
28498	}
28499	return nil
28500}
28501
28502// SetAccountId sets the AccountId field's value.
28503func (s *GetAccountSettingsInput) SetAccountId(v string) *GetAccountSettingsInput {
28504	s.AccountId = &v
28505	return s
28506}
28507
28508type GetAccountSettingsOutput struct {
28509	_ struct{} `type:"structure"`
28510
28511	// The Amazon Chime account settings.
28512	AccountSettings *AccountSettings `type:"structure"`
28513}
28514
28515// String returns the string representation
28516func (s GetAccountSettingsOutput) String() string {
28517	return awsutil.Prettify(s)
28518}
28519
28520// GoString returns the string representation
28521func (s GetAccountSettingsOutput) GoString() string {
28522	return s.String()
28523}
28524
28525// SetAccountSettings sets the AccountSettings field's value.
28526func (s *GetAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *GetAccountSettingsOutput {
28527	s.AccountSettings = v
28528	return s
28529}
28530
28531type GetAppInstanceRetentionSettingsInput struct {
28532	_ struct{} `type:"structure"`
28533
28534	// The ARN of the AppInstance.
28535	//
28536	// AppInstanceArn is a required field
28537	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
28538}
28539
28540// String returns the string representation
28541func (s GetAppInstanceRetentionSettingsInput) String() string {
28542	return awsutil.Prettify(s)
28543}
28544
28545// GoString returns the string representation
28546func (s GetAppInstanceRetentionSettingsInput) GoString() string {
28547	return s.String()
28548}
28549
28550// Validate inspects the fields of the type to determine if they are valid.
28551func (s *GetAppInstanceRetentionSettingsInput) Validate() error {
28552	invalidParams := request.ErrInvalidParams{Context: "GetAppInstanceRetentionSettingsInput"}
28553	if s.AppInstanceArn == nil {
28554		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
28555	}
28556	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
28557		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
28558	}
28559
28560	if invalidParams.Len() > 0 {
28561		return invalidParams
28562	}
28563	return nil
28564}
28565
28566// SetAppInstanceArn sets the AppInstanceArn field's value.
28567func (s *GetAppInstanceRetentionSettingsInput) SetAppInstanceArn(v string) *GetAppInstanceRetentionSettingsInput {
28568	s.AppInstanceArn = &v
28569	return s
28570}
28571
28572type GetAppInstanceRetentionSettingsOutput struct {
28573	_ struct{} `type:"structure"`
28574
28575	// The retention settings for the AppInstance.
28576	AppInstanceRetentionSettings *AppInstanceRetentionSettings `type:"structure"`
28577
28578	// The timestamp representing the time at which the specified items are retained,
28579	// in Epoch Seconds.
28580	InitiateDeletionTimestamp *time.Time `type:"timestamp"`
28581}
28582
28583// String returns the string representation
28584func (s GetAppInstanceRetentionSettingsOutput) String() string {
28585	return awsutil.Prettify(s)
28586}
28587
28588// GoString returns the string representation
28589func (s GetAppInstanceRetentionSettingsOutput) GoString() string {
28590	return s.String()
28591}
28592
28593// SetAppInstanceRetentionSettings sets the AppInstanceRetentionSettings field's value.
28594func (s *GetAppInstanceRetentionSettingsOutput) SetAppInstanceRetentionSettings(v *AppInstanceRetentionSettings) *GetAppInstanceRetentionSettingsOutput {
28595	s.AppInstanceRetentionSettings = v
28596	return s
28597}
28598
28599// SetInitiateDeletionTimestamp sets the InitiateDeletionTimestamp field's value.
28600func (s *GetAppInstanceRetentionSettingsOutput) SetInitiateDeletionTimestamp(v time.Time) *GetAppInstanceRetentionSettingsOutput {
28601	s.InitiateDeletionTimestamp = &v
28602	return s
28603}
28604
28605type GetAppInstanceStreamingConfigurationsInput struct {
28606	_ struct{} `type:"structure"`
28607
28608	// The ARN of the AppInstance.
28609	//
28610	// AppInstanceArn is a required field
28611	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
28612}
28613
28614// String returns the string representation
28615func (s GetAppInstanceStreamingConfigurationsInput) String() string {
28616	return awsutil.Prettify(s)
28617}
28618
28619// GoString returns the string representation
28620func (s GetAppInstanceStreamingConfigurationsInput) GoString() string {
28621	return s.String()
28622}
28623
28624// Validate inspects the fields of the type to determine if they are valid.
28625func (s *GetAppInstanceStreamingConfigurationsInput) Validate() error {
28626	invalidParams := request.ErrInvalidParams{Context: "GetAppInstanceStreamingConfigurationsInput"}
28627	if s.AppInstanceArn == nil {
28628		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
28629	}
28630	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
28631		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
28632	}
28633
28634	if invalidParams.Len() > 0 {
28635		return invalidParams
28636	}
28637	return nil
28638}
28639
28640// SetAppInstanceArn sets the AppInstanceArn field's value.
28641func (s *GetAppInstanceStreamingConfigurationsInput) SetAppInstanceArn(v string) *GetAppInstanceStreamingConfigurationsInput {
28642	s.AppInstanceArn = &v
28643	return s
28644}
28645
28646type GetAppInstanceStreamingConfigurationsOutput struct {
28647	_ struct{} `type:"structure"`
28648
28649	// The streaming settings.
28650	AppInstanceStreamingConfigurations []*AppInstanceStreamingConfiguration `min:"1" type:"list"`
28651}
28652
28653// String returns the string representation
28654func (s GetAppInstanceStreamingConfigurationsOutput) String() string {
28655	return awsutil.Prettify(s)
28656}
28657
28658// GoString returns the string representation
28659func (s GetAppInstanceStreamingConfigurationsOutput) GoString() string {
28660	return s.String()
28661}
28662
28663// SetAppInstanceStreamingConfigurations sets the AppInstanceStreamingConfigurations field's value.
28664func (s *GetAppInstanceStreamingConfigurationsOutput) SetAppInstanceStreamingConfigurations(v []*AppInstanceStreamingConfiguration) *GetAppInstanceStreamingConfigurationsOutput {
28665	s.AppInstanceStreamingConfigurations = v
28666	return s
28667}
28668
28669type GetAttendeeInput struct {
28670	_ struct{} `type:"structure"`
28671
28672	// The Amazon Chime SDK attendee ID.
28673	//
28674	// AttendeeId is a required field
28675	AttendeeId *string `location:"uri" locationName:"attendeeId" type:"string" required:"true"`
28676
28677	// The Amazon Chime SDK meeting ID.
28678	//
28679	// MeetingId is a required field
28680	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
28681}
28682
28683// String returns the string representation
28684func (s GetAttendeeInput) String() string {
28685	return awsutil.Prettify(s)
28686}
28687
28688// GoString returns the string representation
28689func (s GetAttendeeInput) GoString() string {
28690	return s.String()
28691}
28692
28693// Validate inspects the fields of the type to determine if they are valid.
28694func (s *GetAttendeeInput) Validate() error {
28695	invalidParams := request.ErrInvalidParams{Context: "GetAttendeeInput"}
28696	if s.AttendeeId == nil {
28697		invalidParams.Add(request.NewErrParamRequired("AttendeeId"))
28698	}
28699	if s.AttendeeId != nil && len(*s.AttendeeId) < 1 {
28700		invalidParams.Add(request.NewErrParamMinLen("AttendeeId", 1))
28701	}
28702	if s.MeetingId == nil {
28703		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
28704	}
28705	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
28706		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
28707	}
28708
28709	if invalidParams.Len() > 0 {
28710		return invalidParams
28711	}
28712	return nil
28713}
28714
28715// SetAttendeeId sets the AttendeeId field's value.
28716func (s *GetAttendeeInput) SetAttendeeId(v string) *GetAttendeeInput {
28717	s.AttendeeId = &v
28718	return s
28719}
28720
28721// SetMeetingId sets the MeetingId field's value.
28722func (s *GetAttendeeInput) SetMeetingId(v string) *GetAttendeeInput {
28723	s.MeetingId = &v
28724	return s
28725}
28726
28727type GetAttendeeOutput struct {
28728	_ struct{} `type:"structure"`
28729
28730	// The Amazon Chime SDK attendee information.
28731	Attendee *Attendee `type:"structure"`
28732}
28733
28734// String returns the string representation
28735func (s GetAttendeeOutput) String() string {
28736	return awsutil.Prettify(s)
28737}
28738
28739// GoString returns the string representation
28740func (s GetAttendeeOutput) GoString() string {
28741	return s.String()
28742}
28743
28744// SetAttendee sets the Attendee field's value.
28745func (s *GetAttendeeOutput) SetAttendee(v *Attendee) *GetAttendeeOutput {
28746	s.Attendee = v
28747	return s
28748}
28749
28750type GetBotInput struct {
28751	_ struct{} `type:"structure"`
28752
28753	// The Amazon Chime account ID.
28754	//
28755	// AccountId is a required field
28756	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
28757
28758	// The bot ID.
28759	//
28760	// BotId is a required field
28761	BotId *string `location:"uri" locationName:"botId" type:"string" required:"true"`
28762}
28763
28764// String returns the string representation
28765func (s GetBotInput) String() string {
28766	return awsutil.Prettify(s)
28767}
28768
28769// GoString returns the string representation
28770func (s GetBotInput) GoString() string {
28771	return s.String()
28772}
28773
28774// Validate inspects the fields of the type to determine if they are valid.
28775func (s *GetBotInput) Validate() error {
28776	invalidParams := request.ErrInvalidParams{Context: "GetBotInput"}
28777	if s.AccountId == nil {
28778		invalidParams.Add(request.NewErrParamRequired("AccountId"))
28779	}
28780	if s.AccountId != nil && len(*s.AccountId) < 1 {
28781		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
28782	}
28783	if s.BotId == nil {
28784		invalidParams.Add(request.NewErrParamRequired("BotId"))
28785	}
28786	if s.BotId != nil && len(*s.BotId) < 1 {
28787		invalidParams.Add(request.NewErrParamMinLen("BotId", 1))
28788	}
28789
28790	if invalidParams.Len() > 0 {
28791		return invalidParams
28792	}
28793	return nil
28794}
28795
28796// SetAccountId sets the AccountId field's value.
28797func (s *GetBotInput) SetAccountId(v string) *GetBotInput {
28798	s.AccountId = &v
28799	return s
28800}
28801
28802// SetBotId sets the BotId field's value.
28803func (s *GetBotInput) SetBotId(v string) *GetBotInput {
28804	s.BotId = &v
28805	return s
28806}
28807
28808type GetBotOutput struct {
28809	_ struct{} `type:"structure"`
28810
28811	// The chat bot details.
28812	Bot *Bot `type:"structure"`
28813}
28814
28815// String returns the string representation
28816func (s GetBotOutput) String() string {
28817	return awsutil.Prettify(s)
28818}
28819
28820// GoString returns the string representation
28821func (s GetBotOutput) GoString() string {
28822	return s.String()
28823}
28824
28825// SetBot sets the Bot field's value.
28826func (s *GetBotOutput) SetBot(v *Bot) *GetBotOutput {
28827	s.Bot = v
28828	return s
28829}
28830
28831type GetChannelMessageInput struct {
28832	_ struct{} `type:"structure"`
28833
28834	// The ARN of the channel.
28835	//
28836	// ChannelArn is a required field
28837	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
28838
28839	// The AppInstanceUserArn of the user that makes the API call.
28840	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
28841
28842	// The ID of the message.
28843	//
28844	// MessageId is a required field
28845	MessageId *string `location:"uri" locationName:"messageId" min:"1" type:"string" required:"true"`
28846}
28847
28848// String returns the string representation
28849func (s GetChannelMessageInput) String() string {
28850	return awsutil.Prettify(s)
28851}
28852
28853// GoString returns the string representation
28854func (s GetChannelMessageInput) GoString() string {
28855	return s.String()
28856}
28857
28858// Validate inspects the fields of the type to determine if they are valid.
28859func (s *GetChannelMessageInput) Validate() error {
28860	invalidParams := request.ErrInvalidParams{Context: "GetChannelMessageInput"}
28861	if s.ChannelArn == nil {
28862		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
28863	}
28864	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
28865		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
28866	}
28867	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
28868		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
28869	}
28870	if s.MessageId == nil {
28871		invalidParams.Add(request.NewErrParamRequired("MessageId"))
28872	}
28873	if s.MessageId != nil && len(*s.MessageId) < 1 {
28874		invalidParams.Add(request.NewErrParamMinLen("MessageId", 1))
28875	}
28876
28877	if invalidParams.Len() > 0 {
28878		return invalidParams
28879	}
28880	return nil
28881}
28882
28883// SetChannelArn sets the ChannelArn field's value.
28884func (s *GetChannelMessageInput) SetChannelArn(v string) *GetChannelMessageInput {
28885	s.ChannelArn = &v
28886	return s
28887}
28888
28889// SetChimeBearer sets the ChimeBearer field's value.
28890func (s *GetChannelMessageInput) SetChimeBearer(v string) *GetChannelMessageInput {
28891	s.ChimeBearer = &v
28892	return s
28893}
28894
28895// SetMessageId sets the MessageId field's value.
28896func (s *GetChannelMessageInput) SetMessageId(v string) *GetChannelMessageInput {
28897	s.MessageId = &v
28898	return s
28899}
28900
28901type GetChannelMessageOutput struct {
28902	_ struct{} `type:"structure"`
28903
28904	// The details of and content in the message.
28905	ChannelMessage *ChannelMessage `type:"structure"`
28906}
28907
28908// String returns the string representation
28909func (s GetChannelMessageOutput) String() string {
28910	return awsutil.Prettify(s)
28911}
28912
28913// GoString returns the string representation
28914func (s GetChannelMessageOutput) GoString() string {
28915	return s.String()
28916}
28917
28918// SetChannelMessage sets the ChannelMessage field's value.
28919func (s *GetChannelMessageOutput) SetChannelMessage(v *ChannelMessage) *GetChannelMessageOutput {
28920	s.ChannelMessage = v
28921	return s
28922}
28923
28924type GetEventsConfigurationInput struct {
28925	_ struct{} `type:"structure"`
28926
28927	// The Amazon Chime account ID.
28928	//
28929	// AccountId is a required field
28930	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
28931
28932	// The bot ID.
28933	//
28934	// BotId is a required field
28935	BotId *string `location:"uri" locationName:"botId" type:"string" required:"true"`
28936}
28937
28938// String returns the string representation
28939func (s GetEventsConfigurationInput) String() string {
28940	return awsutil.Prettify(s)
28941}
28942
28943// GoString returns the string representation
28944func (s GetEventsConfigurationInput) GoString() string {
28945	return s.String()
28946}
28947
28948// Validate inspects the fields of the type to determine if they are valid.
28949func (s *GetEventsConfigurationInput) Validate() error {
28950	invalidParams := request.ErrInvalidParams{Context: "GetEventsConfigurationInput"}
28951	if s.AccountId == nil {
28952		invalidParams.Add(request.NewErrParamRequired("AccountId"))
28953	}
28954	if s.AccountId != nil && len(*s.AccountId) < 1 {
28955		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
28956	}
28957	if s.BotId == nil {
28958		invalidParams.Add(request.NewErrParamRequired("BotId"))
28959	}
28960	if s.BotId != nil && len(*s.BotId) < 1 {
28961		invalidParams.Add(request.NewErrParamMinLen("BotId", 1))
28962	}
28963
28964	if invalidParams.Len() > 0 {
28965		return invalidParams
28966	}
28967	return nil
28968}
28969
28970// SetAccountId sets the AccountId field's value.
28971func (s *GetEventsConfigurationInput) SetAccountId(v string) *GetEventsConfigurationInput {
28972	s.AccountId = &v
28973	return s
28974}
28975
28976// SetBotId sets the BotId field's value.
28977func (s *GetEventsConfigurationInput) SetBotId(v string) *GetEventsConfigurationInput {
28978	s.BotId = &v
28979	return s
28980}
28981
28982type GetEventsConfigurationOutput struct {
28983	_ struct{} `type:"structure"`
28984
28985	// The events configuration details.
28986	EventsConfiguration *EventsConfiguration `type:"structure"`
28987}
28988
28989// String returns the string representation
28990func (s GetEventsConfigurationOutput) String() string {
28991	return awsutil.Prettify(s)
28992}
28993
28994// GoString returns the string representation
28995func (s GetEventsConfigurationOutput) GoString() string {
28996	return s.String()
28997}
28998
28999// SetEventsConfiguration sets the EventsConfiguration field's value.
29000func (s *GetEventsConfigurationOutput) SetEventsConfiguration(v *EventsConfiguration) *GetEventsConfigurationOutput {
29001	s.EventsConfiguration = v
29002	return s
29003}
29004
29005type GetGlobalSettingsInput struct {
29006	_ struct{} `type:"structure"`
29007}
29008
29009// String returns the string representation
29010func (s GetGlobalSettingsInput) String() string {
29011	return awsutil.Prettify(s)
29012}
29013
29014// GoString returns the string representation
29015func (s GetGlobalSettingsInput) GoString() string {
29016	return s.String()
29017}
29018
29019type GetGlobalSettingsOutput struct {
29020	_ struct{} `type:"structure"`
29021
29022	// The Amazon Chime Business Calling settings.
29023	BusinessCalling *BusinessCallingSettings `type:"structure"`
29024
29025	// The Amazon Chime Voice Connector settings.
29026	VoiceConnector *VoiceConnectorSettings `type:"structure"`
29027}
29028
29029// String returns the string representation
29030func (s GetGlobalSettingsOutput) String() string {
29031	return awsutil.Prettify(s)
29032}
29033
29034// GoString returns the string representation
29035func (s GetGlobalSettingsOutput) GoString() string {
29036	return s.String()
29037}
29038
29039// SetBusinessCalling sets the BusinessCalling field's value.
29040func (s *GetGlobalSettingsOutput) SetBusinessCalling(v *BusinessCallingSettings) *GetGlobalSettingsOutput {
29041	s.BusinessCalling = v
29042	return s
29043}
29044
29045// SetVoiceConnector sets the VoiceConnector field's value.
29046func (s *GetGlobalSettingsOutput) SetVoiceConnector(v *VoiceConnectorSettings) *GetGlobalSettingsOutput {
29047	s.VoiceConnector = v
29048	return s
29049}
29050
29051type GetMeetingInput struct {
29052	_ struct{} `type:"structure"`
29053
29054	// The Amazon Chime SDK meeting ID.
29055	//
29056	// MeetingId is a required field
29057	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
29058}
29059
29060// String returns the string representation
29061func (s GetMeetingInput) String() string {
29062	return awsutil.Prettify(s)
29063}
29064
29065// GoString returns the string representation
29066func (s GetMeetingInput) GoString() string {
29067	return s.String()
29068}
29069
29070// Validate inspects the fields of the type to determine if they are valid.
29071func (s *GetMeetingInput) Validate() error {
29072	invalidParams := request.ErrInvalidParams{Context: "GetMeetingInput"}
29073	if s.MeetingId == nil {
29074		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
29075	}
29076	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
29077		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
29078	}
29079
29080	if invalidParams.Len() > 0 {
29081		return invalidParams
29082	}
29083	return nil
29084}
29085
29086// SetMeetingId sets the MeetingId field's value.
29087func (s *GetMeetingInput) SetMeetingId(v string) *GetMeetingInput {
29088	s.MeetingId = &v
29089	return s
29090}
29091
29092type GetMeetingOutput struct {
29093	_ struct{} `type:"structure"`
29094
29095	// The Amazon Chime SDK meeting information.
29096	Meeting *Meeting `type:"structure"`
29097}
29098
29099// String returns the string representation
29100func (s GetMeetingOutput) String() string {
29101	return awsutil.Prettify(s)
29102}
29103
29104// GoString returns the string representation
29105func (s GetMeetingOutput) GoString() string {
29106	return s.String()
29107}
29108
29109// SetMeeting sets the Meeting field's value.
29110func (s *GetMeetingOutput) SetMeeting(v *Meeting) *GetMeetingOutput {
29111	s.Meeting = v
29112	return s
29113}
29114
29115type GetMessagingSessionEndpointInput struct {
29116	_ struct{} `type:"structure"`
29117}
29118
29119// String returns the string representation
29120func (s GetMessagingSessionEndpointInput) String() string {
29121	return awsutil.Prettify(s)
29122}
29123
29124// GoString returns the string representation
29125func (s GetMessagingSessionEndpointInput) GoString() string {
29126	return s.String()
29127}
29128
29129type GetMessagingSessionEndpointOutput struct {
29130	_ struct{} `type:"structure"`
29131
29132	// The endpoint returned in the response.
29133	Endpoint *MessagingSessionEndpoint `type:"structure"`
29134}
29135
29136// String returns the string representation
29137func (s GetMessagingSessionEndpointOutput) String() string {
29138	return awsutil.Prettify(s)
29139}
29140
29141// GoString returns the string representation
29142func (s GetMessagingSessionEndpointOutput) GoString() string {
29143	return s.String()
29144}
29145
29146// SetEndpoint sets the Endpoint field's value.
29147func (s *GetMessagingSessionEndpointOutput) SetEndpoint(v *MessagingSessionEndpoint) *GetMessagingSessionEndpointOutput {
29148	s.Endpoint = v
29149	return s
29150}
29151
29152type GetPhoneNumberInput struct {
29153	_ struct{} `type:"structure"`
29154
29155	// The phone number ID.
29156	//
29157	// PhoneNumberId is a required field
29158	PhoneNumberId *string `location:"uri" locationName:"phoneNumberId" type:"string" required:"true"`
29159}
29160
29161// String returns the string representation
29162func (s GetPhoneNumberInput) String() string {
29163	return awsutil.Prettify(s)
29164}
29165
29166// GoString returns the string representation
29167func (s GetPhoneNumberInput) GoString() string {
29168	return s.String()
29169}
29170
29171// Validate inspects the fields of the type to determine if they are valid.
29172func (s *GetPhoneNumberInput) Validate() error {
29173	invalidParams := request.ErrInvalidParams{Context: "GetPhoneNumberInput"}
29174	if s.PhoneNumberId == nil {
29175		invalidParams.Add(request.NewErrParamRequired("PhoneNumberId"))
29176	}
29177	if s.PhoneNumberId != nil && len(*s.PhoneNumberId) < 1 {
29178		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberId", 1))
29179	}
29180
29181	if invalidParams.Len() > 0 {
29182		return invalidParams
29183	}
29184	return nil
29185}
29186
29187// SetPhoneNumberId sets the PhoneNumberId field's value.
29188func (s *GetPhoneNumberInput) SetPhoneNumberId(v string) *GetPhoneNumberInput {
29189	s.PhoneNumberId = &v
29190	return s
29191}
29192
29193type GetPhoneNumberOrderInput struct {
29194	_ struct{} `type:"structure"`
29195
29196	// The ID for the phone number order.
29197	//
29198	// PhoneNumberOrderId is a required field
29199	PhoneNumberOrderId *string `location:"uri" locationName:"phoneNumberOrderId" type:"string" required:"true"`
29200}
29201
29202// String returns the string representation
29203func (s GetPhoneNumberOrderInput) String() string {
29204	return awsutil.Prettify(s)
29205}
29206
29207// GoString returns the string representation
29208func (s GetPhoneNumberOrderInput) GoString() string {
29209	return s.String()
29210}
29211
29212// Validate inspects the fields of the type to determine if they are valid.
29213func (s *GetPhoneNumberOrderInput) Validate() error {
29214	invalidParams := request.ErrInvalidParams{Context: "GetPhoneNumberOrderInput"}
29215	if s.PhoneNumberOrderId == nil {
29216		invalidParams.Add(request.NewErrParamRequired("PhoneNumberOrderId"))
29217	}
29218	if s.PhoneNumberOrderId != nil && len(*s.PhoneNumberOrderId) < 1 {
29219		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberOrderId", 1))
29220	}
29221
29222	if invalidParams.Len() > 0 {
29223		return invalidParams
29224	}
29225	return nil
29226}
29227
29228// SetPhoneNumberOrderId sets the PhoneNumberOrderId field's value.
29229func (s *GetPhoneNumberOrderInput) SetPhoneNumberOrderId(v string) *GetPhoneNumberOrderInput {
29230	s.PhoneNumberOrderId = &v
29231	return s
29232}
29233
29234type GetPhoneNumberOrderOutput struct {
29235	_ struct{} `type:"structure"`
29236
29237	// The phone number order details.
29238	PhoneNumberOrder *PhoneNumberOrder `type:"structure"`
29239}
29240
29241// String returns the string representation
29242func (s GetPhoneNumberOrderOutput) String() string {
29243	return awsutil.Prettify(s)
29244}
29245
29246// GoString returns the string representation
29247func (s GetPhoneNumberOrderOutput) GoString() string {
29248	return s.String()
29249}
29250
29251// SetPhoneNumberOrder sets the PhoneNumberOrder field's value.
29252func (s *GetPhoneNumberOrderOutput) SetPhoneNumberOrder(v *PhoneNumberOrder) *GetPhoneNumberOrderOutput {
29253	s.PhoneNumberOrder = v
29254	return s
29255}
29256
29257type GetPhoneNumberOutput struct {
29258	_ struct{} `type:"structure"`
29259
29260	// The phone number details.
29261	PhoneNumber *PhoneNumber `type:"structure"`
29262}
29263
29264// String returns the string representation
29265func (s GetPhoneNumberOutput) String() string {
29266	return awsutil.Prettify(s)
29267}
29268
29269// GoString returns the string representation
29270func (s GetPhoneNumberOutput) GoString() string {
29271	return s.String()
29272}
29273
29274// SetPhoneNumber sets the PhoneNumber field's value.
29275func (s *GetPhoneNumberOutput) SetPhoneNumber(v *PhoneNumber) *GetPhoneNumberOutput {
29276	s.PhoneNumber = v
29277	return s
29278}
29279
29280type GetPhoneNumberSettingsInput struct {
29281	_ struct{} `type:"structure"`
29282}
29283
29284// String returns the string representation
29285func (s GetPhoneNumberSettingsInput) String() string {
29286	return awsutil.Prettify(s)
29287}
29288
29289// GoString returns the string representation
29290func (s GetPhoneNumberSettingsInput) GoString() string {
29291	return s.String()
29292}
29293
29294type GetPhoneNumberSettingsOutput struct {
29295	_ struct{} `type:"structure"`
29296
29297	// The default outbound calling name for the account.
29298	CallingName *string `type:"string" sensitive:"true"`
29299
29300	// The updated outbound calling name timestamp, in ISO 8601 format.
29301	CallingNameUpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
29302}
29303
29304// String returns the string representation
29305func (s GetPhoneNumberSettingsOutput) String() string {
29306	return awsutil.Prettify(s)
29307}
29308
29309// GoString returns the string representation
29310func (s GetPhoneNumberSettingsOutput) GoString() string {
29311	return s.String()
29312}
29313
29314// SetCallingName sets the CallingName field's value.
29315func (s *GetPhoneNumberSettingsOutput) SetCallingName(v string) *GetPhoneNumberSettingsOutput {
29316	s.CallingName = &v
29317	return s
29318}
29319
29320// SetCallingNameUpdatedTimestamp sets the CallingNameUpdatedTimestamp field's value.
29321func (s *GetPhoneNumberSettingsOutput) SetCallingNameUpdatedTimestamp(v time.Time) *GetPhoneNumberSettingsOutput {
29322	s.CallingNameUpdatedTimestamp = &v
29323	return s
29324}
29325
29326type GetProxySessionInput struct {
29327	_ struct{} `type:"structure"`
29328
29329	// The proxy session ID.
29330	//
29331	// ProxySessionId is a required field
29332	ProxySessionId *string `location:"uri" locationName:"proxySessionId" min:"1" type:"string" required:"true"`
29333
29334	// The Amazon Chime voice connector ID.
29335	//
29336	// VoiceConnectorId is a required field
29337	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
29338}
29339
29340// String returns the string representation
29341func (s GetProxySessionInput) String() string {
29342	return awsutil.Prettify(s)
29343}
29344
29345// GoString returns the string representation
29346func (s GetProxySessionInput) GoString() string {
29347	return s.String()
29348}
29349
29350// Validate inspects the fields of the type to determine if they are valid.
29351func (s *GetProxySessionInput) Validate() error {
29352	invalidParams := request.ErrInvalidParams{Context: "GetProxySessionInput"}
29353	if s.ProxySessionId == nil {
29354		invalidParams.Add(request.NewErrParamRequired("ProxySessionId"))
29355	}
29356	if s.ProxySessionId != nil && len(*s.ProxySessionId) < 1 {
29357		invalidParams.Add(request.NewErrParamMinLen("ProxySessionId", 1))
29358	}
29359	if s.VoiceConnectorId == nil {
29360		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
29361	}
29362	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
29363		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
29364	}
29365
29366	if invalidParams.Len() > 0 {
29367		return invalidParams
29368	}
29369	return nil
29370}
29371
29372// SetProxySessionId sets the ProxySessionId field's value.
29373func (s *GetProxySessionInput) SetProxySessionId(v string) *GetProxySessionInput {
29374	s.ProxySessionId = &v
29375	return s
29376}
29377
29378// SetVoiceConnectorId sets the VoiceConnectorId field's value.
29379func (s *GetProxySessionInput) SetVoiceConnectorId(v string) *GetProxySessionInput {
29380	s.VoiceConnectorId = &v
29381	return s
29382}
29383
29384type GetProxySessionOutput struct {
29385	_ struct{} `type:"structure"`
29386
29387	// The proxy session details.
29388	ProxySession *ProxySession `type:"structure"`
29389}
29390
29391// String returns the string representation
29392func (s GetProxySessionOutput) String() string {
29393	return awsutil.Prettify(s)
29394}
29395
29396// GoString returns the string representation
29397func (s GetProxySessionOutput) GoString() string {
29398	return s.String()
29399}
29400
29401// SetProxySession sets the ProxySession field's value.
29402func (s *GetProxySessionOutput) SetProxySession(v *ProxySession) *GetProxySessionOutput {
29403	s.ProxySession = v
29404	return s
29405}
29406
29407type GetRetentionSettingsInput struct {
29408	_ struct{} `type:"structure"`
29409
29410	// The Amazon Chime account ID.
29411	//
29412	// AccountId is a required field
29413	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
29414}
29415
29416// String returns the string representation
29417func (s GetRetentionSettingsInput) String() string {
29418	return awsutil.Prettify(s)
29419}
29420
29421// GoString returns the string representation
29422func (s GetRetentionSettingsInput) GoString() string {
29423	return s.String()
29424}
29425
29426// Validate inspects the fields of the type to determine if they are valid.
29427func (s *GetRetentionSettingsInput) Validate() error {
29428	invalidParams := request.ErrInvalidParams{Context: "GetRetentionSettingsInput"}
29429	if s.AccountId == nil {
29430		invalidParams.Add(request.NewErrParamRequired("AccountId"))
29431	}
29432	if s.AccountId != nil && len(*s.AccountId) < 1 {
29433		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
29434	}
29435
29436	if invalidParams.Len() > 0 {
29437		return invalidParams
29438	}
29439	return nil
29440}
29441
29442// SetAccountId sets the AccountId field's value.
29443func (s *GetRetentionSettingsInput) SetAccountId(v string) *GetRetentionSettingsInput {
29444	s.AccountId = &v
29445	return s
29446}
29447
29448type GetRetentionSettingsOutput struct {
29449	_ struct{} `type:"structure"`
29450
29451	// The timestamp representing the time at which the specified items are permanently
29452	// deleted, in ISO 8601 format.
29453	InitiateDeletionTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
29454
29455	// The retention settings.
29456	RetentionSettings *RetentionSettings `type:"structure"`
29457}
29458
29459// String returns the string representation
29460func (s GetRetentionSettingsOutput) String() string {
29461	return awsutil.Prettify(s)
29462}
29463
29464// GoString returns the string representation
29465func (s GetRetentionSettingsOutput) GoString() string {
29466	return s.String()
29467}
29468
29469// SetInitiateDeletionTimestamp sets the InitiateDeletionTimestamp field's value.
29470func (s *GetRetentionSettingsOutput) SetInitiateDeletionTimestamp(v time.Time) *GetRetentionSettingsOutput {
29471	s.InitiateDeletionTimestamp = &v
29472	return s
29473}
29474
29475// SetRetentionSettings sets the RetentionSettings field's value.
29476func (s *GetRetentionSettingsOutput) SetRetentionSettings(v *RetentionSettings) *GetRetentionSettingsOutput {
29477	s.RetentionSettings = v
29478	return s
29479}
29480
29481type GetRoomInput struct {
29482	_ struct{} `type:"structure"`
29483
29484	// The Amazon Chime account ID.
29485	//
29486	// AccountId is a required field
29487	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
29488
29489	// The room ID.
29490	//
29491	// RoomId is a required field
29492	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
29493}
29494
29495// String returns the string representation
29496func (s GetRoomInput) String() string {
29497	return awsutil.Prettify(s)
29498}
29499
29500// GoString returns the string representation
29501func (s GetRoomInput) GoString() string {
29502	return s.String()
29503}
29504
29505// Validate inspects the fields of the type to determine if they are valid.
29506func (s *GetRoomInput) Validate() error {
29507	invalidParams := request.ErrInvalidParams{Context: "GetRoomInput"}
29508	if s.AccountId == nil {
29509		invalidParams.Add(request.NewErrParamRequired("AccountId"))
29510	}
29511	if s.AccountId != nil && len(*s.AccountId) < 1 {
29512		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
29513	}
29514	if s.RoomId == nil {
29515		invalidParams.Add(request.NewErrParamRequired("RoomId"))
29516	}
29517	if s.RoomId != nil && len(*s.RoomId) < 1 {
29518		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
29519	}
29520
29521	if invalidParams.Len() > 0 {
29522		return invalidParams
29523	}
29524	return nil
29525}
29526
29527// SetAccountId sets the AccountId field's value.
29528func (s *GetRoomInput) SetAccountId(v string) *GetRoomInput {
29529	s.AccountId = &v
29530	return s
29531}
29532
29533// SetRoomId sets the RoomId field's value.
29534func (s *GetRoomInput) SetRoomId(v string) *GetRoomInput {
29535	s.RoomId = &v
29536	return s
29537}
29538
29539type GetRoomOutput struct {
29540	_ struct{} `type:"structure"`
29541
29542	// The room details.
29543	Room *Room `type:"structure"`
29544}
29545
29546// String returns the string representation
29547func (s GetRoomOutput) String() string {
29548	return awsutil.Prettify(s)
29549}
29550
29551// GoString returns the string representation
29552func (s GetRoomOutput) GoString() string {
29553	return s.String()
29554}
29555
29556// SetRoom sets the Room field's value.
29557func (s *GetRoomOutput) SetRoom(v *Room) *GetRoomOutput {
29558	s.Room = v
29559	return s
29560}
29561
29562type GetSipMediaApplicationInput struct {
29563	_ struct{} `type:"structure"`
29564
29565	// The SIP media application ID.
29566	//
29567	// SipMediaApplicationId is a required field
29568	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
29569}
29570
29571// String returns the string representation
29572func (s GetSipMediaApplicationInput) String() string {
29573	return awsutil.Prettify(s)
29574}
29575
29576// GoString returns the string representation
29577func (s GetSipMediaApplicationInput) GoString() string {
29578	return s.String()
29579}
29580
29581// Validate inspects the fields of the type to determine if they are valid.
29582func (s *GetSipMediaApplicationInput) Validate() error {
29583	invalidParams := request.ErrInvalidParams{Context: "GetSipMediaApplicationInput"}
29584	if s.SipMediaApplicationId == nil {
29585		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
29586	}
29587	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
29588		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
29589	}
29590
29591	if invalidParams.Len() > 0 {
29592		return invalidParams
29593	}
29594	return nil
29595}
29596
29597// SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
29598func (s *GetSipMediaApplicationInput) SetSipMediaApplicationId(v string) *GetSipMediaApplicationInput {
29599	s.SipMediaApplicationId = &v
29600	return s
29601}
29602
29603type GetSipMediaApplicationLoggingConfigurationInput struct {
29604	_ struct{} `type:"structure"`
29605
29606	// The SIP media application ID.
29607	//
29608	// SipMediaApplicationId is a required field
29609	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
29610}
29611
29612// String returns the string representation
29613func (s GetSipMediaApplicationLoggingConfigurationInput) String() string {
29614	return awsutil.Prettify(s)
29615}
29616
29617// GoString returns the string representation
29618func (s GetSipMediaApplicationLoggingConfigurationInput) GoString() string {
29619	return s.String()
29620}
29621
29622// Validate inspects the fields of the type to determine if they are valid.
29623func (s *GetSipMediaApplicationLoggingConfigurationInput) Validate() error {
29624	invalidParams := request.ErrInvalidParams{Context: "GetSipMediaApplicationLoggingConfigurationInput"}
29625	if s.SipMediaApplicationId == nil {
29626		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
29627	}
29628	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
29629		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
29630	}
29631
29632	if invalidParams.Len() > 0 {
29633		return invalidParams
29634	}
29635	return nil
29636}
29637
29638// SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
29639func (s *GetSipMediaApplicationLoggingConfigurationInput) SetSipMediaApplicationId(v string) *GetSipMediaApplicationLoggingConfigurationInput {
29640	s.SipMediaApplicationId = &v
29641	return s
29642}
29643
29644type GetSipMediaApplicationLoggingConfigurationOutput struct {
29645	_ struct{} `type:"structure"`
29646
29647	// The actual logging configuration.
29648	SipMediaApplicationLoggingConfiguration *SipMediaApplicationLoggingConfiguration `type:"structure"`
29649}
29650
29651// String returns the string representation
29652func (s GetSipMediaApplicationLoggingConfigurationOutput) String() string {
29653	return awsutil.Prettify(s)
29654}
29655
29656// GoString returns the string representation
29657func (s GetSipMediaApplicationLoggingConfigurationOutput) GoString() string {
29658	return s.String()
29659}
29660
29661// SetSipMediaApplicationLoggingConfiguration sets the SipMediaApplicationLoggingConfiguration field's value.
29662func (s *GetSipMediaApplicationLoggingConfigurationOutput) SetSipMediaApplicationLoggingConfiguration(v *SipMediaApplicationLoggingConfiguration) *GetSipMediaApplicationLoggingConfigurationOutput {
29663	s.SipMediaApplicationLoggingConfiguration = v
29664	return s
29665}
29666
29667type GetSipMediaApplicationOutput struct {
29668	_ struct{} `type:"structure"`
29669
29670	// The SIP media application details.
29671	SipMediaApplication *SipMediaApplication `type:"structure"`
29672}
29673
29674// String returns the string representation
29675func (s GetSipMediaApplicationOutput) String() string {
29676	return awsutil.Prettify(s)
29677}
29678
29679// GoString returns the string representation
29680func (s GetSipMediaApplicationOutput) GoString() string {
29681	return s.String()
29682}
29683
29684// SetSipMediaApplication sets the SipMediaApplication field's value.
29685func (s *GetSipMediaApplicationOutput) SetSipMediaApplication(v *SipMediaApplication) *GetSipMediaApplicationOutput {
29686	s.SipMediaApplication = v
29687	return s
29688}
29689
29690type GetSipRuleInput struct {
29691	_ struct{} `type:"structure"`
29692
29693	// The SIP rule ID.
29694	//
29695	// SipRuleId is a required field
29696	SipRuleId *string `location:"uri" locationName:"sipRuleId" type:"string" required:"true"`
29697}
29698
29699// String returns the string representation
29700func (s GetSipRuleInput) String() string {
29701	return awsutil.Prettify(s)
29702}
29703
29704// GoString returns the string representation
29705func (s GetSipRuleInput) GoString() string {
29706	return s.String()
29707}
29708
29709// Validate inspects the fields of the type to determine if they are valid.
29710func (s *GetSipRuleInput) Validate() error {
29711	invalidParams := request.ErrInvalidParams{Context: "GetSipRuleInput"}
29712	if s.SipRuleId == nil {
29713		invalidParams.Add(request.NewErrParamRequired("SipRuleId"))
29714	}
29715	if s.SipRuleId != nil && len(*s.SipRuleId) < 1 {
29716		invalidParams.Add(request.NewErrParamMinLen("SipRuleId", 1))
29717	}
29718
29719	if invalidParams.Len() > 0 {
29720		return invalidParams
29721	}
29722	return nil
29723}
29724
29725// SetSipRuleId sets the SipRuleId field's value.
29726func (s *GetSipRuleInput) SetSipRuleId(v string) *GetSipRuleInput {
29727	s.SipRuleId = &v
29728	return s
29729}
29730
29731type GetSipRuleOutput struct {
29732	_ struct{} `type:"structure"`
29733
29734	// The SIP rule details.
29735	SipRule *SipRule `type:"structure"`
29736}
29737
29738// String returns the string representation
29739func (s GetSipRuleOutput) String() string {
29740	return awsutil.Prettify(s)
29741}
29742
29743// GoString returns the string representation
29744func (s GetSipRuleOutput) GoString() string {
29745	return s.String()
29746}
29747
29748// SetSipRule sets the SipRule field's value.
29749func (s *GetSipRuleOutput) SetSipRule(v *SipRule) *GetSipRuleOutput {
29750	s.SipRule = v
29751	return s
29752}
29753
29754type GetUserInput struct {
29755	_ struct{} `type:"structure"`
29756
29757	// The Amazon Chime account ID.
29758	//
29759	// AccountId is a required field
29760	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
29761
29762	// The user ID.
29763	//
29764	// UserId is a required field
29765	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
29766}
29767
29768// String returns the string representation
29769func (s GetUserInput) String() string {
29770	return awsutil.Prettify(s)
29771}
29772
29773// GoString returns the string representation
29774func (s GetUserInput) GoString() string {
29775	return s.String()
29776}
29777
29778// Validate inspects the fields of the type to determine if they are valid.
29779func (s *GetUserInput) Validate() error {
29780	invalidParams := request.ErrInvalidParams{Context: "GetUserInput"}
29781	if s.AccountId == nil {
29782		invalidParams.Add(request.NewErrParamRequired("AccountId"))
29783	}
29784	if s.AccountId != nil && len(*s.AccountId) < 1 {
29785		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
29786	}
29787	if s.UserId == nil {
29788		invalidParams.Add(request.NewErrParamRequired("UserId"))
29789	}
29790	if s.UserId != nil && len(*s.UserId) < 1 {
29791		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
29792	}
29793
29794	if invalidParams.Len() > 0 {
29795		return invalidParams
29796	}
29797	return nil
29798}
29799
29800// SetAccountId sets the AccountId field's value.
29801func (s *GetUserInput) SetAccountId(v string) *GetUserInput {
29802	s.AccountId = &v
29803	return s
29804}
29805
29806// SetUserId sets the UserId field's value.
29807func (s *GetUserInput) SetUserId(v string) *GetUserInput {
29808	s.UserId = &v
29809	return s
29810}
29811
29812type GetUserOutput struct {
29813	_ struct{} `type:"structure"`
29814
29815	// The user details.
29816	User *User `type:"structure"`
29817}
29818
29819// String returns the string representation
29820func (s GetUserOutput) String() string {
29821	return awsutil.Prettify(s)
29822}
29823
29824// GoString returns the string representation
29825func (s GetUserOutput) GoString() string {
29826	return s.String()
29827}
29828
29829// SetUser sets the User field's value.
29830func (s *GetUserOutput) SetUser(v *User) *GetUserOutput {
29831	s.User = v
29832	return s
29833}
29834
29835type GetUserSettingsInput struct {
29836	_ struct{} `type:"structure"`
29837
29838	// The Amazon Chime account ID.
29839	//
29840	// AccountId is a required field
29841	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
29842
29843	// The user ID.
29844	//
29845	// UserId is a required field
29846	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
29847}
29848
29849// String returns the string representation
29850func (s GetUserSettingsInput) String() string {
29851	return awsutil.Prettify(s)
29852}
29853
29854// GoString returns the string representation
29855func (s GetUserSettingsInput) GoString() string {
29856	return s.String()
29857}
29858
29859// Validate inspects the fields of the type to determine if they are valid.
29860func (s *GetUserSettingsInput) Validate() error {
29861	invalidParams := request.ErrInvalidParams{Context: "GetUserSettingsInput"}
29862	if s.AccountId == nil {
29863		invalidParams.Add(request.NewErrParamRequired("AccountId"))
29864	}
29865	if s.AccountId != nil && len(*s.AccountId) < 1 {
29866		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
29867	}
29868	if s.UserId == nil {
29869		invalidParams.Add(request.NewErrParamRequired("UserId"))
29870	}
29871	if s.UserId != nil && len(*s.UserId) < 1 {
29872		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
29873	}
29874
29875	if invalidParams.Len() > 0 {
29876		return invalidParams
29877	}
29878	return nil
29879}
29880
29881// SetAccountId sets the AccountId field's value.
29882func (s *GetUserSettingsInput) SetAccountId(v string) *GetUserSettingsInput {
29883	s.AccountId = &v
29884	return s
29885}
29886
29887// SetUserId sets the UserId field's value.
29888func (s *GetUserSettingsInput) SetUserId(v string) *GetUserSettingsInput {
29889	s.UserId = &v
29890	return s
29891}
29892
29893type GetUserSettingsOutput struct {
29894	_ struct{} `type:"structure"`
29895
29896	// The user settings.
29897	UserSettings *UserSettings `type:"structure"`
29898}
29899
29900// String returns the string representation
29901func (s GetUserSettingsOutput) String() string {
29902	return awsutil.Prettify(s)
29903}
29904
29905// GoString returns the string representation
29906func (s GetUserSettingsOutput) GoString() string {
29907	return s.String()
29908}
29909
29910// SetUserSettings sets the UserSettings field's value.
29911func (s *GetUserSettingsOutput) SetUserSettings(v *UserSettings) *GetUserSettingsOutput {
29912	s.UserSettings = v
29913	return s
29914}
29915
29916type GetVoiceConnectorEmergencyCallingConfigurationInput struct {
29917	_ struct{} `type:"structure"`
29918
29919	// The Amazon Chime Voice Connector ID.
29920	//
29921	// VoiceConnectorId is a required field
29922	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
29923}
29924
29925// String returns the string representation
29926func (s GetVoiceConnectorEmergencyCallingConfigurationInput) String() string {
29927	return awsutil.Prettify(s)
29928}
29929
29930// GoString returns the string representation
29931func (s GetVoiceConnectorEmergencyCallingConfigurationInput) GoString() string {
29932	return s.String()
29933}
29934
29935// Validate inspects the fields of the type to determine if they are valid.
29936func (s *GetVoiceConnectorEmergencyCallingConfigurationInput) Validate() error {
29937	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorEmergencyCallingConfigurationInput"}
29938	if s.VoiceConnectorId == nil {
29939		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
29940	}
29941	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
29942		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
29943	}
29944
29945	if invalidParams.Len() > 0 {
29946		return invalidParams
29947	}
29948	return nil
29949}
29950
29951// SetVoiceConnectorId sets the VoiceConnectorId field's value.
29952func (s *GetVoiceConnectorEmergencyCallingConfigurationInput) SetVoiceConnectorId(v string) *GetVoiceConnectorEmergencyCallingConfigurationInput {
29953	s.VoiceConnectorId = &v
29954	return s
29955}
29956
29957type GetVoiceConnectorEmergencyCallingConfigurationOutput struct {
29958	_ struct{} `type:"structure"`
29959
29960	// The emergency calling configuration details.
29961	EmergencyCallingConfiguration *EmergencyCallingConfiguration `type:"structure"`
29962}
29963
29964// String returns the string representation
29965func (s GetVoiceConnectorEmergencyCallingConfigurationOutput) String() string {
29966	return awsutil.Prettify(s)
29967}
29968
29969// GoString returns the string representation
29970func (s GetVoiceConnectorEmergencyCallingConfigurationOutput) GoString() string {
29971	return s.String()
29972}
29973
29974// SetEmergencyCallingConfiguration sets the EmergencyCallingConfiguration field's value.
29975func (s *GetVoiceConnectorEmergencyCallingConfigurationOutput) SetEmergencyCallingConfiguration(v *EmergencyCallingConfiguration) *GetVoiceConnectorEmergencyCallingConfigurationOutput {
29976	s.EmergencyCallingConfiguration = v
29977	return s
29978}
29979
29980type GetVoiceConnectorGroupInput struct {
29981	_ struct{} `type:"structure"`
29982
29983	// The Amazon Chime Voice Connector group ID.
29984	//
29985	// VoiceConnectorGroupId is a required field
29986	VoiceConnectorGroupId *string `location:"uri" locationName:"voiceConnectorGroupId" type:"string" required:"true"`
29987}
29988
29989// String returns the string representation
29990func (s GetVoiceConnectorGroupInput) String() string {
29991	return awsutil.Prettify(s)
29992}
29993
29994// GoString returns the string representation
29995func (s GetVoiceConnectorGroupInput) GoString() string {
29996	return s.String()
29997}
29998
29999// Validate inspects the fields of the type to determine if they are valid.
30000func (s *GetVoiceConnectorGroupInput) Validate() error {
30001	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorGroupInput"}
30002	if s.VoiceConnectorGroupId == nil {
30003		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorGroupId"))
30004	}
30005	if s.VoiceConnectorGroupId != nil && len(*s.VoiceConnectorGroupId) < 1 {
30006		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorGroupId", 1))
30007	}
30008
30009	if invalidParams.Len() > 0 {
30010		return invalidParams
30011	}
30012	return nil
30013}
30014
30015// SetVoiceConnectorGroupId sets the VoiceConnectorGroupId field's value.
30016func (s *GetVoiceConnectorGroupInput) SetVoiceConnectorGroupId(v string) *GetVoiceConnectorGroupInput {
30017	s.VoiceConnectorGroupId = &v
30018	return s
30019}
30020
30021type GetVoiceConnectorGroupOutput struct {
30022	_ struct{} `type:"structure"`
30023
30024	// The Amazon Chime Voice Connector group details.
30025	VoiceConnectorGroup *VoiceConnectorGroup `type:"structure"`
30026}
30027
30028// String returns the string representation
30029func (s GetVoiceConnectorGroupOutput) String() string {
30030	return awsutil.Prettify(s)
30031}
30032
30033// GoString returns the string representation
30034func (s GetVoiceConnectorGroupOutput) GoString() string {
30035	return s.String()
30036}
30037
30038// SetVoiceConnectorGroup sets the VoiceConnectorGroup field's value.
30039func (s *GetVoiceConnectorGroupOutput) SetVoiceConnectorGroup(v *VoiceConnectorGroup) *GetVoiceConnectorGroupOutput {
30040	s.VoiceConnectorGroup = v
30041	return s
30042}
30043
30044type GetVoiceConnectorInput struct {
30045	_ struct{} `type:"structure"`
30046
30047	// The Amazon Chime Voice Connector ID.
30048	//
30049	// VoiceConnectorId is a required field
30050	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
30051}
30052
30053// String returns the string representation
30054func (s GetVoiceConnectorInput) String() string {
30055	return awsutil.Prettify(s)
30056}
30057
30058// GoString returns the string representation
30059func (s GetVoiceConnectorInput) GoString() string {
30060	return s.String()
30061}
30062
30063// Validate inspects the fields of the type to determine if they are valid.
30064func (s *GetVoiceConnectorInput) Validate() error {
30065	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorInput"}
30066	if s.VoiceConnectorId == nil {
30067		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
30068	}
30069	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
30070		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
30071	}
30072
30073	if invalidParams.Len() > 0 {
30074		return invalidParams
30075	}
30076	return nil
30077}
30078
30079// SetVoiceConnectorId sets the VoiceConnectorId field's value.
30080func (s *GetVoiceConnectorInput) SetVoiceConnectorId(v string) *GetVoiceConnectorInput {
30081	s.VoiceConnectorId = &v
30082	return s
30083}
30084
30085type GetVoiceConnectorLoggingConfigurationInput struct {
30086	_ struct{} `type:"structure"`
30087
30088	// The Amazon Chime Voice Connector ID.
30089	//
30090	// VoiceConnectorId is a required field
30091	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
30092}
30093
30094// String returns the string representation
30095func (s GetVoiceConnectorLoggingConfigurationInput) String() string {
30096	return awsutil.Prettify(s)
30097}
30098
30099// GoString returns the string representation
30100func (s GetVoiceConnectorLoggingConfigurationInput) GoString() string {
30101	return s.String()
30102}
30103
30104// Validate inspects the fields of the type to determine if they are valid.
30105func (s *GetVoiceConnectorLoggingConfigurationInput) Validate() error {
30106	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorLoggingConfigurationInput"}
30107	if s.VoiceConnectorId == nil {
30108		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
30109	}
30110	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
30111		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
30112	}
30113
30114	if invalidParams.Len() > 0 {
30115		return invalidParams
30116	}
30117	return nil
30118}
30119
30120// SetVoiceConnectorId sets the VoiceConnectorId field's value.
30121func (s *GetVoiceConnectorLoggingConfigurationInput) SetVoiceConnectorId(v string) *GetVoiceConnectorLoggingConfigurationInput {
30122	s.VoiceConnectorId = &v
30123	return s
30124}
30125
30126type GetVoiceConnectorLoggingConfigurationOutput struct {
30127	_ struct{} `type:"structure"`
30128
30129	// The logging configuration details.
30130	LoggingConfiguration *LoggingConfiguration `type:"structure"`
30131}
30132
30133// String returns the string representation
30134func (s GetVoiceConnectorLoggingConfigurationOutput) String() string {
30135	return awsutil.Prettify(s)
30136}
30137
30138// GoString returns the string representation
30139func (s GetVoiceConnectorLoggingConfigurationOutput) GoString() string {
30140	return s.String()
30141}
30142
30143// SetLoggingConfiguration sets the LoggingConfiguration field's value.
30144func (s *GetVoiceConnectorLoggingConfigurationOutput) SetLoggingConfiguration(v *LoggingConfiguration) *GetVoiceConnectorLoggingConfigurationOutput {
30145	s.LoggingConfiguration = v
30146	return s
30147}
30148
30149type GetVoiceConnectorOriginationInput struct {
30150	_ struct{} `type:"structure"`
30151
30152	// The Amazon Chime Voice Connector ID.
30153	//
30154	// VoiceConnectorId is a required field
30155	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
30156}
30157
30158// String returns the string representation
30159func (s GetVoiceConnectorOriginationInput) String() string {
30160	return awsutil.Prettify(s)
30161}
30162
30163// GoString returns the string representation
30164func (s GetVoiceConnectorOriginationInput) GoString() string {
30165	return s.String()
30166}
30167
30168// Validate inspects the fields of the type to determine if they are valid.
30169func (s *GetVoiceConnectorOriginationInput) Validate() error {
30170	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorOriginationInput"}
30171	if s.VoiceConnectorId == nil {
30172		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
30173	}
30174	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
30175		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
30176	}
30177
30178	if invalidParams.Len() > 0 {
30179		return invalidParams
30180	}
30181	return nil
30182}
30183
30184// SetVoiceConnectorId sets the VoiceConnectorId field's value.
30185func (s *GetVoiceConnectorOriginationInput) SetVoiceConnectorId(v string) *GetVoiceConnectorOriginationInput {
30186	s.VoiceConnectorId = &v
30187	return s
30188}
30189
30190type GetVoiceConnectorOriginationOutput struct {
30191	_ struct{} `type:"structure"`
30192
30193	// The origination setting details.
30194	Origination *Origination `type:"structure"`
30195}
30196
30197// String returns the string representation
30198func (s GetVoiceConnectorOriginationOutput) String() string {
30199	return awsutil.Prettify(s)
30200}
30201
30202// GoString returns the string representation
30203func (s GetVoiceConnectorOriginationOutput) GoString() string {
30204	return s.String()
30205}
30206
30207// SetOrigination sets the Origination field's value.
30208func (s *GetVoiceConnectorOriginationOutput) SetOrigination(v *Origination) *GetVoiceConnectorOriginationOutput {
30209	s.Origination = v
30210	return s
30211}
30212
30213type GetVoiceConnectorOutput struct {
30214	_ struct{} `type:"structure"`
30215
30216	// The Amazon Chime Voice Connector details.
30217	VoiceConnector *VoiceConnector `type:"structure"`
30218}
30219
30220// String returns the string representation
30221func (s GetVoiceConnectorOutput) String() string {
30222	return awsutil.Prettify(s)
30223}
30224
30225// GoString returns the string representation
30226func (s GetVoiceConnectorOutput) GoString() string {
30227	return s.String()
30228}
30229
30230// SetVoiceConnector sets the VoiceConnector field's value.
30231func (s *GetVoiceConnectorOutput) SetVoiceConnector(v *VoiceConnector) *GetVoiceConnectorOutput {
30232	s.VoiceConnector = v
30233	return s
30234}
30235
30236type GetVoiceConnectorProxyInput struct {
30237	_ struct{} `type:"structure"`
30238
30239	// The Amazon Chime voice connector ID.
30240	//
30241	// VoiceConnectorId is a required field
30242	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
30243}
30244
30245// String returns the string representation
30246func (s GetVoiceConnectorProxyInput) String() string {
30247	return awsutil.Prettify(s)
30248}
30249
30250// GoString returns the string representation
30251func (s GetVoiceConnectorProxyInput) GoString() string {
30252	return s.String()
30253}
30254
30255// Validate inspects the fields of the type to determine if they are valid.
30256func (s *GetVoiceConnectorProxyInput) Validate() error {
30257	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorProxyInput"}
30258	if s.VoiceConnectorId == nil {
30259		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
30260	}
30261	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
30262		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
30263	}
30264
30265	if invalidParams.Len() > 0 {
30266		return invalidParams
30267	}
30268	return nil
30269}
30270
30271// SetVoiceConnectorId sets the VoiceConnectorId field's value.
30272func (s *GetVoiceConnectorProxyInput) SetVoiceConnectorId(v string) *GetVoiceConnectorProxyInput {
30273	s.VoiceConnectorId = &v
30274	return s
30275}
30276
30277type GetVoiceConnectorProxyOutput struct {
30278	_ struct{} `type:"structure"`
30279
30280	// The proxy configuration details.
30281	Proxy *Proxy `type:"structure"`
30282}
30283
30284// String returns the string representation
30285func (s GetVoiceConnectorProxyOutput) String() string {
30286	return awsutil.Prettify(s)
30287}
30288
30289// GoString returns the string representation
30290func (s GetVoiceConnectorProxyOutput) GoString() string {
30291	return s.String()
30292}
30293
30294// SetProxy sets the Proxy field's value.
30295func (s *GetVoiceConnectorProxyOutput) SetProxy(v *Proxy) *GetVoiceConnectorProxyOutput {
30296	s.Proxy = v
30297	return s
30298}
30299
30300type GetVoiceConnectorStreamingConfigurationInput struct {
30301	_ struct{} `type:"structure"`
30302
30303	// The Amazon Chime Voice Connector ID.
30304	//
30305	// VoiceConnectorId is a required field
30306	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
30307}
30308
30309// String returns the string representation
30310func (s GetVoiceConnectorStreamingConfigurationInput) String() string {
30311	return awsutil.Prettify(s)
30312}
30313
30314// GoString returns the string representation
30315func (s GetVoiceConnectorStreamingConfigurationInput) GoString() string {
30316	return s.String()
30317}
30318
30319// Validate inspects the fields of the type to determine if they are valid.
30320func (s *GetVoiceConnectorStreamingConfigurationInput) Validate() error {
30321	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorStreamingConfigurationInput"}
30322	if s.VoiceConnectorId == nil {
30323		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
30324	}
30325	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
30326		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
30327	}
30328
30329	if invalidParams.Len() > 0 {
30330		return invalidParams
30331	}
30332	return nil
30333}
30334
30335// SetVoiceConnectorId sets the VoiceConnectorId field's value.
30336func (s *GetVoiceConnectorStreamingConfigurationInput) SetVoiceConnectorId(v string) *GetVoiceConnectorStreamingConfigurationInput {
30337	s.VoiceConnectorId = &v
30338	return s
30339}
30340
30341type GetVoiceConnectorStreamingConfigurationOutput struct {
30342	_ struct{} `type:"structure"`
30343
30344	// The streaming configuration details.
30345	StreamingConfiguration *StreamingConfiguration `type:"structure"`
30346}
30347
30348// String returns the string representation
30349func (s GetVoiceConnectorStreamingConfigurationOutput) String() string {
30350	return awsutil.Prettify(s)
30351}
30352
30353// GoString returns the string representation
30354func (s GetVoiceConnectorStreamingConfigurationOutput) GoString() string {
30355	return s.String()
30356}
30357
30358// SetStreamingConfiguration sets the StreamingConfiguration field's value.
30359func (s *GetVoiceConnectorStreamingConfigurationOutput) SetStreamingConfiguration(v *StreamingConfiguration) *GetVoiceConnectorStreamingConfigurationOutput {
30360	s.StreamingConfiguration = v
30361	return s
30362}
30363
30364type GetVoiceConnectorTerminationHealthInput struct {
30365	_ struct{} `type:"structure"`
30366
30367	// The Amazon Chime Voice Connector ID.
30368	//
30369	// VoiceConnectorId is a required field
30370	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
30371}
30372
30373// String returns the string representation
30374func (s GetVoiceConnectorTerminationHealthInput) String() string {
30375	return awsutil.Prettify(s)
30376}
30377
30378// GoString returns the string representation
30379func (s GetVoiceConnectorTerminationHealthInput) GoString() string {
30380	return s.String()
30381}
30382
30383// Validate inspects the fields of the type to determine if they are valid.
30384func (s *GetVoiceConnectorTerminationHealthInput) Validate() error {
30385	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorTerminationHealthInput"}
30386	if s.VoiceConnectorId == nil {
30387		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
30388	}
30389	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
30390		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
30391	}
30392
30393	if invalidParams.Len() > 0 {
30394		return invalidParams
30395	}
30396	return nil
30397}
30398
30399// SetVoiceConnectorId sets the VoiceConnectorId field's value.
30400func (s *GetVoiceConnectorTerminationHealthInput) SetVoiceConnectorId(v string) *GetVoiceConnectorTerminationHealthInput {
30401	s.VoiceConnectorId = &v
30402	return s
30403}
30404
30405type GetVoiceConnectorTerminationHealthOutput struct {
30406	_ struct{} `type:"structure"`
30407
30408	// The termination health details.
30409	TerminationHealth *TerminationHealth `type:"structure"`
30410}
30411
30412// String returns the string representation
30413func (s GetVoiceConnectorTerminationHealthOutput) String() string {
30414	return awsutil.Prettify(s)
30415}
30416
30417// GoString returns the string representation
30418func (s GetVoiceConnectorTerminationHealthOutput) GoString() string {
30419	return s.String()
30420}
30421
30422// SetTerminationHealth sets the TerminationHealth field's value.
30423func (s *GetVoiceConnectorTerminationHealthOutput) SetTerminationHealth(v *TerminationHealth) *GetVoiceConnectorTerminationHealthOutput {
30424	s.TerminationHealth = v
30425	return s
30426}
30427
30428type GetVoiceConnectorTerminationInput struct {
30429	_ struct{} `type:"structure"`
30430
30431	// The Amazon Chime Voice Connector ID.
30432	//
30433	// VoiceConnectorId is a required field
30434	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
30435}
30436
30437// String returns the string representation
30438func (s GetVoiceConnectorTerminationInput) String() string {
30439	return awsutil.Prettify(s)
30440}
30441
30442// GoString returns the string representation
30443func (s GetVoiceConnectorTerminationInput) GoString() string {
30444	return s.String()
30445}
30446
30447// Validate inspects the fields of the type to determine if they are valid.
30448func (s *GetVoiceConnectorTerminationInput) Validate() error {
30449	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorTerminationInput"}
30450	if s.VoiceConnectorId == nil {
30451		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
30452	}
30453	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
30454		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
30455	}
30456
30457	if invalidParams.Len() > 0 {
30458		return invalidParams
30459	}
30460	return nil
30461}
30462
30463// SetVoiceConnectorId sets the VoiceConnectorId field's value.
30464func (s *GetVoiceConnectorTerminationInput) SetVoiceConnectorId(v string) *GetVoiceConnectorTerminationInput {
30465	s.VoiceConnectorId = &v
30466	return s
30467}
30468
30469type GetVoiceConnectorTerminationOutput struct {
30470	_ struct{} `type:"structure"`
30471
30472	// The termination setting details.
30473	Termination *Termination `type:"structure"`
30474}
30475
30476// String returns the string representation
30477func (s GetVoiceConnectorTerminationOutput) String() string {
30478	return awsutil.Prettify(s)
30479}
30480
30481// GoString returns the string representation
30482func (s GetVoiceConnectorTerminationOutput) GoString() string {
30483	return s.String()
30484}
30485
30486// SetTermination sets the Termination field's value.
30487func (s *GetVoiceConnectorTerminationOutput) SetTermination(v *Termination) *GetVoiceConnectorTerminationOutput {
30488	s.Termination = v
30489	return s
30490}
30491
30492// The details of a user.
30493type Identity struct {
30494	_ struct{} `type:"structure"`
30495
30496	// The ARN in an Identity.
30497	Arn *string `min:"5" type:"string"`
30498
30499	// The name in an Identity.
30500	Name *string `type:"string" sensitive:"true"`
30501}
30502
30503// String returns the string representation
30504func (s Identity) String() string {
30505	return awsutil.Prettify(s)
30506}
30507
30508// GoString returns the string representation
30509func (s Identity) GoString() string {
30510	return s.String()
30511}
30512
30513// SetArn sets the Arn field's value.
30514func (s *Identity) SetArn(v string) *Identity {
30515	s.Arn = &v
30516	return s
30517}
30518
30519// SetName sets the Name field's value.
30520func (s *Identity) SetName(v string) *Identity {
30521	s.Name = &v
30522	return s
30523}
30524
30525// Invitation object returned after emailing users to invite them to join the
30526// Amazon Chime Team account.
30527type Invite struct {
30528	_ struct{} `type:"structure"`
30529
30530	// The email address to which the invite is sent.
30531	EmailAddress *string `type:"string" sensitive:"true"`
30532
30533	// The status of the invite email.
30534	EmailStatus *string `type:"string" enum:"EmailStatus"`
30535
30536	// The invite ID.
30537	InviteId *string `type:"string"`
30538
30539	// The status of the invite.
30540	Status *string `type:"string" enum:"InviteStatus"`
30541}
30542
30543// String returns the string representation
30544func (s Invite) String() string {
30545	return awsutil.Prettify(s)
30546}
30547
30548// GoString returns the string representation
30549func (s Invite) GoString() string {
30550	return s.String()
30551}
30552
30553// SetEmailAddress sets the EmailAddress field's value.
30554func (s *Invite) SetEmailAddress(v string) *Invite {
30555	s.EmailAddress = &v
30556	return s
30557}
30558
30559// SetEmailStatus sets the EmailStatus field's value.
30560func (s *Invite) SetEmailStatus(v string) *Invite {
30561	s.EmailStatus = &v
30562	return s
30563}
30564
30565// SetInviteId sets the InviteId field's value.
30566func (s *Invite) SetInviteId(v string) *Invite {
30567	s.InviteId = &v
30568	return s
30569}
30570
30571// SetStatus sets the Status field's value.
30572func (s *Invite) SetStatus(v string) *Invite {
30573	s.Status = &v
30574	return s
30575}
30576
30577type InviteUsersInput struct {
30578	_ struct{} `type:"structure"`
30579
30580	// The Amazon Chime account ID.
30581	//
30582	// AccountId is a required field
30583	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
30584
30585	// The user email addresses to which to send the email invitation.
30586	//
30587	// UserEmailList is a required field
30588	UserEmailList []*string `type:"list" required:"true"`
30589
30590	// The user type.
30591	UserType *string `type:"string" enum:"UserType"`
30592}
30593
30594// String returns the string representation
30595func (s InviteUsersInput) String() string {
30596	return awsutil.Prettify(s)
30597}
30598
30599// GoString returns the string representation
30600func (s InviteUsersInput) GoString() string {
30601	return s.String()
30602}
30603
30604// Validate inspects the fields of the type to determine if they are valid.
30605func (s *InviteUsersInput) Validate() error {
30606	invalidParams := request.ErrInvalidParams{Context: "InviteUsersInput"}
30607	if s.AccountId == nil {
30608		invalidParams.Add(request.NewErrParamRequired("AccountId"))
30609	}
30610	if s.AccountId != nil && len(*s.AccountId) < 1 {
30611		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
30612	}
30613	if s.UserEmailList == nil {
30614		invalidParams.Add(request.NewErrParamRequired("UserEmailList"))
30615	}
30616
30617	if invalidParams.Len() > 0 {
30618		return invalidParams
30619	}
30620	return nil
30621}
30622
30623// SetAccountId sets the AccountId field's value.
30624func (s *InviteUsersInput) SetAccountId(v string) *InviteUsersInput {
30625	s.AccountId = &v
30626	return s
30627}
30628
30629// SetUserEmailList sets the UserEmailList field's value.
30630func (s *InviteUsersInput) SetUserEmailList(v []*string) *InviteUsersInput {
30631	s.UserEmailList = v
30632	return s
30633}
30634
30635// SetUserType sets the UserType field's value.
30636func (s *InviteUsersInput) SetUserType(v string) *InviteUsersInput {
30637	s.UserType = &v
30638	return s
30639}
30640
30641type InviteUsersOutput struct {
30642	_ struct{} `type:"structure"`
30643
30644	// The email invitation details.
30645	Invites []*Invite `type:"list"`
30646}
30647
30648// String returns the string representation
30649func (s InviteUsersOutput) String() string {
30650	return awsutil.Prettify(s)
30651}
30652
30653// GoString returns the string representation
30654func (s InviteUsersOutput) GoString() string {
30655	return s.String()
30656}
30657
30658// SetInvites sets the Invites field's value.
30659func (s *InviteUsersOutput) SetInvites(v []*Invite) *InviteUsersOutput {
30660	s.Invites = v
30661	return s
30662}
30663
30664type ListAccountsInput struct {
30665	_ struct{} `type:"structure"`
30666
30667	// The maximum number of results to return in a single call. Defaults to 100.
30668	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
30669
30670	// Amazon Chime account name prefix with which to filter results.
30671	Name *string `location:"querystring" locationName:"name" min:"1" type:"string"`
30672
30673	// The token to use to retrieve the next page of results.
30674	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
30675
30676	// User email address with which to filter results.
30677	UserEmail *string `location:"querystring" locationName:"user-email" type:"string" sensitive:"true"`
30678}
30679
30680// String returns the string representation
30681func (s ListAccountsInput) String() string {
30682	return awsutil.Prettify(s)
30683}
30684
30685// GoString returns the string representation
30686func (s ListAccountsInput) GoString() string {
30687	return s.String()
30688}
30689
30690// Validate inspects the fields of the type to determine if they are valid.
30691func (s *ListAccountsInput) Validate() error {
30692	invalidParams := request.ErrInvalidParams{Context: "ListAccountsInput"}
30693	if s.MaxResults != nil && *s.MaxResults < 1 {
30694		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
30695	}
30696	if s.Name != nil && len(*s.Name) < 1 {
30697		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30698	}
30699
30700	if invalidParams.Len() > 0 {
30701		return invalidParams
30702	}
30703	return nil
30704}
30705
30706// SetMaxResults sets the MaxResults field's value.
30707func (s *ListAccountsInput) SetMaxResults(v int64) *ListAccountsInput {
30708	s.MaxResults = &v
30709	return s
30710}
30711
30712// SetName sets the Name field's value.
30713func (s *ListAccountsInput) SetName(v string) *ListAccountsInput {
30714	s.Name = &v
30715	return s
30716}
30717
30718// SetNextToken sets the NextToken field's value.
30719func (s *ListAccountsInput) SetNextToken(v string) *ListAccountsInput {
30720	s.NextToken = &v
30721	return s
30722}
30723
30724// SetUserEmail sets the UserEmail field's value.
30725func (s *ListAccountsInput) SetUserEmail(v string) *ListAccountsInput {
30726	s.UserEmail = &v
30727	return s
30728}
30729
30730type ListAccountsOutput struct {
30731	_ struct{} `type:"structure"`
30732
30733	// List of Amazon Chime accounts and account details.
30734	Accounts []*Account `type:"list"`
30735
30736	// The token to use to retrieve the next page of results.
30737	NextToken *string `type:"string"`
30738}
30739
30740// String returns the string representation
30741func (s ListAccountsOutput) String() string {
30742	return awsutil.Prettify(s)
30743}
30744
30745// GoString returns the string representation
30746func (s ListAccountsOutput) GoString() string {
30747	return s.String()
30748}
30749
30750// SetAccounts sets the Accounts field's value.
30751func (s *ListAccountsOutput) SetAccounts(v []*Account) *ListAccountsOutput {
30752	s.Accounts = v
30753	return s
30754}
30755
30756// SetNextToken sets the NextToken field's value.
30757func (s *ListAccountsOutput) SetNextToken(v string) *ListAccountsOutput {
30758	s.NextToken = &v
30759	return s
30760}
30761
30762type ListAppInstanceAdminsInput struct {
30763	_ struct{} `type:"structure"`
30764
30765	// The ARN of the AppInstance.
30766	//
30767	// AppInstanceArn is a required field
30768	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
30769
30770	// The maximum number of administrators that you want to return.
30771	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
30772
30773	// The token returned from previous API requests until the number of administrators
30774	// is reached.
30775	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
30776}
30777
30778// String returns the string representation
30779func (s ListAppInstanceAdminsInput) String() string {
30780	return awsutil.Prettify(s)
30781}
30782
30783// GoString returns the string representation
30784func (s ListAppInstanceAdminsInput) GoString() string {
30785	return s.String()
30786}
30787
30788// Validate inspects the fields of the type to determine if they are valid.
30789func (s *ListAppInstanceAdminsInput) Validate() error {
30790	invalidParams := request.ErrInvalidParams{Context: "ListAppInstanceAdminsInput"}
30791	if s.AppInstanceArn == nil {
30792		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
30793	}
30794	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
30795		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
30796	}
30797	if s.MaxResults != nil && *s.MaxResults < 1 {
30798		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
30799	}
30800
30801	if invalidParams.Len() > 0 {
30802		return invalidParams
30803	}
30804	return nil
30805}
30806
30807// SetAppInstanceArn sets the AppInstanceArn field's value.
30808func (s *ListAppInstanceAdminsInput) SetAppInstanceArn(v string) *ListAppInstanceAdminsInput {
30809	s.AppInstanceArn = &v
30810	return s
30811}
30812
30813// SetMaxResults sets the MaxResults field's value.
30814func (s *ListAppInstanceAdminsInput) SetMaxResults(v int64) *ListAppInstanceAdminsInput {
30815	s.MaxResults = &v
30816	return s
30817}
30818
30819// SetNextToken sets the NextToken field's value.
30820func (s *ListAppInstanceAdminsInput) SetNextToken(v string) *ListAppInstanceAdminsInput {
30821	s.NextToken = &v
30822	return s
30823}
30824
30825type ListAppInstanceAdminsOutput struct {
30826	_ struct{} `type:"structure"`
30827
30828	// The information for each administrator.
30829	AppInstanceAdmins []*AppInstanceAdminSummary `type:"list"`
30830
30831	// The ARN of the AppInstance.
30832	AppInstanceArn *string `min:"5" type:"string"`
30833
30834	// The token returned from previous API requests until the number of administrators
30835	// is reached.
30836	NextToken *string `type:"string" sensitive:"true"`
30837}
30838
30839// String returns the string representation
30840func (s ListAppInstanceAdminsOutput) String() string {
30841	return awsutil.Prettify(s)
30842}
30843
30844// GoString returns the string representation
30845func (s ListAppInstanceAdminsOutput) GoString() string {
30846	return s.String()
30847}
30848
30849// SetAppInstanceAdmins sets the AppInstanceAdmins field's value.
30850func (s *ListAppInstanceAdminsOutput) SetAppInstanceAdmins(v []*AppInstanceAdminSummary) *ListAppInstanceAdminsOutput {
30851	s.AppInstanceAdmins = v
30852	return s
30853}
30854
30855// SetAppInstanceArn sets the AppInstanceArn field's value.
30856func (s *ListAppInstanceAdminsOutput) SetAppInstanceArn(v string) *ListAppInstanceAdminsOutput {
30857	s.AppInstanceArn = &v
30858	return s
30859}
30860
30861// SetNextToken sets the NextToken field's value.
30862func (s *ListAppInstanceAdminsOutput) SetNextToken(v string) *ListAppInstanceAdminsOutput {
30863	s.NextToken = &v
30864	return s
30865}
30866
30867type ListAppInstanceUsersInput struct {
30868	_ struct{} `type:"structure"`
30869
30870	// The ARN of the AppInstance.
30871	//
30872	// AppInstanceArn is a required field
30873	AppInstanceArn *string `location:"querystring" locationName:"app-instance-arn" min:"5" type:"string" required:"true"`
30874
30875	// The maximum number of requests that you want returned.
30876	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
30877
30878	// The token passed by previous API calls until all requested users are returned.
30879	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
30880}
30881
30882// String returns the string representation
30883func (s ListAppInstanceUsersInput) String() string {
30884	return awsutil.Prettify(s)
30885}
30886
30887// GoString returns the string representation
30888func (s ListAppInstanceUsersInput) GoString() string {
30889	return s.String()
30890}
30891
30892// Validate inspects the fields of the type to determine if they are valid.
30893func (s *ListAppInstanceUsersInput) Validate() error {
30894	invalidParams := request.ErrInvalidParams{Context: "ListAppInstanceUsersInput"}
30895	if s.AppInstanceArn == nil {
30896		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
30897	}
30898	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
30899		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
30900	}
30901	if s.MaxResults != nil && *s.MaxResults < 1 {
30902		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
30903	}
30904
30905	if invalidParams.Len() > 0 {
30906		return invalidParams
30907	}
30908	return nil
30909}
30910
30911// SetAppInstanceArn sets the AppInstanceArn field's value.
30912func (s *ListAppInstanceUsersInput) SetAppInstanceArn(v string) *ListAppInstanceUsersInput {
30913	s.AppInstanceArn = &v
30914	return s
30915}
30916
30917// SetMaxResults sets the MaxResults field's value.
30918func (s *ListAppInstanceUsersInput) SetMaxResults(v int64) *ListAppInstanceUsersInput {
30919	s.MaxResults = &v
30920	return s
30921}
30922
30923// SetNextToken sets the NextToken field's value.
30924func (s *ListAppInstanceUsersInput) SetNextToken(v string) *ListAppInstanceUsersInput {
30925	s.NextToken = &v
30926	return s
30927}
30928
30929type ListAppInstanceUsersOutput struct {
30930	_ struct{} `type:"structure"`
30931
30932	// The ARN of the AppInstance.
30933	AppInstanceArn *string `min:"5" type:"string"`
30934
30935	// The information for each requested AppInstanceUser.
30936	AppInstanceUsers []*AppInstanceUserSummary `type:"list"`
30937
30938	// The token passed by previous API calls until all requested users are returned.
30939	NextToken *string `type:"string" sensitive:"true"`
30940}
30941
30942// String returns the string representation
30943func (s ListAppInstanceUsersOutput) String() string {
30944	return awsutil.Prettify(s)
30945}
30946
30947// GoString returns the string representation
30948func (s ListAppInstanceUsersOutput) GoString() string {
30949	return s.String()
30950}
30951
30952// SetAppInstanceArn sets the AppInstanceArn field's value.
30953func (s *ListAppInstanceUsersOutput) SetAppInstanceArn(v string) *ListAppInstanceUsersOutput {
30954	s.AppInstanceArn = &v
30955	return s
30956}
30957
30958// SetAppInstanceUsers sets the AppInstanceUsers field's value.
30959func (s *ListAppInstanceUsersOutput) SetAppInstanceUsers(v []*AppInstanceUserSummary) *ListAppInstanceUsersOutput {
30960	s.AppInstanceUsers = v
30961	return s
30962}
30963
30964// SetNextToken sets the NextToken field's value.
30965func (s *ListAppInstanceUsersOutput) SetNextToken(v string) *ListAppInstanceUsersOutput {
30966	s.NextToken = &v
30967	return s
30968}
30969
30970type ListAppInstancesInput struct {
30971	_ struct{} `type:"structure"`
30972
30973	// The maximum number of AppInstances that you want to return.
30974	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
30975
30976	// The token passed by previous API requests until you reach the maximum number
30977	// of AppInstances.
30978	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
30979}
30980
30981// String returns the string representation
30982func (s ListAppInstancesInput) String() string {
30983	return awsutil.Prettify(s)
30984}
30985
30986// GoString returns the string representation
30987func (s ListAppInstancesInput) GoString() string {
30988	return s.String()
30989}
30990
30991// Validate inspects the fields of the type to determine if they are valid.
30992func (s *ListAppInstancesInput) Validate() error {
30993	invalidParams := request.ErrInvalidParams{Context: "ListAppInstancesInput"}
30994	if s.MaxResults != nil && *s.MaxResults < 1 {
30995		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
30996	}
30997
30998	if invalidParams.Len() > 0 {
30999		return invalidParams
31000	}
31001	return nil
31002}
31003
31004// SetMaxResults sets the MaxResults field's value.
31005func (s *ListAppInstancesInput) SetMaxResults(v int64) *ListAppInstancesInput {
31006	s.MaxResults = &v
31007	return s
31008}
31009
31010// SetNextToken sets the NextToken field's value.
31011func (s *ListAppInstancesInput) SetNextToken(v string) *ListAppInstancesInput {
31012	s.NextToken = &v
31013	return s
31014}
31015
31016type ListAppInstancesOutput struct {
31017	_ struct{} `type:"structure"`
31018
31019	// The information for each AppInstance.
31020	AppInstances []*AppInstanceSummary `type:"list"`
31021
31022	// The token passed by previous API requests until the maximum number of AppInstances
31023	// is reached.
31024	NextToken *string `type:"string" sensitive:"true"`
31025}
31026
31027// String returns the string representation
31028func (s ListAppInstancesOutput) String() string {
31029	return awsutil.Prettify(s)
31030}
31031
31032// GoString returns the string representation
31033func (s ListAppInstancesOutput) GoString() string {
31034	return s.String()
31035}
31036
31037// SetAppInstances sets the AppInstances field's value.
31038func (s *ListAppInstancesOutput) SetAppInstances(v []*AppInstanceSummary) *ListAppInstancesOutput {
31039	s.AppInstances = v
31040	return s
31041}
31042
31043// SetNextToken sets the NextToken field's value.
31044func (s *ListAppInstancesOutput) SetNextToken(v string) *ListAppInstancesOutput {
31045	s.NextToken = &v
31046	return s
31047}
31048
31049type ListAttendeeTagsInput struct {
31050	_ struct{} `type:"structure"`
31051
31052	// The Amazon Chime SDK attendee ID.
31053	//
31054	// AttendeeId is a required field
31055	AttendeeId *string `location:"uri" locationName:"attendeeId" type:"string" required:"true"`
31056
31057	// The Amazon Chime SDK meeting ID.
31058	//
31059	// MeetingId is a required field
31060	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
31061}
31062
31063// String returns the string representation
31064func (s ListAttendeeTagsInput) String() string {
31065	return awsutil.Prettify(s)
31066}
31067
31068// GoString returns the string representation
31069func (s ListAttendeeTagsInput) GoString() string {
31070	return s.String()
31071}
31072
31073// Validate inspects the fields of the type to determine if they are valid.
31074func (s *ListAttendeeTagsInput) Validate() error {
31075	invalidParams := request.ErrInvalidParams{Context: "ListAttendeeTagsInput"}
31076	if s.AttendeeId == nil {
31077		invalidParams.Add(request.NewErrParamRequired("AttendeeId"))
31078	}
31079	if s.AttendeeId != nil && len(*s.AttendeeId) < 1 {
31080		invalidParams.Add(request.NewErrParamMinLen("AttendeeId", 1))
31081	}
31082	if s.MeetingId == nil {
31083		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
31084	}
31085	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
31086		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
31087	}
31088
31089	if invalidParams.Len() > 0 {
31090		return invalidParams
31091	}
31092	return nil
31093}
31094
31095// SetAttendeeId sets the AttendeeId field's value.
31096func (s *ListAttendeeTagsInput) SetAttendeeId(v string) *ListAttendeeTagsInput {
31097	s.AttendeeId = &v
31098	return s
31099}
31100
31101// SetMeetingId sets the MeetingId field's value.
31102func (s *ListAttendeeTagsInput) SetMeetingId(v string) *ListAttendeeTagsInput {
31103	s.MeetingId = &v
31104	return s
31105}
31106
31107type ListAttendeeTagsOutput struct {
31108	_ struct{} `type:"structure"`
31109
31110	// A list of tag key-value pairs.
31111	Tags []*Tag `min:"1" type:"list"`
31112}
31113
31114// String returns the string representation
31115func (s ListAttendeeTagsOutput) String() string {
31116	return awsutil.Prettify(s)
31117}
31118
31119// GoString returns the string representation
31120func (s ListAttendeeTagsOutput) GoString() string {
31121	return s.String()
31122}
31123
31124// SetTags sets the Tags field's value.
31125func (s *ListAttendeeTagsOutput) SetTags(v []*Tag) *ListAttendeeTagsOutput {
31126	s.Tags = v
31127	return s
31128}
31129
31130type ListAttendeesInput struct {
31131	_ struct{} `type:"structure"`
31132
31133	// The maximum number of results to return in a single call.
31134	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
31135
31136	// The Amazon Chime SDK meeting ID.
31137	//
31138	// MeetingId is a required field
31139	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
31140
31141	// The token to use to retrieve the next page of results.
31142	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
31143}
31144
31145// String returns the string representation
31146func (s ListAttendeesInput) String() string {
31147	return awsutil.Prettify(s)
31148}
31149
31150// GoString returns the string representation
31151func (s ListAttendeesInput) GoString() string {
31152	return s.String()
31153}
31154
31155// Validate inspects the fields of the type to determine if they are valid.
31156func (s *ListAttendeesInput) Validate() error {
31157	invalidParams := request.ErrInvalidParams{Context: "ListAttendeesInput"}
31158	if s.MaxResults != nil && *s.MaxResults < 1 {
31159		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31160	}
31161	if s.MeetingId == nil {
31162		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
31163	}
31164	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
31165		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
31166	}
31167
31168	if invalidParams.Len() > 0 {
31169		return invalidParams
31170	}
31171	return nil
31172}
31173
31174// SetMaxResults sets the MaxResults field's value.
31175func (s *ListAttendeesInput) SetMaxResults(v int64) *ListAttendeesInput {
31176	s.MaxResults = &v
31177	return s
31178}
31179
31180// SetMeetingId sets the MeetingId field's value.
31181func (s *ListAttendeesInput) SetMeetingId(v string) *ListAttendeesInput {
31182	s.MeetingId = &v
31183	return s
31184}
31185
31186// SetNextToken sets the NextToken field's value.
31187func (s *ListAttendeesInput) SetNextToken(v string) *ListAttendeesInput {
31188	s.NextToken = &v
31189	return s
31190}
31191
31192type ListAttendeesOutput struct {
31193	_ struct{} `type:"structure"`
31194
31195	// The Amazon Chime SDK attendee information.
31196	Attendees []*Attendee `type:"list"`
31197
31198	// The token to use to retrieve the next page of results.
31199	NextToken *string `type:"string"`
31200}
31201
31202// String returns the string representation
31203func (s ListAttendeesOutput) String() string {
31204	return awsutil.Prettify(s)
31205}
31206
31207// GoString returns the string representation
31208func (s ListAttendeesOutput) GoString() string {
31209	return s.String()
31210}
31211
31212// SetAttendees sets the Attendees field's value.
31213func (s *ListAttendeesOutput) SetAttendees(v []*Attendee) *ListAttendeesOutput {
31214	s.Attendees = v
31215	return s
31216}
31217
31218// SetNextToken sets the NextToken field's value.
31219func (s *ListAttendeesOutput) SetNextToken(v string) *ListAttendeesOutput {
31220	s.NextToken = &v
31221	return s
31222}
31223
31224type ListBotsInput struct {
31225	_ struct{} `type:"structure"`
31226
31227	// The Amazon Chime account ID.
31228	//
31229	// AccountId is a required field
31230	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
31231
31232	// The maximum number of results to return in a single call. The default is
31233	// 10.
31234	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
31235
31236	// The token to use to retrieve the next page of results.
31237	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
31238}
31239
31240// String returns the string representation
31241func (s ListBotsInput) String() string {
31242	return awsutil.Prettify(s)
31243}
31244
31245// GoString returns the string representation
31246func (s ListBotsInput) GoString() string {
31247	return s.String()
31248}
31249
31250// Validate inspects the fields of the type to determine if they are valid.
31251func (s *ListBotsInput) Validate() error {
31252	invalidParams := request.ErrInvalidParams{Context: "ListBotsInput"}
31253	if s.AccountId == nil {
31254		invalidParams.Add(request.NewErrParamRequired("AccountId"))
31255	}
31256	if s.AccountId != nil && len(*s.AccountId) < 1 {
31257		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
31258	}
31259	if s.MaxResults != nil && *s.MaxResults < 1 {
31260		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31261	}
31262
31263	if invalidParams.Len() > 0 {
31264		return invalidParams
31265	}
31266	return nil
31267}
31268
31269// SetAccountId sets the AccountId field's value.
31270func (s *ListBotsInput) SetAccountId(v string) *ListBotsInput {
31271	s.AccountId = &v
31272	return s
31273}
31274
31275// SetMaxResults sets the MaxResults field's value.
31276func (s *ListBotsInput) SetMaxResults(v int64) *ListBotsInput {
31277	s.MaxResults = &v
31278	return s
31279}
31280
31281// SetNextToken sets the NextToken field's value.
31282func (s *ListBotsInput) SetNextToken(v string) *ListBotsInput {
31283	s.NextToken = &v
31284	return s
31285}
31286
31287type ListBotsOutput struct {
31288	_ struct{} `type:"structure"`
31289
31290	// List of bots and bot details.
31291	Bots []*Bot `type:"list"`
31292
31293	// The token to use to retrieve the next page of results.
31294	NextToken *string `type:"string"`
31295}
31296
31297// String returns the string representation
31298func (s ListBotsOutput) String() string {
31299	return awsutil.Prettify(s)
31300}
31301
31302// GoString returns the string representation
31303func (s ListBotsOutput) GoString() string {
31304	return s.String()
31305}
31306
31307// SetBots sets the Bots field's value.
31308func (s *ListBotsOutput) SetBots(v []*Bot) *ListBotsOutput {
31309	s.Bots = v
31310	return s
31311}
31312
31313// SetNextToken sets the NextToken field's value.
31314func (s *ListBotsOutput) SetNextToken(v string) *ListBotsOutput {
31315	s.NextToken = &v
31316	return s
31317}
31318
31319type ListChannelBansInput struct {
31320	_ struct{} `type:"structure"`
31321
31322	// The ARN of the channel.
31323	//
31324	// ChannelArn is a required field
31325	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
31326
31327	// The AppInstanceUserArn of the user that makes the API call.
31328	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
31329
31330	// The maximum number of bans that you want returned.
31331	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
31332
31333	// The token passed by previous API calls until all requested bans are returned.
31334	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
31335}
31336
31337// String returns the string representation
31338func (s ListChannelBansInput) String() string {
31339	return awsutil.Prettify(s)
31340}
31341
31342// GoString returns the string representation
31343func (s ListChannelBansInput) GoString() string {
31344	return s.String()
31345}
31346
31347// Validate inspects the fields of the type to determine if they are valid.
31348func (s *ListChannelBansInput) Validate() error {
31349	invalidParams := request.ErrInvalidParams{Context: "ListChannelBansInput"}
31350	if s.ChannelArn == nil {
31351		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
31352	}
31353	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
31354		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
31355	}
31356	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
31357		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
31358	}
31359	if s.MaxResults != nil && *s.MaxResults < 1 {
31360		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31361	}
31362
31363	if invalidParams.Len() > 0 {
31364		return invalidParams
31365	}
31366	return nil
31367}
31368
31369// SetChannelArn sets the ChannelArn field's value.
31370func (s *ListChannelBansInput) SetChannelArn(v string) *ListChannelBansInput {
31371	s.ChannelArn = &v
31372	return s
31373}
31374
31375// SetChimeBearer sets the ChimeBearer field's value.
31376func (s *ListChannelBansInput) SetChimeBearer(v string) *ListChannelBansInput {
31377	s.ChimeBearer = &v
31378	return s
31379}
31380
31381// SetMaxResults sets the MaxResults field's value.
31382func (s *ListChannelBansInput) SetMaxResults(v int64) *ListChannelBansInput {
31383	s.MaxResults = &v
31384	return s
31385}
31386
31387// SetNextToken sets the NextToken field's value.
31388func (s *ListChannelBansInput) SetNextToken(v string) *ListChannelBansInput {
31389	s.NextToken = &v
31390	return s
31391}
31392
31393type ListChannelBansOutput struct {
31394	_ struct{} `type:"structure"`
31395
31396	// The ARN of the channel.
31397	ChannelArn *string `min:"5" type:"string"`
31398
31399	// The information for each requested ban.
31400	ChannelBans []*ChannelBanSummary `type:"list"`
31401
31402	// The token passed by previous API calls until all requested bans are returned.
31403	NextToken *string `type:"string" sensitive:"true"`
31404}
31405
31406// String returns the string representation
31407func (s ListChannelBansOutput) String() string {
31408	return awsutil.Prettify(s)
31409}
31410
31411// GoString returns the string representation
31412func (s ListChannelBansOutput) GoString() string {
31413	return s.String()
31414}
31415
31416// SetChannelArn sets the ChannelArn field's value.
31417func (s *ListChannelBansOutput) SetChannelArn(v string) *ListChannelBansOutput {
31418	s.ChannelArn = &v
31419	return s
31420}
31421
31422// SetChannelBans sets the ChannelBans field's value.
31423func (s *ListChannelBansOutput) SetChannelBans(v []*ChannelBanSummary) *ListChannelBansOutput {
31424	s.ChannelBans = v
31425	return s
31426}
31427
31428// SetNextToken sets the NextToken field's value.
31429func (s *ListChannelBansOutput) SetNextToken(v string) *ListChannelBansOutput {
31430	s.NextToken = &v
31431	return s
31432}
31433
31434type ListChannelMembershipsForAppInstanceUserInput struct {
31435	_ struct{} `type:"structure"`
31436
31437	// The ARN of the AppInstanceUsers
31438	AppInstanceUserArn *string `location:"querystring" locationName:"app-instance-user-arn" min:"5" type:"string"`
31439
31440	// The AppInstanceUserArn of the user that makes the API call.
31441	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
31442
31443	// The maximum number of users that you want returned.
31444	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
31445
31446	// The token returned from previous API requests until the number of channel
31447	// memberships is reached.
31448	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
31449}
31450
31451// String returns the string representation
31452func (s ListChannelMembershipsForAppInstanceUserInput) String() string {
31453	return awsutil.Prettify(s)
31454}
31455
31456// GoString returns the string representation
31457func (s ListChannelMembershipsForAppInstanceUserInput) GoString() string {
31458	return s.String()
31459}
31460
31461// Validate inspects the fields of the type to determine if they are valid.
31462func (s *ListChannelMembershipsForAppInstanceUserInput) Validate() error {
31463	invalidParams := request.ErrInvalidParams{Context: "ListChannelMembershipsForAppInstanceUserInput"}
31464	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
31465		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
31466	}
31467	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
31468		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
31469	}
31470	if s.MaxResults != nil && *s.MaxResults < 1 {
31471		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31472	}
31473
31474	if invalidParams.Len() > 0 {
31475		return invalidParams
31476	}
31477	return nil
31478}
31479
31480// SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
31481func (s *ListChannelMembershipsForAppInstanceUserInput) SetAppInstanceUserArn(v string) *ListChannelMembershipsForAppInstanceUserInput {
31482	s.AppInstanceUserArn = &v
31483	return s
31484}
31485
31486// SetChimeBearer sets the ChimeBearer field's value.
31487func (s *ListChannelMembershipsForAppInstanceUserInput) SetChimeBearer(v string) *ListChannelMembershipsForAppInstanceUserInput {
31488	s.ChimeBearer = &v
31489	return s
31490}
31491
31492// SetMaxResults sets the MaxResults field's value.
31493func (s *ListChannelMembershipsForAppInstanceUserInput) SetMaxResults(v int64) *ListChannelMembershipsForAppInstanceUserInput {
31494	s.MaxResults = &v
31495	return s
31496}
31497
31498// SetNextToken sets the NextToken field's value.
31499func (s *ListChannelMembershipsForAppInstanceUserInput) SetNextToken(v string) *ListChannelMembershipsForAppInstanceUserInput {
31500	s.NextToken = &v
31501	return s
31502}
31503
31504type ListChannelMembershipsForAppInstanceUserOutput struct {
31505	_ struct{} `type:"structure"`
31506
31507	// The token passed by previous API calls until all requested users are returned.
31508	ChannelMemberships []*ChannelMembershipForAppInstanceUserSummary `type:"list"`
31509
31510	// The token passed by previous API calls until all requested users are returned.
31511	NextToken *string `type:"string" sensitive:"true"`
31512}
31513
31514// String returns the string representation
31515func (s ListChannelMembershipsForAppInstanceUserOutput) String() string {
31516	return awsutil.Prettify(s)
31517}
31518
31519// GoString returns the string representation
31520func (s ListChannelMembershipsForAppInstanceUserOutput) GoString() string {
31521	return s.String()
31522}
31523
31524// SetChannelMemberships sets the ChannelMemberships field's value.
31525func (s *ListChannelMembershipsForAppInstanceUserOutput) SetChannelMemberships(v []*ChannelMembershipForAppInstanceUserSummary) *ListChannelMembershipsForAppInstanceUserOutput {
31526	s.ChannelMemberships = v
31527	return s
31528}
31529
31530// SetNextToken sets the NextToken field's value.
31531func (s *ListChannelMembershipsForAppInstanceUserOutput) SetNextToken(v string) *ListChannelMembershipsForAppInstanceUserOutput {
31532	s.NextToken = &v
31533	return s
31534}
31535
31536type ListChannelMembershipsInput struct {
31537	_ struct{} `type:"structure"`
31538
31539	// The maximum number of channel memberships that you want returned.
31540	//
31541	// ChannelArn is a required field
31542	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
31543
31544	// The AppInstanceUserArn of the user that makes the API call.
31545	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
31546
31547	// The maximum number of channel memberships that you want returned.
31548	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
31549
31550	// The token passed by previous API calls until all requested channel memberships
31551	// are returned.
31552	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
31553
31554	// The membership type of a user, DEFAULT or HIDDEN. Default members are always
31555	// returned as part of ListChannelMemberships. Hidden members are only returned
31556	// if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden
31557	// members are not returned.
31558	Type *string `location:"querystring" locationName:"type" type:"string" enum:"ChannelMembershipType"`
31559}
31560
31561// String returns the string representation
31562func (s ListChannelMembershipsInput) String() string {
31563	return awsutil.Prettify(s)
31564}
31565
31566// GoString returns the string representation
31567func (s ListChannelMembershipsInput) GoString() string {
31568	return s.String()
31569}
31570
31571// Validate inspects the fields of the type to determine if they are valid.
31572func (s *ListChannelMembershipsInput) Validate() error {
31573	invalidParams := request.ErrInvalidParams{Context: "ListChannelMembershipsInput"}
31574	if s.ChannelArn == nil {
31575		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
31576	}
31577	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
31578		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
31579	}
31580	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
31581		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
31582	}
31583	if s.MaxResults != nil && *s.MaxResults < 1 {
31584		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31585	}
31586
31587	if invalidParams.Len() > 0 {
31588		return invalidParams
31589	}
31590	return nil
31591}
31592
31593// SetChannelArn sets the ChannelArn field's value.
31594func (s *ListChannelMembershipsInput) SetChannelArn(v string) *ListChannelMembershipsInput {
31595	s.ChannelArn = &v
31596	return s
31597}
31598
31599// SetChimeBearer sets the ChimeBearer field's value.
31600func (s *ListChannelMembershipsInput) SetChimeBearer(v string) *ListChannelMembershipsInput {
31601	s.ChimeBearer = &v
31602	return s
31603}
31604
31605// SetMaxResults sets the MaxResults field's value.
31606func (s *ListChannelMembershipsInput) SetMaxResults(v int64) *ListChannelMembershipsInput {
31607	s.MaxResults = &v
31608	return s
31609}
31610
31611// SetNextToken sets the NextToken field's value.
31612func (s *ListChannelMembershipsInput) SetNextToken(v string) *ListChannelMembershipsInput {
31613	s.NextToken = &v
31614	return s
31615}
31616
31617// SetType sets the Type field's value.
31618func (s *ListChannelMembershipsInput) SetType(v string) *ListChannelMembershipsInput {
31619	s.Type = &v
31620	return s
31621}
31622
31623type ListChannelMembershipsOutput struct {
31624	_ struct{} `type:"structure"`
31625
31626	// The ARN of the channel.
31627	ChannelArn *string `min:"5" type:"string"`
31628
31629	// The information for the requested channel memberships.
31630	ChannelMemberships []*ChannelMembershipSummary `type:"list"`
31631
31632	// The token passed by previous API calls until all requested channel memberships
31633	// are returned.
31634	NextToken *string `type:"string" sensitive:"true"`
31635}
31636
31637// String returns the string representation
31638func (s ListChannelMembershipsOutput) String() string {
31639	return awsutil.Prettify(s)
31640}
31641
31642// GoString returns the string representation
31643func (s ListChannelMembershipsOutput) GoString() string {
31644	return s.String()
31645}
31646
31647// SetChannelArn sets the ChannelArn field's value.
31648func (s *ListChannelMembershipsOutput) SetChannelArn(v string) *ListChannelMembershipsOutput {
31649	s.ChannelArn = &v
31650	return s
31651}
31652
31653// SetChannelMemberships sets the ChannelMemberships field's value.
31654func (s *ListChannelMembershipsOutput) SetChannelMemberships(v []*ChannelMembershipSummary) *ListChannelMembershipsOutput {
31655	s.ChannelMemberships = v
31656	return s
31657}
31658
31659// SetNextToken sets the NextToken field's value.
31660func (s *ListChannelMembershipsOutput) SetNextToken(v string) *ListChannelMembershipsOutput {
31661	s.NextToken = &v
31662	return s
31663}
31664
31665type ListChannelMessagesInput struct {
31666	_ struct{} `type:"structure"`
31667
31668	// The ARN of the channel.
31669	//
31670	// ChannelArn is a required field
31671	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
31672
31673	// The AppInstanceUserArn of the user that makes the API call.
31674	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
31675
31676	// The maximum number of messages that you want returned.
31677	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
31678
31679	// The token passed by previous API calls until all requested messages are returned.
31680	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
31681
31682	// The final or ending time stamp for your requested messages.
31683	NotAfter *time.Time `location:"querystring" locationName:"not-after" type:"timestamp"`
31684
31685	// The initial or starting time stamp for your requested messages.
31686	NotBefore *time.Time `location:"querystring" locationName:"not-before" type:"timestamp"`
31687
31688	// The order in which you want messages sorted. Default is Descending, based
31689	// on time created.
31690	SortOrder *string `location:"querystring" locationName:"sort-order" type:"string" enum:"SortOrder"`
31691}
31692
31693// String returns the string representation
31694func (s ListChannelMessagesInput) String() string {
31695	return awsutil.Prettify(s)
31696}
31697
31698// GoString returns the string representation
31699func (s ListChannelMessagesInput) GoString() string {
31700	return s.String()
31701}
31702
31703// Validate inspects the fields of the type to determine if they are valid.
31704func (s *ListChannelMessagesInput) Validate() error {
31705	invalidParams := request.ErrInvalidParams{Context: "ListChannelMessagesInput"}
31706	if s.ChannelArn == nil {
31707		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
31708	}
31709	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
31710		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
31711	}
31712	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
31713		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
31714	}
31715	if s.MaxResults != nil && *s.MaxResults < 1 {
31716		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31717	}
31718
31719	if invalidParams.Len() > 0 {
31720		return invalidParams
31721	}
31722	return nil
31723}
31724
31725// SetChannelArn sets the ChannelArn field's value.
31726func (s *ListChannelMessagesInput) SetChannelArn(v string) *ListChannelMessagesInput {
31727	s.ChannelArn = &v
31728	return s
31729}
31730
31731// SetChimeBearer sets the ChimeBearer field's value.
31732func (s *ListChannelMessagesInput) SetChimeBearer(v string) *ListChannelMessagesInput {
31733	s.ChimeBearer = &v
31734	return s
31735}
31736
31737// SetMaxResults sets the MaxResults field's value.
31738func (s *ListChannelMessagesInput) SetMaxResults(v int64) *ListChannelMessagesInput {
31739	s.MaxResults = &v
31740	return s
31741}
31742
31743// SetNextToken sets the NextToken field's value.
31744func (s *ListChannelMessagesInput) SetNextToken(v string) *ListChannelMessagesInput {
31745	s.NextToken = &v
31746	return s
31747}
31748
31749// SetNotAfter sets the NotAfter field's value.
31750func (s *ListChannelMessagesInput) SetNotAfter(v time.Time) *ListChannelMessagesInput {
31751	s.NotAfter = &v
31752	return s
31753}
31754
31755// SetNotBefore sets the NotBefore field's value.
31756func (s *ListChannelMessagesInput) SetNotBefore(v time.Time) *ListChannelMessagesInput {
31757	s.NotBefore = &v
31758	return s
31759}
31760
31761// SetSortOrder sets the SortOrder field's value.
31762func (s *ListChannelMessagesInput) SetSortOrder(v string) *ListChannelMessagesInput {
31763	s.SortOrder = &v
31764	return s
31765}
31766
31767type ListChannelMessagesOutput struct {
31768	_ struct{} `type:"structure"`
31769
31770	// The ARN of the channel containing the requested messages.
31771	ChannelArn *string `min:"5" type:"string"`
31772
31773	// The information about, and content of, each requested message.
31774	ChannelMessages []*ChannelMessageSummary `type:"list"`
31775
31776	// The token passed by previous API calls until all requested messages are returned.
31777	NextToken *string `type:"string" sensitive:"true"`
31778}
31779
31780// String returns the string representation
31781func (s ListChannelMessagesOutput) String() string {
31782	return awsutil.Prettify(s)
31783}
31784
31785// GoString returns the string representation
31786func (s ListChannelMessagesOutput) GoString() string {
31787	return s.String()
31788}
31789
31790// SetChannelArn sets the ChannelArn field's value.
31791func (s *ListChannelMessagesOutput) SetChannelArn(v string) *ListChannelMessagesOutput {
31792	s.ChannelArn = &v
31793	return s
31794}
31795
31796// SetChannelMessages sets the ChannelMessages field's value.
31797func (s *ListChannelMessagesOutput) SetChannelMessages(v []*ChannelMessageSummary) *ListChannelMessagesOutput {
31798	s.ChannelMessages = v
31799	return s
31800}
31801
31802// SetNextToken sets the NextToken field's value.
31803func (s *ListChannelMessagesOutput) SetNextToken(v string) *ListChannelMessagesOutput {
31804	s.NextToken = &v
31805	return s
31806}
31807
31808type ListChannelModeratorsInput struct {
31809	_ struct{} `type:"structure"`
31810
31811	// The ARN of the channel.
31812	//
31813	// ChannelArn is a required field
31814	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
31815
31816	// The AppInstanceUserArn of the user that makes the API call.
31817	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
31818
31819	// The maximum number of moderators that you want returned.
31820	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
31821
31822	// The token passed by previous API calls until all requested moderators are
31823	// returned.
31824	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
31825}
31826
31827// String returns the string representation
31828func (s ListChannelModeratorsInput) String() string {
31829	return awsutil.Prettify(s)
31830}
31831
31832// GoString returns the string representation
31833func (s ListChannelModeratorsInput) GoString() string {
31834	return s.String()
31835}
31836
31837// Validate inspects the fields of the type to determine if they are valid.
31838func (s *ListChannelModeratorsInput) Validate() error {
31839	invalidParams := request.ErrInvalidParams{Context: "ListChannelModeratorsInput"}
31840	if s.ChannelArn == nil {
31841		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
31842	}
31843	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
31844		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
31845	}
31846	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
31847		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
31848	}
31849	if s.MaxResults != nil && *s.MaxResults < 1 {
31850		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31851	}
31852
31853	if invalidParams.Len() > 0 {
31854		return invalidParams
31855	}
31856	return nil
31857}
31858
31859// SetChannelArn sets the ChannelArn field's value.
31860func (s *ListChannelModeratorsInput) SetChannelArn(v string) *ListChannelModeratorsInput {
31861	s.ChannelArn = &v
31862	return s
31863}
31864
31865// SetChimeBearer sets the ChimeBearer field's value.
31866func (s *ListChannelModeratorsInput) SetChimeBearer(v string) *ListChannelModeratorsInput {
31867	s.ChimeBearer = &v
31868	return s
31869}
31870
31871// SetMaxResults sets the MaxResults field's value.
31872func (s *ListChannelModeratorsInput) SetMaxResults(v int64) *ListChannelModeratorsInput {
31873	s.MaxResults = &v
31874	return s
31875}
31876
31877// SetNextToken sets the NextToken field's value.
31878func (s *ListChannelModeratorsInput) SetNextToken(v string) *ListChannelModeratorsInput {
31879	s.NextToken = &v
31880	return s
31881}
31882
31883type ListChannelModeratorsOutput struct {
31884	_ struct{} `type:"structure"`
31885
31886	// The ARN of the channel.
31887	ChannelArn *string `min:"5" type:"string"`
31888
31889	// The information about and names of each moderator.
31890	ChannelModerators []*ChannelModeratorSummary `type:"list"`
31891
31892	// The token passed by previous API calls until all requested moderators are
31893	// returned.
31894	NextToken *string `type:"string" sensitive:"true"`
31895}
31896
31897// String returns the string representation
31898func (s ListChannelModeratorsOutput) String() string {
31899	return awsutil.Prettify(s)
31900}
31901
31902// GoString returns the string representation
31903func (s ListChannelModeratorsOutput) GoString() string {
31904	return s.String()
31905}
31906
31907// SetChannelArn sets the ChannelArn field's value.
31908func (s *ListChannelModeratorsOutput) SetChannelArn(v string) *ListChannelModeratorsOutput {
31909	s.ChannelArn = &v
31910	return s
31911}
31912
31913// SetChannelModerators sets the ChannelModerators field's value.
31914func (s *ListChannelModeratorsOutput) SetChannelModerators(v []*ChannelModeratorSummary) *ListChannelModeratorsOutput {
31915	s.ChannelModerators = v
31916	return s
31917}
31918
31919// SetNextToken sets the NextToken field's value.
31920func (s *ListChannelModeratorsOutput) SetNextToken(v string) *ListChannelModeratorsOutput {
31921	s.NextToken = &v
31922	return s
31923}
31924
31925type ListChannelsInput struct {
31926	_ struct{} `type:"structure"`
31927
31928	// The ARN of the AppInstance.
31929	//
31930	// AppInstanceArn is a required field
31931	AppInstanceArn *string `location:"querystring" locationName:"app-instance-arn" min:"5" type:"string" required:"true"`
31932
31933	// The AppInstanceUserArn of the user that makes the API call.
31934	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
31935
31936	// The maximum number of channels that you want to return.
31937	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
31938
31939	// The token passed by previous API calls until all requested channels are returned.
31940	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
31941
31942	// The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves
31943	// private channels. Only an AppInstanceAdmin can retrieve private channels.
31944	Privacy *string `location:"querystring" locationName:"privacy" type:"string" enum:"ChannelPrivacy"`
31945}
31946
31947// String returns the string representation
31948func (s ListChannelsInput) String() string {
31949	return awsutil.Prettify(s)
31950}
31951
31952// GoString returns the string representation
31953func (s ListChannelsInput) GoString() string {
31954	return s.String()
31955}
31956
31957// Validate inspects the fields of the type to determine if they are valid.
31958func (s *ListChannelsInput) Validate() error {
31959	invalidParams := request.ErrInvalidParams{Context: "ListChannelsInput"}
31960	if s.AppInstanceArn == nil {
31961		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
31962	}
31963	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
31964		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
31965	}
31966	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
31967		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
31968	}
31969	if s.MaxResults != nil && *s.MaxResults < 1 {
31970		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31971	}
31972
31973	if invalidParams.Len() > 0 {
31974		return invalidParams
31975	}
31976	return nil
31977}
31978
31979// SetAppInstanceArn sets the AppInstanceArn field's value.
31980func (s *ListChannelsInput) SetAppInstanceArn(v string) *ListChannelsInput {
31981	s.AppInstanceArn = &v
31982	return s
31983}
31984
31985// SetChimeBearer sets the ChimeBearer field's value.
31986func (s *ListChannelsInput) SetChimeBearer(v string) *ListChannelsInput {
31987	s.ChimeBearer = &v
31988	return s
31989}
31990
31991// SetMaxResults sets the MaxResults field's value.
31992func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput {
31993	s.MaxResults = &v
31994	return s
31995}
31996
31997// SetNextToken sets the NextToken field's value.
31998func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput {
31999	s.NextToken = &v
32000	return s
32001}
32002
32003// SetPrivacy sets the Privacy field's value.
32004func (s *ListChannelsInput) SetPrivacy(v string) *ListChannelsInput {
32005	s.Privacy = &v
32006	return s
32007}
32008
32009type ListChannelsModeratedByAppInstanceUserInput struct {
32010	_ struct{} `type:"structure"`
32011
32012	// The ARN of the user in the moderated channel.
32013	AppInstanceUserArn *string `location:"querystring" locationName:"app-instance-user-arn" min:"5" type:"string"`
32014
32015	// The AppInstanceUserArn of the user that makes the API call.
32016	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
32017
32018	// The maximum number of channels in the request.
32019	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
32020
32021	// The token returned from previous API requests until the number of channels
32022	// moderated by the user is reached.
32023	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
32024}
32025
32026// String returns the string representation
32027func (s ListChannelsModeratedByAppInstanceUserInput) String() string {
32028	return awsutil.Prettify(s)
32029}
32030
32031// GoString returns the string representation
32032func (s ListChannelsModeratedByAppInstanceUserInput) GoString() string {
32033	return s.String()
32034}
32035
32036// Validate inspects the fields of the type to determine if they are valid.
32037func (s *ListChannelsModeratedByAppInstanceUserInput) Validate() error {
32038	invalidParams := request.ErrInvalidParams{Context: "ListChannelsModeratedByAppInstanceUserInput"}
32039	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
32040		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
32041	}
32042	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
32043		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
32044	}
32045	if s.MaxResults != nil && *s.MaxResults < 1 {
32046		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32047	}
32048
32049	if invalidParams.Len() > 0 {
32050		return invalidParams
32051	}
32052	return nil
32053}
32054
32055// SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
32056func (s *ListChannelsModeratedByAppInstanceUserInput) SetAppInstanceUserArn(v string) *ListChannelsModeratedByAppInstanceUserInput {
32057	s.AppInstanceUserArn = &v
32058	return s
32059}
32060
32061// SetChimeBearer sets the ChimeBearer field's value.
32062func (s *ListChannelsModeratedByAppInstanceUserInput) SetChimeBearer(v string) *ListChannelsModeratedByAppInstanceUserInput {
32063	s.ChimeBearer = &v
32064	return s
32065}
32066
32067// SetMaxResults sets the MaxResults field's value.
32068func (s *ListChannelsModeratedByAppInstanceUserInput) SetMaxResults(v int64) *ListChannelsModeratedByAppInstanceUserInput {
32069	s.MaxResults = &v
32070	return s
32071}
32072
32073// SetNextToken sets the NextToken field's value.
32074func (s *ListChannelsModeratedByAppInstanceUserInput) SetNextToken(v string) *ListChannelsModeratedByAppInstanceUserInput {
32075	s.NextToken = &v
32076	return s
32077}
32078
32079type ListChannelsModeratedByAppInstanceUserOutput struct {
32080	_ struct{} `type:"structure"`
32081
32082	// The moderated channels in the request.
32083	Channels []*ChannelModeratedByAppInstanceUserSummary `type:"list"`
32084
32085	// The token returned from previous API requests until the number of channels
32086	// moderated by the user is reached.
32087	NextToken *string `type:"string" sensitive:"true"`
32088}
32089
32090// String returns the string representation
32091func (s ListChannelsModeratedByAppInstanceUserOutput) String() string {
32092	return awsutil.Prettify(s)
32093}
32094
32095// GoString returns the string representation
32096func (s ListChannelsModeratedByAppInstanceUserOutput) GoString() string {
32097	return s.String()
32098}
32099
32100// SetChannels sets the Channels field's value.
32101func (s *ListChannelsModeratedByAppInstanceUserOutput) SetChannels(v []*ChannelModeratedByAppInstanceUserSummary) *ListChannelsModeratedByAppInstanceUserOutput {
32102	s.Channels = v
32103	return s
32104}
32105
32106// SetNextToken sets the NextToken field's value.
32107func (s *ListChannelsModeratedByAppInstanceUserOutput) SetNextToken(v string) *ListChannelsModeratedByAppInstanceUserOutput {
32108	s.NextToken = &v
32109	return s
32110}
32111
32112type ListChannelsOutput struct {
32113	_ struct{} `type:"structure"`
32114
32115	// The information about each channel.
32116	Channels []*ChannelSummary `type:"list"`
32117
32118	// The token returned from previous API requests until the number of channels
32119	// is reached.
32120	NextToken *string `type:"string" sensitive:"true"`
32121}
32122
32123// String returns the string representation
32124func (s ListChannelsOutput) String() string {
32125	return awsutil.Prettify(s)
32126}
32127
32128// GoString returns the string representation
32129func (s ListChannelsOutput) GoString() string {
32130	return s.String()
32131}
32132
32133// SetChannels sets the Channels field's value.
32134func (s *ListChannelsOutput) SetChannels(v []*ChannelSummary) *ListChannelsOutput {
32135	s.Channels = v
32136	return s
32137}
32138
32139// SetNextToken sets the NextToken field's value.
32140func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput {
32141	s.NextToken = &v
32142	return s
32143}
32144
32145type ListMeetingTagsInput struct {
32146	_ struct{} `type:"structure"`
32147
32148	// The Amazon Chime SDK meeting ID.
32149	//
32150	// MeetingId is a required field
32151	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
32152}
32153
32154// String returns the string representation
32155func (s ListMeetingTagsInput) String() string {
32156	return awsutil.Prettify(s)
32157}
32158
32159// GoString returns the string representation
32160func (s ListMeetingTagsInput) GoString() string {
32161	return s.String()
32162}
32163
32164// Validate inspects the fields of the type to determine if they are valid.
32165func (s *ListMeetingTagsInput) Validate() error {
32166	invalidParams := request.ErrInvalidParams{Context: "ListMeetingTagsInput"}
32167	if s.MeetingId == nil {
32168		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
32169	}
32170	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
32171		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
32172	}
32173
32174	if invalidParams.Len() > 0 {
32175		return invalidParams
32176	}
32177	return nil
32178}
32179
32180// SetMeetingId sets the MeetingId field's value.
32181func (s *ListMeetingTagsInput) SetMeetingId(v string) *ListMeetingTagsInput {
32182	s.MeetingId = &v
32183	return s
32184}
32185
32186type ListMeetingTagsOutput struct {
32187	_ struct{} `type:"structure"`
32188
32189	// A list of tag key-value pairs.
32190	Tags []*Tag `min:"1" type:"list"`
32191}
32192
32193// String returns the string representation
32194func (s ListMeetingTagsOutput) String() string {
32195	return awsutil.Prettify(s)
32196}
32197
32198// GoString returns the string representation
32199func (s ListMeetingTagsOutput) GoString() string {
32200	return s.String()
32201}
32202
32203// SetTags sets the Tags field's value.
32204func (s *ListMeetingTagsOutput) SetTags(v []*Tag) *ListMeetingTagsOutput {
32205	s.Tags = v
32206	return s
32207}
32208
32209type ListMeetingsInput struct {
32210	_ struct{} `type:"structure"`
32211
32212	// The maximum number of results to return in a single call.
32213	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
32214
32215	// The token to use to retrieve the next page of results.
32216	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
32217}
32218
32219// String returns the string representation
32220func (s ListMeetingsInput) String() string {
32221	return awsutil.Prettify(s)
32222}
32223
32224// GoString returns the string representation
32225func (s ListMeetingsInput) GoString() string {
32226	return s.String()
32227}
32228
32229// Validate inspects the fields of the type to determine if they are valid.
32230func (s *ListMeetingsInput) Validate() error {
32231	invalidParams := request.ErrInvalidParams{Context: "ListMeetingsInput"}
32232	if s.MaxResults != nil && *s.MaxResults < 1 {
32233		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32234	}
32235
32236	if invalidParams.Len() > 0 {
32237		return invalidParams
32238	}
32239	return nil
32240}
32241
32242// SetMaxResults sets the MaxResults field's value.
32243func (s *ListMeetingsInput) SetMaxResults(v int64) *ListMeetingsInput {
32244	s.MaxResults = &v
32245	return s
32246}
32247
32248// SetNextToken sets the NextToken field's value.
32249func (s *ListMeetingsInput) SetNextToken(v string) *ListMeetingsInput {
32250	s.NextToken = &v
32251	return s
32252}
32253
32254type ListMeetingsOutput struct {
32255	_ struct{} `type:"structure"`
32256
32257	// The Amazon Chime SDK meeting information.
32258	Meetings []*Meeting `type:"list"`
32259
32260	// The token to use to retrieve the next page of results.
32261	NextToken *string `type:"string"`
32262}
32263
32264// String returns the string representation
32265func (s ListMeetingsOutput) String() string {
32266	return awsutil.Prettify(s)
32267}
32268
32269// GoString returns the string representation
32270func (s ListMeetingsOutput) GoString() string {
32271	return s.String()
32272}
32273
32274// SetMeetings sets the Meetings field's value.
32275func (s *ListMeetingsOutput) SetMeetings(v []*Meeting) *ListMeetingsOutput {
32276	s.Meetings = v
32277	return s
32278}
32279
32280// SetNextToken sets the NextToken field's value.
32281func (s *ListMeetingsOutput) SetNextToken(v string) *ListMeetingsOutput {
32282	s.NextToken = &v
32283	return s
32284}
32285
32286type ListPhoneNumberOrdersInput struct {
32287	_ struct{} `type:"structure"`
32288
32289	// The maximum number of results to return in a single call.
32290	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
32291
32292	// The token to use to retrieve the next page of results.
32293	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
32294}
32295
32296// String returns the string representation
32297func (s ListPhoneNumberOrdersInput) String() string {
32298	return awsutil.Prettify(s)
32299}
32300
32301// GoString returns the string representation
32302func (s ListPhoneNumberOrdersInput) GoString() string {
32303	return s.String()
32304}
32305
32306// Validate inspects the fields of the type to determine if they are valid.
32307func (s *ListPhoneNumberOrdersInput) Validate() error {
32308	invalidParams := request.ErrInvalidParams{Context: "ListPhoneNumberOrdersInput"}
32309	if s.MaxResults != nil && *s.MaxResults < 1 {
32310		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32311	}
32312
32313	if invalidParams.Len() > 0 {
32314		return invalidParams
32315	}
32316	return nil
32317}
32318
32319// SetMaxResults sets the MaxResults field's value.
32320func (s *ListPhoneNumberOrdersInput) SetMaxResults(v int64) *ListPhoneNumberOrdersInput {
32321	s.MaxResults = &v
32322	return s
32323}
32324
32325// SetNextToken sets the NextToken field's value.
32326func (s *ListPhoneNumberOrdersInput) SetNextToken(v string) *ListPhoneNumberOrdersInput {
32327	s.NextToken = &v
32328	return s
32329}
32330
32331type ListPhoneNumberOrdersOutput struct {
32332	_ struct{} `type:"structure"`
32333
32334	// The token to use to retrieve the next page of results.
32335	NextToken *string `type:"string"`
32336
32337	// The phone number order details.
32338	PhoneNumberOrders []*PhoneNumberOrder `type:"list"`
32339}
32340
32341// String returns the string representation
32342func (s ListPhoneNumberOrdersOutput) String() string {
32343	return awsutil.Prettify(s)
32344}
32345
32346// GoString returns the string representation
32347func (s ListPhoneNumberOrdersOutput) GoString() string {
32348	return s.String()
32349}
32350
32351// SetNextToken sets the NextToken field's value.
32352func (s *ListPhoneNumberOrdersOutput) SetNextToken(v string) *ListPhoneNumberOrdersOutput {
32353	s.NextToken = &v
32354	return s
32355}
32356
32357// SetPhoneNumberOrders sets the PhoneNumberOrders field's value.
32358func (s *ListPhoneNumberOrdersOutput) SetPhoneNumberOrders(v []*PhoneNumberOrder) *ListPhoneNumberOrdersOutput {
32359	s.PhoneNumberOrders = v
32360	return s
32361}
32362
32363type ListPhoneNumbersInput struct {
32364	_ struct{} `type:"structure"`
32365
32366	// The filter to use to limit the number of results.
32367	FilterName *string `location:"querystring" locationName:"filter-name" type:"string" enum:"PhoneNumberAssociationName"`
32368
32369	// The value to use for the filter.
32370	FilterValue *string `location:"querystring" locationName:"filter-value" type:"string"`
32371
32372	// The maximum number of results to return in a single call.
32373	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
32374
32375	// The token to use to retrieve the next page of results.
32376	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
32377
32378	// The phone number product type.
32379	ProductType *string `location:"querystring" locationName:"product-type" type:"string" enum:"PhoneNumberProductType"`
32380
32381	// The phone number status.
32382	Status *string `location:"querystring" locationName:"status" type:"string" enum:"PhoneNumberStatus"`
32383}
32384
32385// String returns the string representation
32386func (s ListPhoneNumbersInput) String() string {
32387	return awsutil.Prettify(s)
32388}
32389
32390// GoString returns the string representation
32391func (s ListPhoneNumbersInput) GoString() string {
32392	return s.String()
32393}
32394
32395// Validate inspects the fields of the type to determine if they are valid.
32396func (s *ListPhoneNumbersInput) Validate() error {
32397	invalidParams := request.ErrInvalidParams{Context: "ListPhoneNumbersInput"}
32398	if s.MaxResults != nil && *s.MaxResults < 1 {
32399		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32400	}
32401
32402	if invalidParams.Len() > 0 {
32403		return invalidParams
32404	}
32405	return nil
32406}
32407
32408// SetFilterName sets the FilterName field's value.
32409func (s *ListPhoneNumbersInput) SetFilterName(v string) *ListPhoneNumbersInput {
32410	s.FilterName = &v
32411	return s
32412}
32413
32414// SetFilterValue sets the FilterValue field's value.
32415func (s *ListPhoneNumbersInput) SetFilterValue(v string) *ListPhoneNumbersInput {
32416	s.FilterValue = &v
32417	return s
32418}
32419
32420// SetMaxResults sets the MaxResults field's value.
32421func (s *ListPhoneNumbersInput) SetMaxResults(v int64) *ListPhoneNumbersInput {
32422	s.MaxResults = &v
32423	return s
32424}
32425
32426// SetNextToken sets the NextToken field's value.
32427func (s *ListPhoneNumbersInput) SetNextToken(v string) *ListPhoneNumbersInput {
32428	s.NextToken = &v
32429	return s
32430}
32431
32432// SetProductType sets the ProductType field's value.
32433func (s *ListPhoneNumbersInput) SetProductType(v string) *ListPhoneNumbersInput {
32434	s.ProductType = &v
32435	return s
32436}
32437
32438// SetStatus sets the Status field's value.
32439func (s *ListPhoneNumbersInput) SetStatus(v string) *ListPhoneNumbersInput {
32440	s.Status = &v
32441	return s
32442}
32443
32444type ListPhoneNumbersOutput struct {
32445	_ struct{} `type:"structure"`
32446
32447	// The token to use to retrieve the next page of results.
32448	NextToken *string `type:"string"`
32449
32450	// The phone number details.
32451	PhoneNumbers []*PhoneNumber `type:"list"`
32452}
32453
32454// String returns the string representation
32455func (s ListPhoneNumbersOutput) String() string {
32456	return awsutil.Prettify(s)
32457}
32458
32459// GoString returns the string representation
32460func (s ListPhoneNumbersOutput) GoString() string {
32461	return s.String()
32462}
32463
32464// SetNextToken sets the NextToken field's value.
32465func (s *ListPhoneNumbersOutput) SetNextToken(v string) *ListPhoneNumbersOutput {
32466	s.NextToken = &v
32467	return s
32468}
32469
32470// SetPhoneNumbers sets the PhoneNumbers field's value.
32471func (s *ListPhoneNumbersOutput) SetPhoneNumbers(v []*PhoneNumber) *ListPhoneNumbersOutput {
32472	s.PhoneNumbers = v
32473	return s
32474}
32475
32476type ListProxySessionsInput struct {
32477	_ struct{} `type:"structure"`
32478
32479	// The maximum number of results to return in a single call.
32480	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
32481
32482	// The token to use to retrieve the next page of results.
32483	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
32484
32485	// The proxy session status.
32486	Status *string `location:"querystring" locationName:"status" type:"string" enum:"ProxySessionStatus"`
32487
32488	// The Amazon Chime voice connector ID.
32489	//
32490	// VoiceConnectorId is a required field
32491	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
32492}
32493
32494// String returns the string representation
32495func (s ListProxySessionsInput) String() string {
32496	return awsutil.Prettify(s)
32497}
32498
32499// GoString returns the string representation
32500func (s ListProxySessionsInput) GoString() string {
32501	return s.String()
32502}
32503
32504// Validate inspects the fields of the type to determine if they are valid.
32505func (s *ListProxySessionsInput) Validate() error {
32506	invalidParams := request.ErrInvalidParams{Context: "ListProxySessionsInput"}
32507	if s.MaxResults != nil && *s.MaxResults < 1 {
32508		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32509	}
32510	if s.VoiceConnectorId == nil {
32511		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
32512	}
32513	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
32514		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
32515	}
32516
32517	if invalidParams.Len() > 0 {
32518		return invalidParams
32519	}
32520	return nil
32521}
32522
32523// SetMaxResults sets the MaxResults field's value.
32524func (s *ListProxySessionsInput) SetMaxResults(v int64) *ListProxySessionsInput {
32525	s.MaxResults = &v
32526	return s
32527}
32528
32529// SetNextToken sets the NextToken field's value.
32530func (s *ListProxySessionsInput) SetNextToken(v string) *ListProxySessionsInput {
32531	s.NextToken = &v
32532	return s
32533}
32534
32535// SetStatus sets the Status field's value.
32536func (s *ListProxySessionsInput) SetStatus(v string) *ListProxySessionsInput {
32537	s.Status = &v
32538	return s
32539}
32540
32541// SetVoiceConnectorId sets the VoiceConnectorId field's value.
32542func (s *ListProxySessionsInput) SetVoiceConnectorId(v string) *ListProxySessionsInput {
32543	s.VoiceConnectorId = &v
32544	return s
32545}
32546
32547type ListProxySessionsOutput struct {
32548	_ struct{} `type:"structure"`
32549
32550	// The token to use to retrieve the next page of results.
32551	NextToken *string `type:"string"`
32552
32553	// The proxy session details.
32554	ProxySessions []*ProxySession `type:"list"`
32555}
32556
32557// String returns the string representation
32558func (s ListProxySessionsOutput) String() string {
32559	return awsutil.Prettify(s)
32560}
32561
32562// GoString returns the string representation
32563func (s ListProxySessionsOutput) GoString() string {
32564	return s.String()
32565}
32566
32567// SetNextToken sets the NextToken field's value.
32568func (s *ListProxySessionsOutput) SetNextToken(v string) *ListProxySessionsOutput {
32569	s.NextToken = &v
32570	return s
32571}
32572
32573// SetProxySessions sets the ProxySessions field's value.
32574func (s *ListProxySessionsOutput) SetProxySessions(v []*ProxySession) *ListProxySessionsOutput {
32575	s.ProxySessions = v
32576	return s
32577}
32578
32579type ListRoomMembershipsInput struct {
32580	_ struct{} `type:"structure"`
32581
32582	// The Amazon Chime account ID.
32583	//
32584	// AccountId is a required field
32585	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
32586
32587	// The maximum number of results to return in a single call.
32588	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
32589
32590	// The token to use to retrieve the next page of results.
32591	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
32592
32593	// The room ID.
32594	//
32595	// RoomId is a required field
32596	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
32597}
32598
32599// String returns the string representation
32600func (s ListRoomMembershipsInput) String() string {
32601	return awsutil.Prettify(s)
32602}
32603
32604// GoString returns the string representation
32605func (s ListRoomMembershipsInput) GoString() string {
32606	return s.String()
32607}
32608
32609// Validate inspects the fields of the type to determine if they are valid.
32610func (s *ListRoomMembershipsInput) Validate() error {
32611	invalidParams := request.ErrInvalidParams{Context: "ListRoomMembershipsInput"}
32612	if s.AccountId == nil {
32613		invalidParams.Add(request.NewErrParamRequired("AccountId"))
32614	}
32615	if s.AccountId != nil && len(*s.AccountId) < 1 {
32616		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
32617	}
32618	if s.MaxResults != nil && *s.MaxResults < 1 {
32619		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32620	}
32621	if s.RoomId == nil {
32622		invalidParams.Add(request.NewErrParamRequired("RoomId"))
32623	}
32624	if s.RoomId != nil && len(*s.RoomId) < 1 {
32625		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
32626	}
32627
32628	if invalidParams.Len() > 0 {
32629		return invalidParams
32630	}
32631	return nil
32632}
32633
32634// SetAccountId sets the AccountId field's value.
32635func (s *ListRoomMembershipsInput) SetAccountId(v string) *ListRoomMembershipsInput {
32636	s.AccountId = &v
32637	return s
32638}
32639
32640// SetMaxResults sets the MaxResults field's value.
32641func (s *ListRoomMembershipsInput) SetMaxResults(v int64) *ListRoomMembershipsInput {
32642	s.MaxResults = &v
32643	return s
32644}
32645
32646// SetNextToken sets the NextToken field's value.
32647func (s *ListRoomMembershipsInput) SetNextToken(v string) *ListRoomMembershipsInput {
32648	s.NextToken = &v
32649	return s
32650}
32651
32652// SetRoomId sets the RoomId field's value.
32653func (s *ListRoomMembershipsInput) SetRoomId(v string) *ListRoomMembershipsInput {
32654	s.RoomId = &v
32655	return s
32656}
32657
32658type ListRoomMembershipsOutput struct {
32659	_ struct{} `type:"structure"`
32660
32661	// The token to use to retrieve the next page of results.
32662	NextToken *string `type:"string"`
32663
32664	// The room membership details.
32665	RoomMemberships []*RoomMembership `type:"list"`
32666}
32667
32668// String returns the string representation
32669func (s ListRoomMembershipsOutput) String() string {
32670	return awsutil.Prettify(s)
32671}
32672
32673// GoString returns the string representation
32674func (s ListRoomMembershipsOutput) GoString() string {
32675	return s.String()
32676}
32677
32678// SetNextToken sets the NextToken field's value.
32679func (s *ListRoomMembershipsOutput) SetNextToken(v string) *ListRoomMembershipsOutput {
32680	s.NextToken = &v
32681	return s
32682}
32683
32684// SetRoomMemberships sets the RoomMemberships field's value.
32685func (s *ListRoomMembershipsOutput) SetRoomMemberships(v []*RoomMembership) *ListRoomMembershipsOutput {
32686	s.RoomMemberships = v
32687	return s
32688}
32689
32690type ListRoomsInput struct {
32691	_ struct{} `type:"structure"`
32692
32693	// The Amazon Chime account ID.
32694	//
32695	// AccountId is a required field
32696	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
32697
32698	// The maximum number of results to return in a single call.
32699	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
32700
32701	// The member ID (user ID or bot ID).
32702	MemberId *string `location:"querystring" locationName:"member-id" type:"string"`
32703
32704	// The token to use to retrieve the next page of results.
32705	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
32706}
32707
32708// String returns the string representation
32709func (s ListRoomsInput) String() string {
32710	return awsutil.Prettify(s)
32711}
32712
32713// GoString returns the string representation
32714func (s ListRoomsInput) GoString() string {
32715	return s.String()
32716}
32717
32718// Validate inspects the fields of the type to determine if they are valid.
32719func (s *ListRoomsInput) Validate() error {
32720	invalidParams := request.ErrInvalidParams{Context: "ListRoomsInput"}
32721	if s.AccountId == nil {
32722		invalidParams.Add(request.NewErrParamRequired("AccountId"))
32723	}
32724	if s.AccountId != nil && len(*s.AccountId) < 1 {
32725		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
32726	}
32727	if s.MaxResults != nil && *s.MaxResults < 1 {
32728		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32729	}
32730
32731	if invalidParams.Len() > 0 {
32732		return invalidParams
32733	}
32734	return nil
32735}
32736
32737// SetAccountId sets the AccountId field's value.
32738func (s *ListRoomsInput) SetAccountId(v string) *ListRoomsInput {
32739	s.AccountId = &v
32740	return s
32741}
32742
32743// SetMaxResults sets the MaxResults field's value.
32744func (s *ListRoomsInput) SetMaxResults(v int64) *ListRoomsInput {
32745	s.MaxResults = &v
32746	return s
32747}
32748
32749// SetMemberId sets the MemberId field's value.
32750func (s *ListRoomsInput) SetMemberId(v string) *ListRoomsInput {
32751	s.MemberId = &v
32752	return s
32753}
32754
32755// SetNextToken sets the NextToken field's value.
32756func (s *ListRoomsInput) SetNextToken(v string) *ListRoomsInput {
32757	s.NextToken = &v
32758	return s
32759}
32760
32761type ListRoomsOutput struct {
32762	_ struct{} `type:"structure"`
32763
32764	// The token to use to retrieve the next page of results.
32765	NextToken *string `type:"string"`
32766
32767	// The room details.
32768	Rooms []*Room `type:"list"`
32769}
32770
32771// String returns the string representation
32772func (s ListRoomsOutput) String() string {
32773	return awsutil.Prettify(s)
32774}
32775
32776// GoString returns the string representation
32777func (s ListRoomsOutput) GoString() string {
32778	return s.String()
32779}
32780
32781// SetNextToken sets the NextToken field's value.
32782func (s *ListRoomsOutput) SetNextToken(v string) *ListRoomsOutput {
32783	s.NextToken = &v
32784	return s
32785}
32786
32787// SetRooms sets the Rooms field's value.
32788func (s *ListRoomsOutput) SetRooms(v []*Room) *ListRoomsOutput {
32789	s.Rooms = v
32790	return s
32791}
32792
32793type ListSipMediaApplicationsInput struct {
32794	_ struct{} `type:"structure"`
32795
32796	// The maximum number of results to return in a single call. Defaults to 100.
32797	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
32798
32799	// The token to use to retrieve the next page of results.
32800	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
32801}
32802
32803// String returns the string representation
32804func (s ListSipMediaApplicationsInput) String() string {
32805	return awsutil.Prettify(s)
32806}
32807
32808// GoString returns the string representation
32809func (s ListSipMediaApplicationsInput) GoString() string {
32810	return s.String()
32811}
32812
32813// Validate inspects the fields of the type to determine if they are valid.
32814func (s *ListSipMediaApplicationsInput) Validate() error {
32815	invalidParams := request.ErrInvalidParams{Context: "ListSipMediaApplicationsInput"}
32816	if s.MaxResults != nil && *s.MaxResults < 1 {
32817		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32818	}
32819
32820	if invalidParams.Len() > 0 {
32821		return invalidParams
32822	}
32823	return nil
32824}
32825
32826// SetMaxResults sets the MaxResults field's value.
32827func (s *ListSipMediaApplicationsInput) SetMaxResults(v int64) *ListSipMediaApplicationsInput {
32828	s.MaxResults = &v
32829	return s
32830}
32831
32832// SetNextToken sets the NextToken field's value.
32833func (s *ListSipMediaApplicationsInput) SetNextToken(v string) *ListSipMediaApplicationsInput {
32834	s.NextToken = &v
32835	return s
32836}
32837
32838type ListSipMediaApplicationsOutput struct {
32839	_ struct{} `type:"structure"`
32840
32841	// The token to use to retrieve the next page of results.
32842	NextToken *string `type:"string"`
32843
32844	// List of SIP media applications and application details.
32845	SipMediaApplications []*SipMediaApplication `type:"list"`
32846}
32847
32848// String returns the string representation
32849func (s ListSipMediaApplicationsOutput) String() string {
32850	return awsutil.Prettify(s)
32851}
32852
32853// GoString returns the string representation
32854func (s ListSipMediaApplicationsOutput) GoString() string {
32855	return s.String()
32856}
32857
32858// SetNextToken sets the NextToken field's value.
32859func (s *ListSipMediaApplicationsOutput) SetNextToken(v string) *ListSipMediaApplicationsOutput {
32860	s.NextToken = &v
32861	return s
32862}
32863
32864// SetSipMediaApplications sets the SipMediaApplications field's value.
32865func (s *ListSipMediaApplicationsOutput) SetSipMediaApplications(v []*SipMediaApplication) *ListSipMediaApplicationsOutput {
32866	s.SipMediaApplications = v
32867	return s
32868}
32869
32870type ListSipRulesInput struct {
32871	_ struct{} `type:"structure"`
32872
32873	// The maximum number of results to return in a single call. Defaults to 100.
32874	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
32875
32876	// The token to use to retrieve the next page of results.
32877	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
32878
32879	// The SIP media application ID.
32880	SipMediaApplicationId *string `location:"querystring" locationName:"sip-media-application" type:"string"`
32881}
32882
32883// String returns the string representation
32884func (s ListSipRulesInput) String() string {
32885	return awsutil.Prettify(s)
32886}
32887
32888// GoString returns the string representation
32889func (s ListSipRulesInput) GoString() string {
32890	return s.String()
32891}
32892
32893// Validate inspects the fields of the type to determine if they are valid.
32894func (s *ListSipRulesInput) Validate() error {
32895	invalidParams := request.ErrInvalidParams{Context: "ListSipRulesInput"}
32896	if s.MaxResults != nil && *s.MaxResults < 1 {
32897		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32898	}
32899
32900	if invalidParams.Len() > 0 {
32901		return invalidParams
32902	}
32903	return nil
32904}
32905
32906// SetMaxResults sets the MaxResults field's value.
32907func (s *ListSipRulesInput) SetMaxResults(v int64) *ListSipRulesInput {
32908	s.MaxResults = &v
32909	return s
32910}
32911
32912// SetNextToken sets the NextToken field's value.
32913func (s *ListSipRulesInput) SetNextToken(v string) *ListSipRulesInput {
32914	s.NextToken = &v
32915	return s
32916}
32917
32918// SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
32919func (s *ListSipRulesInput) SetSipMediaApplicationId(v string) *ListSipRulesInput {
32920	s.SipMediaApplicationId = &v
32921	return s
32922}
32923
32924type ListSipRulesOutput struct {
32925	_ struct{} `type:"structure"`
32926
32927	// The token to use to retrieve the next page of results.
32928	NextToken *string `type:"string"`
32929
32930	// List of SIP rules and rule details.
32931	SipRules []*SipRule `type:"list"`
32932}
32933
32934// String returns the string representation
32935func (s ListSipRulesOutput) String() string {
32936	return awsutil.Prettify(s)
32937}
32938
32939// GoString returns the string representation
32940func (s ListSipRulesOutput) GoString() string {
32941	return s.String()
32942}
32943
32944// SetNextToken sets the NextToken field's value.
32945func (s *ListSipRulesOutput) SetNextToken(v string) *ListSipRulesOutput {
32946	s.NextToken = &v
32947	return s
32948}
32949
32950// SetSipRules sets the SipRules field's value.
32951func (s *ListSipRulesOutput) SetSipRules(v []*SipRule) *ListSipRulesOutput {
32952	s.SipRules = v
32953	return s
32954}
32955
32956type ListSupportedPhoneNumberCountriesInput struct {
32957	_ struct{} `type:"structure"`
32958
32959	// The phone number product type.
32960	//
32961	// ProductType is a required field
32962	ProductType *string `location:"querystring" locationName:"product-type" type:"string" required:"true" enum:"PhoneNumberProductType"`
32963}
32964
32965// String returns the string representation
32966func (s ListSupportedPhoneNumberCountriesInput) String() string {
32967	return awsutil.Prettify(s)
32968}
32969
32970// GoString returns the string representation
32971func (s ListSupportedPhoneNumberCountriesInput) GoString() string {
32972	return s.String()
32973}
32974
32975// Validate inspects the fields of the type to determine if they are valid.
32976func (s *ListSupportedPhoneNumberCountriesInput) Validate() error {
32977	invalidParams := request.ErrInvalidParams{Context: "ListSupportedPhoneNumberCountriesInput"}
32978	if s.ProductType == nil {
32979		invalidParams.Add(request.NewErrParamRequired("ProductType"))
32980	}
32981
32982	if invalidParams.Len() > 0 {
32983		return invalidParams
32984	}
32985	return nil
32986}
32987
32988// SetProductType sets the ProductType field's value.
32989func (s *ListSupportedPhoneNumberCountriesInput) SetProductType(v string) *ListSupportedPhoneNumberCountriesInput {
32990	s.ProductType = &v
32991	return s
32992}
32993
32994type ListSupportedPhoneNumberCountriesOutput struct {
32995	_ struct{} `type:"structure"`
32996
32997	// The supported phone number countries.
32998	PhoneNumberCountries []*PhoneNumberCountry `type:"list"`
32999}
33000
33001// String returns the string representation
33002func (s ListSupportedPhoneNumberCountriesOutput) String() string {
33003	return awsutil.Prettify(s)
33004}
33005
33006// GoString returns the string representation
33007func (s ListSupportedPhoneNumberCountriesOutput) GoString() string {
33008	return s.String()
33009}
33010
33011// SetPhoneNumberCountries sets the PhoneNumberCountries field's value.
33012func (s *ListSupportedPhoneNumberCountriesOutput) SetPhoneNumberCountries(v []*PhoneNumberCountry) *ListSupportedPhoneNumberCountriesOutput {
33013	s.PhoneNumberCountries = v
33014	return s
33015}
33016
33017type ListTagsForResourceInput struct {
33018	_ struct{} `type:"structure"`
33019
33020	// The resource ARN.
33021	//
33022	// ResourceARN is a required field
33023	ResourceARN *string `location:"querystring" locationName:"arn" min:"1" type:"string" required:"true" sensitive:"true"`
33024}
33025
33026// String returns the string representation
33027func (s ListTagsForResourceInput) String() string {
33028	return awsutil.Prettify(s)
33029}
33030
33031// GoString returns the string representation
33032func (s ListTagsForResourceInput) GoString() string {
33033	return s.String()
33034}
33035
33036// Validate inspects the fields of the type to determine if they are valid.
33037func (s *ListTagsForResourceInput) Validate() error {
33038	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
33039	if s.ResourceARN == nil {
33040		invalidParams.Add(request.NewErrParamRequired("ResourceARN"))
33041	}
33042	if s.ResourceARN != nil && len(*s.ResourceARN) < 1 {
33043		invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1))
33044	}
33045
33046	if invalidParams.Len() > 0 {
33047		return invalidParams
33048	}
33049	return nil
33050}
33051
33052// SetResourceARN sets the ResourceARN field's value.
33053func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput {
33054	s.ResourceARN = &v
33055	return s
33056}
33057
33058type ListTagsForResourceOutput struct {
33059	_ struct{} `type:"structure"`
33060
33061	// A list of tag-key value pairs.
33062	Tags []*Tag `min:"1" type:"list"`
33063}
33064
33065// String returns the string representation
33066func (s ListTagsForResourceOutput) String() string {
33067	return awsutil.Prettify(s)
33068}
33069
33070// GoString returns the string representation
33071func (s ListTagsForResourceOutput) GoString() string {
33072	return s.String()
33073}
33074
33075// SetTags sets the Tags field's value.
33076func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
33077	s.Tags = v
33078	return s
33079}
33080
33081type ListUsersInput struct {
33082	_ struct{} `type:"structure"`
33083
33084	// The Amazon Chime account ID.
33085	//
33086	// AccountId is a required field
33087	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
33088
33089	// The maximum number of results to return in a single call. Defaults to 100.
33090	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
33091
33092	// The token to use to retrieve the next page of results.
33093	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
33094
33095	// Optional. The user email address used to filter results. Maximum 1.
33096	UserEmail *string `location:"querystring" locationName:"user-email" type:"string" sensitive:"true"`
33097
33098	// The user type.
33099	UserType *string `location:"querystring" locationName:"user-type" type:"string" enum:"UserType"`
33100}
33101
33102// String returns the string representation
33103func (s ListUsersInput) String() string {
33104	return awsutil.Prettify(s)
33105}
33106
33107// GoString returns the string representation
33108func (s ListUsersInput) GoString() string {
33109	return s.String()
33110}
33111
33112// Validate inspects the fields of the type to determine if they are valid.
33113func (s *ListUsersInput) Validate() error {
33114	invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"}
33115	if s.AccountId == nil {
33116		invalidParams.Add(request.NewErrParamRequired("AccountId"))
33117	}
33118	if s.AccountId != nil && len(*s.AccountId) < 1 {
33119		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
33120	}
33121	if s.MaxResults != nil && *s.MaxResults < 1 {
33122		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33123	}
33124
33125	if invalidParams.Len() > 0 {
33126		return invalidParams
33127	}
33128	return nil
33129}
33130
33131// SetAccountId sets the AccountId field's value.
33132func (s *ListUsersInput) SetAccountId(v string) *ListUsersInput {
33133	s.AccountId = &v
33134	return s
33135}
33136
33137// SetMaxResults sets the MaxResults field's value.
33138func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput {
33139	s.MaxResults = &v
33140	return s
33141}
33142
33143// SetNextToken sets the NextToken field's value.
33144func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput {
33145	s.NextToken = &v
33146	return s
33147}
33148
33149// SetUserEmail sets the UserEmail field's value.
33150func (s *ListUsersInput) SetUserEmail(v string) *ListUsersInput {
33151	s.UserEmail = &v
33152	return s
33153}
33154
33155// SetUserType sets the UserType field's value.
33156func (s *ListUsersInput) SetUserType(v string) *ListUsersInput {
33157	s.UserType = &v
33158	return s
33159}
33160
33161type ListUsersOutput struct {
33162	_ struct{} `type:"structure"`
33163
33164	// The token to use to retrieve the next page of results.
33165	NextToken *string `type:"string"`
33166
33167	// List of users and user details.
33168	Users []*User `type:"list"`
33169}
33170
33171// String returns the string representation
33172func (s ListUsersOutput) String() string {
33173	return awsutil.Prettify(s)
33174}
33175
33176// GoString returns the string representation
33177func (s ListUsersOutput) GoString() string {
33178	return s.String()
33179}
33180
33181// SetNextToken sets the NextToken field's value.
33182func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput {
33183	s.NextToken = &v
33184	return s
33185}
33186
33187// SetUsers sets the Users field's value.
33188func (s *ListUsersOutput) SetUsers(v []*User) *ListUsersOutput {
33189	s.Users = v
33190	return s
33191}
33192
33193type ListVoiceConnectorGroupsInput struct {
33194	_ struct{} `type:"structure"`
33195
33196	// The maximum number of results to return in a single call.
33197	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
33198
33199	// The token to use to retrieve the next page of results.
33200	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
33201}
33202
33203// String returns the string representation
33204func (s ListVoiceConnectorGroupsInput) String() string {
33205	return awsutil.Prettify(s)
33206}
33207
33208// GoString returns the string representation
33209func (s ListVoiceConnectorGroupsInput) GoString() string {
33210	return s.String()
33211}
33212
33213// Validate inspects the fields of the type to determine if they are valid.
33214func (s *ListVoiceConnectorGroupsInput) Validate() error {
33215	invalidParams := request.ErrInvalidParams{Context: "ListVoiceConnectorGroupsInput"}
33216	if s.MaxResults != nil && *s.MaxResults < 1 {
33217		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33218	}
33219
33220	if invalidParams.Len() > 0 {
33221		return invalidParams
33222	}
33223	return nil
33224}
33225
33226// SetMaxResults sets the MaxResults field's value.
33227func (s *ListVoiceConnectorGroupsInput) SetMaxResults(v int64) *ListVoiceConnectorGroupsInput {
33228	s.MaxResults = &v
33229	return s
33230}
33231
33232// SetNextToken sets the NextToken field's value.
33233func (s *ListVoiceConnectorGroupsInput) SetNextToken(v string) *ListVoiceConnectorGroupsInput {
33234	s.NextToken = &v
33235	return s
33236}
33237
33238type ListVoiceConnectorGroupsOutput struct {
33239	_ struct{} `type:"structure"`
33240
33241	// The token to use to retrieve the next page of results.
33242	NextToken *string `type:"string"`
33243
33244	// The details of the Amazon Chime Voice Connector groups.
33245	VoiceConnectorGroups []*VoiceConnectorGroup `type:"list"`
33246}
33247
33248// String returns the string representation
33249func (s ListVoiceConnectorGroupsOutput) String() string {
33250	return awsutil.Prettify(s)
33251}
33252
33253// GoString returns the string representation
33254func (s ListVoiceConnectorGroupsOutput) GoString() string {
33255	return s.String()
33256}
33257
33258// SetNextToken sets the NextToken field's value.
33259func (s *ListVoiceConnectorGroupsOutput) SetNextToken(v string) *ListVoiceConnectorGroupsOutput {
33260	s.NextToken = &v
33261	return s
33262}
33263
33264// SetVoiceConnectorGroups sets the VoiceConnectorGroups field's value.
33265func (s *ListVoiceConnectorGroupsOutput) SetVoiceConnectorGroups(v []*VoiceConnectorGroup) *ListVoiceConnectorGroupsOutput {
33266	s.VoiceConnectorGroups = v
33267	return s
33268}
33269
33270type ListVoiceConnectorTerminationCredentialsInput struct {
33271	_ struct{} `type:"structure"`
33272
33273	// The Amazon Chime Voice Connector ID.
33274	//
33275	// VoiceConnectorId is a required field
33276	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
33277}
33278
33279// String returns the string representation
33280func (s ListVoiceConnectorTerminationCredentialsInput) String() string {
33281	return awsutil.Prettify(s)
33282}
33283
33284// GoString returns the string representation
33285func (s ListVoiceConnectorTerminationCredentialsInput) GoString() string {
33286	return s.String()
33287}
33288
33289// Validate inspects the fields of the type to determine if they are valid.
33290func (s *ListVoiceConnectorTerminationCredentialsInput) Validate() error {
33291	invalidParams := request.ErrInvalidParams{Context: "ListVoiceConnectorTerminationCredentialsInput"}
33292	if s.VoiceConnectorId == nil {
33293		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
33294	}
33295	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
33296		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
33297	}
33298
33299	if invalidParams.Len() > 0 {
33300		return invalidParams
33301	}
33302	return nil
33303}
33304
33305// SetVoiceConnectorId sets the VoiceConnectorId field's value.
33306func (s *ListVoiceConnectorTerminationCredentialsInput) SetVoiceConnectorId(v string) *ListVoiceConnectorTerminationCredentialsInput {
33307	s.VoiceConnectorId = &v
33308	return s
33309}
33310
33311type ListVoiceConnectorTerminationCredentialsOutput struct {
33312	_ struct{} `type:"structure"`
33313
33314	// A list of user names.
33315	Usernames []*string `type:"list"`
33316}
33317
33318// String returns the string representation
33319func (s ListVoiceConnectorTerminationCredentialsOutput) String() string {
33320	return awsutil.Prettify(s)
33321}
33322
33323// GoString returns the string representation
33324func (s ListVoiceConnectorTerminationCredentialsOutput) GoString() string {
33325	return s.String()
33326}
33327
33328// SetUsernames sets the Usernames field's value.
33329func (s *ListVoiceConnectorTerminationCredentialsOutput) SetUsernames(v []*string) *ListVoiceConnectorTerminationCredentialsOutput {
33330	s.Usernames = v
33331	return s
33332}
33333
33334type ListVoiceConnectorsInput struct {
33335	_ struct{} `type:"structure"`
33336
33337	// The maximum number of results to return in a single call.
33338	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
33339
33340	// The token to use to retrieve the next page of results.
33341	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
33342}
33343
33344// String returns the string representation
33345func (s ListVoiceConnectorsInput) String() string {
33346	return awsutil.Prettify(s)
33347}
33348
33349// GoString returns the string representation
33350func (s ListVoiceConnectorsInput) GoString() string {
33351	return s.String()
33352}
33353
33354// Validate inspects the fields of the type to determine if they are valid.
33355func (s *ListVoiceConnectorsInput) Validate() error {
33356	invalidParams := request.ErrInvalidParams{Context: "ListVoiceConnectorsInput"}
33357	if s.MaxResults != nil && *s.MaxResults < 1 {
33358		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33359	}
33360
33361	if invalidParams.Len() > 0 {
33362		return invalidParams
33363	}
33364	return nil
33365}
33366
33367// SetMaxResults sets the MaxResults field's value.
33368func (s *ListVoiceConnectorsInput) SetMaxResults(v int64) *ListVoiceConnectorsInput {
33369	s.MaxResults = &v
33370	return s
33371}
33372
33373// SetNextToken sets the NextToken field's value.
33374func (s *ListVoiceConnectorsInput) SetNextToken(v string) *ListVoiceConnectorsInput {
33375	s.NextToken = &v
33376	return s
33377}
33378
33379type ListVoiceConnectorsOutput struct {
33380	_ struct{} `type:"structure"`
33381
33382	// The token to use to retrieve the next page of results.
33383	NextToken *string `type:"string"`
33384
33385	// The details of the Amazon Chime Voice Connectors.
33386	VoiceConnectors []*VoiceConnector `type:"list"`
33387}
33388
33389// String returns the string representation
33390func (s ListVoiceConnectorsOutput) String() string {
33391	return awsutil.Prettify(s)
33392}
33393
33394// GoString returns the string representation
33395func (s ListVoiceConnectorsOutput) GoString() string {
33396	return s.String()
33397}
33398
33399// SetNextToken sets the NextToken field's value.
33400func (s *ListVoiceConnectorsOutput) SetNextToken(v string) *ListVoiceConnectorsOutput {
33401	s.NextToken = &v
33402	return s
33403}
33404
33405// SetVoiceConnectors sets the VoiceConnectors field's value.
33406func (s *ListVoiceConnectorsOutput) SetVoiceConnectors(v []*VoiceConnector) *ListVoiceConnectorsOutput {
33407	s.VoiceConnectors = v
33408	return s
33409}
33410
33411// The logging configuration associated with an Amazon Chime Voice Connector.
33412// Specifies whether SIP message logs are enabled for sending to Amazon CloudWatch
33413// Logs.
33414type LoggingConfiguration struct {
33415	_ struct{} `type:"structure"`
33416
33417	// When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
33418	EnableSIPLogs *bool `type:"boolean"`
33419}
33420
33421// String returns the string representation
33422func (s LoggingConfiguration) String() string {
33423	return awsutil.Prettify(s)
33424}
33425
33426// GoString returns the string representation
33427func (s LoggingConfiguration) GoString() string {
33428	return s.String()
33429}
33430
33431// SetEnableSIPLogs sets the EnableSIPLogs field's value.
33432func (s *LoggingConfiguration) SetEnableSIPLogs(v bool) *LoggingConfiguration {
33433	s.EnableSIPLogs = &v
33434	return s
33435}
33436
33437type LogoutUserInput struct {
33438	_ struct{} `type:"structure"`
33439
33440	// The Amazon Chime account ID.
33441	//
33442	// AccountId is a required field
33443	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
33444
33445	// The user ID.
33446	//
33447	// UserId is a required field
33448	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
33449}
33450
33451// String returns the string representation
33452func (s LogoutUserInput) String() string {
33453	return awsutil.Prettify(s)
33454}
33455
33456// GoString returns the string representation
33457func (s LogoutUserInput) GoString() string {
33458	return s.String()
33459}
33460
33461// Validate inspects the fields of the type to determine if they are valid.
33462func (s *LogoutUserInput) Validate() error {
33463	invalidParams := request.ErrInvalidParams{Context: "LogoutUserInput"}
33464	if s.AccountId == nil {
33465		invalidParams.Add(request.NewErrParamRequired("AccountId"))
33466	}
33467	if s.AccountId != nil && len(*s.AccountId) < 1 {
33468		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
33469	}
33470	if s.UserId == nil {
33471		invalidParams.Add(request.NewErrParamRequired("UserId"))
33472	}
33473	if s.UserId != nil && len(*s.UserId) < 1 {
33474		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
33475	}
33476
33477	if invalidParams.Len() > 0 {
33478		return invalidParams
33479	}
33480	return nil
33481}
33482
33483// SetAccountId sets the AccountId field's value.
33484func (s *LogoutUserInput) SetAccountId(v string) *LogoutUserInput {
33485	s.AccountId = &v
33486	return s
33487}
33488
33489// SetUserId sets the UserId field's value.
33490func (s *LogoutUserInput) SetUserId(v string) *LogoutUserInput {
33491	s.UserId = &v
33492	return s
33493}
33494
33495type LogoutUserOutput struct {
33496	_ struct{} `type:"structure"`
33497}
33498
33499// String returns the string representation
33500func (s LogoutUserOutput) String() string {
33501	return awsutil.Prettify(s)
33502}
33503
33504// GoString returns the string representation
33505func (s LogoutUserOutput) GoString() string {
33506	return s.String()
33507}
33508
33509// A set of endpoints used by clients to connect to the media service group
33510// for a Amazon Chime SDK meeting.
33511type MediaPlacement struct {
33512	_ struct{} `type:"structure"`
33513
33514	// The audio fallback URL.
33515	AudioFallbackUrl *string `type:"string"`
33516
33517	// The audio host URL.
33518	AudioHostUrl *string `type:"string"`
33519
33520	// The event ingestion URL.
33521	EventIngestionUrl *string `type:"string"`
33522
33523	// The screen data URL.
33524	ScreenDataUrl *string `type:"string"`
33525
33526	// The screen sharing URL.
33527	ScreenSharingUrl *string `type:"string"`
33528
33529	// The screen viewing URL.
33530	ScreenViewingUrl *string `type:"string"`
33531
33532	// The signaling URL.
33533	SignalingUrl *string `type:"string"`
33534
33535	// The turn control URL.
33536	TurnControlUrl *string `type:"string"`
33537}
33538
33539// String returns the string representation
33540func (s MediaPlacement) String() string {
33541	return awsutil.Prettify(s)
33542}
33543
33544// GoString returns the string representation
33545func (s MediaPlacement) GoString() string {
33546	return s.String()
33547}
33548
33549// SetAudioFallbackUrl sets the AudioFallbackUrl field's value.
33550func (s *MediaPlacement) SetAudioFallbackUrl(v string) *MediaPlacement {
33551	s.AudioFallbackUrl = &v
33552	return s
33553}
33554
33555// SetAudioHostUrl sets the AudioHostUrl field's value.
33556func (s *MediaPlacement) SetAudioHostUrl(v string) *MediaPlacement {
33557	s.AudioHostUrl = &v
33558	return s
33559}
33560
33561// SetEventIngestionUrl sets the EventIngestionUrl field's value.
33562func (s *MediaPlacement) SetEventIngestionUrl(v string) *MediaPlacement {
33563	s.EventIngestionUrl = &v
33564	return s
33565}
33566
33567// SetScreenDataUrl sets the ScreenDataUrl field's value.
33568func (s *MediaPlacement) SetScreenDataUrl(v string) *MediaPlacement {
33569	s.ScreenDataUrl = &v
33570	return s
33571}
33572
33573// SetScreenSharingUrl sets the ScreenSharingUrl field's value.
33574func (s *MediaPlacement) SetScreenSharingUrl(v string) *MediaPlacement {
33575	s.ScreenSharingUrl = &v
33576	return s
33577}
33578
33579// SetScreenViewingUrl sets the ScreenViewingUrl field's value.
33580func (s *MediaPlacement) SetScreenViewingUrl(v string) *MediaPlacement {
33581	s.ScreenViewingUrl = &v
33582	return s
33583}
33584
33585// SetSignalingUrl sets the SignalingUrl field's value.
33586func (s *MediaPlacement) SetSignalingUrl(v string) *MediaPlacement {
33587	s.SignalingUrl = &v
33588	return s
33589}
33590
33591// SetTurnControlUrl sets the TurnControlUrl field's value.
33592func (s *MediaPlacement) SetTurnControlUrl(v string) *MediaPlacement {
33593	s.TurnControlUrl = &v
33594	return s
33595}
33596
33597// A meeting created using the Amazon Chime SDK.
33598type Meeting struct {
33599	_ struct{} `type:"structure"`
33600
33601	// The external meeting ID.
33602	ExternalMeetingId *string `min:"2" type:"string" sensitive:"true"`
33603
33604	// The media placement for the meeting.
33605	MediaPlacement *MediaPlacement `type:"structure"`
33606
33607	// The Region in which you create the meeting. Available values: af-south-1,
33608	// ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2,
33609	// ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2,
33610	// eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.
33611	MediaRegion *string `type:"string"`
33612
33613	// The Amazon Chime SDK meeting ID.
33614	MeetingId *string `type:"string"`
33615}
33616
33617// String returns the string representation
33618func (s Meeting) String() string {
33619	return awsutil.Prettify(s)
33620}
33621
33622// GoString returns the string representation
33623func (s Meeting) GoString() string {
33624	return s.String()
33625}
33626
33627// SetExternalMeetingId sets the ExternalMeetingId field's value.
33628func (s *Meeting) SetExternalMeetingId(v string) *Meeting {
33629	s.ExternalMeetingId = &v
33630	return s
33631}
33632
33633// SetMediaPlacement sets the MediaPlacement field's value.
33634func (s *Meeting) SetMediaPlacement(v *MediaPlacement) *Meeting {
33635	s.MediaPlacement = v
33636	return s
33637}
33638
33639// SetMediaRegion sets the MediaRegion field's value.
33640func (s *Meeting) SetMediaRegion(v string) *Meeting {
33641	s.MediaRegion = &v
33642	return s
33643}
33644
33645// SetMeetingId sets the MeetingId field's value.
33646func (s *Meeting) SetMeetingId(v string) *Meeting {
33647	s.MeetingId = &v
33648	return s
33649}
33650
33651// The resource target configurations for receiving Amazon Chime SDK meeting
33652// and attendee event notifications. The Amazon Chime SDK supports resource
33653// targets located in the US East (N. Virginia) AWS Region (us-east-1).
33654type MeetingNotificationConfiguration struct {
33655	_ struct{} `type:"structure"`
33656
33657	// The SNS topic ARN.
33658	SnsTopicArn *string `min:"1" type:"string" sensitive:"true"`
33659
33660	// The SQS queue ARN.
33661	SqsQueueArn *string `min:"1" type:"string" sensitive:"true"`
33662}
33663
33664// String returns the string representation
33665func (s MeetingNotificationConfiguration) String() string {
33666	return awsutil.Prettify(s)
33667}
33668
33669// GoString returns the string representation
33670func (s MeetingNotificationConfiguration) GoString() string {
33671	return s.String()
33672}
33673
33674// Validate inspects the fields of the type to determine if they are valid.
33675func (s *MeetingNotificationConfiguration) Validate() error {
33676	invalidParams := request.ErrInvalidParams{Context: "MeetingNotificationConfiguration"}
33677	if s.SnsTopicArn != nil && len(*s.SnsTopicArn) < 1 {
33678		invalidParams.Add(request.NewErrParamMinLen("SnsTopicArn", 1))
33679	}
33680	if s.SqsQueueArn != nil && len(*s.SqsQueueArn) < 1 {
33681		invalidParams.Add(request.NewErrParamMinLen("SqsQueueArn", 1))
33682	}
33683
33684	if invalidParams.Len() > 0 {
33685		return invalidParams
33686	}
33687	return nil
33688}
33689
33690// SetSnsTopicArn sets the SnsTopicArn field's value.
33691func (s *MeetingNotificationConfiguration) SetSnsTopicArn(v string) *MeetingNotificationConfiguration {
33692	s.SnsTopicArn = &v
33693	return s
33694}
33695
33696// SetSqsQueueArn sets the SqsQueueArn field's value.
33697func (s *MeetingNotificationConfiguration) SetSqsQueueArn(v string) *MeetingNotificationConfiguration {
33698	s.SqsQueueArn = &v
33699	return s
33700}
33701
33702// The member details, such as email address, name, member ID, and member type.
33703type Member struct {
33704	_ struct{} `type:"structure"`
33705
33706	// The Amazon Chime account ID.
33707	AccountId *string `type:"string"`
33708
33709	// The member email address.
33710	Email *string `type:"string" sensitive:"true"`
33711
33712	// The member name.
33713	FullName *string `type:"string" sensitive:"true"`
33714
33715	// The member ID (user ID or bot ID).
33716	MemberId *string `type:"string"`
33717
33718	// The member type.
33719	MemberType *string `type:"string" enum:"MemberType"`
33720}
33721
33722// String returns the string representation
33723func (s Member) String() string {
33724	return awsutil.Prettify(s)
33725}
33726
33727// GoString returns the string representation
33728func (s Member) GoString() string {
33729	return s.String()
33730}
33731
33732// SetAccountId sets the AccountId field's value.
33733func (s *Member) SetAccountId(v string) *Member {
33734	s.AccountId = &v
33735	return s
33736}
33737
33738// SetEmail sets the Email field's value.
33739func (s *Member) SetEmail(v string) *Member {
33740	s.Email = &v
33741	return s
33742}
33743
33744// SetFullName sets the FullName field's value.
33745func (s *Member) SetFullName(v string) *Member {
33746	s.FullName = &v
33747	return s
33748}
33749
33750// SetMemberId sets the MemberId field's value.
33751func (s *Member) SetMemberId(v string) *Member {
33752	s.MemberId = &v
33753	return s
33754}
33755
33756// SetMemberType sets the MemberType field's value.
33757func (s *Member) SetMemberType(v string) *Member {
33758	s.MemberType = &v
33759	return s
33760}
33761
33762// The list of errors returned when a member action results in an error.
33763type MemberError struct {
33764	_ struct{} `type:"structure"`
33765
33766	// The error code.
33767	ErrorCode *string `type:"string" enum:"ErrorCode"`
33768
33769	// The error message.
33770	ErrorMessage *string `type:"string"`
33771
33772	// The member ID.
33773	MemberId *string `type:"string"`
33774}
33775
33776// String returns the string representation
33777func (s MemberError) String() string {
33778	return awsutil.Prettify(s)
33779}
33780
33781// GoString returns the string representation
33782func (s MemberError) GoString() string {
33783	return s.String()
33784}
33785
33786// SetErrorCode sets the ErrorCode field's value.
33787func (s *MemberError) SetErrorCode(v string) *MemberError {
33788	s.ErrorCode = &v
33789	return s
33790}
33791
33792// SetErrorMessage sets the ErrorMessage field's value.
33793func (s *MemberError) SetErrorMessage(v string) *MemberError {
33794	s.ErrorMessage = &v
33795	return s
33796}
33797
33798// SetMemberId sets the MemberId field's value.
33799func (s *MemberError) SetMemberId(v string) *MemberError {
33800	s.MemberId = &v
33801	return s
33802}
33803
33804// Membership details, such as member ID and member role.
33805type MembershipItem struct {
33806	_ struct{} `type:"structure"`
33807
33808	// The member ID.
33809	MemberId *string `type:"string"`
33810
33811	// The member role.
33812	Role *string `type:"string" enum:"RoomMembershipRole"`
33813}
33814
33815// String returns the string representation
33816func (s MembershipItem) String() string {
33817	return awsutil.Prettify(s)
33818}
33819
33820// GoString returns the string representation
33821func (s MembershipItem) GoString() string {
33822	return s.String()
33823}
33824
33825// SetMemberId sets the MemberId field's value.
33826func (s *MembershipItem) SetMemberId(v string) *MembershipItem {
33827	s.MemberId = &v
33828	return s
33829}
33830
33831// SetRole sets the Role field's value.
33832func (s *MembershipItem) SetRole(v string) *MembershipItem {
33833	s.Role = &v
33834	return s
33835}
33836
33837// The websocket endpoint used to connect to Amazon Chime SDK messaging.
33838type MessagingSessionEndpoint struct {
33839	_ struct{} `type:"structure"`
33840
33841	// The endpoint to which you establish a websocket connection.
33842	Url *string `type:"string"`
33843}
33844
33845// String returns the string representation
33846func (s MessagingSessionEndpoint) String() string {
33847	return awsutil.Prettify(s)
33848}
33849
33850// GoString returns the string representation
33851func (s MessagingSessionEndpoint) GoString() string {
33852	return s.String()
33853}
33854
33855// SetUrl sets the Url field's value.
33856func (s *MessagingSessionEndpoint) SetUrl(v string) *MessagingSessionEndpoint {
33857	s.Url = &v
33858	return s
33859}
33860
33861// One or more of the resources in the request does not exist in the system.
33862type NotFoundException struct {
33863	_            struct{}                  `type:"structure"`
33864	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
33865
33866	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
33867
33868	Message_ *string `locationName:"Message" type:"string"`
33869}
33870
33871// String returns the string representation
33872func (s NotFoundException) String() string {
33873	return awsutil.Prettify(s)
33874}
33875
33876// GoString returns the string representation
33877func (s NotFoundException) GoString() string {
33878	return s.String()
33879}
33880
33881func newErrorNotFoundException(v protocol.ResponseMetadata) error {
33882	return &NotFoundException{
33883		RespMetadata: v,
33884	}
33885}
33886
33887// Code returns the exception type name.
33888func (s *NotFoundException) Code() string {
33889	return "NotFoundException"
33890}
33891
33892// Message returns the exception's message.
33893func (s *NotFoundException) Message() string {
33894	if s.Message_ != nil {
33895		return *s.Message_
33896	}
33897	return ""
33898}
33899
33900// OrigErr always returns nil, satisfies awserr.Error interface.
33901func (s *NotFoundException) OrigErr() error {
33902	return nil
33903}
33904
33905func (s *NotFoundException) Error() string {
33906	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
33907}
33908
33909// Status code returns the HTTP status code for the request's response error.
33910func (s *NotFoundException) StatusCode() int {
33911	return s.RespMetadata.StatusCode
33912}
33913
33914// RequestID returns the service's response RequestID for request.
33915func (s *NotFoundException) RequestID() string {
33916	return s.RespMetadata.RequestID
33917}
33918
33919// A phone number for which an order has been placed.
33920type OrderedPhoneNumber struct {
33921	_ struct{} `type:"structure"`
33922
33923	// The phone number, in E.164 format.
33924	E164PhoneNumber *string `type:"string" sensitive:"true"`
33925
33926	// The phone number status.
33927	Status *string `type:"string" enum:"OrderedPhoneNumberStatus"`
33928}
33929
33930// String returns the string representation
33931func (s OrderedPhoneNumber) String() string {
33932	return awsutil.Prettify(s)
33933}
33934
33935// GoString returns the string representation
33936func (s OrderedPhoneNumber) GoString() string {
33937	return s.String()
33938}
33939
33940// SetE164PhoneNumber sets the E164PhoneNumber field's value.
33941func (s *OrderedPhoneNumber) SetE164PhoneNumber(v string) *OrderedPhoneNumber {
33942	s.E164PhoneNumber = &v
33943	return s
33944}
33945
33946// SetStatus sets the Status field's value.
33947func (s *OrderedPhoneNumber) SetStatus(v string) *OrderedPhoneNumber {
33948	s.Status = &v
33949	return s
33950}
33951
33952// Origination settings enable your SIP hosts to receive inbound calls using
33953// your Amazon Chime Voice Connector.
33954type Origination struct {
33955	_ struct{} `type:"structure"`
33956
33957	// When origination settings are disabled, inbound calls are not enabled for
33958	// your Amazon Chime Voice Connector.
33959	Disabled *bool `type:"boolean"`
33960
33961	// The call distribution properties defined for your SIP hosts. Valid range:
33962	// Minimum value of 1. Maximum value of 20.
33963	Routes []*OriginationRoute `type:"list"`
33964}
33965
33966// String returns the string representation
33967func (s Origination) String() string {
33968	return awsutil.Prettify(s)
33969}
33970
33971// GoString returns the string representation
33972func (s Origination) GoString() string {
33973	return s.String()
33974}
33975
33976// Validate inspects the fields of the type to determine if they are valid.
33977func (s *Origination) Validate() error {
33978	invalidParams := request.ErrInvalidParams{Context: "Origination"}
33979	if s.Routes != nil {
33980		for i, v := range s.Routes {
33981			if v == nil {
33982				continue
33983			}
33984			if err := v.Validate(); err != nil {
33985				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Routes", i), err.(request.ErrInvalidParams))
33986			}
33987		}
33988	}
33989
33990	if invalidParams.Len() > 0 {
33991		return invalidParams
33992	}
33993	return nil
33994}
33995
33996// SetDisabled sets the Disabled field's value.
33997func (s *Origination) SetDisabled(v bool) *Origination {
33998	s.Disabled = &v
33999	return s
34000}
34001
34002// SetRoutes sets the Routes field's value.
34003func (s *Origination) SetRoutes(v []*OriginationRoute) *Origination {
34004	s.Routes = v
34005	return s
34006}
34007
34008// Origination routes define call distribution properties for your SIP hosts
34009// to receive inbound calls using your Amazon Chime Voice Connector. Limit:
34010// Ten origination routes for each Amazon Chime Voice Connector.
34011type OriginationRoute struct {
34012	_ struct{} `type:"structure"`
34013
34014	// The FQDN or IP address to contact for origination traffic.
34015	Host *string `type:"string"`
34016
34017	// The designated origination route port. Defaults to 5060.
34018	Port *int64 `type:"integer"`
34019
34020	// The priority associated with the host, with 1 being the highest priority.
34021	// Higher priority hosts are attempted first.
34022	Priority *int64 `min:"1" type:"integer"`
34023
34024	// The protocol to use for the origination route. Encryption-enabled Amazon
34025	// Chime Voice Connectors use TCP protocol by default.
34026	Protocol *string `type:"string" enum:"OriginationRouteProtocol"`
34027
34028	// The weight associated with the host. If hosts are equal in priority, calls
34029	// are redistributed among them based on their relative weight.
34030	Weight *int64 `min:"1" type:"integer"`
34031}
34032
34033// String returns the string representation
34034func (s OriginationRoute) String() string {
34035	return awsutil.Prettify(s)
34036}
34037
34038// GoString returns the string representation
34039func (s OriginationRoute) GoString() string {
34040	return s.String()
34041}
34042
34043// Validate inspects the fields of the type to determine if they are valid.
34044func (s *OriginationRoute) Validate() error {
34045	invalidParams := request.ErrInvalidParams{Context: "OriginationRoute"}
34046	if s.Priority != nil && *s.Priority < 1 {
34047		invalidParams.Add(request.NewErrParamMinValue("Priority", 1))
34048	}
34049	if s.Weight != nil && *s.Weight < 1 {
34050		invalidParams.Add(request.NewErrParamMinValue("Weight", 1))
34051	}
34052
34053	if invalidParams.Len() > 0 {
34054		return invalidParams
34055	}
34056	return nil
34057}
34058
34059// SetHost sets the Host field's value.
34060func (s *OriginationRoute) SetHost(v string) *OriginationRoute {
34061	s.Host = &v
34062	return s
34063}
34064
34065// SetPort sets the Port field's value.
34066func (s *OriginationRoute) SetPort(v int64) *OriginationRoute {
34067	s.Port = &v
34068	return s
34069}
34070
34071// SetPriority sets the Priority field's value.
34072func (s *OriginationRoute) SetPriority(v int64) *OriginationRoute {
34073	s.Priority = &v
34074	return s
34075}
34076
34077// SetProtocol sets the Protocol field's value.
34078func (s *OriginationRoute) SetProtocol(v string) *OriginationRoute {
34079	s.Protocol = &v
34080	return s
34081}
34082
34083// SetWeight sets the Weight field's value.
34084func (s *OriginationRoute) SetWeight(v int64) *OriginationRoute {
34085	s.Weight = &v
34086	return s
34087}
34088
34089// The phone number and proxy phone number for a participant in an Amazon Chime
34090// Voice Connector proxy session.
34091type Participant struct {
34092	_ struct{} `type:"structure"`
34093
34094	// The participant's phone number.
34095	PhoneNumber *string `type:"string" sensitive:"true"`
34096
34097	// The participant's proxy phone number.
34098	ProxyPhoneNumber *string `type:"string" sensitive:"true"`
34099}
34100
34101// String returns the string representation
34102func (s Participant) String() string {
34103	return awsutil.Prettify(s)
34104}
34105
34106// GoString returns the string representation
34107func (s Participant) GoString() string {
34108	return s.String()
34109}
34110
34111// SetPhoneNumber sets the PhoneNumber field's value.
34112func (s *Participant) SetPhoneNumber(v string) *Participant {
34113	s.PhoneNumber = &v
34114	return s
34115}
34116
34117// SetProxyPhoneNumber sets the ProxyPhoneNumber field's value.
34118func (s *Participant) SetProxyPhoneNumber(v string) *Participant {
34119	s.ProxyPhoneNumber = &v
34120	return s
34121}
34122
34123// A phone number used for Amazon Chime Business Calling or an Amazon Chime
34124// Voice Connector.
34125type PhoneNumber struct {
34126	_ struct{} `type:"structure"`
34127
34128	// The phone number associations.
34129	Associations []*PhoneNumberAssociation `type:"list"`
34130
34131	// The outbound calling name associated with the phone number.
34132	CallingName *string `type:"string" sensitive:"true"`
34133
34134	// The outbound calling name status.
34135	CallingNameStatus *string `type:"string" enum:"CallingNameStatus"`
34136
34137	// The phone number capabilities.
34138	Capabilities *PhoneNumberCapabilities `type:"structure"`
34139
34140	// The phone number country. Format: ISO 3166-1 alpha-2.
34141	Country *string `type:"string"`
34142
34143	// The phone number creation timestamp, in ISO 8601 format.
34144	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
34145
34146	// The deleted phone number timestamp, in ISO 8601 format.
34147	DeletionTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
34148
34149	// The phone number, in E.164 format.
34150	E164PhoneNumber *string `type:"string" sensitive:"true"`
34151
34152	// The phone number ID.
34153	PhoneNumberId *string `type:"string"`
34154
34155	// The phone number product type.
34156	ProductType *string `type:"string" enum:"PhoneNumberProductType"`
34157
34158	// The phone number status.
34159	Status *string `type:"string" enum:"PhoneNumberStatus"`
34160
34161	// The phone number type.
34162	Type *string `type:"string" enum:"PhoneNumberType"`
34163
34164	// The updated phone number timestamp, in ISO 8601 format.
34165	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
34166}
34167
34168// String returns the string representation
34169func (s PhoneNumber) String() string {
34170	return awsutil.Prettify(s)
34171}
34172
34173// GoString returns the string representation
34174func (s PhoneNumber) GoString() string {
34175	return s.String()
34176}
34177
34178// SetAssociations sets the Associations field's value.
34179func (s *PhoneNumber) SetAssociations(v []*PhoneNumberAssociation) *PhoneNumber {
34180	s.Associations = v
34181	return s
34182}
34183
34184// SetCallingName sets the CallingName field's value.
34185func (s *PhoneNumber) SetCallingName(v string) *PhoneNumber {
34186	s.CallingName = &v
34187	return s
34188}
34189
34190// SetCallingNameStatus sets the CallingNameStatus field's value.
34191func (s *PhoneNumber) SetCallingNameStatus(v string) *PhoneNumber {
34192	s.CallingNameStatus = &v
34193	return s
34194}
34195
34196// SetCapabilities sets the Capabilities field's value.
34197func (s *PhoneNumber) SetCapabilities(v *PhoneNumberCapabilities) *PhoneNumber {
34198	s.Capabilities = v
34199	return s
34200}
34201
34202// SetCountry sets the Country field's value.
34203func (s *PhoneNumber) SetCountry(v string) *PhoneNumber {
34204	s.Country = &v
34205	return s
34206}
34207
34208// SetCreatedTimestamp sets the CreatedTimestamp field's value.
34209func (s *PhoneNumber) SetCreatedTimestamp(v time.Time) *PhoneNumber {
34210	s.CreatedTimestamp = &v
34211	return s
34212}
34213
34214// SetDeletionTimestamp sets the DeletionTimestamp field's value.
34215func (s *PhoneNumber) SetDeletionTimestamp(v time.Time) *PhoneNumber {
34216	s.DeletionTimestamp = &v
34217	return s
34218}
34219
34220// SetE164PhoneNumber sets the E164PhoneNumber field's value.
34221func (s *PhoneNumber) SetE164PhoneNumber(v string) *PhoneNumber {
34222	s.E164PhoneNumber = &v
34223	return s
34224}
34225
34226// SetPhoneNumberId sets the PhoneNumberId field's value.
34227func (s *PhoneNumber) SetPhoneNumberId(v string) *PhoneNumber {
34228	s.PhoneNumberId = &v
34229	return s
34230}
34231
34232// SetProductType sets the ProductType field's value.
34233func (s *PhoneNumber) SetProductType(v string) *PhoneNumber {
34234	s.ProductType = &v
34235	return s
34236}
34237
34238// SetStatus sets the Status field's value.
34239func (s *PhoneNumber) SetStatus(v string) *PhoneNumber {
34240	s.Status = &v
34241	return s
34242}
34243
34244// SetType sets the Type field's value.
34245func (s *PhoneNumber) SetType(v string) *PhoneNumber {
34246	s.Type = &v
34247	return s
34248}
34249
34250// SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
34251func (s *PhoneNumber) SetUpdatedTimestamp(v time.Time) *PhoneNumber {
34252	s.UpdatedTimestamp = &v
34253	return s
34254}
34255
34256// The phone number associations, such as Amazon Chime account ID, Amazon Chime
34257// user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector
34258// group ID.
34259type PhoneNumberAssociation struct {
34260	_ struct{} `type:"structure"`
34261
34262	// The timestamp of the phone number association, in ISO 8601 format.
34263	AssociatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
34264
34265	// Defines the association with an Amazon Chime account ID, user ID, Amazon
34266	// Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.
34267	Name *string `type:"string" enum:"PhoneNumberAssociationName"`
34268
34269	// Contains the ID for the entity specified in Name.
34270	Value *string `type:"string"`
34271}
34272
34273// String returns the string representation
34274func (s PhoneNumberAssociation) String() string {
34275	return awsutil.Prettify(s)
34276}
34277
34278// GoString returns the string representation
34279func (s PhoneNumberAssociation) GoString() string {
34280	return s.String()
34281}
34282
34283// SetAssociatedTimestamp sets the AssociatedTimestamp field's value.
34284func (s *PhoneNumberAssociation) SetAssociatedTimestamp(v time.Time) *PhoneNumberAssociation {
34285	s.AssociatedTimestamp = &v
34286	return s
34287}
34288
34289// SetName sets the Name field's value.
34290func (s *PhoneNumberAssociation) SetName(v string) *PhoneNumberAssociation {
34291	s.Name = &v
34292	return s
34293}
34294
34295// SetValue sets the Value field's value.
34296func (s *PhoneNumberAssociation) SetValue(v string) *PhoneNumberAssociation {
34297	s.Value = &v
34298	return s
34299}
34300
34301// The phone number capabilities for Amazon Chime Business Calling phone numbers,
34302// such as enabled inbound and outbound calling and text messaging.
34303type PhoneNumberCapabilities struct {
34304	_ struct{} `type:"structure"`
34305
34306	// Allows or denies inbound calling for the specified phone number.
34307	InboundCall *bool `type:"boolean"`
34308
34309	// Allows or denies inbound MMS messaging for the specified phone number.
34310	InboundMMS *bool `type:"boolean"`
34311
34312	// Allows or denies inbound SMS messaging for the specified phone number.
34313	InboundSMS *bool `type:"boolean"`
34314
34315	// Allows or denies outbound calling for the specified phone number.
34316	OutboundCall *bool `type:"boolean"`
34317
34318	// Allows or denies outbound MMS messaging for the specified phone number.
34319	OutboundMMS *bool `type:"boolean"`
34320
34321	// Allows or denies outbound SMS messaging for the specified phone number.
34322	OutboundSMS *bool `type:"boolean"`
34323}
34324
34325// String returns the string representation
34326func (s PhoneNumberCapabilities) String() string {
34327	return awsutil.Prettify(s)
34328}
34329
34330// GoString returns the string representation
34331func (s PhoneNumberCapabilities) GoString() string {
34332	return s.String()
34333}
34334
34335// SetInboundCall sets the InboundCall field's value.
34336func (s *PhoneNumberCapabilities) SetInboundCall(v bool) *PhoneNumberCapabilities {
34337	s.InboundCall = &v
34338	return s
34339}
34340
34341// SetInboundMMS sets the InboundMMS field's value.
34342func (s *PhoneNumberCapabilities) SetInboundMMS(v bool) *PhoneNumberCapabilities {
34343	s.InboundMMS = &v
34344	return s
34345}
34346
34347// SetInboundSMS sets the InboundSMS field's value.
34348func (s *PhoneNumberCapabilities) SetInboundSMS(v bool) *PhoneNumberCapabilities {
34349	s.InboundSMS = &v
34350	return s
34351}
34352
34353// SetOutboundCall sets the OutboundCall field's value.
34354func (s *PhoneNumberCapabilities) SetOutboundCall(v bool) *PhoneNumberCapabilities {
34355	s.OutboundCall = &v
34356	return s
34357}
34358
34359// SetOutboundMMS sets the OutboundMMS field's value.
34360func (s *PhoneNumberCapabilities) SetOutboundMMS(v bool) *PhoneNumberCapabilities {
34361	s.OutboundMMS = &v
34362	return s
34363}
34364
34365// SetOutboundSMS sets the OutboundSMS field's value.
34366func (s *PhoneNumberCapabilities) SetOutboundSMS(v bool) *PhoneNumberCapabilities {
34367	s.OutboundSMS = &v
34368	return s
34369}
34370
34371// The phone number country.
34372type PhoneNumberCountry struct {
34373	_ struct{} `type:"structure"`
34374
34375	// The phone number country code. Format: ISO 3166-1 alpha-2.
34376	CountryCode *string `type:"string"`
34377
34378	// The supported phone number types.
34379	SupportedPhoneNumberTypes []*string `type:"list"`
34380}
34381
34382// String returns the string representation
34383func (s PhoneNumberCountry) String() string {
34384	return awsutil.Prettify(s)
34385}
34386
34387// GoString returns the string representation
34388func (s PhoneNumberCountry) GoString() string {
34389	return s.String()
34390}
34391
34392// SetCountryCode sets the CountryCode field's value.
34393func (s *PhoneNumberCountry) SetCountryCode(v string) *PhoneNumberCountry {
34394	s.CountryCode = &v
34395	return s
34396}
34397
34398// SetSupportedPhoneNumberTypes sets the SupportedPhoneNumberTypes field's value.
34399func (s *PhoneNumberCountry) SetSupportedPhoneNumberTypes(v []*string) *PhoneNumberCountry {
34400	s.SupportedPhoneNumberTypes = v
34401	return s
34402}
34403
34404// If the phone number action fails for one or more of the phone numbers in
34405// the request, a list of the phone numbers is returned, along with error codes
34406// and error messages.
34407type PhoneNumberError struct {
34408	_ struct{} `type:"structure"`
34409
34410	// The error code.
34411	ErrorCode *string `type:"string" enum:"ErrorCode"`
34412
34413	// The error message.
34414	ErrorMessage *string `type:"string"`
34415
34416	// The phone number ID for which the action failed.
34417	PhoneNumberId *string `type:"string"`
34418}
34419
34420// String returns the string representation
34421func (s PhoneNumberError) String() string {
34422	return awsutil.Prettify(s)
34423}
34424
34425// GoString returns the string representation
34426func (s PhoneNumberError) GoString() string {
34427	return s.String()
34428}
34429
34430// SetErrorCode sets the ErrorCode field's value.
34431func (s *PhoneNumberError) SetErrorCode(v string) *PhoneNumberError {
34432	s.ErrorCode = &v
34433	return s
34434}
34435
34436// SetErrorMessage sets the ErrorMessage field's value.
34437func (s *PhoneNumberError) SetErrorMessage(v string) *PhoneNumberError {
34438	s.ErrorMessage = &v
34439	return s
34440}
34441
34442// SetPhoneNumberId sets the PhoneNumberId field's value.
34443func (s *PhoneNumberError) SetPhoneNumberId(v string) *PhoneNumberError {
34444	s.PhoneNumberId = &v
34445	return s
34446}
34447
34448// The details of a phone number order created for Amazon Chime.
34449type PhoneNumberOrder struct {
34450	_ struct{} `type:"structure"`
34451
34452	// The phone number order creation time stamp, in ISO 8601 format.
34453	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
34454
34455	// The ordered phone number details, such as the phone number in E.164 format
34456	// and the phone number status.
34457	OrderedPhoneNumbers []*OrderedPhoneNumber `type:"list"`
34458
34459	// The phone number order ID.
34460	PhoneNumberOrderId *string `type:"string"`
34461
34462	// The phone number order product type.
34463	ProductType *string `type:"string" enum:"PhoneNumberProductType"`
34464
34465	// The status of the phone number order.
34466	Status *string `type:"string" enum:"PhoneNumberOrderStatus"`
34467
34468	// The updated phone number order time stamp, in ISO 8601 format.
34469	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
34470}
34471
34472// String returns the string representation
34473func (s PhoneNumberOrder) String() string {
34474	return awsutil.Prettify(s)
34475}
34476
34477// GoString returns the string representation
34478func (s PhoneNumberOrder) GoString() string {
34479	return s.String()
34480}
34481
34482// SetCreatedTimestamp sets the CreatedTimestamp field's value.
34483func (s *PhoneNumberOrder) SetCreatedTimestamp(v time.Time) *PhoneNumberOrder {
34484	s.CreatedTimestamp = &v
34485	return s
34486}
34487
34488// SetOrderedPhoneNumbers sets the OrderedPhoneNumbers field's value.
34489func (s *PhoneNumberOrder) SetOrderedPhoneNumbers(v []*OrderedPhoneNumber) *PhoneNumberOrder {
34490	s.OrderedPhoneNumbers = v
34491	return s
34492}
34493
34494// SetPhoneNumberOrderId sets the PhoneNumberOrderId field's value.
34495func (s *PhoneNumberOrder) SetPhoneNumberOrderId(v string) *PhoneNumberOrder {
34496	s.PhoneNumberOrderId = &v
34497	return s
34498}
34499
34500// SetProductType sets the ProductType field's value.
34501func (s *PhoneNumberOrder) SetProductType(v string) *PhoneNumberOrder {
34502	s.ProductType = &v
34503	return s
34504}
34505
34506// SetStatus sets the Status field's value.
34507func (s *PhoneNumberOrder) SetStatus(v string) *PhoneNumberOrder {
34508	s.Status = &v
34509	return s
34510}
34511
34512// SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
34513func (s *PhoneNumberOrder) SetUpdatedTimestamp(v time.Time) *PhoneNumberOrder {
34514	s.UpdatedTimestamp = &v
34515	return s
34516}
34517
34518// The proxy configuration for an Amazon Chime Voice Connector.
34519type Proxy struct {
34520	_ struct{} `type:"structure"`
34521
34522	// The default number of minutes allowed for proxy sessions.
34523	DefaultSessionExpiryMinutes *int64 `type:"integer"`
34524
34525	// When true, stops proxy sessions from being created on the specified Amazon
34526	// Chime Voice Connector.
34527	Disabled *bool `type:"boolean"`
34528
34529	// The phone number to route calls to after a proxy session expires.
34530	FallBackPhoneNumber *string `type:"string" sensitive:"true"`
34531
34532	// The countries for proxy phone numbers to be selected from.
34533	PhoneNumberCountries []*string `type:"list"`
34534}
34535
34536// String returns the string representation
34537func (s Proxy) String() string {
34538	return awsutil.Prettify(s)
34539}
34540
34541// GoString returns the string representation
34542func (s Proxy) GoString() string {
34543	return s.String()
34544}
34545
34546// SetDefaultSessionExpiryMinutes sets the DefaultSessionExpiryMinutes field's value.
34547func (s *Proxy) SetDefaultSessionExpiryMinutes(v int64) *Proxy {
34548	s.DefaultSessionExpiryMinutes = &v
34549	return s
34550}
34551
34552// SetDisabled sets the Disabled field's value.
34553func (s *Proxy) SetDisabled(v bool) *Proxy {
34554	s.Disabled = &v
34555	return s
34556}
34557
34558// SetFallBackPhoneNumber sets the FallBackPhoneNumber field's value.
34559func (s *Proxy) SetFallBackPhoneNumber(v string) *Proxy {
34560	s.FallBackPhoneNumber = &v
34561	return s
34562}
34563
34564// SetPhoneNumberCountries sets the PhoneNumberCountries field's value.
34565func (s *Proxy) SetPhoneNumberCountries(v []*string) *Proxy {
34566	s.PhoneNumberCountries = v
34567	return s
34568}
34569
34570// The proxy session for an Amazon Chime Voice Connector.
34571type ProxySession struct {
34572	_ struct{} `type:"structure"`
34573
34574	// The proxy session capabilities.
34575	Capabilities []*string `type:"list"`
34576
34577	// The created time stamp, in ISO 8601 format.
34578	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
34579
34580	// The ended time stamp, in ISO 8601 format.
34581	EndedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
34582
34583	// The number of minutes allowed for the proxy session.
34584	ExpiryMinutes *int64 `min:"1" type:"integer"`
34585
34586	// The preference for matching the country or area code of the proxy phone number
34587	// with that of the first participant.
34588	GeoMatchLevel *string `type:"string" enum:"GeoMatchLevel"`
34589
34590	// The country and area code for the proxy phone number.
34591	GeoMatchParams *GeoMatchParams `type:"structure"`
34592
34593	// The name of the proxy session.
34594	Name *string `type:"string"`
34595
34596	// The preference for proxy phone number reuse, or stickiness, between the same
34597	// participants across sessions.
34598	NumberSelectionBehavior *string `type:"string" enum:"NumberSelectionBehavior"`
34599
34600	// The proxy session participants.
34601	Participants []*Participant `type:"list"`
34602
34603	// The proxy session ID.
34604	ProxySessionId *string `min:"1" type:"string"`
34605
34606	// The status of the proxy session.
34607	Status *string `type:"string" enum:"ProxySessionStatus"`
34608
34609	// The updated time stamp, in ISO 8601 format.
34610	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
34611
34612	// The Amazon Chime voice connector ID.
34613	VoiceConnectorId *string `min:"1" type:"string"`
34614}
34615
34616// String returns the string representation
34617func (s ProxySession) String() string {
34618	return awsutil.Prettify(s)
34619}
34620
34621// GoString returns the string representation
34622func (s ProxySession) GoString() string {
34623	return s.String()
34624}
34625
34626// SetCapabilities sets the Capabilities field's value.
34627func (s *ProxySession) SetCapabilities(v []*string) *ProxySession {
34628	s.Capabilities = v
34629	return s
34630}
34631
34632// SetCreatedTimestamp sets the CreatedTimestamp field's value.
34633func (s *ProxySession) SetCreatedTimestamp(v time.Time) *ProxySession {
34634	s.CreatedTimestamp = &v
34635	return s
34636}
34637
34638// SetEndedTimestamp sets the EndedTimestamp field's value.
34639func (s *ProxySession) SetEndedTimestamp(v time.Time) *ProxySession {
34640	s.EndedTimestamp = &v
34641	return s
34642}
34643
34644// SetExpiryMinutes sets the ExpiryMinutes field's value.
34645func (s *ProxySession) SetExpiryMinutes(v int64) *ProxySession {
34646	s.ExpiryMinutes = &v
34647	return s
34648}
34649
34650// SetGeoMatchLevel sets the GeoMatchLevel field's value.
34651func (s *ProxySession) SetGeoMatchLevel(v string) *ProxySession {
34652	s.GeoMatchLevel = &v
34653	return s
34654}
34655
34656// SetGeoMatchParams sets the GeoMatchParams field's value.
34657func (s *ProxySession) SetGeoMatchParams(v *GeoMatchParams) *ProxySession {
34658	s.GeoMatchParams = v
34659	return s
34660}
34661
34662// SetName sets the Name field's value.
34663func (s *ProxySession) SetName(v string) *ProxySession {
34664	s.Name = &v
34665	return s
34666}
34667
34668// SetNumberSelectionBehavior sets the NumberSelectionBehavior field's value.
34669func (s *ProxySession) SetNumberSelectionBehavior(v string) *ProxySession {
34670	s.NumberSelectionBehavior = &v
34671	return s
34672}
34673
34674// SetParticipants sets the Participants field's value.
34675func (s *ProxySession) SetParticipants(v []*Participant) *ProxySession {
34676	s.Participants = v
34677	return s
34678}
34679
34680// SetProxySessionId sets the ProxySessionId field's value.
34681func (s *ProxySession) SetProxySessionId(v string) *ProxySession {
34682	s.ProxySessionId = &v
34683	return s
34684}
34685
34686// SetStatus sets the Status field's value.
34687func (s *ProxySession) SetStatus(v string) *ProxySession {
34688	s.Status = &v
34689	return s
34690}
34691
34692// SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
34693func (s *ProxySession) SetUpdatedTimestamp(v time.Time) *ProxySession {
34694	s.UpdatedTimestamp = &v
34695	return s
34696}
34697
34698// SetVoiceConnectorId sets the VoiceConnectorId field's value.
34699func (s *ProxySession) SetVoiceConnectorId(v string) *ProxySession {
34700	s.VoiceConnectorId = &v
34701	return s
34702}
34703
34704type PutAppInstanceRetentionSettingsInput struct {
34705	_ struct{} `type:"structure"`
34706
34707	// The ARN of the AppInstance.
34708	//
34709	// AppInstanceArn is a required field
34710	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
34711
34712	// The time in days to retain data. Data type: number.
34713	//
34714	// AppInstanceRetentionSettings is a required field
34715	AppInstanceRetentionSettings *AppInstanceRetentionSettings `type:"structure" required:"true"`
34716}
34717
34718// String returns the string representation
34719func (s PutAppInstanceRetentionSettingsInput) String() string {
34720	return awsutil.Prettify(s)
34721}
34722
34723// GoString returns the string representation
34724func (s PutAppInstanceRetentionSettingsInput) GoString() string {
34725	return s.String()
34726}
34727
34728// Validate inspects the fields of the type to determine if they are valid.
34729func (s *PutAppInstanceRetentionSettingsInput) Validate() error {
34730	invalidParams := request.ErrInvalidParams{Context: "PutAppInstanceRetentionSettingsInput"}
34731	if s.AppInstanceArn == nil {
34732		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
34733	}
34734	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
34735		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
34736	}
34737	if s.AppInstanceRetentionSettings == nil {
34738		invalidParams.Add(request.NewErrParamRequired("AppInstanceRetentionSettings"))
34739	}
34740	if s.AppInstanceRetentionSettings != nil {
34741		if err := s.AppInstanceRetentionSettings.Validate(); err != nil {
34742			invalidParams.AddNested("AppInstanceRetentionSettings", err.(request.ErrInvalidParams))
34743		}
34744	}
34745
34746	if invalidParams.Len() > 0 {
34747		return invalidParams
34748	}
34749	return nil
34750}
34751
34752// SetAppInstanceArn sets the AppInstanceArn field's value.
34753func (s *PutAppInstanceRetentionSettingsInput) SetAppInstanceArn(v string) *PutAppInstanceRetentionSettingsInput {
34754	s.AppInstanceArn = &v
34755	return s
34756}
34757
34758// SetAppInstanceRetentionSettings sets the AppInstanceRetentionSettings field's value.
34759func (s *PutAppInstanceRetentionSettingsInput) SetAppInstanceRetentionSettings(v *AppInstanceRetentionSettings) *PutAppInstanceRetentionSettingsInput {
34760	s.AppInstanceRetentionSettings = v
34761	return s
34762}
34763
34764type PutAppInstanceRetentionSettingsOutput struct {
34765	_ struct{} `type:"structure"`
34766
34767	// The time in days to retain data. Data type: number.
34768	AppInstanceRetentionSettings *AppInstanceRetentionSettings `type:"structure"`
34769
34770	// The time at which the API deletes data.
34771	InitiateDeletionTimestamp *time.Time `type:"timestamp"`
34772}
34773
34774// String returns the string representation
34775func (s PutAppInstanceRetentionSettingsOutput) String() string {
34776	return awsutil.Prettify(s)
34777}
34778
34779// GoString returns the string representation
34780func (s PutAppInstanceRetentionSettingsOutput) GoString() string {
34781	return s.String()
34782}
34783
34784// SetAppInstanceRetentionSettings sets the AppInstanceRetentionSettings field's value.
34785func (s *PutAppInstanceRetentionSettingsOutput) SetAppInstanceRetentionSettings(v *AppInstanceRetentionSettings) *PutAppInstanceRetentionSettingsOutput {
34786	s.AppInstanceRetentionSettings = v
34787	return s
34788}
34789
34790// SetInitiateDeletionTimestamp sets the InitiateDeletionTimestamp field's value.
34791func (s *PutAppInstanceRetentionSettingsOutput) SetInitiateDeletionTimestamp(v time.Time) *PutAppInstanceRetentionSettingsOutput {
34792	s.InitiateDeletionTimestamp = &v
34793	return s
34794}
34795
34796type PutAppInstanceStreamingConfigurationsInput struct {
34797	_ struct{} `type:"structure"`
34798
34799	// The ARN of the AppInstance.
34800	//
34801	// AppInstanceArn is a required field
34802	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
34803
34804	// The streaming configurations set for an AppInstance.
34805	//
34806	// AppInstanceStreamingConfigurations is a required field
34807	AppInstanceStreamingConfigurations []*AppInstanceStreamingConfiguration `min:"1" type:"list" required:"true"`
34808}
34809
34810// String returns the string representation
34811func (s PutAppInstanceStreamingConfigurationsInput) String() string {
34812	return awsutil.Prettify(s)
34813}
34814
34815// GoString returns the string representation
34816func (s PutAppInstanceStreamingConfigurationsInput) GoString() string {
34817	return s.String()
34818}
34819
34820// Validate inspects the fields of the type to determine if they are valid.
34821func (s *PutAppInstanceStreamingConfigurationsInput) Validate() error {
34822	invalidParams := request.ErrInvalidParams{Context: "PutAppInstanceStreamingConfigurationsInput"}
34823	if s.AppInstanceArn == nil {
34824		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
34825	}
34826	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
34827		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
34828	}
34829	if s.AppInstanceStreamingConfigurations == nil {
34830		invalidParams.Add(request.NewErrParamRequired("AppInstanceStreamingConfigurations"))
34831	}
34832	if s.AppInstanceStreamingConfigurations != nil && len(s.AppInstanceStreamingConfigurations) < 1 {
34833		invalidParams.Add(request.NewErrParamMinLen("AppInstanceStreamingConfigurations", 1))
34834	}
34835	if s.AppInstanceStreamingConfigurations != nil {
34836		for i, v := range s.AppInstanceStreamingConfigurations {
34837			if v == nil {
34838				continue
34839			}
34840			if err := v.Validate(); err != nil {
34841				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AppInstanceStreamingConfigurations", i), err.(request.ErrInvalidParams))
34842			}
34843		}
34844	}
34845
34846	if invalidParams.Len() > 0 {
34847		return invalidParams
34848	}
34849	return nil
34850}
34851
34852// SetAppInstanceArn sets the AppInstanceArn field's value.
34853func (s *PutAppInstanceStreamingConfigurationsInput) SetAppInstanceArn(v string) *PutAppInstanceStreamingConfigurationsInput {
34854	s.AppInstanceArn = &v
34855	return s
34856}
34857
34858// SetAppInstanceStreamingConfigurations sets the AppInstanceStreamingConfigurations field's value.
34859func (s *PutAppInstanceStreamingConfigurationsInput) SetAppInstanceStreamingConfigurations(v []*AppInstanceStreamingConfiguration) *PutAppInstanceStreamingConfigurationsInput {
34860	s.AppInstanceStreamingConfigurations = v
34861	return s
34862}
34863
34864type PutAppInstanceStreamingConfigurationsOutput struct {
34865	_ struct{} `type:"structure"`
34866
34867	// The streaming configurations of an AppInstance.
34868	AppInstanceStreamingConfigurations []*AppInstanceStreamingConfiguration `min:"1" type:"list"`
34869}
34870
34871// String returns the string representation
34872func (s PutAppInstanceStreamingConfigurationsOutput) String() string {
34873	return awsutil.Prettify(s)
34874}
34875
34876// GoString returns the string representation
34877func (s PutAppInstanceStreamingConfigurationsOutput) GoString() string {
34878	return s.String()
34879}
34880
34881// SetAppInstanceStreamingConfigurations sets the AppInstanceStreamingConfigurations field's value.
34882func (s *PutAppInstanceStreamingConfigurationsOutput) SetAppInstanceStreamingConfigurations(v []*AppInstanceStreamingConfiguration) *PutAppInstanceStreamingConfigurationsOutput {
34883	s.AppInstanceStreamingConfigurations = v
34884	return s
34885}
34886
34887type PutEventsConfigurationInput struct {
34888	_ struct{} `type:"structure"`
34889
34890	// The Amazon Chime account ID.
34891	//
34892	// AccountId is a required field
34893	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
34894
34895	// The bot ID.
34896	//
34897	// BotId is a required field
34898	BotId *string `location:"uri" locationName:"botId" type:"string" required:"true"`
34899
34900	// Lambda function ARN that allows the bot to receive outgoing events.
34901	LambdaFunctionArn *string `type:"string" sensitive:"true"`
34902
34903	// HTTPS endpoint that allows the bot to receive outgoing events.
34904	OutboundEventsHTTPSEndpoint *string `type:"string" sensitive:"true"`
34905}
34906
34907// String returns the string representation
34908func (s PutEventsConfigurationInput) String() string {
34909	return awsutil.Prettify(s)
34910}
34911
34912// GoString returns the string representation
34913func (s PutEventsConfigurationInput) GoString() string {
34914	return s.String()
34915}
34916
34917// Validate inspects the fields of the type to determine if they are valid.
34918func (s *PutEventsConfigurationInput) Validate() error {
34919	invalidParams := request.ErrInvalidParams{Context: "PutEventsConfigurationInput"}
34920	if s.AccountId == nil {
34921		invalidParams.Add(request.NewErrParamRequired("AccountId"))
34922	}
34923	if s.AccountId != nil && len(*s.AccountId) < 1 {
34924		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
34925	}
34926	if s.BotId == nil {
34927		invalidParams.Add(request.NewErrParamRequired("BotId"))
34928	}
34929	if s.BotId != nil && len(*s.BotId) < 1 {
34930		invalidParams.Add(request.NewErrParamMinLen("BotId", 1))
34931	}
34932
34933	if invalidParams.Len() > 0 {
34934		return invalidParams
34935	}
34936	return nil
34937}
34938
34939// SetAccountId sets the AccountId field's value.
34940func (s *PutEventsConfigurationInput) SetAccountId(v string) *PutEventsConfigurationInput {
34941	s.AccountId = &v
34942	return s
34943}
34944
34945// SetBotId sets the BotId field's value.
34946func (s *PutEventsConfigurationInput) SetBotId(v string) *PutEventsConfigurationInput {
34947	s.BotId = &v
34948	return s
34949}
34950
34951// SetLambdaFunctionArn sets the LambdaFunctionArn field's value.
34952func (s *PutEventsConfigurationInput) SetLambdaFunctionArn(v string) *PutEventsConfigurationInput {
34953	s.LambdaFunctionArn = &v
34954	return s
34955}
34956
34957// SetOutboundEventsHTTPSEndpoint sets the OutboundEventsHTTPSEndpoint field's value.
34958func (s *PutEventsConfigurationInput) SetOutboundEventsHTTPSEndpoint(v string) *PutEventsConfigurationInput {
34959	s.OutboundEventsHTTPSEndpoint = &v
34960	return s
34961}
34962
34963type PutEventsConfigurationOutput struct {
34964	_ struct{} `type:"structure"`
34965
34966	// The configuration that allows a bot to receive outgoing events. Can be either
34967	// an HTTPS endpoint or a Lambda function ARN.
34968	EventsConfiguration *EventsConfiguration `type:"structure"`
34969}
34970
34971// String returns the string representation
34972func (s PutEventsConfigurationOutput) String() string {
34973	return awsutil.Prettify(s)
34974}
34975
34976// GoString returns the string representation
34977func (s PutEventsConfigurationOutput) GoString() string {
34978	return s.String()
34979}
34980
34981// SetEventsConfiguration sets the EventsConfiguration field's value.
34982func (s *PutEventsConfigurationOutput) SetEventsConfiguration(v *EventsConfiguration) *PutEventsConfigurationOutput {
34983	s.EventsConfiguration = v
34984	return s
34985}
34986
34987type PutRetentionSettingsInput struct {
34988	_ struct{} `type:"structure"`
34989
34990	// The Amazon Chime account ID.
34991	//
34992	// AccountId is a required field
34993	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
34994
34995	// The retention settings.
34996	//
34997	// RetentionSettings is a required field
34998	RetentionSettings *RetentionSettings `type:"structure" required:"true"`
34999}
35000
35001// String returns the string representation
35002func (s PutRetentionSettingsInput) String() string {
35003	return awsutil.Prettify(s)
35004}
35005
35006// GoString returns the string representation
35007func (s PutRetentionSettingsInput) GoString() string {
35008	return s.String()
35009}
35010
35011// Validate inspects the fields of the type to determine if they are valid.
35012func (s *PutRetentionSettingsInput) Validate() error {
35013	invalidParams := request.ErrInvalidParams{Context: "PutRetentionSettingsInput"}
35014	if s.AccountId == nil {
35015		invalidParams.Add(request.NewErrParamRequired("AccountId"))
35016	}
35017	if s.AccountId != nil && len(*s.AccountId) < 1 {
35018		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
35019	}
35020	if s.RetentionSettings == nil {
35021		invalidParams.Add(request.NewErrParamRequired("RetentionSettings"))
35022	}
35023	if s.RetentionSettings != nil {
35024		if err := s.RetentionSettings.Validate(); err != nil {
35025			invalidParams.AddNested("RetentionSettings", err.(request.ErrInvalidParams))
35026		}
35027	}
35028
35029	if invalidParams.Len() > 0 {
35030		return invalidParams
35031	}
35032	return nil
35033}
35034
35035// SetAccountId sets the AccountId field's value.
35036func (s *PutRetentionSettingsInput) SetAccountId(v string) *PutRetentionSettingsInput {
35037	s.AccountId = &v
35038	return s
35039}
35040
35041// SetRetentionSettings sets the RetentionSettings field's value.
35042func (s *PutRetentionSettingsInput) SetRetentionSettings(v *RetentionSettings) *PutRetentionSettingsInput {
35043	s.RetentionSettings = v
35044	return s
35045}
35046
35047type PutRetentionSettingsOutput struct {
35048	_ struct{} `type:"structure"`
35049
35050	// The timestamp representing the time at which the specified items are permanently
35051	// deleted, in ISO 8601 format.
35052	InitiateDeletionTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
35053
35054	// The retention settings.
35055	RetentionSettings *RetentionSettings `type:"structure"`
35056}
35057
35058// String returns the string representation
35059func (s PutRetentionSettingsOutput) String() string {
35060	return awsutil.Prettify(s)
35061}
35062
35063// GoString returns the string representation
35064func (s PutRetentionSettingsOutput) GoString() string {
35065	return s.String()
35066}
35067
35068// SetInitiateDeletionTimestamp sets the InitiateDeletionTimestamp field's value.
35069func (s *PutRetentionSettingsOutput) SetInitiateDeletionTimestamp(v time.Time) *PutRetentionSettingsOutput {
35070	s.InitiateDeletionTimestamp = &v
35071	return s
35072}
35073
35074// SetRetentionSettings sets the RetentionSettings field's value.
35075func (s *PutRetentionSettingsOutput) SetRetentionSettings(v *RetentionSettings) *PutRetentionSettingsOutput {
35076	s.RetentionSettings = v
35077	return s
35078}
35079
35080type PutSipMediaApplicationLoggingConfigurationInput struct {
35081	_ struct{} `type:"structure"`
35082
35083	// The SIP media application ID.
35084	//
35085	// SipMediaApplicationId is a required field
35086	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
35087
35088	// The actual logging configuration.
35089	SipMediaApplicationLoggingConfiguration *SipMediaApplicationLoggingConfiguration `type:"structure"`
35090}
35091
35092// String returns the string representation
35093func (s PutSipMediaApplicationLoggingConfigurationInput) String() string {
35094	return awsutil.Prettify(s)
35095}
35096
35097// GoString returns the string representation
35098func (s PutSipMediaApplicationLoggingConfigurationInput) GoString() string {
35099	return s.String()
35100}
35101
35102// Validate inspects the fields of the type to determine if they are valid.
35103func (s *PutSipMediaApplicationLoggingConfigurationInput) Validate() error {
35104	invalidParams := request.ErrInvalidParams{Context: "PutSipMediaApplicationLoggingConfigurationInput"}
35105	if s.SipMediaApplicationId == nil {
35106		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
35107	}
35108	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
35109		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
35110	}
35111
35112	if invalidParams.Len() > 0 {
35113		return invalidParams
35114	}
35115	return nil
35116}
35117
35118// SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
35119func (s *PutSipMediaApplicationLoggingConfigurationInput) SetSipMediaApplicationId(v string) *PutSipMediaApplicationLoggingConfigurationInput {
35120	s.SipMediaApplicationId = &v
35121	return s
35122}
35123
35124// SetSipMediaApplicationLoggingConfiguration sets the SipMediaApplicationLoggingConfiguration field's value.
35125func (s *PutSipMediaApplicationLoggingConfigurationInput) SetSipMediaApplicationLoggingConfiguration(v *SipMediaApplicationLoggingConfiguration) *PutSipMediaApplicationLoggingConfigurationInput {
35126	s.SipMediaApplicationLoggingConfiguration = v
35127	return s
35128}
35129
35130type PutSipMediaApplicationLoggingConfigurationOutput struct {
35131	_ struct{} `type:"structure"`
35132
35133	// Logging configuration of the SIP media application.
35134	SipMediaApplicationLoggingConfiguration *SipMediaApplicationLoggingConfiguration `type:"structure"`
35135}
35136
35137// String returns the string representation
35138func (s PutSipMediaApplicationLoggingConfigurationOutput) String() string {
35139	return awsutil.Prettify(s)
35140}
35141
35142// GoString returns the string representation
35143func (s PutSipMediaApplicationLoggingConfigurationOutput) GoString() string {
35144	return s.String()
35145}
35146
35147// SetSipMediaApplicationLoggingConfiguration sets the SipMediaApplicationLoggingConfiguration field's value.
35148func (s *PutSipMediaApplicationLoggingConfigurationOutput) SetSipMediaApplicationLoggingConfiguration(v *SipMediaApplicationLoggingConfiguration) *PutSipMediaApplicationLoggingConfigurationOutput {
35149	s.SipMediaApplicationLoggingConfiguration = v
35150	return s
35151}
35152
35153type PutVoiceConnectorEmergencyCallingConfigurationInput struct {
35154	_ struct{} `type:"structure"`
35155
35156	// The emergency calling configuration details.
35157	//
35158	// EmergencyCallingConfiguration is a required field
35159	EmergencyCallingConfiguration *EmergencyCallingConfiguration `type:"structure" required:"true"`
35160
35161	// The Amazon Chime Voice Connector ID.
35162	//
35163	// VoiceConnectorId is a required field
35164	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
35165}
35166
35167// String returns the string representation
35168func (s PutVoiceConnectorEmergencyCallingConfigurationInput) String() string {
35169	return awsutil.Prettify(s)
35170}
35171
35172// GoString returns the string representation
35173func (s PutVoiceConnectorEmergencyCallingConfigurationInput) GoString() string {
35174	return s.String()
35175}
35176
35177// Validate inspects the fields of the type to determine if they are valid.
35178func (s *PutVoiceConnectorEmergencyCallingConfigurationInput) Validate() error {
35179	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorEmergencyCallingConfigurationInput"}
35180	if s.EmergencyCallingConfiguration == nil {
35181		invalidParams.Add(request.NewErrParamRequired("EmergencyCallingConfiguration"))
35182	}
35183	if s.VoiceConnectorId == nil {
35184		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
35185	}
35186	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
35187		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
35188	}
35189	if s.EmergencyCallingConfiguration != nil {
35190		if err := s.EmergencyCallingConfiguration.Validate(); err != nil {
35191			invalidParams.AddNested("EmergencyCallingConfiguration", err.(request.ErrInvalidParams))
35192		}
35193	}
35194
35195	if invalidParams.Len() > 0 {
35196		return invalidParams
35197	}
35198	return nil
35199}
35200
35201// SetEmergencyCallingConfiguration sets the EmergencyCallingConfiguration field's value.
35202func (s *PutVoiceConnectorEmergencyCallingConfigurationInput) SetEmergencyCallingConfiguration(v *EmergencyCallingConfiguration) *PutVoiceConnectorEmergencyCallingConfigurationInput {
35203	s.EmergencyCallingConfiguration = v
35204	return s
35205}
35206
35207// SetVoiceConnectorId sets the VoiceConnectorId field's value.
35208func (s *PutVoiceConnectorEmergencyCallingConfigurationInput) SetVoiceConnectorId(v string) *PutVoiceConnectorEmergencyCallingConfigurationInput {
35209	s.VoiceConnectorId = &v
35210	return s
35211}
35212
35213type PutVoiceConnectorEmergencyCallingConfigurationOutput struct {
35214	_ struct{} `type:"structure"`
35215
35216	// The emergency calling configuration details.
35217	EmergencyCallingConfiguration *EmergencyCallingConfiguration `type:"structure"`
35218}
35219
35220// String returns the string representation
35221func (s PutVoiceConnectorEmergencyCallingConfigurationOutput) String() string {
35222	return awsutil.Prettify(s)
35223}
35224
35225// GoString returns the string representation
35226func (s PutVoiceConnectorEmergencyCallingConfigurationOutput) GoString() string {
35227	return s.String()
35228}
35229
35230// SetEmergencyCallingConfiguration sets the EmergencyCallingConfiguration field's value.
35231func (s *PutVoiceConnectorEmergencyCallingConfigurationOutput) SetEmergencyCallingConfiguration(v *EmergencyCallingConfiguration) *PutVoiceConnectorEmergencyCallingConfigurationOutput {
35232	s.EmergencyCallingConfiguration = v
35233	return s
35234}
35235
35236type PutVoiceConnectorLoggingConfigurationInput struct {
35237	_ struct{} `type:"structure"`
35238
35239	// The logging configuration details to add.
35240	//
35241	// LoggingConfiguration is a required field
35242	LoggingConfiguration *LoggingConfiguration `type:"structure" required:"true"`
35243
35244	// The Amazon Chime Voice Connector ID.
35245	//
35246	// VoiceConnectorId is a required field
35247	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
35248}
35249
35250// String returns the string representation
35251func (s PutVoiceConnectorLoggingConfigurationInput) String() string {
35252	return awsutil.Prettify(s)
35253}
35254
35255// GoString returns the string representation
35256func (s PutVoiceConnectorLoggingConfigurationInput) GoString() string {
35257	return s.String()
35258}
35259
35260// Validate inspects the fields of the type to determine if they are valid.
35261func (s *PutVoiceConnectorLoggingConfigurationInput) Validate() error {
35262	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorLoggingConfigurationInput"}
35263	if s.LoggingConfiguration == nil {
35264		invalidParams.Add(request.NewErrParamRequired("LoggingConfiguration"))
35265	}
35266	if s.VoiceConnectorId == nil {
35267		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
35268	}
35269	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
35270		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
35271	}
35272
35273	if invalidParams.Len() > 0 {
35274		return invalidParams
35275	}
35276	return nil
35277}
35278
35279// SetLoggingConfiguration sets the LoggingConfiguration field's value.
35280func (s *PutVoiceConnectorLoggingConfigurationInput) SetLoggingConfiguration(v *LoggingConfiguration) *PutVoiceConnectorLoggingConfigurationInput {
35281	s.LoggingConfiguration = v
35282	return s
35283}
35284
35285// SetVoiceConnectorId sets the VoiceConnectorId field's value.
35286func (s *PutVoiceConnectorLoggingConfigurationInput) SetVoiceConnectorId(v string) *PutVoiceConnectorLoggingConfigurationInput {
35287	s.VoiceConnectorId = &v
35288	return s
35289}
35290
35291type PutVoiceConnectorLoggingConfigurationOutput struct {
35292	_ struct{} `type:"structure"`
35293
35294	// The updated logging configuration details.
35295	LoggingConfiguration *LoggingConfiguration `type:"structure"`
35296}
35297
35298// String returns the string representation
35299func (s PutVoiceConnectorLoggingConfigurationOutput) String() string {
35300	return awsutil.Prettify(s)
35301}
35302
35303// GoString returns the string representation
35304func (s PutVoiceConnectorLoggingConfigurationOutput) GoString() string {
35305	return s.String()
35306}
35307
35308// SetLoggingConfiguration sets the LoggingConfiguration field's value.
35309func (s *PutVoiceConnectorLoggingConfigurationOutput) SetLoggingConfiguration(v *LoggingConfiguration) *PutVoiceConnectorLoggingConfigurationOutput {
35310	s.LoggingConfiguration = v
35311	return s
35312}
35313
35314type PutVoiceConnectorOriginationInput struct {
35315	_ struct{} `type:"structure"`
35316
35317	// The origination setting details to add.
35318	//
35319	// Origination is a required field
35320	Origination *Origination `type:"structure" required:"true"`
35321
35322	// The Amazon Chime Voice Connector ID.
35323	//
35324	// VoiceConnectorId is a required field
35325	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
35326}
35327
35328// String returns the string representation
35329func (s PutVoiceConnectorOriginationInput) String() string {
35330	return awsutil.Prettify(s)
35331}
35332
35333// GoString returns the string representation
35334func (s PutVoiceConnectorOriginationInput) GoString() string {
35335	return s.String()
35336}
35337
35338// Validate inspects the fields of the type to determine if they are valid.
35339func (s *PutVoiceConnectorOriginationInput) Validate() error {
35340	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorOriginationInput"}
35341	if s.Origination == nil {
35342		invalidParams.Add(request.NewErrParamRequired("Origination"))
35343	}
35344	if s.VoiceConnectorId == nil {
35345		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
35346	}
35347	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
35348		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
35349	}
35350	if s.Origination != nil {
35351		if err := s.Origination.Validate(); err != nil {
35352			invalidParams.AddNested("Origination", err.(request.ErrInvalidParams))
35353		}
35354	}
35355
35356	if invalidParams.Len() > 0 {
35357		return invalidParams
35358	}
35359	return nil
35360}
35361
35362// SetOrigination sets the Origination field's value.
35363func (s *PutVoiceConnectorOriginationInput) SetOrigination(v *Origination) *PutVoiceConnectorOriginationInput {
35364	s.Origination = v
35365	return s
35366}
35367
35368// SetVoiceConnectorId sets the VoiceConnectorId field's value.
35369func (s *PutVoiceConnectorOriginationInput) SetVoiceConnectorId(v string) *PutVoiceConnectorOriginationInput {
35370	s.VoiceConnectorId = &v
35371	return s
35372}
35373
35374type PutVoiceConnectorOriginationOutput struct {
35375	_ struct{} `type:"structure"`
35376
35377	// The updated origination setting details.
35378	Origination *Origination `type:"structure"`
35379}
35380
35381// String returns the string representation
35382func (s PutVoiceConnectorOriginationOutput) String() string {
35383	return awsutil.Prettify(s)
35384}
35385
35386// GoString returns the string representation
35387func (s PutVoiceConnectorOriginationOutput) GoString() string {
35388	return s.String()
35389}
35390
35391// SetOrigination sets the Origination field's value.
35392func (s *PutVoiceConnectorOriginationOutput) SetOrigination(v *Origination) *PutVoiceConnectorOriginationOutput {
35393	s.Origination = v
35394	return s
35395}
35396
35397type PutVoiceConnectorProxyInput struct {
35398	_ struct{} `type:"structure"`
35399
35400	// The default number of minutes allowed for proxy sessions.
35401	//
35402	// DefaultSessionExpiryMinutes is a required field
35403	DefaultSessionExpiryMinutes *int64 `type:"integer" required:"true"`
35404
35405	// When true, stops proxy sessions from being created on the specified Amazon
35406	// Chime Voice Connector.
35407	Disabled *bool `type:"boolean"`
35408
35409	// The phone number to route calls to after a proxy session expires.
35410	FallBackPhoneNumber *string `type:"string" sensitive:"true"`
35411
35412	// The countries for proxy phone numbers to be selected from.
35413	//
35414	// PhoneNumberPoolCountries is a required field
35415	PhoneNumberPoolCountries []*string `min:"1" type:"list" required:"true"`
35416
35417	// The Amazon Chime voice connector ID.
35418	//
35419	// VoiceConnectorId is a required field
35420	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
35421}
35422
35423// String returns the string representation
35424func (s PutVoiceConnectorProxyInput) String() string {
35425	return awsutil.Prettify(s)
35426}
35427
35428// GoString returns the string representation
35429func (s PutVoiceConnectorProxyInput) GoString() string {
35430	return s.String()
35431}
35432
35433// Validate inspects the fields of the type to determine if they are valid.
35434func (s *PutVoiceConnectorProxyInput) Validate() error {
35435	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorProxyInput"}
35436	if s.DefaultSessionExpiryMinutes == nil {
35437		invalidParams.Add(request.NewErrParamRequired("DefaultSessionExpiryMinutes"))
35438	}
35439	if s.PhoneNumberPoolCountries == nil {
35440		invalidParams.Add(request.NewErrParamRequired("PhoneNumberPoolCountries"))
35441	}
35442	if s.PhoneNumberPoolCountries != nil && len(s.PhoneNumberPoolCountries) < 1 {
35443		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberPoolCountries", 1))
35444	}
35445	if s.VoiceConnectorId == nil {
35446		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
35447	}
35448	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
35449		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
35450	}
35451
35452	if invalidParams.Len() > 0 {
35453		return invalidParams
35454	}
35455	return nil
35456}
35457
35458// SetDefaultSessionExpiryMinutes sets the DefaultSessionExpiryMinutes field's value.
35459func (s *PutVoiceConnectorProxyInput) SetDefaultSessionExpiryMinutes(v int64) *PutVoiceConnectorProxyInput {
35460	s.DefaultSessionExpiryMinutes = &v
35461	return s
35462}
35463
35464// SetDisabled sets the Disabled field's value.
35465func (s *PutVoiceConnectorProxyInput) SetDisabled(v bool) *PutVoiceConnectorProxyInput {
35466	s.Disabled = &v
35467	return s
35468}
35469
35470// SetFallBackPhoneNumber sets the FallBackPhoneNumber field's value.
35471func (s *PutVoiceConnectorProxyInput) SetFallBackPhoneNumber(v string) *PutVoiceConnectorProxyInput {
35472	s.FallBackPhoneNumber = &v
35473	return s
35474}
35475
35476// SetPhoneNumberPoolCountries sets the PhoneNumberPoolCountries field's value.
35477func (s *PutVoiceConnectorProxyInput) SetPhoneNumberPoolCountries(v []*string) *PutVoiceConnectorProxyInput {
35478	s.PhoneNumberPoolCountries = v
35479	return s
35480}
35481
35482// SetVoiceConnectorId sets the VoiceConnectorId field's value.
35483func (s *PutVoiceConnectorProxyInput) SetVoiceConnectorId(v string) *PutVoiceConnectorProxyInput {
35484	s.VoiceConnectorId = &v
35485	return s
35486}
35487
35488type PutVoiceConnectorProxyOutput struct {
35489	_ struct{} `type:"structure"`
35490
35491	// The proxy configuration details.
35492	Proxy *Proxy `type:"structure"`
35493}
35494
35495// String returns the string representation
35496func (s PutVoiceConnectorProxyOutput) String() string {
35497	return awsutil.Prettify(s)
35498}
35499
35500// GoString returns the string representation
35501func (s PutVoiceConnectorProxyOutput) GoString() string {
35502	return s.String()
35503}
35504
35505// SetProxy sets the Proxy field's value.
35506func (s *PutVoiceConnectorProxyOutput) SetProxy(v *Proxy) *PutVoiceConnectorProxyOutput {
35507	s.Proxy = v
35508	return s
35509}
35510
35511type PutVoiceConnectorStreamingConfigurationInput struct {
35512	_ struct{} `type:"structure"`
35513
35514	// The streaming configuration details to add.
35515	//
35516	// StreamingConfiguration is a required field
35517	StreamingConfiguration *StreamingConfiguration `type:"structure" required:"true"`
35518
35519	// The Amazon Chime Voice Connector ID.
35520	//
35521	// VoiceConnectorId is a required field
35522	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
35523}
35524
35525// String returns the string representation
35526func (s PutVoiceConnectorStreamingConfigurationInput) String() string {
35527	return awsutil.Prettify(s)
35528}
35529
35530// GoString returns the string representation
35531func (s PutVoiceConnectorStreamingConfigurationInput) GoString() string {
35532	return s.String()
35533}
35534
35535// Validate inspects the fields of the type to determine if they are valid.
35536func (s *PutVoiceConnectorStreamingConfigurationInput) Validate() error {
35537	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorStreamingConfigurationInput"}
35538	if s.StreamingConfiguration == nil {
35539		invalidParams.Add(request.NewErrParamRequired("StreamingConfiguration"))
35540	}
35541	if s.VoiceConnectorId == nil {
35542		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
35543	}
35544	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
35545		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
35546	}
35547	if s.StreamingConfiguration != nil {
35548		if err := s.StreamingConfiguration.Validate(); err != nil {
35549			invalidParams.AddNested("StreamingConfiguration", err.(request.ErrInvalidParams))
35550		}
35551	}
35552
35553	if invalidParams.Len() > 0 {
35554		return invalidParams
35555	}
35556	return nil
35557}
35558
35559// SetStreamingConfiguration sets the StreamingConfiguration field's value.
35560func (s *PutVoiceConnectorStreamingConfigurationInput) SetStreamingConfiguration(v *StreamingConfiguration) *PutVoiceConnectorStreamingConfigurationInput {
35561	s.StreamingConfiguration = v
35562	return s
35563}
35564
35565// SetVoiceConnectorId sets the VoiceConnectorId field's value.
35566func (s *PutVoiceConnectorStreamingConfigurationInput) SetVoiceConnectorId(v string) *PutVoiceConnectorStreamingConfigurationInput {
35567	s.VoiceConnectorId = &v
35568	return s
35569}
35570
35571type PutVoiceConnectorStreamingConfigurationOutput struct {
35572	_ struct{} `type:"structure"`
35573
35574	// The updated streaming configuration details.
35575	StreamingConfiguration *StreamingConfiguration `type:"structure"`
35576}
35577
35578// String returns the string representation
35579func (s PutVoiceConnectorStreamingConfigurationOutput) String() string {
35580	return awsutil.Prettify(s)
35581}
35582
35583// GoString returns the string representation
35584func (s PutVoiceConnectorStreamingConfigurationOutput) GoString() string {
35585	return s.String()
35586}
35587
35588// SetStreamingConfiguration sets the StreamingConfiguration field's value.
35589func (s *PutVoiceConnectorStreamingConfigurationOutput) SetStreamingConfiguration(v *StreamingConfiguration) *PutVoiceConnectorStreamingConfigurationOutput {
35590	s.StreamingConfiguration = v
35591	return s
35592}
35593
35594type PutVoiceConnectorTerminationCredentialsInput struct {
35595	_ struct{} `type:"structure"`
35596
35597	// The termination SIP credentials.
35598	Credentials []*Credential `type:"list"`
35599
35600	// The Amazon Chime Voice Connector ID.
35601	//
35602	// VoiceConnectorId is a required field
35603	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
35604}
35605
35606// String returns the string representation
35607func (s PutVoiceConnectorTerminationCredentialsInput) String() string {
35608	return awsutil.Prettify(s)
35609}
35610
35611// GoString returns the string representation
35612func (s PutVoiceConnectorTerminationCredentialsInput) GoString() string {
35613	return s.String()
35614}
35615
35616// Validate inspects the fields of the type to determine if they are valid.
35617func (s *PutVoiceConnectorTerminationCredentialsInput) Validate() error {
35618	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorTerminationCredentialsInput"}
35619	if s.VoiceConnectorId == nil {
35620		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
35621	}
35622	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
35623		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
35624	}
35625
35626	if invalidParams.Len() > 0 {
35627		return invalidParams
35628	}
35629	return nil
35630}
35631
35632// SetCredentials sets the Credentials field's value.
35633func (s *PutVoiceConnectorTerminationCredentialsInput) SetCredentials(v []*Credential) *PutVoiceConnectorTerminationCredentialsInput {
35634	s.Credentials = v
35635	return s
35636}
35637
35638// SetVoiceConnectorId sets the VoiceConnectorId field's value.
35639func (s *PutVoiceConnectorTerminationCredentialsInput) SetVoiceConnectorId(v string) *PutVoiceConnectorTerminationCredentialsInput {
35640	s.VoiceConnectorId = &v
35641	return s
35642}
35643
35644type PutVoiceConnectorTerminationCredentialsOutput struct {
35645	_ struct{} `type:"structure"`
35646}
35647
35648// String returns the string representation
35649func (s PutVoiceConnectorTerminationCredentialsOutput) String() string {
35650	return awsutil.Prettify(s)
35651}
35652
35653// GoString returns the string representation
35654func (s PutVoiceConnectorTerminationCredentialsOutput) GoString() string {
35655	return s.String()
35656}
35657
35658type PutVoiceConnectorTerminationInput struct {
35659	_ struct{} `type:"structure"`
35660
35661	// The termination setting details to add.
35662	//
35663	// Termination is a required field
35664	Termination *Termination `type:"structure" required:"true"`
35665
35666	// The Amazon Chime Voice Connector ID.
35667	//
35668	// VoiceConnectorId is a required field
35669	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
35670}
35671
35672// String returns the string representation
35673func (s PutVoiceConnectorTerminationInput) String() string {
35674	return awsutil.Prettify(s)
35675}
35676
35677// GoString returns the string representation
35678func (s PutVoiceConnectorTerminationInput) GoString() string {
35679	return s.String()
35680}
35681
35682// Validate inspects the fields of the type to determine if they are valid.
35683func (s *PutVoiceConnectorTerminationInput) Validate() error {
35684	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorTerminationInput"}
35685	if s.Termination == nil {
35686		invalidParams.Add(request.NewErrParamRequired("Termination"))
35687	}
35688	if s.VoiceConnectorId == nil {
35689		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
35690	}
35691	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
35692		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
35693	}
35694	if s.Termination != nil {
35695		if err := s.Termination.Validate(); err != nil {
35696			invalidParams.AddNested("Termination", err.(request.ErrInvalidParams))
35697		}
35698	}
35699
35700	if invalidParams.Len() > 0 {
35701		return invalidParams
35702	}
35703	return nil
35704}
35705
35706// SetTermination sets the Termination field's value.
35707func (s *PutVoiceConnectorTerminationInput) SetTermination(v *Termination) *PutVoiceConnectorTerminationInput {
35708	s.Termination = v
35709	return s
35710}
35711
35712// SetVoiceConnectorId sets the VoiceConnectorId field's value.
35713func (s *PutVoiceConnectorTerminationInput) SetVoiceConnectorId(v string) *PutVoiceConnectorTerminationInput {
35714	s.VoiceConnectorId = &v
35715	return s
35716}
35717
35718type PutVoiceConnectorTerminationOutput struct {
35719	_ struct{} `type:"structure"`
35720
35721	// The updated termination setting details.
35722	Termination *Termination `type:"structure"`
35723}
35724
35725// String returns the string representation
35726func (s PutVoiceConnectorTerminationOutput) String() string {
35727	return awsutil.Prettify(s)
35728}
35729
35730// GoString returns the string representation
35731func (s PutVoiceConnectorTerminationOutput) GoString() string {
35732	return s.String()
35733}
35734
35735// SetTermination sets the Termination field's value.
35736func (s *PutVoiceConnectorTerminationOutput) SetTermination(v *Termination) *PutVoiceConnectorTerminationOutput {
35737	s.Termination = v
35738	return s
35739}
35740
35741type RedactChannelMessageInput struct {
35742	_ struct{} `type:"structure"`
35743
35744	// The ARN of the channel containing the messages that you want to redact.
35745	//
35746	// ChannelArn is a required field
35747	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
35748
35749	// The AppInstanceUserArn of the user that makes the API call.
35750	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
35751
35752	// The ID of the message being redacted.
35753	//
35754	// MessageId is a required field
35755	MessageId *string `location:"uri" locationName:"messageId" min:"1" type:"string" required:"true"`
35756}
35757
35758// String returns the string representation
35759func (s RedactChannelMessageInput) String() string {
35760	return awsutil.Prettify(s)
35761}
35762
35763// GoString returns the string representation
35764func (s RedactChannelMessageInput) GoString() string {
35765	return s.String()
35766}
35767
35768// Validate inspects the fields of the type to determine if they are valid.
35769func (s *RedactChannelMessageInput) Validate() error {
35770	invalidParams := request.ErrInvalidParams{Context: "RedactChannelMessageInput"}
35771	if s.ChannelArn == nil {
35772		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
35773	}
35774	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
35775		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
35776	}
35777	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
35778		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
35779	}
35780	if s.MessageId == nil {
35781		invalidParams.Add(request.NewErrParamRequired("MessageId"))
35782	}
35783	if s.MessageId != nil && len(*s.MessageId) < 1 {
35784		invalidParams.Add(request.NewErrParamMinLen("MessageId", 1))
35785	}
35786
35787	if invalidParams.Len() > 0 {
35788		return invalidParams
35789	}
35790	return nil
35791}
35792
35793// SetChannelArn sets the ChannelArn field's value.
35794func (s *RedactChannelMessageInput) SetChannelArn(v string) *RedactChannelMessageInput {
35795	s.ChannelArn = &v
35796	return s
35797}
35798
35799// SetChimeBearer sets the ChimeBearer field's value.
35800func (s *RedactChannelMessageInput) SetChimeBearer(v string) *RedactChannelMessageInput {
35801	s.ChimeBearer = &v
35802	return s
35803}
35804
35805// SetMessageId sets the MessageId field's value.
35806func (s *RedactChannelMessageInput) SetMessageId(v string) *RedactChannelMessageInput {
35807	s.MessageId = &v
35808	return s
35809}
35810
35811type RedactChannelMessageOutput struct {
35812	_ struct{} `type:"structure"`
35813
35814	// The ARN of the channel containing the messages that you want to redact.
35815	ChannelArn *string `min:"5" type:"string"`
35816
35817	// The ID of the message being redacted.
35818	MessageId *string `min:"1" type:"string"`
35819}
35820
35821// String returns the string representation
35822func (s RedactChannelMessageOutput) String() string {
35823	return awsutil.Prettify(s)
35824}
35825
35826// GoString returns the string representation
35827func (s RedactChannelMessageOutput) GoString() string {
35828	return s.String()
35829}
35830
35831// SetChannelArn sets the ChannelArn field's value.
35832func (s *RedactChannelMessageOutput) SetChannelArn(v string) *RedactChannelMessageOutput {
35833	s.ChannelArn = &v
35834	return s
35835}
35836
35837// SetMessageId sets the MessageId field's value.
35838func (s *RedactChannelMessageOutput) SetMessageId(v string) *RedactChannelMessageOutput {
35839	s.MessageId = &v
35840	return s
35841}
35842
35843type RedactConversationMessageInput struct {
35844	_ struct{} `type:"structure"`
35845
35846	// The Amazon Chime account ID.
35847	//
35848	// AccountId is a required field
35849	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
35850
35851	// The conversation ID.
35852	//
35853	// ConversationId is a required field
35854	ConversationId *string `location:"uri" locationName:"conversationId" type:"string" required:"true"`
35855
35856	// The message ID.
35857	//
35858	// MessageId is a required field
35859	MessageId *string `location:"uri" locationName:"messageId" type:"string" required:"true"`
35860}
35861
35862// String returns the string representation
35863func (s RedactConversationMessageInput) String() string {
35864	return awsutil.Prettify(s)
35865}
35866
35867// GoString returns the string representation
35868func (s RedactConversationMessageInput) GoString() string {
35869	return s.String()
35870}
35871
35872// Validate inspects the fields of the type to determine if they are valid.
35873func (s *RedactConversationMessageInput) Validate() error {
35874	invalidParams := request.ErrInvalidParams{Context: "RedactConversationMessageInput"}
35875	if s.AccountId == nil {
35876		invalidParams.Add(request.NewErrParamRequired("AccountId"))
35877	}
35878	if s.AccountId != nil && len(*s.AccountId) < 1 {
35879		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
35880	}
35881	if s.ConversationId == nil {
35882		invalidParams.Add(request.NewErrParamRequired("ConversationId"))
35883	}
35884	if s.ConversationId != nil && len(*s.ConversationId) < 1 {
35885		invalidParams.Add(request.NewErrParamMinLen("ConversationId", 1))
35886	}
35887	if s.MessageId == nil {
35888		invalidParams.Add(request.NewErrParamRequired("MessageId"))
35889	}
35890	if s.MessageId != nil && len(*s.MessageId) < 1 {
35891		invalidParams.Add(request.NewErrParamMinLen("MessageId", 1))
35892	}
35893
35894	if invalidParams.Len() > 0 {
35895		return invalidParams
35896	}
35897	return nil
35898}
35899
35900// SetAccountId sets the AccountId field's value.
35901func (s *RedactConversationMessageInput) SetAccountId(v string) *RedactConversationMessageInput {
35902	s.AccountId = &v
35903	return s
35904}
35905
35906// SetConversationId sets the ConversationId field's value.
35907func (s *RedactConversationMessageInput) SetConversationId(v string) *RedactConversationMessageInput {
35908	s.ConversationId = &v
35909	return s
35910}
35911
35912// SetMessageId sets the MessageId field's value.
35913func (s *RedactConversationMessageInput) SetMessageId(v string) *RedactConversationMessageInput {
35914	s.MessageId = &v
35915	return s
35916}
35917
35918type RedactConversationMessageOutput struct {
35919	_ struct{} `type:"structure"`
35920}
35921
35922// String returns the string representation
35923func (s RedactConversationMessageOutput) String() string {
35924	return awsutil.Prettify(s)
35925}
35926
35927// GoString returns the string representation
35928func (s RedactConversationMessageOutput) GoString() string {
35929	return s.String()
35930}
35931
35932type RedactRoomMessageInput struct {
35933	_ struct{} `type:"structure"`
35934
35935	// The Amazon Chime account ID.
35936	//
35937	// AccountId is a required field
35938	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
35939
35940	// The message ID.
35941	//
35942	// MessageId is a required field
35943	MessageId *string `location:"uri" locationName:"messageId" type:"string" required:"true"`
35944
35945	// The room ID.
35946	//
35947	// RoomId is a required field
35948	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
35949}
35950
35951// String returns the string representation
35952func (s RedactRoomMessageInput) String() string {
35953	return awsutil.Prettify(s)
35954}
35955
35956// GoString returns the string representation
35957func (s RedactRoomMessageInput) GoString() string {
35958	return s.String()
35959}
35960
35961// Validate inspects the fields of the type to determine if they are valid.
35962func (s *RedactRoomMessageInput) Validate() error {
35963	invalidParams := request.ErrInvalidParams{Context: "RedactRoomMessageInput"}
35964	if s.AccountId == nil {
35965		invalidParams.Add(request.NewErrParamRequired("AccountId"))
35966	}
35967	if s.AccountId != nil && len(*s.AccountId) < 1 {
35968		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
35969	}
35970	if s.MessageId == nil {
35971		invalidParams.Add(request.NewErrParamRequired("MessageId"))
35972	}
35973	if s.MessageId != nil && len(*s.MessageId) < 1 {
35974		invalidParams.Add(request.NewErrParamMinLen("MessageId", 1))
35975	}
35976	if s.RoomId == nil {
35977		invalidParams.Add(request.NewErrParamRequired("RoomId"))
35978	}
35979	if s.RoomId != nil && len(*s.RoomId) < 1 {
35980		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
35981	}
35982
35983	if invalidParams.Len() > 0 {
35984		return invalidParams
35985	}
35986	return nil
35987}
35988
35989// SetAccountId sets the AccountId field's value.
35990func (s *RedactRoomMessageInput) SetAccountId(v string) *RedactRoomMessageInput {
35991	s.AccountId = &v
35992	return s
35993}
35994
35995// SetMessageId sets the MessageId field's value.
35996func (s *RedactRoomMessageInput) SetMessageId(v string) *RedactRoomMessageInput {
35997	s.MessageId = &v
35998	return s
35999}
36000
36001// SetRoomId sets the RoomId field's value.
36002func (s *RedactRoomMessageInput) SetRoomId(v string) *RedactRoomMessageInput {
36003	s.RoomId = &v
36004	return s
36005}
36006
36007type RedactRoomMessageOutput struct {
36008	_ struct{} `type:"structure"`
36009}
36010
36011// String returns the string representation
36012func (s RedactRoomMessageOutput) String() string {
36013	return awsutil.Prettify(s)
36014}
36015
36016// GoString returns the string representation
36017func (s RedactRoomMessageOutput) GoString() string {
36018	return s.String()
36019}
36020
36021type RegenerateSecurityTokenInput struct {
36022	_ struct{} `type:"structure"`
36023
36024	// The Amazon Chime account ID.
36025	//
36026	// AccountId is a required field
36027	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
36028
36029	// The bot ID.
36030	//
36031	// BotId is a required field
36032	BotId *string `location:"uri" locationName:"botId" type:"string" required:"true"`
36033}
36034
36035// String returns the string representation
36036func (s RegenerateSecurityTokenInput) String() string {
36037	return awsutil.Prettify(s)
36038}
36039
36040// GoString returns the string representation
36041func (s RegenerateSecurityTokenInput) GoString() string {
36042	return s.String()
36043}
36044
36045// Validate inspects the fields of the type to determine if they are valid.
36046func (s *RegenerateSecurityTokenInput) Validate() error {
36047	invalidParams := request.ErrInvalidParams{Context: "RegenerateSecurityTokenInput"}
36048	if s.AccountId == nil {
36049		invalidParams.Add(request.NewErrParamRequired("AccountId"))
36050	}
36051	if s.AccountId != nil && len(*s.AccountId) < 1 {
36052		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
36053	}
36054	if s.BotId == nil {
36055		invalidParams.Add(request.NewErrParamRequired("BotId"))
36056	}
36057	if s.BotId != nil && len(*s.BotId) < 1 {
36058		invalidParams.Add(request.NewErrParamMinLen("BotId", 1))
36059	}
36060
36061	if invalidParams.Len() > 0 {
36062		return invalidParams
36063	}
36064	return nil
36065}
36066
36067// SetAccountId sets the AccountId field's value.
36068func (s *RegenerateSecurityTokenInput) SetAccountId(v string) *RegenerateSecurityTokenInput {
36069	s.AccountId = &v
36070	return s
36071}
36072
36073// SetBotId sets the BotId field's value.
36074func (s *RegenerateSecurityTokenInput) SetBotId(v string) *RegenerateSecurityTokenInput {
36075	s.BotId = &v
36076	return s
36077}
36078
36079type RegenerateSecurityTokenOutput struct {
36080	_ struct{} `type:"structure"`
36081
36082	// A resource that allows Enterprise account administrators to configure an
36083	// interface to receive events from Amazon Chime.
36084	Bot *Bot `type:"structure"`
36085}
36086
36087// String returns the string representation
36088func (s RegenerateSecurityTokenOutput) String() string {
36089	return awsutil.Prettify(s)
36090}
36091
36092// GoString returns the string representation
36093func (s RegenerateSecurityTokenOutput) GoString() string {
36094	return s.String()
36095}
36096
36097// SetBot sets the Bot field's value.
36098func (s *RegenerateSecurityTokenOutput) SetBot(v *Bot) *RegenerateSecurityTokenOutput {
36099	s.Bot = v
36100	return s
36101}
36102
36103type ResetPersonalPINInput struct {
36104	_ struct{} `type:"structure"`
36105
36106	// The Amazon Chime account ID.
36107	//
36108	// AccountId is a required field
36109	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
36110
36111	// The user ID.
36112	//
36113	// UserId is a required field
36114	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
36115}
36116
36117// String returns the string representation
36118func (s ResetPersonalPINInput) String() string {
36119	return awsutil.Prettify(s)
36120}
36121
36122// GoString returns the string representation
36123func (s ResetPersonalPINInput) GoString() string {
36124	return s.String()
36125}
36126
36127// Validate inspects the fields of the type to determine if they are valid.
36128func (s *ResetPersonalPINInput) Validate() error {
36129	invalidParams := request.ErrInvalidParams{Context: "ResetPersonalPINInput"}
36130	if s.AccountId == nil {
36131		invalidParams.Add(request.NewErrParamRequired("AccountId"))
36132	}
36133	if s.AccountId != nil && len(*s.AccountId) < 1 {
36134		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
36135	}
36136	if s.UserId == nil {
36137		invalidParams.Add(request.NewErrParamRequired("UserId"))
36138	}
36139	if s.UserId != nil && len(*s.UserId) < 1 {
36140		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
36141	}
36142
36143	if invalidParams.Len() > 0 {
36144		return invalidParams
36145	}
36146	return nil
36147}
36148
36149// SetAccountId sets the AccountId field's value.
36150func (s *ResetPersonalPINInput) SetAccountId(v string) *ResetPersonalPINInput {
36151	s.AccountId = &v
36152	return s
36153}
36154
36155// SetUserId sets the UserId field's value.
36156func (s *ResetPersonalPINInput) SetUserId(v string) *ResetPersonalPINInput {
36157	s.UserId = &v
36158	return s
36159}
36160
36161type ResetPersonalPINOutput struct {
36162	_ struct{} `type:"structure"`
36163
36164	// The user details and new personal meeting PIN.
36165	User *User `type:"structure"`
36166}
36167
36168// String returns the string representation
36169func (s ResetPersonalPINOutput) String() string {
36170	return awsutil.Prettify(s)
36171}
36172
36173// GoString returns the string representation
36174func (s ResetPersonalPINOutput) GoString() string {
36175	return s.String()
36176}
36177
36178// SetUser sets the User field's value.
36179func (s *ResetPersonalPINOutput) SetUser(v *User) *ResetPersonalPINOutput {
36180	s.User = v
36181	return s
36182}
36183
36184// The request exceeds the resource limit.
36185type ResourceLimitExceededException struct {
36186	_            struct{}                  `type:"structure"`
36187	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
36188
36189	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
36190
36191	Message_ *string `locationName:"Message" type:"string"`
36192}
36193
36194// String returns the string representation
36195func (s ResourceLimitExceededException) String() string {
36196	return awsutil.Prettify(s)
36197}
36198
36199// GoString returns the string representation
36200func (s ResourceLimitExceededException) GoString() string {
36201	return s.String()
36202}
36203
36204func newErrorResourceLimitExceededException(v protocol.ResponseMetadata) error {
36205	return &ResourceLimitExceededException{
36206		RespMetadata: v,
36207	}
36208}
36209
36210// Code returns the exception type name.
36211func (s *ResourceLimitExceededException) Code() string {
36212	return "ResourceLimitExceededException"
36213}
36214
36215// Message returns the exception's message.
36216func (s *ResourceLimitExceededException) Message() string {
36217	if s.Message_ != nil {
36218		return *s.Message_
36219	}
36220	return ""
36221}
36222
36223// OrigErr always returns nil, satisfies awserr.Error interface.
36224func (s *ResourceLimitExceededException) OrigErr() error {
36225	return nil
36226}
36227
36228func (s *ResourceLimitExceededException) Error() string {
36229	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
36230}
36231
36232// Status code returns the HTTP status code for the request's response error.
36233func (s *ResourceLimitExceededException) StatusCode() int {
36234	return s.RespMetadata.StatusCode
36235}
36236
36237// RequestID returns the service's response RequestID for request.
36238func (s *ResourceLimitExceededException) RequestID() string {
36239	return s.RespMetadata.RequestID
36240}
36241
36242type RestorePhoneNumberInput struct {
36243	_ struct{} `type:"structure"`
36244
36245	// The phone number.
36246	//
36247	// PhoneNumberId is a required field
36248	PhoneNumberId *string `location:"uri" locationName:"phoneNumberId" type:"string" required:"true"`
36249}
36250
36251// String returns the string representation
36252func (s RestorePhoneNumberInput) String() string {
36253	return awsutil.Prettify(s)
36254}
36255
36256// GoString returns the string representation
36257func (s RestorePhoneNumberInput) GoString() string {
36258	return s.String()
36259}
36260
36261// Validate inspects the fields of the type to determine if they are valid.
36262func (s *RestorePhoneNumberInput) Validate() error {
36263	invalidParams := request.ErrInvalidParams{Context: "RestorePhoneNumberInput"}
36264	if s.PhoneNumberId == nil {
36265		invalidParams.Add(request.NewErrParamRequired("PhoneNumberId"))
36266	}
36267	if s.PhoneNumberId != nil && len(*s.PhoneNumberId) < 1 {
36268		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberId", 1))
36269	}
36270
36271	if invalidParams.Len() > 0 {
36272		return invalidParams
36273	}
36274	return nil
36275}
36276
36277// SetPhoneNumberId sets the PhoneNumberId field's value.
36278func (s *RestorePhoneNumberInput) SetPhoneNumberId(v string) *RestorePhoneNumberInput {
36279	s.PhoneNumberId = &v
36280	return s
36281}
36282
36283type RestorePhoneNumberOutput struct {
36284	_ struct{} `type:"structure"`
36285
36286	// The phone number details.
36287	PhoneNumber *PhoneNumber `type:"structure"`
36288}
36289
36290// String returns the string representation
36291func (s RestorePhoneNumberOutput) String() string {
36292	return awsutil.Prettify(s)
36293}
36294
36295// GoString returns the string representation
36296func (s RestorePhoneNumberOutput) GoString() string {
36297	return s.String()
36298}
36299
36300// SetPhoneNumber sets the PhoneNumber field's value.
36301func (s *RestorePhoneNumberOutput) SetPhoneNumber(v *PhoneNumber) *RestorePhoneNumberOutput {
36302	s.PhoneNumber = v
36303	return s
36304}
36305
36306// The retention settings for an Amazon Chime Enterprise account that determine
36307// how long to retain items such as chat-room messages and chat-conversation
36308// messages.
36309type RetentionSettings struct {
36310	_ struct{} `type:"structure"`
36311
36312	// The chat conversation retention settings.
36313	ConversationRetentionSettings *ConversationRetentionSettings `type:"structure"`
36314
36315	// The chat room retention settings.
36316	RoomRetentionSettings *RoomRetentionSettings `type:"structure"`
36317}
36318
36319// String returns the string representation
36320func (s RetentionSettings) String() string {
36321	return awsutil.Prettify(s)
36322}
36323
36324// GoString returns the string representation
36325func (s RetentionSettings) GoString() string {
36326	return s.String()
36327}
36328
36329// Validate inspects the fields of the type to determine if they are valid.
36330func (s *RetentionSettings) Validate() error {
36331	invalidParams := request.ErrInvalidParams{Context: "RetentionSettings"}
36332	if s.ConversationRetentionSettings != nil {
36333		if err := s.ConversationRetentionSettings.Validate(); err != nil {
36334			invalidParams.AddNested("ConversationRetentionSettings", err.(request.ErrInvalidParams))
36335		}
36336	}
36337	if s.RoomRetentionSettings != nil {
36338		if err := s.RoomRetentionSettings.Validate(); err != nil {
36339			invalidParams.AddNested("RoomRetentionSettings", err.(request.ErrInvalidParams))
36340		}
36341	}
36342
36343	if invalidParams.Len() > 0 {
36344		return invalidParams
36345	}
36346	return nil
36347}
36348
36349// SetConversationRetentionSettings sets the ConversationRetentionSettings field's value.
36350func (s *RetentionSettings) SetConversationRetentionSettings(v *ConversationRetentionSettings) *RetentionSettings {
36351	s.ConversationRetentionSettings = v
36352	return s
36353}
36354
36355// SetRoomRetentionSettings sets the RoomRetentionSettings field's value.
36356func (s *RetentionSettings) SetRoomRetentionSettings(v *RoomRetentionSettings) *RetentionSettings {
36357	s.RoomRetentionSettings = v
36358	return s
36359}
36360
36361// The Amazon Chime chat room details.
36362type Room struct {
36363	_ struct{} `type:"structure"`
36364
36365	// The Amazon Chime account ID.
36366	AccountId *string `type:"string"`
36367
36368	// The identifier of the room creator.
36369	CreatedBy *string `type:"string"`
36370
36371	// The room creation timestamp, in ISO 8601 format.
36372	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
36373
36374	// The room name.
36375	Name *string `type:"string" sensitive:"true"`
36376
36377	// The room ID.
36378	RoomId *string `type:"string"`
36379
36380	// The room update timestamp, in ISO 8601 format.
36381	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
36382}
36383
36384// String returns the string representation
36385func (s Room) String() string {
36386	return awsutil.Prettify(s)
36387}
36388
36389// GoString returns the string representation
36390func (s Room) GoString() string {
36391	return s.String()
36392}
36393
36394// SetAccountId sets the AccountId field's value.
36395func (s *Room) SetAccountId(v string) *Room {
36396	s.AccountId = &v
36397	return s
36398}
36399
36400// SetCreatedBy sets the CreatedBy field's value.
36401func (s *Room) SetCreatedBy(v string) *Room {
36402	s.CreatedBy = &v
36403	return s
36404}
36405
36406// SetCreatedTimestamp sets the CreatedTimestamp field's value.
36407func (s *Room) SetCreatedTimestamp(v time.Time) *Room {
36408	s.CreatedTimestamp = &v
36409	return s
36410}
36411
36412// SetName sets the Name field's value.
36413func (s *Room) SetName(v string) *Room {
36414	s.Name = &v
36415	return s
36416}
36417
36418// SetRoomId sets the RoomId field's value.
36419func (s *Room) SetRoomId(v string) *Room {
36420	s.RoomId = &v
36421	return s
36422}
36423
36424// SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
36425func (s *Room) SetUpdatedTimestamp(v time.Time) *Room {
36426	s.UpdatedTimestamp = &v
36427	return s
36428}
36429
36430// The room membership details.
36431type RoomMembership struct {
36432	_ struct{} `type:"structure"`
36433
36434	// The identifier of the user that invited the room member.
36435	InvitedBy *string `type:"string"`
36436
36437	// The member details, such as email address, name, member ID, and member type.
36438	Member *Member `type:"structure"`
36439
36440	// The membership role.
36441	Role *string `type:"string" enum:"RoomMembershipRole"`
36442
36443	// The room ID.
36444	RoomId *string `type:"string"`
36445
36446	// The room membership update timestamp, in ISO 8601 format.
36447	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
36448}
36449
36450// String returns the string representation
36451func (s RoomMembership) String() string {
36452	return awsutil.Prettify(s)
36453}
36454
36455// GoString returns the string representation
36456func (s RoomMembership) GoString() string {
36457	return s.String()
36458}
36459
36460// SetInvitedBy sets the InvitedBy field's value.
36461func (s *RoomMembership) SetInvitedBy(v string) *RoomMembership {
36462	s.InvitedBy = &v
36463	return s
36464}
36465
36466// SetMember sets the Member field's value.
36467func (s *RoomMembership) SetMember(v *Member) *RoomMembership {
36468	s.Member = v
36469	return s
36470}
36471
36472// SetRole sets the Role field's value.
36473func (s *RoomMembership) SetRole(v string) *RoomMembership {
36474	s.Role = &v
36475	return s
36476}
36477
36478// SetRoomId sets the RoomId field's value.
36479func (s *RoomMembership) SetRoomId(v string) *RoomMembership {
36480	s.RoomId = &v
36481	return s
36482}
36483
36484// SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
36485func (s *RoomMembership) SetUpdatedTimestamp(v time.Time) *RoomMembership {
36486	s.UpdatedTimestamp = &v
36487	return s
36488}
36489
36490// The retention settings that determine how long to retain chat-room messages
36491// for an Amazon Chime Enterprise account.
36492type RoomRetentionSettings struct {
36493	_ struct{} `type:"structure"`
36494
36495	// The number of days for which to retain chat-room messages.
36496	RetentionDays *int64 `min:"1" type:"integer"`
36497}
36498
36499// String returns the string representation
36500func (s RoomRetentionSettings) String() string {
36501	return awsutil.Prettify(s)
36502}
36503
36504// GoString returns the string representation
36505func (s RoomRetentionSettings) GoString() string {
36506	return s.String()
36507}
36508
36509// Validate inspects the fields of the type to determine if they are valid.
36510func (s *RoomRetentionSettings) Validate() error {
36511	invalidParams := request.ErrInvalidParams{Context: "RoomRetentionSettings"}
36512	if s.RetentionDays != nil && *s.RetentionDays < 1 {
36513		invalidParams.Add(request.NewErrParamMinValue("RetentionDays", 1))
36514	}
36515
36516	if invalidParams.Len() > 0 {
36517		return invalidParams
36518	}
36519	return nil
36520}
36521
36522// SetRetentionDays sets the RetentionDays field's value.
36523func (s *RoomRetentionSettings) SetRetentionDays(v int64) *RoomRetentionSettings {
36524	s.RetentionDays = &v
36525	return s
36526}
36527
36528type SearchAvailablePhoneNumbersInput struct {
36529	_ struct{} `type:"structure"`
36530
36531	// The area code used to filter results. Only applies to the US.
36532	AreaCode *string `location:"querystring" locationName:"area-code" type:"string"`
36533
36534	// The city used to filter results. Only applies to the US.
36535	City *string `location:"querystring" locationName:"city" type:"string"`
36536
36537	// The country used to filter results. Defaults to the US Format: ISO 3166-1
36538	// alpha-2.
36539	Country *string `location:"querystring" locationName:"country" type:"string"`
36540
36541	// The maximum number of results to return in a single call.
36542	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
36543
36544	// The token used to retrieve the next page of results.
36545	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
36546
36547	// The phone number type used to filter results. Required for non-US numbers.
36548	PhoneNumberType *string `location:"querystring" locationName:"phone-number-type" type:"string" enum:"PhoneNumberType"`
36549
36550	// The state used to filter results. Required only if you provide City. Only
36551	// applies to the US.
36552	State *string `location:"querystring" locationName:"state" type:"string"`
36553
36554	// The toll-free prefix that you use to filter results. Only applies to the
36555	// US.
36556	TollFreePrefix *string `location:"querystring" locationName:"toll-free-prefix" min:"3" type:"string"`
36557}
36558
36559// String returns the string representation
36560func (s SearchAvailablePhoneNumbersInput) String() string {
36561	return awsutil.Prettify(s)
36562}
36563
36564// GoString returns the string representation
36565func (s SearchAvailablePhoneNumbersInput) GoString() string {
36566	return s.String()
36567}
36568
36569// Validate inspects the fields of the type to determine if they are valid.
36570func (s *SearchAvailablePhoneNumbersInput) Validate() error {
36571	invalidParams := request.ErrInvalidParams{Context: "SearchAvailablePhoneNumbersInput"}
36572	if s.MaxResults != nil && *s.MaxResults < 1 {
36573		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
36574	}
36575	if s.TollFreePrefix != nil && len(*s.TollFreePrefix) < 3 {
36576		invalidParams.Add(request.NewErrParamMinLen("TollFreePrefix", 3))
36577	}
36578
36579	if invalidParams.Len() > 0 {
36580		return invalidParams
36581	}
36582	return nil
36583}
36584
36585// SetAreaCode sets the AreaCode field's value.
36586func (s *SearchAvailablePhoneNumbersInput) SetAreaCode(v string) *SearchAvailablePhoneNumbersInput {
36587	s.AreaCode = &v
36588	return s
36589}
36590
36591// SetCity sets the City field's value.
36592func (s *SearchAvailablePhoneNumbersInput) SetCity(v string) *SearchAvailablePhoneNumbersInput {
36593	s.City = &v
36594	return s
36595}
36596
36597// SetCountry sets the Country field's value.
36598func (s *SearchAvailablePhoneNumbersInput) SetCountry(v string) *SearchAvailablePhoneNumbersInput {
36599	s.Country = &v
36600	return s
36601}
36602
36603// SetMaxResults sets the MaxResults field's value.
36604func (s *SearchAvailablePhoneNumbersInput) SetMaxResults(v int64) *SearchAvailablePhoneNumbersInput {
36605	s.MaxResults = &v
36606	return s
36607}
36608
36609// SetNextToken sets the NextToken field's value.
36610func (s *SearchAvailablePhoneNumbersInput) SetNextToken(v string) *SearchAvailablePhoneNumbersInput {
36611	s.NextToken = &v
36612	return s
36613}
36614
36615// SetPhoneNumberType sets the PhoneNumberType field's value.
36616func (s *SearchAvailablePhoneNumbersInput) SetPhoneNumberType(v string) *SearchAvailablePhoneNumbersInput {
36617	s.PhoneNumberType = &v
36618	return s
36619}
36620
36621// SetState sets the State field's value.
36622func (s *SearchAvailablePhoneNumbersInput) SetState(v string) *SearchAvailablePhoneNumbersInput {
36623	s.State = &v
36624	return s
36625}
36626
36627// SetTollFreePrefix sets the TollFreePrefix field's value.
36628func (s *SearchAvailablePhoneNumbersInput) SetTollFreePrefix(v string) *SearchAvailablePhoneNumbersInput {
36629	s.TollFreePrefix = &v
36630	return s
36631}
36632
36633type SearchAvailablePhoneNumbersOutput struct {
36634	_ struct{} `type:"structure"`
36635
36636	// List of phone numbers, in E.164 format.
36637	E164PhoneNumbers []*string `type:"list"`
36638
36639	// The token used to retrieve the next page of search results.
36640	NextToken *string `type:"string"`
36641}
36642
36643// String returns the string representation
36644func (s SearchAvailablePhoneNumbersOutput) String() string {
36645	return awsutil.Prettify(s)
36646}
36647
36648// GoString returns the string representation
36649func (s SearchAvailablePhoneNumbersOutput) GoString() string {
36650	return s.String()
36651}
36652
36653// SetE164PhoneNumbers sets the E164PhoneNumbers field's value.
36654func (s *SearchAvailablePhoneNumbersOutput) SetE164PhoneNumbers(v []*string) *SearchAvailablePhoneNumbersOutput {
36655	s.E164PhoneNumbers = v
36656	return s
36657}
36658
36659// SetNextToken sets the NextToken field's value.
36660func (s *SearchAvailablePhoneNumbersOutput) SetNextToken(v string) *SearchAvailablePhoneNumbersOutput {
36661	s.NextToken = &v
36662	return s
36663}
36664
36665type SendChannelMessageInput struct {
36666	_ struct{} `type:"structure"`
36667
36668	// The ARN of the channel.
36669	//
36670	// ChannelArn is a required field
36671	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
36672
36673	// The AppInstanceUserArn of the user that makes the API call.
36674	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
36675
36676	// The Idempotency token for each client request.
36677	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
36678
36679	// The content of the message.
36680	//
36681	// Content is a required field
36682	Content *string `min:"1" type:"string" required:"true" sensitive:"true"`
36683
36684	// The optional metadata for each message.
36685	Metadata *string `type:"string" sensitive:"true"`
36686
36687	// Boolean that controls whether the message is persisted on the back end. Required.
36688	//
36689	// Persistence is a required field
36690	Persistence *string `type:"string" required:"true" enum:"ChannelMessagePersistenceType"`
36691
36692	// The type of message, STANDARD or CONTROL.
36693	//
36694	// Type is a required field
36695	Type *string `type:"string" required:"true" enum:"ChannelMessageType"`
36696}
36697
36698// String returns the string representation
36699func (s SendChannelMessageInput) String() string {
36700	return awsutil.Prettify(s)
36701}
36702
36703// GoString returns the string representation
36704func (s SendChannelMessageInput) GoString() string {
36705	return s.String()
36706}
36707
36708// Validate inspects the fields of the type to determine if they are valid.
36709func (s *SendChannelMessageInput) Validate() error {
36710	invalidParams := request.ErrInvalidParams{Context: "SendChannelMessageInput"}
36711	if s.ChannelArn == nil {
36712		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
36713	}
36714	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
36715		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
36716	}
36717	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
36718		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
36719	}
36720	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
36721		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
36722	}
36723	if s.Content == nil {
36724		invalidParams.Add(request.NewErrParamRequired("Content"))
36725	}
36726	if s.Content != nil && len(*s.Content) < 1 {
36727		invalidParams.Add(request.NewErrParamMinLen("Content", 1))
36728	}
36729	if s.Persistence == nil {
36730		invalidParams.Add(request.NewErrParamRequired("Persistence"))
36731	}
36732	if s.Type == nil {
36733		invalidParams.Add(request.NewErrParamRequired("Type"))
36734	}
36735
36736	if invalidParams.Len() > 0 {
36737		return invalidParams
36738	}
36739	return nil
36740}
36741
36742// SetChannelArn sets the ChannelArn field's value.
36743func (s *SendChannelMessageInput) SetChannelArn(v string) *SendChannelMessageInput {
36744	s.ChannelArn = &v
36745	return s
36746}
36747
36748// SetChimeBearer sets the ChimeBearer field's value.
36749func (s *SendChannelMessageInput) SetChimeBearer(v string) *SendChannelMessageInput {
36750	s.ChimeBearer = &v
36751	return s
36752}
36753
36754// SetClientRequestToken sets the ClientRequestToken field's value.
36755func (s *SendChannelMessageInput) SetClientRequestToken(v string) *SendChannelMessageInput {
36756	s.ClientRequestToken = &v
36757	return s
36758}
36759
36760// SetContent sets the Content field's value.
36761func (s *SendChannelMessageInput) SetContent(v string) *SendChannelMessageInput {
36762	s.Content = &v
36763	return s
36764}
36765
36766// SetMetadata sets the Metadata field's value.
36767func (s *SendChannelMessageInput) SetMetadata(v string) *SendChannelMessageInput {
36768	s.Metadata = &v
36769	return s
36770}
36771
36772// SetPersistence sets the Persistence field's value.
36773func (s *SendChannelMessageInput) SetPersistence(v string) *SendChannelMessageInput {
36774	s.Persistence = &v
36775	return s
36776}
36777
36778// SetType sets the Type field's value.
36779func (s *SendChannelMessageInput) SetType(v string) *SendChannelMessageInput {
36780	s.Type = &v
36781	return s
36782}
36783
36784type SendChannelMessageOutput struct {
36785	_ struct{} `type:"structure"`
36786
36787	// The ARN of the channel.
36788	ChannelArn *string `min:"5" type:"string"`
36789
36790	// The ID string assigned to each message.
36791	MessageId *string `min:"1" type:"string"`
36792}
36793
36794// String returns the string representation
36795func (s SendChannelMessageOutput) String() string {
36796	return awsutil.Prettify(s)
36797}
36798
36799// GoString returns the string representation
36800func (s SendChannelMessageOutput) GoString() string {
36801	return s.String()
36802}
36803
36804// SetChannelArn sets the ChannelArn field's value.
36805func (s *SendChannelMessageOutput) SetChannelArn(v string) *SendChannelMessageOutput {
36806	s.ChannelArn = &v
36807	return s
36808}
36809
36810// SetMessageId sets the MessageId field's value.
36811func (s *SendChannelMessageOutput) SetMessageId(v string) *SendChannelMessageOutput {
36812	s.MessageId = &v
36813	return s
36814}
36815
36816// The service encountered an unexpected error.
36817type ServiceFailureException struct {
36818	_            struct{}                  `type:"structure"`
36819	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
36820
36821	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
36822
36823	Message_ *string `locationName:"Message" type:"string"`
36824}
36825
36826// String returns the string representation
36827func (s ServiceFailureException) String() string {
36828	return awsutil.Prettify(s)
36829}
36830
36831// GoString returns the string representation
36832func (s ServiceFailureException) GoString() string {
36833	return s.String()
36834}
36835
36836func newErrorServiceFailureException(v protocol.ResponseMetadata) error {
36837	return &ServiceFailureException{
36838		RespMetadata: v,
36839	}
36840}
36841
36842// Code returns the exception type name.
36843func (s *ServiceFailureException) Code() string {
36844	return "ServiceFailureException"
36845}
36846
36847// Message returns the exception's message.
36848func (s *ServiceFailureException) Message() string {
36849	if s.Message_ != nil {
36850		return *s.Message_
36851	}
36852	return ""
36853}
36854
36855// OrigErr always returns nil, satisfies awserr.Error interface.
36856func (s *ServiceFailureException) OrigErr() error {
36857	return nil
36858}
36859
36860func (s *ServiceFailureException) Error() string {
36861	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
36862}
36863
36864// Status code returns the HTTP status code for the request's response error.
36865func (s *ServiceFailureException) StatusCode() int {
36866	return s.RespMetadata.StatusCode
36867}
36868
36869// RequestID returns the service's response RequestID for request.
36870func (s *ServiceFailureException) RequestID() string {
36871	return s.RespMetadata.RequestID
36872}
36873
36874// The service is currently unavailable.
36875type ServiceUnavailableException struct {
36876	_            struct{}                  `type:"structure"`
36877	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
36878
36879	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
36880
36881	Message_ *string `locationName:"Message" type:"string"`
36882}
36883
36884// String returns the string representation
36885func (s ServiceUnavailableException) String() string {
36886	return awsutil.Prettify(s)
36887}
36888
36889// GoString returns the string representation
36890func (s ServiceUnavailableException) GoString() string {
36891	return s.String()
36892}
36893
36894func newErrorServiceUnavailableException(v protocol.ResponseMetadata) error {
36895	return &ServiceUnavailableException{
36896		RespMetadata: v,
36897	}
36898}
36899
36900// Code returns the exception type name.
36901func (s *ServiceUnavailableException) Code() string {
36902	return "ServiceUnavailableException"
36903}
36904
36905// Message returns the exception's message.
36906func (s *ServiceUnavailableException) Message() string {
36907	if s.Message_ != nil {
36908		return *s.Message_
36909	}
36910	return ""
36911}
36912
36913// OrigErr always returns nil, satisfies awserr.Error interface.
36914func (s *ServiceUnavailableException) OrigErr() error {
36915	return nil
36916}
36917
36918func (s *ServiceUnavailableException) Error() string {
36919	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
36920}
36921
36922// Status code returns the HTTP status code for the request's response error.
36923func (s *ServiceUnavailableException) StatusCode() int {
36924	return s.RespMetadata.StatusCode
36925}
36926
36927// RequestID returns the service's response RequestID for request.
36928func (s *ServiceUnavailableException) RequestID() string {
36929	return s.RespMetadata.RequestID
36930}
36931
36932// An Active Directory (AD) group whose members are granted permission to act
36933// as delegates.
36934type SigninDelegateGroup struct {
36935	_ struct{} `type:"structure"`
36936
36937	// The group name.
36938	GroupName *string `type:"string"`
36939}
36940
36941// String returns the string representation
36942func (s SigninDelegateGroup) String() string {
36943	return awsutil.Prettify(s)
36944}
36945
36946// GoString returns the string representation
36947func (s SigninDelegateGroup) GoString() string {
36948	return s.String()
36949}
36950
36951// SetGroupName sets the GroupName field's value.
36952func (s *SigninDelegateGroup) SetGroupName(v string) *SigninDelegateGroup {
36953	s.GroupName = &v
36954	return s
36955}
36956
36957// The details of the SIP media application, including name and endpoints. An
36958// AWS account can have multiple SIP media applications.
36959type SipMediaApplication struct {
36960	_ struct{} `type:"structure"`
36961
36962	// The AWS Region in which the SIP media application is created.
36963	AwsRegion *string `type:"string"`
36964
36965	// The SIP media application creation timestamp, in ISO 8601 format.
36966	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
36967
36968	// List of endpoints for SIP media application. Currently, only one endpoint
36969	// per SIP media application is permitted.
36970	Endpoints []*SipMediaApplicationEndpoint `min:"1" type:"list"`
36971
36972	// The name of the SIP media application.
36973	Name *string `min:"1" type:"string"`
36974
36975	// The SIP media application ID.
36976	SipMediaApplicationId *string `type:"string"`
36977
36978	// The SIP media application updated timestamp, in ISO 8601 format.
36979	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
36980}
36981
36982// String returns the string representation
36983func (s SipMediaApplication) String() string {
36984	return awsutil.Prettify(s)
36985}
36986
36987// GoString returns the string representation
36988func (s SipMediaApplication) GoString() string {
36989	return s.String()
36990}
36991
36992// SetAwsRegion sets the AwsRegion field's value.
36993func (s *SipMediaApplication) SetAwsRegion(v string) *SipMediaApplication {
36994	s.AwsRegion = &v
36995	return s
36996}
36997
36998// SetCreatedTimestamp sets the CreatedTimestamp field's value.
36999func (s *SipMediaApplication) SetCreatedTimestamp(v time.Time) *SipMediaApplication {
37000	s.CreatedTimestamp = &v
37001	return s
37002}
37003
37004// SetEndpoints sets the Endpoints field's value.
37005func (s *SipMediaApplication) SetEndpoints(v []*SipMediaApplicationEndpoint) *SipMediaApplication {
37006	s.Endpoints = v
37007	return s
37008}
37009
37010// SetName sets the Name field's value.
37011func (s *SipMediaApplication) SetName(v string) *SipMediaApplication {
37012	s.Name = &v
37013	return s
37014}
37015
37016// SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
37017func (s *SipMediaApplication) SetSipMediaApplicationId(v string) *SipMediaApplication {
37018	s.SipMediaApplicationId = &v
37019	return s
37020}
37021
37022// SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
37023func (s *SipMediaApplication) SetUpdatedTimestamp(v time.Time) *SipMediaApplication {
37024	s.UpdatedTimestamp = &v
37025	return s
37026}
37027
37028// A Call instance for a SIP media application.
37029type SipMediaApplicationCall struct {
37030	_ struct{} `type:"structure"`
37031
37032	// The transaction ID of a call.
37033	TransactionId *string `type:"string"`
37034}
37035
37036// String returns the string representation
37037func (s SipMediaApplicationCall) String() string {
37038	return awsutil.Prettify(s)
37039}
37040
37041// GoString returns the string representation
37042func (s SipMediaApplicationCall) GoString() string {
37043	return s.String()
37044}
37045
37046// SetTransactionId sets the TransactionId field's value.
37047func (s *SipMediaApplicationCall) SetTransactionId(v string) *SipMediaApplicationCall {
37048	s.TransactionId = &v
37049	return s
37050}
37051
37052// The endpoint assigned to the SIP media application.
37053type SipMediaApplicationEndpoint struct {
37054	_ struct{} `type:"structure"`
37055
37056	// Valid Amazon Resource Name (ARN) of the Lambda function. The function must
37057	// be created in the same AWS Region as the SIP media application.
37058	LambdaArn *string `type:"string" sensitive:"true"`
37059}
37060
37061// String returns the string representation
37062func (s SipMediaApplicationEndpoint) String() string {
37063	return awsutil.Prettify(s)
37064}
37065
37066// GoString returns the string representation
37067func (s SipMediaApplicationEndpoint) GoString() string {
37068	return s.String()
37069}
37070
37071// SetLambdaArn sets the LambdaArn field's value.
37072func (s *SipMediaApplicationEndpoint) SetLambdaArn(v string) *SipMediaApplicationEndpoint {
37073	s.LambdaArn = &v
37074	return s
37075}
37076
37077// Logging configuration of the SIP media application.
37078type SipMediaApplicationLoggingConfiguration struct {
37079	_ struct{} `type:"structure"`
37080
37081	// Enables application message logs for the SIP media application.
37082	EnableSipMediaApplicationMessageLogs *bool `type:"boolean"`
37083}
37084
37085// String returns the string representation
37086func (s SipMediaApplicationLoggingConfiguration) String() string {
37087	return awsutil.Prettify(s)
37088}
37089
37090// GoString returns the string representation
37091func (s SipMediaApplicationLoggingConfiguration) GoString() string {
37092	return s.String()
37093}
37094
37095// SetEnableSipMediaApplicationMessageLogs sets the EnableSipMediaApplicationMessageLogs field's value.
37096func (s *SipMediaApplicationLoggingConfiguration) SetEnableSipMediaApplicationMessageLogs(v bool) *SipMediaApplicationLoggingConfiguration {
37097	s.EnableSipMediaApplicationMessageLogs = &v
37098	return s
37099}
37100
37101// The SIP rule details, including name, triggers, and target applications.
37102// An AWS account can have multiple SIP rules.
37103type SipRule struct {
37104	_ struct{} `type:"structure"`
37105
37106	// The time at which the SIP rule was created, in ISO 8601 format.
37107	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
37108
37109	// Indicates whether the SIP rule is enabled or disabled. You must disable a
37110	// rule before you can delete it.
37111	Disabled *bool `type:"boolean"`
37112
37113	// The name of the SIP rule.
37114	Name *string `min:"1" type:"string"`
37115
37116	// The SIP rule ID.
37117	SipRuleId *string `type:"string"`
37118
37119	// Target SIP media application and other details, such as priority and AWS
37120	// Region, to be specified in the SIP rule. Only one SIP rule per AWS Region
37121	// can be provided.
37122	TargetApplications []*SipRuleTargetApplication `min:"1" type:"list"`
37123
37124	// The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname
37125	// or ToPhoneNumber.
37126	TriggerType *string `type:"string" enum:"SipRuleTriggerType"`
37127
37128	// If TriggerType is RequestUriHostname, then the value can be the outbound
37129	// host name of the Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber,
37130	// then the value can be a customer-owned phone number in E164 format. SipRule
37131	// is triggered when a SIP rule requests host name or ToPhoneNumber matches
37132	// in the incoming SIP request.
37133	TriggerValue *string `type:"string"`
37134
37135	// The time at which the SIP rule was last updated, in ISO 8601 format.
37136	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
37137}
37138
37139// String returns the string representation
37140func (s SipRule) String() string {
37141	return awsutil.Prettify(s)
37142}
37143
37144// GoString returns the string representation
37145func (s SipRule) GoString() string {
37146	return s.String()
37147}
37148
37149// SetCreatedTimestamp sets the CreatedTimestamp field's value.
37150func (s *SipRule) SetCreatedTimestamp(v time.Time) *SipRule {
37151	s.CreatedTimestamp = &v
37152	return s
37153}
37154
37155// SetDisabled sets the Disabled field's value.
37156func (s *SipRule) SetDisabled(v bool) *SipRule {
37157	s.Disabled = &v
37158	return s
37159}
37160
37161// SetName sets the Name field's value.
37162func (s *SipRule) SetName(v string) *SipRule {
37163	s.Name = &v
37164	return s
37165}
37166
37167// SetSipRuleId sets the SipRuleId field's value.
37168func (s *SipRule) SetSipRuleId(v string) *SipRule {
37169	s.SipRuleId = &v
37170	return s
37171}
37172
37173// SetTargetApplications sets the TargetApplications field's value.
37174func (s *SipRule) SetTargetApplications(v []*SipRuleTargetApplication) *SipRule {
37175	s.TargetApplications = v
37176	return s
37177}
37178
37179// SetTriggerType sets the TriggerType field's value.
37180func (s *SipRule) SetTriggerType(v string) *SipRule {
37181	s.TriggerType = &v
37182	return s
37183}
37184
37185// SetTriggerValue sets the TriggerValue field's value.
37186func (s *SipRule) SetTriggerValue(v string) *SipRule {
37187	s.TriggerValue = &v
37188	return s
37189}
37190
37191// SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
37192func (s *SipRule) SetUpdatedTimestamp(v time.Time) *SipRule {
37193	s.UpdatedTimestamp = &v
37194	return s
37195}
37196
37197// Target SIP media application and other details, such as priority and AWS
37198// Region, to be specified in the SIP rule. Only one SIP rule per AWS Region
37199// can be provided.
37200type SipRuleTargetApplication struct {
37201	_ struct{} `type:"structure"`
37202
37203	// The AWS Region of the target application.
37204	AwsRegion *string `type:"string"`
37205
37206	// Priority of the SIP media application in the target list.
37207	Priority *int64 `min:"1" type:"integer"`
37208
37209	// The SIP media application ID.
37210	SipMediaApplicationId *string `type:"string"`
37211}
37212
37213// String returns the string representation
37214func (s SipRuleTargetApplication) String() string {
37215	return awsutil.Prettify(s)
37216}
37217
37218// GoString returns the string representation
37219func (s SipRuleTargetApplication) GoString() string {
37220	return s.String()
37221}
37222
37223// Validate inspects the fields of the type to determine if they are valid.
37224func (s *SipRuleTargetApplication) Validate() error {
37225	invalidParams := request.ErrInvalidParams{Context: "SipRuleTargetApplication"}
37226	if s.Priority != nil && *s.Priority < 1 {
37227		invalidParams.Add(request.NewErrParamMinValue("Priority", 1))
37228	}
37229
37230	if invalidParams.Len() > 0 {
37231		return invalidParams
37232	}
37233	return nil
37234}
37235
37236// SetAwsRegion sets the AwsRegion field's value.
37237func (s *SipRuleTargetApplication) SetAwsRegion(v string) *SipRuleTargetApplication {
37238	s.AwsRegion = &v
37239	return s
37240}
37241
37242// SetPriority sets the Priority field's value.
37243func (s *SipRuleTargetApplication) SetPriority(v int64) *SipRuleTargetApplication {
37244	s.Priority = &v
37245	return s
37246}
37247
37248// SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
37249func (s *SipRuleTargetApplication) SetSipMediaApplicationId(v string) *SipRuleTargetApplication {
37250	s.SipMediaApplicationId = &v
37251	return s
37252}
37253
37254// The streaming configuration associated with an Amazon Chime Voice Connector.
37255// Specifies whether media streaming is enabled for sending to Amazon Kinesis,
37256// and shows the retention period for the Amazon Kinesis data, in hours.
37257type StreamingConfiguration struct {
37258	_ struct{} `type:"structure"`
37259
37260	// The retention period, in hours, for the Amazon Kinesis data.
37261	//
37262	// DataRetentionInHours is a required field
37263	DataRetentionInHours *int64 `type:"integer" required:"true"`
37264
37265	// When true, media streaming to Amazon Kinesis is turned off.
37266	Disabled *bool `type:"boolean"`
37267
37268	// The streaming notification targets.
37269	StreamingNotificationTargets []*StreamingNotificationTarget `min:"1" type:"list"`
37270}
37271
37272// String returns the string representation
37273func (s StreamingConfiguration) String() string {
37274	return awsutil.Prettify(s)
37275}
37276
37277// GoString returns the string representation
37278func (s StreamingConfiguration) GoString() string {
37279	return s.String()
37280}
37281
37282// Validate inspects the fields of the type to determine if they are valid.
37283func (s *StreamingConfiguration) Validate() error {
37284	invalidParams := request.ErrInvalidParams{Context: "StreamingConfiguration"}
37285	if s.DataRetentionInHours == nil {
37286		invalidParams.Add(request.NewErrParamRequired("DataRetentionInHours"))
37287	}
37288	if s.StreamingNotificationTargets != nil && len(s.StreamingNotificationTargets) < 1 {
37289		invalidParams.Add(request.NewErrParamMinLen("StreamingNotificationTargets", 1))
37290	}
37291	if s.StreamingNotificationTargets != nil {
37292		for i, v := range s.StreamingNotificationTargets {
37293			if v == nil {
37294				continue
37295			}
37296			if err := v.Validate(); err != nil {
37297				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StreamingNotificationTargets", i), err.(request.ErrInvalidParams))
37298			}
37299		}
37300	}
37301
37302	if invalidParams.Len() > 0 {
37303		return invalidParams
37304	}
37305	return nil
37306}
37307
37308// SetDataRetentionInHours sets the DataRetentionInHours field's value.
37309func (s *StreamingConfiguration) SetDataRetentionInHours(v int64) *StreamingConfiguration {
37310	s.DataRetentionInHours = &v
37311	return s
37312}
37313
37314// SetDisabled sets the Disabled field's value.
37315func (s *StreamingConfiguration) SetDisabled(v bool) *StreamingConfiguration {
37316	s.Disabled = &v
37317	return s
37318}
37319
37320// SetStreamingNotificationTargets sets the StreamingNotificationTargets field's value.
37321func (s *StreamingConfiguration) SetStreamingNotificationTargets(v []*StreamingNotificationTarget) *StreamingConfiguration {
37322	s.StreamingNotificationTargets = v
37323	return s
37324}
37325
37326// The targeted recipient for a streaming configuration notification.
37327type StreamingNotificationTarget struct {
37328	_ struct{} `type:"structure"`
37329
37330	// The streaming notification target.
37331	//
37332	// NotificationTarget is a required field
37333	NotificationTarget *string `type:"string" required:"true" enum:"NotificationTarget"`
37334}
37335
37336// String returns the string representation
37337func (s StreamingNotificationTarget) String() string {
37338	return awsutil.Prettify(s)
37339}
37340
37341// GoString returns the string representation
37342func (s StreamingNotificationTarget) GoString() string {
37343	return s.String()
37344}
37345
37346// Validate inspects the fields of the type to determine if they are valid.
37347func (s *StreamingNotificationTarget) Validate() error {
37348	invalidParams := request.ErrInvalidParams{Context: "StreamingNotificationTarget"}
37349	if s.NotificationTarget == nil {
37350		invalidParams.Add(request.NewErrParamRequired("NotificationTarget"))
37351	}
37352
37353	if invalidParams.Len() > 0 {
37354		return invalidParams
37355	}
37356	return nil
37357}
37358
37359// SetNotificationTarget sets the NotificationTarget field's value.
37360func (s *StreamingNotificationTarget) SetNotificationTarget(v string) *StreamingNotificationTarget {
37361	s.NotificationTarget = &v
37362	return s
37363}
37364
37365// Describes a tag applied to a resource.
37366type Tag struct {
37367	_ struct{} `type:"structure"`
37368
37369	// The key of the tag.
37370	//
37371	// Key is a required field
37372	Key *string `min:"1" type:"string" required:"true" sensitive:"true"`
37373
37374	// The value of the tag.
37375	//
37376	// Value is a required field
37377	Value *string `min:"1" type:"string" required:"true" sensitive:"true"`
37378}
37379
37380// String returns the string representation
37381func (s Tag) String() string {
37382	return awsutil.Prettify(s)
37383}
37384
37385// GoString returns the string representation
37386func (s Tag) GoString() string {
37387	return s.String()
37388}
37389
37390// Validate inspects the fields of the type to determine if they are valid.
37391func (s *Tag) Validate() error {
37392	invalidParams := request.ErrInvalidParams{Context: "Tag"}
37393	if s.Key == nil {
37394		invalidParams.Add(request.NewErrParamRequired("Key"))
37395	}
37396	if s.Key != nil && len(*s.Key) < 1 {
37397		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
37398	}
37399	if s.Value == nil {
37400		invalidParams.Add(request.NewErrParamRequired("Value"))
37401	}
37402	if s.Value != nil && len(*s.Value) < 1 {
37403		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
37404	}
37405
37406	if invalidParams.Len() > 0 {
37407		return invalidParams
37408	}
37409	return nil
37410}
37411
37412// SetKey sets the Key field's value.
37413func (s *Tag) SetKey(v string) *Tag {
37414	s.Key = &v
37415	return s
37416}
37417
37418// SetValue sets the Value field's value.
37419func (s *Tag) SetValue(v string) *Tag {
37420	s.Value = &v
37421	return s
37422}
37423
37424type TagAttendeeInput struct {
37425	_ struct{} `type:"structure"`
37426
37427	// The Amazon Chime SDK attendee ID.
37428	//
37429	// AttendeeId is a required field
37430	AttendeeId *string `location:"uri" locationName:"attendeeId" type:"string" required:"true"`
37431
37432	// The Amazon Chime SDK meeting ID.
37433	//
37434	// MeetingId is a required field
37435	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
37436
37437	// The tag key-value pairs.
37438	//
37439	// Tags is a required field
37440	Tags []*Tag `min:"1" type:"list" required:"true"`
37441}
37442
37443// String returns the string representation
37444func (s TagAttendeeInput) String() string {
37445	return awsutil.Prettify(s)
37446}
37447
37448// GoString returns the string representation
37449func (s TagAttendeeInput) GoString() string {
37450	return s.String()
37451}
37452
37453// Validate inspects the fields of the type to determine if they are valid.
37454func (s *TagAttendeeInput) Validate() error {
37455	invalidParams := request.ErrInvalidParams{Context: "TagAttendeeInput"}
37456	if s.AttendeeId == nil {
37457		invalidParams.Add(request.NewErrParamRequired("AttendeeId"))
37458	}
37459	if s.AttendeeId != nil && len(*s.AttendeeId) < 1 {
37460		invalidParams.Add(request.NewErrParamMinLen("AttendeeId", 1))
37461	}
37462	if s.MeetingId == nil {
37463		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
37464	}
37465	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
37466		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
37467	}
37468	if s.Tags == nil {
37469		invalidParams.Add(request.NewErrParamRequired("Tags"))
37470	}
37471	if s.Tags != nil && len(s.Tags) < 1 {
37472		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
37473	}
37474	if s.Tags != nil {
37475		for i, v := range s.Tags {
37476			if v == nil {
37477				continue
37478			}
37479			if err := v.Validate(); err != nil {
37480				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
37481			}
37482		}
37483	}
37484
37485	if invalidParams.Len() > 0 {
37486		return invalidParams
37487	}
37488	return nil
37489}
37490
37491// SetAttendeeId sets the AttendeeId field's value.
37492func (s *TagAttendeeInput) SetAttendeeId(v string) *TagAttendeeInput {
37493	s.AttendeeId = &v
37494	return s
37495}
37496
37497// SetMeetingId sets the MeetingId field's value.
37498func (s *TagAttendeeInput) SetMeetingId(v string) *TagAttendeeInput {
37499	s.MeetingId = &v
37500	return s
37501}
37502
37503// SetTags sets the Tags field's value.
37504func (s *TagAttendeeInput) SetTags(v []*Tag) *TagAttendeeInput {
37505	s.Tags = v
37506	return s
37507}
37508
37509type TagAttendeeOutput struct {
37510	_ struct{} `type:"structure"`
37511}
37512
37513// String returns the string representation
37514func (s TagAttendeeOutput) String() string {
37515	return awsutil.Prettify(s)
37516}
37517
37518// GoString returns the string representation
37519func (s TagAttendeeOutput) GoString() string {
37520	return s.String()
37521}
37522
37523type TagMeetingInput struct {
37524	_ struct{} `type:"structure"`
37525
37526	// The Amazon Chime SDK meeting ID.
37527	//
37528	// MeetingId is a required field
37529	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
37530
37531	// The tag key-value pairs.
37532	//
37533	// Tags is a required field
37534	Tags []*Tag `min:"1" type:"list" required:"true"`
37535}
37536
37537// String returns the string representation
37538func (s TagMeetingInput) String() string {
37539	return awsutil.Prettify(s)
37540}
37541
37542// GoString returns the string representation
37543func (s TagMeetingInput) GoString() string {
37544	return s.String()
37545}
37546
37547// Validate inspects the fields of the type to determine if they are valid.
37548func (s *TagMeetingInput) Validate() error {
37549	invalidParams := request.ErrInvalidParams{Context: "TagMeetingInput"}
37550	if s.MeetingId == nil {
37551		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
37552	}
37553	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
37554		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
37555	}
37556	if s.Tags == nil {
37557		invalidParams.Add(request.NewErrParamRequired("Tags"))
37558	}
37559	if s.Tags != nil && len(s.Tags) < 1 {
37560		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
37561	}
37562	if s.Tags != nil {
37563		for i, v := range s.Tags {
37564			if v == nil {
37565				continue
37566			}
37567			if err := v.Validate(); err != nil {
37568				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
37569			}
37570		}
37571	}
37572
37573	if invalidParams.Len() > 0 {
37574		return invalidParams
37575	}
37576	return nil
37577}
37578
37579// SetMeetingId sets the MeetingId field's value.
37580func (s *TagMeetingInput) SetMeetingId(v string) *TagMeetingInput {
37581	s.MeetingId = &v
37582	return s
37583}
37584
37585// SetTags sets the Tags field's value.
37586func (s *TagMeetingInput) SetTags(v []*Tag) *TagMeetingInput {
37587	s.Tags = v
37588	return s
37589}
37590
37591type TagMeetingOutput struct {
37592	_ struct{} `type:"structure"`
37593}
37594
37595// String returns the string representation
37596func (s TagMeetingOutput) String() string {
37597	return awsutil.Prettify(s)
37598}
37599
37600// GoString returns the string representation
37601func (s TagMeetingOutput) GoString() string {
37602	return s.String()
37603}
37604
37605type TagResourceInput struct {
37606	_ struct{} `type:"structure"`
37607
37608	// The resource ARN.
37609	//
37610	// ResourceARN is a required field
37611	ResourceARN *string `min:"1" type:"string" required:"true" sensitive:"true"`
37612
37613	// The tag key-value pairs.
37614	//
37615	// Tags is a required field
37616	Tags []*Tag `min:"1" type:"list" required:"true"`
37617}
37618
37619// String returns the string representation
37620func (s TagResourceInput) String() string {
37621	return awsutil.Prettify(s)
37622}
37623
37624// GoString returns the string representation
37625func (s TagResourceInput) GoString() string {
37626	return s.String()
37627}
37628
37629// Validate inspects the fields of the type to determine if they are valid.
37630func (s *TagResourceInput) Validate() error {
37631	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
37632	if s.ResourceARN == nil {
37633		invalidParams.Add(request.NewErrParamRequired("ResourceARN"))
37634	}
37635	if s.ResourceARN != nil && len(*s.ResourceARN) < 1 {
37636		invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1))
37637	}
37638	if s.Tags == nil {
37639		invalidParams.Add(request.NewErrParamRequired("Tags"))
37640	}
37641	if s.Tags != nil && len(s.Tags) < 1 {
37642		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
37643	}
37644	if s.Tags != nil {
37645		for i, v := range s.Tags {
37646			if v == nil {
37647				continue
37648			}
37649			if err := v.Validate(); err != nil {
37650				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
37651			}
37652		}
37653	}
37654
37655	if invalidParams.Len() > 0 {
37656		return invalidParams
37657	}
37658	return nil
37659}
37660
37661// SetResourceARN sets the ResourceARN field's value.
37662func (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput {
37663	s.ResourceARN = &v
37664	return s
37665}
37666
37667// SetTags sets the Tags field's value.
37668func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
37669	s.Tags = v
37670	return s
37671}
37672
37673type TagResourceOutput struct {
37674	_ struct{} `type:"structure"`
37675}
37676
37677// String returns the string representation
37678func (s TagResourceOutput) String() string {
37679	return awsutil.Prettify(s)
37680}
37681
37682// GoString returns the string representation
37683func (s TagResourceOutput) GoString() string {
37684	return s.String()
37685}
37686
37687// Settings that allow management of telephony permissions for an Amazon Chime
37688// user, such as inbound and outbound calling and text messaging.
37689type TelephonySettings struct {
37690	_ struct{} `type:"structure"`
37691
37692	// Allows or denies inbound calling.
37693	//
37694	// InboundCalling is a required field
37695	InboundCalling *bool `type:"boolean" required:"true"`
37696
37697	// Allows or denies outbound calling.
37698	//
37699	// OutboundCalling is a required field
37700	OutboundCalling *bool `type:"boolean" required:"true"`
37701
37702	// Allows or denies SMS messaging.
37703	//
37704	// SMS is a required field
37705	SMS *bool `type:"boolean" required:"true"`
37706}
37707
37708// String returns the string representation
37709func (s TelephonySettings) String() string {
37710	return awsutil.Prettify(s)
37711}
37712
37713// GoString returns the string representation
37714func (s TelephonySettings) GoString() string {
37715	return s.String()
37716}
37717
37718// Validate inspects the fields of the type to determine if they are valid.
37719func (s *TelephonySettings) Validate() error {
37720	invalidParams := request.ErrInvalidParams{Context: "TelephonySettings"}
37721	if s.InboundCalling == nil {
37722		invalidParams.Add(request.NewErrParamRequired("InboundCalling"))
37723	}
37724	if s.OutboundCalling == nil {
37725		invalidParams.Add(request.NewErrParamRequired("OutboundCalling"))
37726	}
37727	if s.SMS == nil {
37728		invalidParams.Add(request.NewErrParamRequired("SMS"))
37729	}
37730
37731	if invalidParams.Len() > 0 {
37732		return invalidParams
37733	}
37734	return nil
37735}
37736
37737// SetInboundCalling sets the InboundCalling field's value.
37738func (s *TelephonySettings) SetInboundCalling(v bool) *TelephonySettings {
37739	s.InboundCalling = &v
37740	return s
37741}
37742
37743// SetOutboundCalling sets the OutboundCalling field's value.
37744func (s *TelephonySettings) SetOutboundCalling(v bool) *TelephonySettings {
37745	s.OutboundCalling = &v
37746	return s
37747}
37748
37749// SetSMS sets the SMS field's value.
37750func (s *TelephonySettings) SetSMS(v bool) *TelephonySettings {
37751	s.SMS = &v
37752	return s
37753}
37754
37755// Termination settings enable your SIP hosts to make outbound calls using your
37756// Amazon Chime Voice Connector.
37757type Termination struct {
37758	_ struct{} `type:"structure"`
37759
37760	// The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.
37761	CallingRegions []*string `type:"list"`
37762
37763	// The IP addresses allowed to make calls, in CIDR format. Required.
37764	CidrAllowedList []*string `type:"list"`
37765
37766	// The limit on calls per second. Max value based on account service quota.
37767	// Default value of 1.
37768	CpsLimit *int64 `min:"1" type:"integer"`
37769
37770	// The default caller ID phone number.
37771	DefaultPhoneNumber *string `type:"string" sensitive:"true"`
37772
37773	// When termination settings are disabled, outbound calls can not be made.
37774	Disabled *bool `type:"boolean"`
37775}
37776
37777// String returns the string representation
37778func (s Termination) String() string {
37779	return awsutil.Prettify(s)
37780}
37781
37782// GoString returns the string representation
37783func (s Termination) GoString() string {
37784	return s.String()
37785}
37786
37787// Validate inspects the fields of the type to determine if they are valid.
37788func (s *Termination) Validate() error {
37789	invalidParams := request.ErrInvalidParams{Context: "Termination"}
37790	if s.CpsLimit != nil && *s.CpsLimit < 1 {
37791		invalidParams.Add(request.NewErrParamMinValue("CpsLimit", 1))
37792	}
37793
37794	if invalidParams.Len() > 0 {
37795		return invalidParams
37796	}
37797	return nil
37798}
37799
37800// SetCallingRegions sets the CallingRegions field's value.
37801func (s *Termination) SetCallingRegions(v []*string) *Termination {
37802	s.CallingRegions = v
37803	return s
37804}
37805
37806// SetCidrAllowedList sets the CidrAllowedList field's value.
37807func (s *Termination) SetCidrAllowedList(v []*string) *Termination {
37808	s.CidrAllowedList = v
37809	return s
37810}
37811
37812// SetCpsLimit sets the CpsLimit field's value.
37813func (s *Termination) SetCpsLimit(v int64) *Termination {
37814	s.CpsLimit = &v
37815	return s
37816}
37817
37818// SetDefaultPhoneNumber sets the DefaultPhoneNumber field's value.
37819func (s *Termination) SetDefaultPhoneNumber(v string) *Termination {
37820	s.DefaultPhoneNumber = &v
37821	return s
37822}
37823
37824// SetDisabled sets the Disabled field's value.
37825func (s *Termination) SetDisabled(v bool) *Termination {
37826	s.Disabled = &v
37827	return s
37828}
37829
37830// The termination health details, including the source IP address and timestamp
37831// of the last successful SIP OPTIONS message from your SIP infrastructure.
37832type TerminationHealth struct {
37833	_ struct{} `type:"structure"`
37834
37835	// The source IP address.
37836	Source *string `type:"string"`
37837
37838	// The timestamp, in ISO 8601 format.
37839	Timestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
37840}
37841
37842// String returns the string representation
37843func (s TerminationHealth) String() string {
37844	return awsutil.Prettify(s)
37845}
37846
37847// GoString returns the string representation
37848func (s TerminationHealth) GoString() string {
37849	return s.String()
37850}
37851
37852// SetSource sets the Source field's value.
37853func (s *TerminationHealth) SetSource(v string) *TerminationHealth {
37854	s.Source = &v
37855	return s
37856}
37857
37858// SetTimestamp sets the Timestamp field's value.
37859func (s *TerminationHealth) SetTimestamp(v time.Time) *TerminationHealth {
37860	s.Timestamp = &v
37861	return s
37862}
37863
37864// The client exceeded its request rate limit.
37865type ThrottledClientException struct {
37866	_            struct{}                  `type:"structure"`
37867	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
37868
37869	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
37870
37871	Message_ *string `locationName:"Message" type:"string"`
37872}
37873
37874// String returns the string representation
37875func (s ThrottledClientException) String() string {
37876	return awsutil.Prettify(s)
37877}
37878
37879// GoString returns the string representation
37880func (s ThrottledClientException) GoString() string {
37881	return s.String()
37882}
37883
37884func newErrorThrottledClientException(v protocol.ResponseMetadata) error {
37885	return &ThrottledClientException{
37886		RespMetadata: v,
37887	}
37888}
37889
37890// Code returns the exception type name.
37891func (s *ThrottledClientException) Code() string {
37892	return "ThrottledClientException"
37893}
37894
37895// Message returns the exception's message.
37896func (s *ThrottledClientException) Message() string {
37897	if s.Message_ != nil {
37898		return *s.Message_
37899	}
37900	return ""
37901}
37902
37903// OrigErr always returns nil, satisfies awserr.Error interface.
37904func (s *ThrottledClientException) OrigErr() error {
37905	return nil
37906}
37907
37908func (s *ThrottledClientException) Error() string {
37909	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
37910}
37911
37912// Status code returns the HTTP status code for the request's response error.
37913func (s *ThrottledClientException) StatusCode() int {
37914	return s.RespMetadata.StatusCode
37915}
37916
37917// RequestID returns the service's response RequestID for request.
37918func (s *ThrottledClientException) RequestID() string {
37919	return s.RespMetadata.RequestID
37920}
37921
37922// The client is not currently authorized to make the request.
37923type UnauthorizedClientException struct {
37924	_            struct{}                  `type:"structure"`
37925	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
37926
37927	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
37928
37929	Message_ *string `locationName:"Message" type:"string"`
37930}
37931
37932// String returns the string representation
37933func (s UnauthorizedClientException) String() string {
37934	return awsutil.Prettify(s)
37935}
37936
37937// GoString returns the string representation
37938func (s UnauthorizedClientException) GoString() string {
37939	return s.String()
37940}
37941
37942func newErrorUnauthorizedClientException(v protocol.ResponseMetadata) error {
37943	return &UnauthorizedClientException{
37944		RespMetadata: v,
37945	}
37946}
37947
37948// Code returns the exception type name.
37949func (s *UnauthorizedClientException) Code() string {
37950	return "UnauthorizedClientException"
37951}
37952
37953// Message returns the exception's message.
37954func (s *UnauthorizedClientException) Message() string {
37955	if s.Message_ != nil {
37956		return *s.Message_
37957	}
37958	return ""
37959}
37960
37961// OrigErr always returns nil, satisfies awserr.Error interface.
37962func (s *UnauthorizedClientException) OrigErr() error {
37963	return nil
37964}
37965
37966func (s *UnauthorizedClientException) Error() string {
37967	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
37968}
37969
37970// Status code returns the HTTP status code for the request's response error.
37971func (s *UnauthorizedClientException) StatusCode() int {
37972	return s.RespMetadata.StatusCode
37973}
37974
37975// RequestID returns the service's response RequestID for request.
37976func (s *UnauthorizedClientException) RequestID() string {
37977	return s.RespMetadata.RequestID
37978}
37979
37980// The request was well-formed but was unable to be followed due to semantic
37981// errors.
37982type UnprocessableEntityException struct {
37983	_            struct{}                  `type:"structure"`
37984	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
37985
37986	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
37987
37988	Message_ *string `locationName:"Message" type:"string"`
37989}
37990
37991// String returns the string representation
37992func (s UnprocessableEntityException) String() string {
37993	return awsutil.Prettify(s)
37994}
37995
37996// GoString returns the string representation
37997func (s UnprocessableEntityException) GoString() string {
37998	return s.String()
37999}
38000
38001func newErrorUnprocessableEntityException(v protocol.ResponseMetadata) error {
38002	return &UnprocessableEntityException{
38003		RespMetadata: v,
38004	}
38005}
38006
38007// Code returns the exception type name.
38008func (s *UnprocessableEntityException) Code() string {
38009	return "UnprocessableEntityException"
38010}
38011
38012// Message returns the exception's message.
38013func (s *UnprocessableEntityException) Message() string {
38014	if s.Message_ != nil {
38015		return *s.Message_
38016	}
38017	return ""
38018}
38019
38020// OrigErr always returns nil, satisfies awserr.Error interface.
38021func (s *UnprocessableEntityException) OrigErr() error {
38022	return nil
38023}
38024
38025func (s *UnprocessableEntityException) Error() string {
38026	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
38027}
38028
38029// Status code returns the HTTP status code for the request's response error.
38030func (s *UnprocessableEntityException) StatusCode() int {
38031	return s.RespMetadata.StatusCode
38032}
38033
38034// RequestID returns the service's response RequestID for request.
38035func (s *UnprocessableEntityException) RequestID() string {
38036	return s.RespMetadata.RequestID
38037}
38038
38039type UntagAttendeeInput struct {
38040	_ struct{} `type:"structure"`
38041
38042	// The Amazon Chime SDK attendee ID.
38043	//
38044	// AttendeeId is a required field
38045	AttendeeId *string `location:"uri" locationName:"attendeeId" type:"string" required:"true"`
38046
38047	// The Amazon Chime SDK meeting ID.
38048	//
38049	// MeetingId is a required field
38050	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
38051
38052	// The tag keys.
38053	//
38054	// TagKeys is a required field
38055	TagKeys []*string `min:"1" type:"list" required:"true"`
38056}
38057
38058// String returns the string representation
38059func (s UntagAttendeeInput) String() string {
38060	return awsutil.Prettify(s)
38061}
38062
38063// GoString returns the string representation
38064func (s UntagAttendeeInput) GoString() string {
38065	return s.String()
38066}
38067
38068// Validate inspects the fields of the type to determine if they are valid.
38069func (s *UntagAttendeeInput) Validate() error {
38070	invalidParams := request.ErrInvalidParams{Context: "UntagAttendeeInput"}
38071	if s.AttendeeId == nil {
38072		invalidParams.Add(request.NewErrParamRequired("AttendeeId"))
38073	}
38074	if s.AttendeeId != nil && len(*s.AttendeeId) < 1 {
38075		invalidParams.Add(request.NewErrParamMinLen("AttendeeId", 1))
38076	}
38077	if s.MeetingId == nil {
38078		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
38079	}
38080	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
38081		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
38082	}
38083	if s.TagKeys == nil {
38084		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
38085	}
38086	if s.TagKeys != nil && len(s.TagKeys) < 1 {
38087		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
38088	}
38089
38090	if invalidParams.Len() > 0 {
38091		return invalidParams
38092	}
38093	return nil
38094}
38095
38096// SetAttendeeId sets the AttendeeId field's value.
38097func (s *UntagAttendeeInput) SetAttendeeId(v string) *UntagAttendeeInput {
38098	s.AttendeeId = &v
38099	return s
38100}
38101
38102// SetMeetingId sets the MeetingId field's value.
38103func (s *UntagAttendeeInput) SetMeetingId(v string) *UntagAttendeeInput {
38104	s.MeetingId = &v
38105	return s
38106}
38107
38108// SetTagKeys sets the TagKeys field's value.
38109func (s *UntagAttendeeInput) SetTagKeys(v []*string) *UntagAttendeeInput {
38110	s.TagKeys = v
38111	return s
38112}
38113
38114type UntagAttendeeOutput struct {
38115	_ struct{} `type:"structure"`
38116}
38117
38118// String returns the string representation
38119func (s UntagAttendeeOutput) String() string {
38120	return awsutil.Prettify(s)
38121}
38122
38123// GoString returns the string representation
38124func (s UntagAttendeeOutput) GoString() string {
38125	return s.String()
38126}
38127
38128type UntagMeetingInput struct {
38129	_ struct{} `type:"structure"`
38130
38131	// The Amazon Chime SDK meeting ID.
38132	//
38133	// MeetingId is a required field
38134	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
38135
38136	// The tag keys.
38137	//
38138	// TagKeys is a required field
38139	TagKeys []*string `min:"1" type:"list" required:"true"`
38140}
38141
38142// String returns the string representation
38143func (s UntagMeetingInput) String() string {
38144	return awsutil.Prettify(s)
38145}
38146
38147// GoString returns the string representation
38148func (s UntagMeetingInput) GoString() string {
38149	return s.String()
38150}
38151
38152// Validate inspects the fields of the type to determine if they are valid.
38153func (s *UntagMeetingInput) Validate() error {
38154	invalidParams := request.ErrInvalidParams{Context: "UntagMeetingInput"}
38155	if s.MeetingId == nil {
38156		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
38157	}
38158	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
38159		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
38160	}
38161	if s.TagKeys == nil {
38162		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
38163	}
38164	if s.TagKeys != nil && len(s.TagKeys) < 1 {
38165		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
38166	}
38167
38168	if invalidParams.Len() > 0 {
38169		return invalidParams
38170	}
38171	return nil
38172}
38173
38174// SetMeetingId sets the MeetingId field's value.
38175func (s *UntagMeetingInput) SetMeetingId(v string) *UntagMeetingInput {
38176	s.MeetingId = &v
38177	return s
38178}
38179
38180// SetTagKeys sets the TagKeys field's value.
38181func (s *UntagMeetingInput) SetTagKeys(v []*string) *UntagMeetingInput {
38182	s.TagKeys = v
38183	return s
38184}
38185
38186type UntagMeetingOutput struct {
38187	_ struct{} `type:"structure"`
38188}
38189
38190// String returns the string representation
38191func (s UntagMeetingOutput) String() string {
38192	return awsutil.Prettify(s)
38193}
38194
38195// GoString returns the string representation
38196func (s UntagMeetingOutput) GoString() string {
38197	return s.String()
38198}
38199
38200type UntagResourceInput struct {
38201	_ struct{} `type:"structure"`
38202
38203	// The resource ARN.
38204	//
38205	// ResourceARN is a required field
38206	ResourceARN *string `min:"1" type:"string" required:"true" sensitive:"true"`
38207
38208	// The tag keys.
38209	//
38210	// TagKeys is a required field
38211	TagKeys []*string `min:"1" type:"list" required:"true"`
38212}
38213
38214// String returns the string representation
38215func (s UntagResourceInput) String() string {
38216	return awsutil.Prettify(s)
38217}
38218
38219// GoString returns the string representation
38220func (s UntagResourceInput) GoString() string {
38221	return s.String()
38222}
38223
38224// Validate inspects the fields of the type to determine if they are valid.
38225func (s *UntagResourceInput) Validate() error {
38226	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
38227	if s.ResourceARN == nil {
38228		invalidParams.Add(request.NewErrParamRequired("ResourceARN"))
38229	}
38230	if s.ResourceARN != nil && len(*s.ResourceARN) < 1 {
38231		invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1))
38232	}
38233	if s.TagKeys == nil {
38234		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
38235	}
38236	if s.TagKeys != nil && len(s.TagKeys) < 1 {
38237		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
38238	}
38239
38240	if invalidParams.Len() > 0 {
38241		return invalidParams
38242	}
38243	return nil
38244}
38245
38246// SetResourceARN sets the ResourceARN field's value.
38247func (s *UntagResourceInput) SetResourceARN(v string) *UntagResourceInput {
38248	s.ResourceARN = &v
38249	return s
38250}
38251
38252// SetTagKeys sets the TagKeys field's value.
38253func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
38254	s.TagKeys = v
38255	return s
38256}
38257
38258type UntagResourceOutput struct {
38259	_ struct{} `type:"structure"`
38260}
38261
38262// String returns the string representation
38263func (s UntagResourceOutput) String() string {
38264	return awsutil.Prettify(s)
38265}
38266
38267// GoString returns the string representation
38268func (s UntagResourceOutput) GoString() string {
38269	return s.String()
38270}
38271
38272type UpdateAccountInput struct {
38273	_ struct{} `type:"structure"`
38274
38275	// The Amazon Chime account ID.
38276	//
38277	// AccountId is a required field
38278	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
38279
38280	// The default license applied when you add users to an Amazon Chime account.
38281	DefaultLicense *string `type:"string" enum:"License"`
38282
38283	// The new name for the specified Amazon Chime account.
38284	Name *string `min:"1" type:"string"`
38285}
38286
38287// String returns the string representation
38288func (s UpdateAccountInput) String() string {
38289	return awsutil.Prettify(s)
38290}
38291
38292// GoString returns the string representation
38293func (s UpdateAccountInput) GoString() string {
38294	return s.String()
38295}
38296
38297// Validate inspects the fields of the type to determine if they are valid.
38298func (s *UpdateAccountInput) Validate() error {
38299	invalidParams := request.ErrInvalidParams{Context: "UpdateAccountInput"}
38300	if s.AccountId == nil {
38301		invalidParams.Add(request.NewErrParamRequired("AccountId"))
38302	}
38303	if s.AccountId != nil && len(*s.AccountId) < 1 {
38304		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
38305	}
38306	if s.Name != nil && len(*s.Name) < 1 {
38307		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
38308	}
38309
38310	if invalidParams.Len() > 0 {
38311		return invalidParams
38312	}
38313	return nil
38314}
38315
38316// SetAccountId sets the AccountId field's value.
38317func (s *UpdateAccountInput) SetAccountId(v string) *UpdateAccountInput {
38318	s.AccountId = &v
38319	return s
38320}
38321
38322// SetDefaultLicense sets the DefaultLicense field's value.
38323func (s *UpdateAccountInput) SetDefaultLicense(v string) *UpdateAccountInput {
38324	s.DefaultLicense = &v
38325	return s
38326}
38327
38328// SetName sets the Name field's value.
38329func (s *UpdateAccountInput) SetName(v string) *UpdateAccountInput {
38330	s.Name = &v
38331	return s
38332}
38333
38334type UpdateAccountOutput struct {
38335	_ struct{} `type:"structure"`
38336
38337	// The updated Amazon Chime account details.
38338	Account *Account `type:"structure"`
38339}
38340
38341// String returns the string representation
38342func (s UpdateAccountOutput) String() string {
38343	return awsutil.Prettify(s)
38344}
38345
38346// GoString returns the string representation
38347func (s UpdateAccountOutput) GoString() string {
38348	return s.String()
38349}
38350
38351// SetAccount sets the Account field's value.
38352func (s *UpdateAccountOutput) SetAccount(v *Account) *UpdateAccountOutput {
38353	s.Account = v
38354	return s
38355}
38356
38357type UpdateAccountSettingsInput struct {
38358	_ struct{} `type:"structure"`
38359
38360	// The Amazon Chime account ID.
38361	//
38362	// AccountId is a required field
38363	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
38364
38365	// The Amazon Chime account settings to update.
38366	//
38367	// AccountSettings is a required field
38368	AccountSettings *AccountSettings `type:"structure" required:"true"`
38369}
38370
38371// String returns the string representation
38372func (s UpdateAccountSettingsInput) String() string {
38373	return awsutil.Prettify(s)
38374}
38375
38376// GoString returns the string representation
38377func (s UpdateAccountSettingsInput) GoString() string {
38378	return s.String()
38379}
38380
38381// Validate inspects the fields of the type to determine if they are valid.
38382func (s *UpdateAccountSettingsInput) Validate() error {
38383	invalidParams := request.ErrInvalidParams{Context: "UpdateAccountSettingsInput"}
38384	if s.AccountId == nil {
38385		invalidParams.Add(request.NewErrParamRequired("AccountId"))
38386	}
38387	if s.AccountId != nil && len(*s.AccountId) < 1 {
38388		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
38389	}
38390	if s.AccountSettings == nil {
38391		invalidParams.Add(request.NewErrParamRequired("AccountSettings"))
38392	}
38393
38394	if invalidParams.Len() > 0 {
38395		return invalidParams
38396	}
38397	return nil
38398}
38399
38400// SetAccountId sets the AccountId field's value.
38401func (s *UpdateAccountSettingsInput) SetAccountId(v string) *UpdateAccountSettingsInput {
38402	s.AccountId = &v
38403	return s
38404}
38405
38406// SetAccountSettings sets the AccountSettings field's value.
38407func (s *UpdateAccountSettingsInput) SetAccountSettings(v *AccountSettings) *UpdateAccountSettingsInput {
38408	s.AccountSettings = v
38409	return s
38410}
38411
38412type UpdateAccountSettingsOutput struct {
38413	_ struct{} `type:"structure"`
38414}
38415
38416// String returns the string representation
38417func (s UpdateAccountSettingsOutput) String() string {
38418	return awsutil.Prettify(s)
38419}
38420
38421// GoString returns the string representation
38422func (s UpdateAccountSettingsOutput) GoString() string {
38423	return s.String()
38424}
38425
38426type UpdateAppInstanceInput struct {
38427	_ struct{} `type:"structure"`
38428
38429	// The ARN of the AppInstance.
38430	//
38431	// AppInstanceArn is a required field
38432	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
38433
38434	// The metadata that you want to change.
38435	Metadata *string `type:"string" sensitive:"true"`
38436
38437	// The name that you want to change.
38438	//
38439	// Name is a required field
38440	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
38441}
38442
38443// String returns the string representation
38444func (s UpdateAppInstanceInput) String() string {
38445	return awsutil.Prettify(s)
38446}
38447
38448// GoString returns the string representation
38449func (s UpdateAppInstanceInput) GoString() string {
38450	return s.String()
38451}
38452
38453// Validate inspects the fields of the type to determine if they are valid.
38454func (s *UpdateAppInstanceInput) Validate() error {
38455	invalidParams := request.ErrInvalidParams{Context: "UpdateAppInstanceInput"}
38456	if s.AppInstanceArn == nil {
38457		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
38458	}
38459	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
38460		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
38461	}
38462	if s.Name == nil {
38463		invalidParams.Add(request.NewErrParamRequired("Name"))
38464	}
38465	if s.Name != nil && len(*s.Name) < 1 {
38466		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
38467	}
38468
38469	if invalidParams.Len() > 0 {
38470		return invalidParams
38471	}
38472	return nil
38473}
38474
38475// SetAppInstanceArn sets the AppInstanceArn field's value.
38476func (s *UpdateAppInstanceInput) SetAppInstanceArn(v string) *UpdateAppInstanceInput {
38477	s.AppInstanceArn = &v
38478	return s
38479}
38480
38481// SetMetadata sets the Metadata field's value.
38482func (s *UpdateAppInstanceInput) SetMetadata(v string) *UpdateAppInstanceInput {
38483	s.Metadata = &v
38484	return s
38485}
38486
38487// SetName sets the Name field's value.
38488func (s *UpdateAppInstanceInput) SetName(v string) *UpdateAppInstanceInput {
38489	s.Name = &v
38490	return s
38491}
38492
38493type UpdateAppInstanceOutput struct {
38494	_ struct{} `type:"structure"`
38495
38496	// The ARN of the AppInstance.
38497	AppInstanceArn *string `min:"5" type:"string"`
38498}
38499
38500// String returns the string representation
38501func (s UpdateAppInstanceOutput) String() string {
38502	return awsutil.Prettify(s)
38503}
38504
38505// GoString returns the string representation
38506func (s UpdateAppInstanceOutput) GoString() string {
38507	return s.String()
38508}
38509
38510// SetAppInstanceArn sets the AppInstanceArn field's value.
38511func (s *UpdateAppInstanceOutput) SetAppInstanceArn(v string) *UpdateAppInstanceOutput {
38512	s.AppInstanceArn = &v
38513	return s
38514}
38515
38516type UpdateAppInstanceUserInput struct {
38517	_ struct{} `type:"structure"`
38518
38519	// The ARN of the AppInstanceUser.
38520	//
38521	// AppInstanceUserArn is a required field
38522	AppInstanceUserArn *string `location:"uri" locationName:"appInstanceUserArn" min:"5" type:"string" required:"true"`
38523
38524	// The metadata of the AppInstanceUser.
38525	Metadata *string `type:"string" sensitive:"true"`
38526
38527	// The name of the AppInstanceUser.
38528	//
38529	// Name is a required field
38530	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
38531}
38532
38533// String returns the string representation
38534func (s UpdateAppInstanceUserInput) String() string {
38535	return awsutil.Prettify(s)
38536}
38537
38538// GoString returns the string representation
38539func (s UpdateAppInstanceUserInput) GoString() string {
38540	return s.String()
38541}
38542
38543// Validate inspects the fields of the type to determine if they are valid.
38544func (s *UpdateAppInstanceUserInput) Validate() error {
38545	invalidParams := request.ErrInvalidParams{Context: "UpdateAppInstanceUserInput"}
38546	if s.AppInstanceUserArn == nil {
38547		invalidParams.Add(request.NewErrParamRequired("AppInstanceUserArn"))
38548	}
38549	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
38550		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
38551	}
38552	if s.Name == nil {
38553		invalidParams.Add(request.NewErrParamRequired("Name"))
38554	}
38555	if s.Name != nil && len(*s.Name) < 1 {
38556		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
38557	}
38558
38559	if invalidParams.Len() > 0 {
38560		return invalidParams
38561	}
38562	return nil
38563}
38564
38565// SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
38566func (s *UpdateAppInstanceUserInput) SetAppInstanceUserArn(v string) *UpdateAppInstanceUserInput {
38567	s.AppInstanceUserArn = &v
38568	return s
38569}
38570
38571// SetMetadata sets the Metadata field's value.
38572func (s *UpdateAppInstanceUserInput) SetMetadata(v string) *UpdateAppInstanceUserInput {
38573	s.Metadata = &v
38574	return s
38575}
38576
38577// SetName sets the Name field's value.
38578func (s *UpdateAppInstanceUserInput) SetName(v string) *UpdateAppInstanceUserInput {
38579	s.Name = &v
38580	return s
38581}
38582
38583type UpdateAppInstanceUserOutput struct {
38584	_ struct{} `type:"structure"`
38585
38586	// The ARN of the AppInstanceUser.
38587	AppInstanceUserArn *string `min:"5" type:"string"`
38588}
38589
38590// String returns the string representation
38591func (s UpdateAppInstanceUserOutput) String() string {
38592	return awsutil.Prettify(s)
38593}
38594
38595// GoString returns the string representation
38596func (s UpdateAppInstanceUserOutput) GoString() string {
38597	return s.String()
38598}
38599
38600// SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
38601func (s *UpdateAppInstanceUserOutput) SetAppInstanceUserArn(v string) *UpdateAppInstanceUserOutput {
38602	s.AppInstanceUserArn = &v
38603	return s
38604}
38605
38606type UpdateBotInput struct {
38607	_ struct{} `type:"structure"`
38608
38609	// The Amazon Chime account ID.
38610	//
38611	// AccountId is a required field
38612	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
38613
38614	// The bot ID.
38615	//
38616	// BotId is a required field
38617	BotId *string `location:"uri" locationName:"botId" type:"string" required:"true"`
38618
38619	// When true, stops the specified bot from running in your account.
38620	Disabled *bool `type:"boolean"`
38621}
38622
38623// String returns the string representation
38624func (s UpdateBotInput) String() string {
38625	return awsutil.Prettify(s)
38626}
38627
38628// GoString returns the string representation
38629func (s UpdateBotInput) GoString() string {
38630	return s.String()
38631}
38632
38633// Validate inspects the fields of the type to determine if they are valid.
38634func (s *UpdateBotInput) Validate() error {
38635	invalidParams := request.ErrInvalidParams{Context: "UpdateBotInput"}
38636	if s.AccountId == nil {
38637		invalidParams.Add(request.NewErrParamRequired("AccountId"))
38638	}
38639	if s.AccountId != nil && len(*s.AccountId) < 1 {
38640		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
38641	}
38642	if s.BotId == nil {
38643		invalidParams.Add(request.NewErrParamRequired("BotId"))
38644	}
38645	if s.BotId != nil && len(*s.BotId) < 1 {
38646		invalidParams.Add(request.NewErrParamMinLen("BotId", 1))
38647	}
38648
38649	if invalidParams.Len() > 0 {
38650		return invalidParams
38651	}
38652	return nil
38653}
38654
38655// SetAccountId sets the AccountId field's value.
38656func (s *UpdateBotInput) SetAccountId(v string) *UpdateBotInput {
38657	s.AccountId = &v
38658	return s
38659}
38660
38661// SetBotId sets the BotId field's value.
38662func (s *UpdateBotInput) SetBotId(v string) *UpdateBotInput {
38663	s.BotId = &v
38664	return s
38665}
38666
38667// SetDisabled sets the Disabled field's value.
38668func (s *UpdateBotInput) SetDisabled(v bool) *UpdateBotInput {
38669	s.Disabled = &v
38670	return s
38671}
38672
38673type UpdateBotOutput struct {
38674	_ struct{} `type:"structure"`
38675
38676	// The updated bot details.
38677	Bot *Bot `type:"structure"`
38678}
38679
38680// String returns the string representation
38681func (s UpdateBotOutput) String() string {
38682	return awsutil.Prettify(s)
38683}
38684
38685// GoString returns the string representation
38686func (s UpdateBotOutput) GoString() string {
38687	return s.String()
38688}
38689
38690// SetBot sets the Bot field's value.
38691func (s *UpdateBotOutput) SetBot(v *Bot) *UpdateBotOutput {
38692	s.Bot = v
38693	return s
38694}
38695
38696type UpdateChannelInput struct {
38697	_ struct{} `type:"structure"`
38698
38699	// The ARN of the channel.
38700	//
38701	// ChannelArn is a required field
38702	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
38703
38704	// The AppInstanceUserArn of the user that makes the API call.
38705	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
38706
38707	// The metadata for the update request.
38708	Metadata *string `type:"string" sensitive:"true"`
38709
38710	// The mode of the update request.
38711	//
38712	// Mode is a required field
38713	Mode *string `type:"string" required:"true" enum:"ChannelMode"`
38714
38715	// The name of the channel.
38716	//
38717	// Name is a required field
38718	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
38719}
38720
38721// String returns the string representation
38722func (s UpdateChannelInput) String() string {
38723	return awsutil.Prettify(s)
38724}
38725
38726// GoString returns the string representation
38727func (s UpdateChannelInput) GoString() string {
38728	return s.String()
38729}
38730
38731// Validate inspects the fields of the type to determine if they are valid.
38732func (s *UpdateChannelInput) Validate() error {
38733	invalidParams := request.ErrInvalidParams{Context: "UpdateChannelInput"}
38734	if s.ChannelArn == nil {
38735		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
38736	}
38737	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
38738		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
38739	}
38740	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
38741		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
38742	}
38743	if s.Mode == nil {
38744		invalidParams.Add(request.NewErrParamRequired("Mode"))
38745	}
38746	if s.Name == nil {
38747		invalidParams.Add(request.NewErrParamRequired("Name"))
38748	}
38749	if s.Name != nil && len(*s.Name) < 1 {
38750		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
38751	}
38752
38753	if invalidParams.Len() > 0 {
38754		return invalidParams
38755	}
38756	return nil
38757}
38758
38759// SetChannelArn sets the ChannelArn field's value.
38760func (s *UpdateChannelInput) SetChannelArn(v string) *UpdateChannelInput {
38761	s.ChannelArn = &v
38762	return s
38763}
38764
38765// SetChimeBearer sets the ChimeBearer field's value.
38766func (s *UpdateChannelInput) SetChimeBearer(v string) *UpdateChannelInput {
38767	s.ChimeBearer = &v
38768	return s
38769}
38770
38771// SetMetadata sets the Metadata field's value.
38772func (s *UpdateChannelInput) SetMetadata(v string) *UpdateChannelInput {
38773	s.Metadata = &v
38774	return s
38775}
38776
38777// SetMode sets the Mode field's value.
38778func (s *UpdateChannelInput) SetMode(v string) *UpdateChannelInput {
38779	s.Mode = &v
38780	return s
38781}
38782
38783// SetName sets the Name field's value.
38784func (s *UpdateChannelInput) SetName(v string) *UpdateChannelInput {
38785	s.Name = &v
38786	return s
38787}
38788
38789type UpdateChannelMessageInput struct {
38790	_ struct{} `type:"structure"`
38791
38792	// The ARN of the channel.
38793	//
38794	// ChannelArn is a required field
38795	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
38796
38797	// The AppInstanceUserArn of the user that makes the API call.
38798	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
38799
38800	// The content of the message being updated.
38801	Content *string `type:"string" sensitive:"true"`
38802
38803	// The ID string of the message being updated.
38804	//
38805	// MessageId is a required field
38806	MessageId *string `location:"uri" locationName:"messageId" min:"1" type:"string" required:"true"`
38807
38808	// The metadata of the message being updated.
38809	Metadata *string `type:"string" sensitive:"true"`
38810}
38811
38812// String returns the string representation
38813func (s UpdateChannelMessageInput) String() string {
38814	return awsutil.Prettify(s)
38815}
38816
38817// GoString returns the string representation
38818func (s UpdateChannelMessageInput) GoString() string {
38819	return s.String()
38820}
38821
38822// Validate inspects the fields of the type to determine if they are valid.
38823func (s *UpdateChannelMessageInput) Validate() error {
38824	invalidParams := request.ErrInvalidParams{Context: "UpdateChannelMessageInput"}
38825	if s.ChannelArn == nil {
38826		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
38827	}
38828	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
38829		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
38830	}
38831	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
38832		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
38833	}
38834	if s.MessageId == nil {
38835		invalidParams.Add(request.NewErrParamRequired("MessageId"))
38836	}
38837	if s.MessageId != nil && len(*s.MessageId) < 1 {
38838		invalidParams.Add(request.NewErrParamMinLen("MessageId", 1))
38839	}
38840
38841	if invalidParams.Len() > 0 {
38842		return invalidParams
38843	}
38844	return nil
38845}
38846
38847// SetChannelArn sets the ChannelArn field's value.
38848func (s *UpdateChannelMessageInput) SetChannelArn(v string) *UpdateChannelMessageInput {
38849	s.ChannelArn = &v
38850	return s
38851}
38852
38853// SetChimeBearer sets the ChimeBearer field's value.
38854func (s *UpdateChannelMessageInput) SetChimeBearer(v string) *UpdateChannelMessageInput {
38855	s.ChimeBearer = &v
38856	return s
38857}
38858
38859// SetContent sets the Content field's value.
38860func (s *UpdateChannelMessageInput) SetContent(v string) *UpdateChannelMessageInput {
38861	s.Content = &v
38862	return s
38863}
38864
38865// SetMessageId sets the MessageId field's value.
38866func (s *UpdateChannelMessageInput) SetMessageId(v string) *UpdateChannelMessageInput {
38867	s.MessageId = &v
38868	return s
38869}
38870
38871// SetMetadata sets the Metadata field's value.
38872func (s *UpdateChannelMessageInput) SetMetadata(v string) *UpdateChannelMessageInput {
38873	s.Metadata = &v
38874	return s
38875}
38876
38877type UpdateChannelMessageOutput struct {
38878	_ struct{} `type:"structure"`
38879
38880	// The ARN of the channel.
38881	ChannelArn *string `min:"5" type:"string"`
38882
38883	// The ID string of the message being updated.
38884	MessageId *string `min:"1" type:"string"`
38885}
38886
38887// String returns the string representation
38888func (s UpdateChannelMessageOutput) String() string {
38889	return awsutil.Prettify(s)
38890}
38891
38892// GoString returns the string representation
38893func (s UpdateChannelMessageOutput) GoString() string {
38894	return s.String()
38895}
38896
38897// SetChannelArn sets the ChannelArn field's value.
38898func (s *UpdateChannelMessageOutput) SetChannelArn(v string) *UpdateChannelMessageOutput {
38899	s.ChannelArn = &v
38900	return s
38901}
38902
38903// SetMessageId sets the MessageId field's value.
38904func (s *UpdateChannelMessageOutput) SetMessageId(v string) *UpdateChannelMessageOutput {
38905	s.MessageId = &v
38906	return s
38907}
38908
38909type UpdateChannelOutput struct {
38910	_ struct{} `type:"structure"`
38911
38912	// The ARN of the channel.
38913	ChannelArn *string `min:"5" type:"string"`
38914}
38915
38916// String returns the string representation
38917func (s UpdateChannelOutput) String() string {
38918	return awsutil.Prettify(s)
38919}
38920
38921// GoString returns the string representation
38922func (s UpdateChannelOutput) GoString() string {
38923	return s.String()
38924}
38925
38926// SetChannelArn sets the ChannelArn field's value.
38927func (s *UpdateChannelOutput) SetChannelArn(v string) *UpdateChannelOutput {
38928	s.ChannelArn = &v
38929	return s
38930}
38931
38932type UpdateChannelReadMarkerInput struct {
38933	_ struct{} `type:"structure"`
38934
38935	// The ARN of the channel.
38936	//
38937	// ChannelArn is a required field
38938	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
38939
38940	// The AppInstanceUserArn of the user that makes the API call.
38941	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
38942}
38943
38944// String returns the string representation
38945func (s UpdateChannelReadMarkerInput) String() string {
38946	return awsutil.Prettify(s)
38947}
38948
38949// GoString returns the string representation
38950func (s UpdateChannelReadMarkerInput) GoString() string {
38951	return s.String()
38952}
38953
38954// Validate inspects the fields of the type to determine if they are valid.
38955func (s *UpdateChannelReadMarkerInput) Validate() error {
38956	invalidParams := request.ErrInvalidParams{Context: "UpdateChannelReadMarkerInput"}
38957	if s.ChannelArn == nil {
38958		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
38959	}
38960	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
38961		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
38962	}
38963	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
38964		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
38965	}
38966
38967	if invalidParams.Len() > 0 {
38968		return invalidParams
38969	}
38970	return nil
38971}
38972
38973// SetChannelArn sets the ChannelArn field's value.
38974func (s *UpdateChannelReadMarkerInput) SetChannelArn(v string) *UpdateChannelReadMarkerInput {
38975	s.ChannelArn = &v
38976	return s
38977}
38978
38979// SetChimeBearer sets the ChimeBearer field's value.
38980func (s *UpdateChannelReadMarkerInput) SetChimeBearer(v string) *UpdateChannelReadMarkerInput {
38981	s.ChimeBearer = &v
38982	return s
38983}
38984
38985type UpdateChannelReadMarkerOutput struct {
38986	_ struct{} `type:"structure"`
38987
38988	// The ARN of the channel.
38989	ChannelArn *string `min:"5" type:"string"`
38990}
38991
38992// String returns the string representation
38993func (s UpdateChannelReadMarkerOutput) String() string {
38994	return awsutil.Prettify(s)
38995}
38996
38997// GoString returns the string representation
38998func (s UpdateChannelReadMarkerOutput) GoString() string {
38999	return s.String()
39000}
39001
39002// SetChannelArn sets the ChannelArn field's value.
39003func (s *UpdateChannelReadMarkerOutput) SetChannelArn(v string) *UpdateChannelReadMarkerOutput {
39004	s.ChannelArn = &v
39005	return s
39006}
39007
39008type UpdateGlobalSettingsInput struct {
39009	_ struct{} `type:"structure"`
39010
39011	// The Amazon Chime Business Calling settings.
39012	//
39013	// BusinessCalling is a required field
39014	BusinessCalling *BusinessCallingSettings `type:"structure" required:"true"`
39015
39016	// The Amazon Chime Voice Connector settings.
39017	//
39018	// VoiceConnector is a required field
39019	VoiceConnector *VoiceConnectorSettings `type:"structure" required:"true"`
39020}
39021
39022// String returns the string representation
39023func (s UpdateGlobalSettingsInput) String() string {
39024	return awsutil.Prettify(s)
39025}
39026
39027// GoString returns the string representation
39028func (s UpdateGlobalSettingsInput) GoString() string {
39029	return s.String()
39030}
39031
39032// Validate inspects the fields of the type to determine if they are valid.
39033func (s *UpdateGlobalSettingsInput) Validate() error {
39034	invalidParams := request.ErrInvalidParams{Context: "UpdateGlobalSettingsInput"}
39035	if s.BusinessCalling == nil {
39036		invalidParams.Add(request.NewErrParamRequired("BusinessCalling"))
39037	}
39038	if s.VoiceConnector == nil {
39039		invalidParams.Add(request.NewErrParamRequired("VoiceConnector"))
39040	}
39041
39042	if invalidParams.Len() > 0 {
39043		return invalidParams
39044	}
39045	return nil
39046}
39047
39048// SetBusinessCalling sets the BusinessCalling field's value.
39049func (s *UpdateGlobalSettingsInput) SetBusinessCalling(v *BusinessCallingSettings) *UpdateGlobalSettingsInput {
39050	s.BusinessCalling = v
39051	return s
39052}
39053
39054// SetVoiceConnector sets the VoiceConnector field's value.
39055func (s *UpdateGlobalSettingsInput) SetVoiceConnector(v *VoiceConnectorSettings) *UpdateGlobalSettingsInput {
39056	s.VoiceConnector = v
39057	return s
39058}
39059
39060type UpdateGlobalSettingsOutput struct {
39061	_ struct{} `type:"structure"`
39062}
39063
39064// String returns the string representation
39065func (s UpdateGlobalSettingsOutput) String() string {
39066	return awsutil.Prettify(s)
39067}
39068
39069// GoString returns the string representation
39070func (s UpdateGlobalSettingsOutput) GoString() string {
39071	return s.String()
39072}
39073
39074type UpdatePhoneNumberInput struct {
39075	_ struct{} `type:"structure"`
39076
39077	// The outbound calling name associated with the phone number.
39078	CallingName *string `type:"string" sensitive:"true"`
39079
39080	// The phone number ID.
39081	//
39082	// PhoneNumberId is a required field
39083	PhoneNumberId *string `location:"uri" locationName:"phoneNumberId" type:"string" required:"true"`
39084
39085	// The product type.
39086	ProductType *string `type:"string" enum:"PhoneNumberProductType"`
39087}
39088
39089// String returns the string representation
39090func (s UpdatePhoneNumberInput) String() string {
39091	return awsutil.Prettify(s)
39092}
39093
39094// GoString returns the string representation
39095func (s UpdatePhoneNumberInput) GoString() string {
39096	return s.String()
39097}
39098
39099// Validate inspects the fields of the type to determine if they are valid.
39100func (s *UpdatePhoneNumberInput) Validate() error {
39101	invalidParams := request.ErrInvalidParams{Context: "UpdatePhoneNumberInput"}
39102	if s.PhoneNumberId == nil {
39103		invalidParams.Add(request.NewErrParamRequired("PhoneNumberId"))
39104	}
39105	if s.PhoneNumberId != nil && len(*s.PhoneNumberId) < 1 {
39106		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberId", 1))
39107	}
39108
39109	if invalidParams.Len() > 0 {
39110		return invalidParams
39111	}
39112	return nil
39113}
39114
39115// SetCallingName sets the CallingName field's value.
39116func (s *UpdatePhoneNumberInput) SetCallingName(v string) *UpdatePhoneNumberInput {
39117	s.CallingName = &v
39118	return s
39119}
39120
39121// SetPhoneNumberId sets the PhoneNumberId field's value.
39122func (s *UpdatePhoneNumberInput) SetPhoneNumberId(v string) *UpdatePhoneNumberInput {
39123	s.PhoneNumberId = &v
39124	return s
39125}
39126
39127// SetProductType sets the ProductType field's value.
39128func (s *UpdatePhoneNumberInput) SetProductType(v string) *UpdatePhoneNumberInput {
39129	s.ProductType = &v
39130	return s
39131}
39132
39133type UpdatePhoneNumberOutput struct {
39134	_ struct{} `type:"structure"`
39135
39136	// The updated phone number details.
39137	PhoneNumber *PhoneNumber `type:"structure"`
39138}
39139
39140// String returns the string representation
39141func (s UpdatePhoneNumberOutput) String() string {
39142	return awsutil.Prettify(s)
39143}
39144
39145// GoString returns the string representation
39146func (s UpdatePhoneNumberOutput) GoString() string {
39147	return s.String()
39148}
39149
39150// SetPhoneNumber sets the PhoneNumber field's value.
39151func (s *UpdatePhoneNumberOutput) SetPhoneNumber(v *PhoneNumber) *UpdatePhoneNumberOutput {
39152	s.PhoneNumber = v
39153	return s
39154}
39155
39156// The phone number ID, product type, or calling name fields to update, used
39157// with the BatchUpdatePhoneNumber and UpdatePhoneNumber actions.
39158type UpdatePhoneNumberRequestItem struct {
39159	_ struct{} `type:"structure"`
39160
39161	// The outbound calling name to update.
39162	CallingName *string `type:"string" sensitive:"true"`
39163
39164	// The phone number ID to update.
39165	//
39166	// PhoneNumberId is a required field
39167	PhoneNumberId *string `type:"string" required:"true"`
39168
39169	// The product type to update.
39170	ProductType *string `type:"string" enum:"PhoneNumberProductType"`
39171}
39172
39173// String returns the string representation
39174func (s UpdatePhoneNumberRequestItem) String() string {
39175	return awsutil.Prettify(s)
39176}
39177
39178// GoString returns the string representation
39179func (s UpdatePhoneNumberRequestItem) GoString() string {
39180	return s.String()
39181}
39182
39183// Validate inspects the fields of the type to determine if they are valid.
39184func (s *UpdatePhoneNumberRequestItem) Validate() error {
39185	invalidParams := request.ErrInvalidParams{Context: "UpdatePhoneNumberRequestItem"}
39186	if s.PhoneNumberId == nil {
39187		invalidParams.Add(request.NewErrParamRequired("PhoneNumberId"))
39188	}
39189
39190	if invalidParams.Len() > 0 {
39191		return invalidParams
39192	}
39193	return nil
39194}
39195
39196// SetCallingName sets the CallingName field's value.
39197func (s *UpdatePhoneNumberRequestItem) SetCallingName(v string) *UpdatePhoneNumberRequestItem {
39198	s.CallingName = &v
39199	return s
39200}
39201
39202// SetPhoneNumberId sets the PhoneNumberId field's value.
39203func (s *UpdatePhoneNumberRequestItem) SetPhoneNumberId(v string) *UpdatePhoneNumberRequestItem {
39204	s.PhoneNumberId = &v
39205	return s
39206}
39207
39208// SetProductType sets the ProductType field's value.
39209func (s *UpdatePhoneNumberRequestItem) SetProductType(v string) *UpdatePhoneNumberRequestItem {
39210	s.ProductType = &v
39211	return s
39212}
39213
39214type UpdatePhoneNumberSettingsInput struct {
39215	_ struct{} `type:"structure"`
39216
39217	// The default outbound calling name for the account.
39218	//
39219	// CallingName is a required field
39220	CallingName *string `type:"string" required:"true" sensitive:"true"`
39221}
39222
39223// String returns the string representation
39224func (s UpdatePhoneNumberSettingsInput) String() string {
39225	return awsutil.Prettify(s)
39226}
39227
39228// GoString returns the string representation
39229func (s UpdatePhoneNumberSettingsInput) GoString() string {
39230	return s.String()
39231}
39232
39233// Validate inspects the fields of the type to determine if they are valid.
39234func (s *UpdatePhoneNumberSettingsInput) Validate() error {
39235	invalidParams := request.ErrInvalidParams{Context: "UpdatePhoneNumberSettingsInput"}
39236	if s.CallingName == nil {
39237		invalidParams.Add(request.NewErrParamRequired("CallingName"))
39238	}
39239
39240	if invalidParams.Len() > 0 {
39241		return invalidParams
39242	}
39243	return nil
39244}
39245
39246// SetCallingName sets the CallingName field's value.
39247func (s *UpdatePhoneNumberSettingsInput) SetCallingName(v string) *UpdatePhoneNumberSettingsInput {
39248	s.CallingName = &v
39249	return s
39250}
39251
39252type UpdatePhoneNumberSettingsOutput struct {
39253	_ struct{} `type:"structure"`
39254}
39255
39256// String returns the string representation
39257func (s UpdatePhoneNumberSettingsOutput) String() string {
39258	return awsutil.Prettify(s)
39259}
39260
39261// GoString returns the string representation
39262func (s UpdatePhoneNumberSettingsOutput) GoString() string {
39263	return s.String()
39264}
39265
39266type UpdateProxySessionInput struct {
39267	_ struct{} `type:"structure"`
39268
39269	// The proxy session capabilities.
39270	//
39271	// Capabilities is a required field
39272	Capabilities []*string `type:"list" required:"true"`
39273
39274	// The number of minutes allowed for the proxy session.
39275	ExpiryMinutes *int64 `min:"1" type:"integer"`
39276
39277	// The proxy session ID.
39278	//
39279	// ProxySessionId is a required field
39280	ProxySessionId *string `location:"uri" locationName:"proxySessionId" min:"1" type:"string" required:"true"`
39281
39282	// The Amazon Chime voice connector ID.
39283	//
39284	// VoiceConnectorId is a required field
39285	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
39286}
39287
39288// String returns the string representation
39289func (s UpdateProxySessionInput) String() string {
39290	return awsutil.Prettify(s)
39291}
39292
39293// GoString returns the string representation
39294func (s UpdateProxySessionInput) GoString() string {
39295	return s.String()
39296}
39297
39298// Validate inspects the fields of the type to determine if they are valid.
39299func (s *UpdateProxySessionInput) Validate() error {
39300	invalidParams := request.ErrInvalidParams{Context: "UpdateProxySessionInput"}
39301	if s.Capabilities == nil {
39302		invalidParams.Add(request.NewErrParamRequired("Capabilities"))
39303	}
39304	if s.ExpiryMinutes != nil && *s.ExpiryMinutes < 1 {
39305		invalidParams.Add(request.NewErrParamMinValue("ExpiryMinutes", 1))
39306	}
39307	if s.ProxySessionId == nil {
39308		invalidParams.Add(request.NewErrParamRequired("ProxySessionId"))
39309	}
39310	if s.ProxySessionId != nil && len(*s.ProxySessionId) < 1 {
39311		invalidParams.Add(request.NewErrParamMinLen("ProxySessionId", 1))
39312	}
39313	if s.VoiceConnectorId == nil {
39314		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
39315	}
39316	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
39317		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
39318	}
39319
39320	if invalidParams.Len() > 0 {
39321		return invalidParams
39322	}
39323	return nil
39324}
39325
39326// SetCapabilities sets the Capabilities field's value.
39327func (s *UpdateProxySessionInput) SetCapabilities(v []*string) *UpdateProxySessionInput {
39328	s.Capabilities = v
39329	return s
39330}
39331
39332// SetExpiryMinutes sets the ExpiryMinutes field's value.
39333func (s *UpdateProxySessionInput) SetExpiryMinutes(v int64) *UpdateProxySessionInput {
39334	s.ExpiryMinutes = &v
39335	return s
39336}
39337
39338// SetProxySessionId sets the ProxySessionId field's value.
39339func (s *UpdateProxySessionInput) SetProxySessionId(v string) *UpdateProxySessionInput {
39340	s.ProxySessionId = &v
39341	return s
39342}
39343
39344// SetVoiceConnectorId sets the VoiceConnectorId field's value.
39345func (s *UpdateProxySessionInput) SetVoiceConnectorId(v string) *UpdateProxySessionInput {
39346	s.VoiceConnectorId = &v
39347	return s
39348}
39349
39350type UpdateProxySessionOutput struct {
39351	_ struct{} `type:"structure"`
39352
39353	// The proxy session details.
39354	ProxySession *ProxySession `type:"structure"`
39355}
39356
39357// String returns the string representation
39358func (s UpdateProxySessionOutput) String() string {
39359	return awsutil.Prettify(s)
39360}
39361
39362// GoString returns the string representation
39363func (s UpdateProxySessionOutput) GoString() string {
39364	return s.String()
39365}
39366
39367// SetProxySession sets the ProxySession field's value.
39368func (s *UpdateProxySessionOutput) SetProxySession(v *ProxySession) *UpdateProxySessionOutput {
39369	s.ProxySession = v
39370	return s
39371}
39372
39373type UpdateRoomInput struct {
39374	_ struct{} `type:"structure"`
39375
39376	// The Amazon Chime account ID.
39377	//
39378	// AccountId is a required field
39379	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
39380
39381	// The room name.
39382	Name *string `type:"string" sensitive:"true"`
39383
39384	// The room ID.
39385	//
39386	// RoomId is a required field
39387	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
39388}
39389
39390// String returns the string representation
39391func (s UpdateRoomInput) String() string {
39392	return awsutil.Prettify(s)
39393}
39394
39395// GoString returns the string representation
39396func (s UpdateRoomInput) GoString() string {
39397	return s.String()
39398}
39399
39400// Validate inspects the fields of the type to determine if they are valid.
39401func (s *UpdateRoomInput) Validate() error {
39402	invalidParams := request.ErrInvalidParams{Context: "UpdateRoomInput"}
39403	if s.AccountId == nil {
39404		invalidParams.Add(request.NewErrParamRequired("AccountId"))
39405	}
39406	if s.AccountId != nil && len(*s.AccountId) < 1 {
39407		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
39408	}
39409	if s.RoomId == nil {
39410		invalidParams.Add(request.NewErrParamRequired("RoomId"))
39411	}
39412	if s.RoomId != nil && len(*s.RoomId) < 1 {
39413		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
39414	}
39415
39416	if invalidParams.Len() > 0 {
39417		return invalidParams
39418	}
39419	return nil
39420}
39421
39422// SetAccountId sets the AccountId field's value.
39423func (s *UpdateRoomInput) SetAccountId(v string) *UpdateRoomInput {
39424	s.AccountId = &v
39425	return s
39426}
39427
39428// SetName sets the Name field's value.
39429func (s *UpdateRoomInput) SetName(v string) *UpdateRoomInput {
39430	s.Name = &v
39431	return s
39432}
39433
39434// SetRoomId sets the RoomId field's value.
39435func (s *UpdateRoomInput) SetRoomId(v string) *UpdateRoomInput {
39436	s.RoomId = &v
39437	return s
39438}
39439
39440type UpdateRoomMembershipInput struct {
39441	_ struct{} `type:"structure"`
39442
39443	// The Amazon Chime account ID.
39444	//
39445	// AccountId is a required field
39446	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
39447
39448	// The member ID.
39449	//
39450	// MemberId is a required field
39451	MemberId *string `location:"uri" locationName:"memberId" type:"string" required:"true"`
39452
39453	// The role of the member.
39454	Role *string `type:"string" enum:"RoomMembershipRole"`
39455
39456	// The room ID.
39457	//
39458	// RoomId is a required field
39459	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
39460}
39461
39462// String returns the string representation
39463func (s UpdateRoomMembershipInput) String() string {
39464	return awsutil.Prettify(s)
39465}
39466
39467// GoString returns the string representation
39468func (s UpdateRoomMembershipInput) GoString() string {
39469	return s.String()
39470}
39471
39472// Validate inspects the fields of the type to determine if they are valid.
39473func (s *UpdateRoomMembershipInput) Validate() error {
39474	invalidParams := request.ErrInvalidParams{Context: "UpdateRoomMembershipInput"}
39475	if s.AccountId == nil {
39476		invalidParams.Add(request.NewErrParamRequired("AccountId"))
39477	}
39478	if s.AccountId != nil && len(*s.AccountId) < 1 {
39479		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
39480	}
39481	if s.MemberId == nil {
39482		invalidParams.Add(request.NewErrParamRequired("MemberId"))
39483	}
39484	if s.MemberId != nil && len(*s.MemberId) < 1 {
39485		invalidParams.Add(request.NewErrParamMinLen("MemberId", 1))
39486	}
39487	if s.RoomId == nil {
39488		invalidParams.Add(request.NewErrParamRequired("RoomId"))
39489	}
39490	if s.RoomId != nil && len(*s.RoomId) < 1 {
39491		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
39492	}
39493
39494	if invalidParams.Len() > 0 {
39495		return invalidParams
39496	}
39497	return nil
39498}
39499
39500// SetAccountId sets the AccountId field's value.
39501func (s *UpdateRoomMembershipInput) SetAccountId(v string) *UpdateRoomMembershipInput {
39502	s.AccountId = &v
39503	return s
39504}
39505
39506// SetMemberId sets the MemberId field's value.
39507func (s *UpdateRoomMembershipInput) SetMemberId(v string) *UpdateRoomMembershipInput {
39508	s.MemberId = &v
39509	return s
39510}
39511
39512// SetRole sets the Role field's value.
39513func (s *UpdateRoomMembershipInput) SetRole(v string) *UpdateRoomMembershipInput {
39514	s.Role = &v
39515	return s
39516}
39517
39518// SetRoomId sets the RoomId field's value.
39519func (s *UpdateRoomMembershipInput) SetRoomId(v string) *UpdateRoomMembershipInput {
39520	s.RoomId = &v
39521	return s
39522}
39523
39524type UpdateRoomMembershipOutput struct {
39525	_ struct{} `type:"structure"`
39526
39527	// The room membership details.
39528	RoomMembership *RoomMembership `type:"structure"`
39529}
39530
39531// String returns the string representation
39532func (s UpdateRoomMembershipOutput) String() string {
39533	return awsutil.Prettify(s)
39534}
39535
39536// GoString returns the string representation
39537func (s UpdateRoomMembershipOutput) GoString() string {
39538	return s.String()
39539}
39540
39541// SetRoomMembership sets the RoomMembership field's value.
39542func (s *UpdateRoomMembershipOutput) SetRoomMembership(v *RoomMembership) *UpdateRoomMembershipOutput {
39543	s.RoomMembership = v
39544	return s
39545}
39546
39547type UpdateRoomOutput struct {
39548	_ struct{} `type:"structure"`
39549
39550	// The room details.
39551	Room *Room `type:"structure"`
39552}
39553
39554// String returns the string representation
39555func (s UpdateRoomOutput) String() string {
39556	return awsutil.Prettify(s)
39557}
39558
39559// GoString returns the string representation
39560func (s UpdateRoomOutput) GoString() string {
39561	return s.String()
39562}
39563
39564// SetRoom sets the Room field's value.
39565func (s *UpdateRoomOutput) SetRoom(v *Room) *UpdateRoomOutput {
39566	s.Room = v
39567	return s
39568}
39569
39570type UpdateSipMediaApplicationCallInput struct {
39571	_ struct{} `type:"structure"`
39572
39573	// Arguments made available to the Lambda function as part of the CALL_UPDATE_REQUESTED
39574	// event. Can contain 0-20 key-value pairs.
39575	//
39576	// Arguments is a required field
39577	Arguments map[string]*string `type:"map" required:"true"`
39578
39579	// The ID of the SIP media application handling the call.
39580	//
39581	// SipMediaApplicationId is a required field
39582	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
39583
39584	// The ID of the call transaction.
39585	//
39586	// TransactionId is a required field
39587	TransactionId *string `location:"uri" locationName:"transactionId" type:"string" required:"true"`
39588}
39589
39590// String returns the string representation
39591func (s UpdateSipMediaApplicationCallInput) String() string {
39592	return awsutil.Prettify(s)
39593}
39594
39595// GoString returns the string representation
39596func (s UpdateSipMediaApplicationCallInput) GoString() string {
39597	return s.String()
39598}
39599
39600// Validate inspects the fields of the type to determine if they are valid.
39601func (s *UpdateSipMediaApplicationCallInput) Validate() error {
39602	invalidParams := request.ErrInvalidParams{Context: "UpdateSipMediaApplicationCallInput"}
39603	if s.Arguments == nil {
39604		invalidParams.Add(request.NewErrParamRequired("Arguments"))
39605	}
39606	if s.SipMediaApplicationId == nil {
39607		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
39608	}
39609	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
39610		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
39611	}
39612	if s.TransactionId == nil {
39613		invalidParams.Add(request.NewErrParamRequired("TransactionId"))
39614	}
39615	if s.TransactionId != nil && len(*s.TransactionId) < 1 {
39616		invalidParams.Add(request.NewErrParamMinLen("TransactionId", 1))
39617	}
39618
39619	if invalidParams.Len() > 0 {
39620		return invalidParams
39621	}
39622	return nil
39623}
39624
39625// SetArguments sets the Arguments field's value.
39626func (s *UpdateSipMediaApplicationCallInput) SetArguments(v map[string]*string) *UpdateSipMediaApplicationCallInput {
39627	s.Arguments = v
39628	return s
39629}
39630
39631// SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
39632func (s *UpdateSipMediaApplicationCallInput) SetSipMediaApplicationId(v string) *UpdateSipMediaApplicationCallInput {
39633	s.SipMediaApplicationId = &v
39634	return s
39635}
39636
39637// SetTransactionId sets the TransactionId field's value.
39638func (s *UpdateSipMediaApplicationCallInput) SetTransactionId(v string) *UpdateSipMediaApplicationCallInput {
39639	s.TransactionId = &v
39640	return s
39641}
39642
39643type UpdateSipMediaApplicationCallOutput struct {
39644	_ struct{} `type:"structure"`
39645
39646	// A Call instance for a SIP media application.
39647	SipMediaApplicationCall *SipMediaApplicationCall `type:"structure"`
39648}
39649
39650// String returns the string representation
39651func (s UpdateSipMediaApplicationCallOutput) String() string {
39652	return awsutil.Prettify(s)
39653}
39654
39655// GoString returns the string representation
39656func (s UpdateSipMediaApplicationCallOutput) GoString() string {
39657	return s.String()
39658}
39659
39660// SetSipMediaApplicationCall sets the SipMediaApplicationCall field's value.
39661func (s *UpdateSipMediaApplicationCallOutput) SetSipMediaApplicationCall(v *SipMediaApplicationCall) *UpdateSipMediaApplicationCallOutput {
39662	s.SipMediaApplicationCall = v
39663	return s
39664}
39665
39666type UpdateSipMediaApplicationInput struct {
39667	_ struct{} `type:"structure"`
39668
39669	// The new set of endpoints for the specified SIP media application.
39670	Endpoints []*SipMediaApplicationEndpoint `min:"1" type:"list"`
39671
39672	// The new name for the specified SIP media application.
39673	Name *string `min:"1" type:"string"`
39674
39675	// The SIP media application ID.
39676	//
39677	// SipMediaApplicationId is a required field
39678	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
39679}
39680
39681// String returns the string representation
39682func (s UpdateSipMediaApplicationInput) String() string {
39683	return awsutil.Prettify(s)
39684}
39685
39686// GoString returns the string representation
39687func (s UpdateSipMediaApplicationInput) GoString() string {
39688	return s.String()
39689}
39690
39691// Validate inspects the fields of the type to determine if they are valid.
39692func (s *UpdateSipMediaApplicationInput) Validate() error {
39693	invalidParams := request.ErrInvalidParams{Context: "UpdateSipMediaApplicationInput"}
39694	if s.Endpoints != nil && len(s.Endpoints) < 1 {
39695		invalidParams.Add(request.NewErrParamMinLen("Endpoints", 1))
39696	}
39697	if s.Name != nil && len(*s.Name) < 1 {
39698		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
39699	}
39700	if s.SipMediaApplicationId == nil {
39701		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
39702	}
39703	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
39704		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
39705	}
39706
39707	if invalidParams.Len() > 0 {
39708		return invalidParams
39709	}
39710	return nil
39711}
39712
39713// SetEndpoints sets the Endpoints field's value.
39714func (s *UpdateSipMediaApplicationInput) SetEndpoints(v []*SipMediaApplicationEndpoint) *UpdateSipMediaApplicationInput {
39715	s.Endpoints = v
39716	return s
39717}
39718
39719// SetName sets the Name field's value.
39720func (s *UpdateSipMediaApplicationInput) SetName(v string) *UpdateSipMediaApplicationInput {
39721	s.Name = &v
39722	return s
39723}
39724
39725// SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
39726func (s *UpdateSipMediaApplicationInput) SetSipMediaApplicationId(v string) *UpdateSipMediaApplicationInput {
39727	s.SipMediaApplicationId = &v
39728	return s
39729}
39730
39731type UpdateSipMediaApplicationOutput struct {
39732	_ struct{} `type:"structure"`
39733
39734	// The updated SIP media application details.
39735	SipMediaApplication *SipMediaApplication `type:"structure"`
39736}
39737
39738// String returns the string representation
39739func (s UpdateSipMediaApplicationOutput) String() string {
39740	return awsutil.Prettify(s)
39741}
39742
39743// GoString returns the string representation
39744func (s UpdateSipMediaApplicationOutput) GoString() string {
39745	return s.String()
39746}
39747
39748// SetSipMediaApplication sets the SipMediaApplication field's value.
39749func (s *UpdateSipMediaApplicationOutput) SetSipMediaApplication(v *SipMediaApplication) *UpdateSipMediaApplicationOutput {
39750	s.SipMediaApplication = v
39751	return s
39752}
39753
39754type UpdateSipRuleInput struct {
39755	_ struct{} `type:"structure"`
39756
39757	// The new value specified to indicate whether the rule is disabled.
39758	Disabled *bool `type:"boolean"`
39759
39760	// The new name for the specified SIP rule.
39761	//
39762	// Name is a required field
39763	Name *string `min:"1" type:"string" required:"true"`
39764
39765	// The SIP rule ID.
39766	//
39767	// SipRuleId is a required field
39768	SipRuleId *string `location:"uri" locationName:"sipRuleId" type:"string" required:"true"`
39769
39770	// The new value of the list of target applications.
39771	TargetApplications []*SipRuleTargetApplication `min:"1" type:"list"`
39772}
39773
39774// String returns the string representation
39775func (s UpdateSipRuleInput) String() string {
39776	return awsutil.Prettify(s)
39777}
39778
39779// GoString returns the string representation
39780func (s UpdateSipRuleInput) GoString() string {
39781	return s.String()
39782}
39783
39784// Validate inspects the fields of the type to determine if they are valid.
39785func (s *UpdateSipRuleInput) Validate() error {
39786	invalidParams := request.ErrInvalidParams{Context: "UpdateSipRuleInput"}
39787	if s.Name == nil {
39788		invalidParams.Add(request.NewErrParamRequired("Name"))
39789	}
39790	if s.Name != nil && len(*s.Name) < 1 {
39791		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
39792	}
39793	if s.SipRuleId == nil {
39794		invalidParams.Add(request.NewErrParamRequired("SipRuleId"))
39795	}
39796	if s.SipRuleId != nil && len(*s.SipRuleId) < 1 {
39797		invalidParams.Add(request.NewErrParamMinLen("SipRuleId", 1))
39798	}
39799	if s.TargetApplications != nil && len(s.TargetApplications) < 1 {
39800		invalidParams.Add(request.NewErrParamMinLen("TargetApplications", 1))
39801	}
39802	if s.TargetApplications != nil {
39803		for i, v := range s.TargetApplications {
39804			if v == nil {
39805				continue
39806			}
39807			if err := v.Validate(); err != nil {
39808				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TargetApplications", i), err.(request.ErrInvalidParams))
39809			}
39810		}
39811	}
39812
39813	if invalidParams.Len() > 0 {
39814		return invalidParams
39815	}
39816	return nil
39817}
39818
39819// SetDisabled sets the Disabled field's value.
39820func (s *UpdateSipRuleInput) SetDisabled(v bool) *UpdateSipRuleInput {
39821	s.Disabled = &v
39822	return s
39823}
39824
39825// SetName sets the Name field's value.
39826func (s *UpdateSipRuleInput) SetName(v string) *UpdateSipRuleInput {
39827	s.Name = &v
39828	return s
39829}
39830
39831// SetSipRuleId sets the SipRuleId field's value.
39832func (s *UpdateSipRuleInput) SetSipRuleId(v string) *UpdateSipRuleInput {
39833	s.SipRuleId = &v
39834	return s
39835}
39836
39837// SetTargetApplications sets the TargetApplications field's value.
39838func (s *UpdateSipRuleInput) SetTargetApplications(v []*SipRuleTargetApplication) *UpdateSipRuleInput {
39839	s.TargetApplications = v
39840	return s
39841}
39842
39843type UpdateSipRuleOutput struct {
39844	_ struct{} `type:"structure"`
39845
39846	// Updated SIP rule details.
39847	SipRule *SipRule `type:"structure"`
39848}
39849
39850// String returns the string representation
39851func (s UpdateSipRuleOutput) String() string {
39852	return awsutil.Prettify(s)
39853}
39854
39855// GoString returns the string representation
39856func (s UpdateSipRuleOutput) GoString() string {
39857	return s.String()
39858}
39859
39860// SetSipRule sets the SipRule field's value.
39861func (s *UpdateSipRuleOutput) SetSipRule(v *SipRule) *UpdateSipRuleOutput {
39862	s.SipRule = v
39863	return s
39864}
39865
39866type UpdateUserInput struct {
39867	_ struct{} `type:"structure"`
39868
39869	// The Amazon Chime account ID.
39870	//
39871	// AccountId is a required field
39872	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
39873
39874	// The Alexa for Business metadata.
39875	AlexaForBusinessMetadata *AlexaForBusinessMetadata `type:"structure"`
39876
39877	// The user license type to update. This must be a supported license type for
39878	// the Amazon Chime account that the user belongs to.
39879	LicenseType *string `type:"string" enum:"License"`
39880
39881	// The user ID.
39882	//
39883	// UserId is a required field
39884	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
39885
39886	// The user type.
39887	UserType *string `type:"string" enum:"UserType"`
39888}
39889
39890// String returns the string representation
39891func (s UpdateUserInput) String() string {
39892	return awsutil.Prettify(s)
39893}
39894
39895// GoString returns the string representation
39896func (s UpdateUserInput) GoString() string {
39897	return s.String()
39898}
39899
39900// Validate inspects the fields of the type to determine if they are valid.
39901func (s *UpdateUserInput) Validate() error {
39902	invalidParams := request.ErrInvalidParams{Context: "UpdateUserInput"}
39903	if s.AccountId == nil {
39904		invalidParams.Add(request.NewErrParamRequired("AccountId"))
39905	}
39906	if s.AccountId != nil && len(*s.AccountId) < 1 {
39907		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
39908	}
39909	if s.UserId == nil {
39910		invalidParams.Add(request.NewErrParamRequired("UserId"))
39911	}
39912	if s.UserId != nil && len(*s.UserId) < 1 {
39913		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
39914	}
39915
39916	if invalidParams.Len() > 0 {
39917		return invalidParams
39918	}
39919	return nil
39920}
39921
39922// SetAccountId sets the AccountId field's value.
39923func (s *UpdateUserInput) SetAccountId(v string) *UpdateUserInput {
39924	s.AccountId = &v
39925	return s
39926}
39927
39928// SetAlexaForBusinessMetadata sets the AlexaForBusinessMetadata field's value.
39929func (s *UpdateUserInput) SetAlexaForBusinessMetadata(v *AlexaForBusinessMetadata) *UpdateUserInput {
39930	s.AlexaForBusinessMetadata = v
39931	return s
39932}
39933
39934// SetLicenseType sets the LicenseType field's value.
39935func (s *UpdateUserInput) SetLicenseType(v string) *UpdateUserInput {
39936	s.LicenseType = &v
39937	return s
39938}
39939
39940// SetUserId sets the UserId field's value.
39941func (s *UpdateUserInput) SetUserId(v string) *UpdateUserInput {
39942	s.UserId = &v
39943	return s
39944}
39945
39946// SetUserType sets the UserType field's value.
39947func (s *UpdateUserInput) SetUserType(v string) *UpdateUserInput {
39948	s.UserType = &v
39949	return s
39950}
39951
39952type UpdateUserOutput struct {
39953	_ struct{} `type:"structure"`
39954
39955	// The updated user details.
39956	User *User `type:"structure"`
39957}
39958
39959// String returns the string representation
39960func (s UpdateUserOutput) String() string {
39961	return awsutil.Prettify(s)
39962}
39963
39964// GoString returns the string representation
39965func (s UpdateUserOutput) GoString() string {
39966	return s.String()
39967}
39968
39969// SetUser sets the User field's value.
39970func (s *UpdateUserOutput) SetUser(v *User) *UpdateUserOutput {
39971	s.User = v
39972	return s
39973}
39974
39975// The user ID and user fields to update, used with the BatchUpdateUser action.
39976type UpdateUserRequestItem struct {
39977	_ struct{} `type:"structure"`
39978
39979	// The Alexa for Business metadata.
39980	AlexaForBusinessMetadata *AlexaForBusinessMetadata `type:"structure"`
39981
39982	// The user license type.
39983	LicenseType *string `type:"string" enum:"License"`
39984
39985	// The user ID.
39986	//
39987	// UserId is a required field
39988	UserId *string `type:"string" required:"true"`
39989
39990	// The user type.
39991	UserType *string `type:"string" enum:"UserType"`
39992}
39993
39994// String returns the string representation
39995func (s UpdateUserRequestItem) String() string {
39996	return awsutil.Prettify(s)
39997}
39998
39999// GoString returns the string representation
40000func (s UpdateUserRequestItem) GoString() string {
40001	return s.String()
40002}
40003
40004// Validate inspects the fields of the type to determine if they are valid.
40005func (s *UpdateUserRequestItem) Validate() error {
40006	invalidParams := request.ErrInvalidParams{Context: "UpdateUserRequestItem"}
40007	if s.UserId == nil {
40008		invalidParams.Add(request.NewErrParamRequired("UserId"))
40009	}
40010
40011	if invalidParams.Len() > 0 {
40012		return invalidParams
40013	}
40014	return nil
40015}
40016
40017// SetAlexaForBusinessMetadata sets the AlexaForBusinessMetadata field's value.
40018func (s *UpdateUserRequestItem) SetAlexaForBusinessMetadata(v *AlexaForBusinessMetadata) *UpdateUserRequestItem {
40019	s.AlexaForBusinessMetadata = v
40020	return s
40021}
40022
40023// SetLicenseType sets the LicenseType field's value.
40024func (s *UpdateUserRequestItem) SetLicenseType(v string) *UpdateUserRequestItem {
40025	s.LicenseType = &v
40026	return s
40027}
40028
40029// SetUserId sets the UserId field's value.
40030func (s *UpdateUserRequestItem) SetUserId(v string) *UpdateUserRequestItem {
40031	s.UserId = &v
40032	return s
40033}
40034
40035// SetUserType sets the UserType field's value.
40036func (s *UpdateUserRequestItem) SetUserType(v string) *UpdateUserRequestItem {
40037	s.UserType = &v
40038	return s
40039}
40040
40041type UpdateUserSettingsInput struct {
40042	_ struct{} `type:"structure"`
40043
40044	// The Amazon Chime account ID.
40045	//
40046	// AccountId is a required field
40047	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
40048
40049	// The user ID.
40050	//
40051	// UserId is a required field
40052	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
40053
40054	// The user settings to update.
40055	//
40056	// UserSettings is a required field
40057	UserSettings *UserSettings `type:"structure" required:"true"`
40058}
40059
40060// String returns the string representation
40061func (s UpdateUserSettingsInput) String() string {
40062	return awsutil.Prettify(s)
40063}
40064
40065// GoString returns the string representation
40066func (s UpdateUserSettingsInput) GoString() string {
40067	return s.String()
40068}
40069
40070// Validate inspects the fields of the type to determine if they are valid.
40071func (s *UpdateUserSettingsInput) Validate() error {
40072	invalidParams := request.ErrInvalidParams{Context: "UpdateUserSettingsInput"}
40073	if s.AccountId == nil {
40074		invalidParams.Add(request.NewErrParamRequired("AccountId"))
40075	}
40076	if s.AccountId != nil && len(*s.AccountId) < 1 {
40077		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
40078	}
40079	if s.UserId == nil {
40080		invalidParams.Add(request.NewErrParamRequired("UserId"))
40081	}
40082	if s.UserId != nil && len(*s.UserId) < 1 {
40083		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
40084	}
40085	if s.UserSettings == nil {
40086		invalidParams.Add(request.NewErrParamRequired("UserSettings"))
40087	}
40088	if s.UserSettings != nil {
40089		if err := s.UserSettings.Validate(); err != nil {
40090			invalidParams.AddNested("UserSettings", err.(request.ErrInvalidParams))
40091		}
40092	}
40093
40094	if invalidParams.Len() > 0 {
40095		return invalidParams
40096	}
40097	return nil
40098}
40099
40100// SetAccountId sets the AccountId field's value.
40101func (s *UpdateUserSettingsInput) SetAccountId(v string) *UpdateUserSettingsInput {
40102	s.AccountId = &v
40103	return s
40104}
40105
40106// SetUserId sets the UserId field's value.
40107func (s *UpdateUserSettingsInput) SetUserId(v string) *UpdateUserSettingsInput {
40108	s.UserId = &v
40109	return s
40110}
40111
40112// SetUserSettings sets the UserSettings field's value.
40113func (s *UpdateUserSettingsInput) SetUserSettings(v *UserSettings) *UpdateUserSettingsInput {
40114	s.UserSettings = v
40115	return s
40116}
40117
40118type UpdateUserSettingsOutput struct {
40119	_ struct{} `type:"structure"`
40120}
40121
40122// String returns the string representation
40123func (s UpdateUserSettingsOutput) String() string {
40124	return awsutil.Prettify(s)
40125}
40126
40127// GoString returns the string representation
40128func (s UpdateUserSettingsOutput) GoString() string {
40129	return s.String()
40130}
40131
40132type UpdateVoiceConnectorGroupInput struct {
40133	_ struct{} `type:"structure"`
40134
40135	// The name of the Amazon Chime Voice Connector group.
40136	//
40137	// Name is a required field
40138	Name *string `min:"1" type:"string" required:"true"`
40139
40140	// The Amazon Chime Voice Connector group ID.
40141	//
40142	// VoiceConnectorGroupId is a required field
40143	VoiceConnectorGroupId *string `location:"uri" locationName:"voiceConnectorGroupId" type:"string" required:"true"`
40144
40145	// The VoiceConnectorItems to associate with the group.
40146	//
40147	// VoiceConnectorItems is a required field
40148	VoiceConnectorItems []*VoiceConnectorItem `type:"list" required:"true"`
40149}
40150
40151// String returns the string representation
40152func (s UpdateVoiceConnectorGroupInput) String() string {
40153	return awsutil.Prettify(s)
40154}
40155
40156// GoString returns the string representation
40157func (s UpdateVoiceConnectorGroupInput) GoString() string {
40158	return s.String()
40159}
40160
40161// Validate inspects the fields of the type to determine if they are valid.
40162func (s *UpdateVoiceConnectorGroupInput) Validate() error {
40163	invalidParams := request.ErrInvalidParams{Context: "UpdateVoiceConnectorGroupInput"}
40164	if s.Name == nil {
40165		invalidParams.Add(request.NewErrParamRequired("Name"))
40166	}
40167	if s.Name != nil && len(*s.Name) < 1 {
40168		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
40169	}
40170	if s.VoiceConnectorGroupId == nil {
40171		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorGroupId"))
40172	}
40173	if s.VoiceConnectorGroupId != nil && len(*s.VoiceConnectorGroupId) < 1 {
40174		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorGroupId", 1))
40175	}
40176	if s.VoiceConnectorItems == nil {
40177		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorItems"))
40178	}
40179	if s.VoiceConnectorItems != nil {
40180		for i, v := range s.VoiceConnectorItems {
40181			if v == nil {
40182				continue
40183			}
40184			if err := v.Validate(); err != nil {
40185				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "VoiceConnectorItems", i), err.(request.ErrInvalidParams))
40186			}
40187		}
40188	}
40189
40190	if invalidParams.Len() > 0 {
40191		return invalidParams
40192	}
40193	return nil
40194}
40195
40196// SetName sets the Name field's value.
40197func (s *UpdateVoiceConnectorGroupInput) SetName(v string) *UpdateVoiceConnectorGroupInput {
40198	s.Name = &v
40199	return s
40200}
40201
40202// SetVoiceConnectorGroupId sets the VoiceConnectorGroupId field's value.
40203func (s *UpdateVoiceConnectorGroupInput) SetVoiceConnectorGroupId(v string) *UpdateVoiceConnectorGroupInput {
40204	s.VoiceConnectorGroupId = &v
40205	return s
40206}
40207
40208// SetVoiceConnectorItems sets the VoiceConnectorItems field's value.
40209func (s *UpdateVoiceConnectorGroupInput) SetVoiceConnectorItems(v []*VoiceConnectorItem) *UpdateVoiceConnectorGroupInput {
40210	s.VoiceConnectorItems = v
40211	return s
40212}
40213
40214type UpdateVoiceConnectorGroupOutput struct {
40215	_ struct{} `type:"structure"`
40216
40217	// The updated Amazon Chime Voice Connector group details.
40218	VoiceConnectorGroup *VoiceConnectorGroup `type:"structure"`
40219}
40220
40221// String returns the string representation
40222func (s UpdateVoiceConnectorGroupOutput) String() string {
40223	return awsutil.Prettify(s)
40224}
40225
40226// GoString returns the string representation
40227func (s UpdateVoiceConnectorGroupOutput) GoString() string {
40228	return s.String()
40229}
40230
40231// SetVoiceConnectorGroup sets the VoiceConnectorGroup field's value.
40232func (s *UpdateVoiceConnectorGroupOutput) SetVoiceConnectorGroup(v *VoiceConnectorGroup) *UpdateVoiceConnectorGroupOutput {
40233	s.VoiceConnectorGroup = v
40234	return s
40235}
40236
40237type UpdateVoiceConnectorInput struct {
40238	_ struct{} `type:"structure"`
40239
40240	// The name of the Amazon Chime Voice Connector.
40241	//
40242	// Name is a required field
40243	Name *string `min:"1" type:"string" required:"true"`
40244
40245	// When enabled, requires encryption for the Amazon Chime Voice Connector.
40246	//
40247	// RequireEncryption is a required field
40248	RequireEncryption *bool `type:"boolean" required:"true"`
40249
40250	// The Amazon Chime Voice Connector ID.
40251	//
40252	// VoiceConnectorId is a required field
40253	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
40254}
40255
40256// String returns the string representation
40257func (s UpdateVoiceConnectorInput) String() string {
40258	return awsutil.Prettify(s)
40259}
40260
40261// GoString returns the string representation
40262func (s UpdateVoiceConnectorInput) GoString() string {
40263	return s.String()
40264}
40265
40266// Validate inspects the fields of the type to determine if they are valid.
40267func (s *UpdateVoiceConnectorInput) Validate() error {
40268	invalidParams := request.ErrInvalidParams{Context: "UpdateVoiceConnectorInput"}
40269	if s.Name == nil {
40270		invalidParams.Add(request.NewErrParamRequired("Name"))
40271	}
40272	if s.Name != nil && len(*s.Name) < 1 {
40273		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
40274	}
40275	if s.RequireEncryption == nil {
40276		invalidParams.Add(request.NewErrParamRequired("RequireEncryption"))
40277	}
40278	if s.VoiceConnectorId == nil {
40279		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
40280	}
40281	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
40282		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
40283	}
40284
40285	if invalidParams.Len() > 0 {
40286		return invalidParams
40287	}
40288	return nil
40289}
40290
40291// SetName sets the Name field's value.
40292func (s *UpdateVoiceConnectorInput) SetName(v string) *UpdateVoiceConnectorInput {
40293	s.Name = &v
40294	return s
40295}
40296
40297// SetRequireEncryption sets the RequireEncryption field's value.
40298func (s *UpdateVoiceConnectorInput) SetRequireEncryption(v bool) *UpdateVoiceConnectorInput {
40299	s.RequireEncryption = &v
40300	return s
40301}
40302
40303// SetVoiceConnectorId sets the VoiceConnectorId field's value.
40304func (s *UpdateVoiceConnectorInput) SetVoiceConnectorId(v string) *UpdateVoiceConnectorInput {
40305	s.VoiceConnectorId = &v
40306	return s
40307}
40308
40309type UpdateVoiceConnectorOutput struct {
40310	_ struct{} `type:"structure"`
40311
40312	// The updated Amazon Chime Voice Connector details.
40313	VoiceConnector *VoiceConnector `type:"structure"`
40314}
40315
40316// String returns the string representation
40317func (s UpdateVoiceConnectorOutput) String() string {
40318	return awsutil.Prettify(s)
40319}
40320
40321// GoString returns the string representation
40322func (s UpdateVoiceConnectorOutput) GoString() string {
40323	return s.String()
40324}
40325
40326// SetVoiceConnector sets the VoiceConnector field's value.
40327func (s *UpdateVoiceConnectorOutput) SetVoiceConnector(v *VoiceConnector) *UpdateVoiceConnectorOutput {
40328	s.VoiceConnector = v
40329	return s
40330}
40331
40332// The user on the Amazon Chime account.
40333type User struct {
40334	_ struct{} `type:"structure"`
40335
40336	// The Amazon Chime account ID.
40337	AccountId *string `type:"string"`
40338
40339	// The Alexa for Business metadata.
40340	AlexaForBusinessMetadata *AlexaForBusinessMetadata `type:"structure"`
40341
40342	// The display name of the user.
40343	DisplayName *string `type:"string" sensitive:"true"`
40344
40345	// Date and time when the user is invited to the Amazon Chime account, in ISO
40346	// 8601 format.
40347	InvitedOn *time.Time `type:"timestamp" timestampFormat:"iso8601"`
40348
40349	// The license type for the user.
40350	LicenseType *string `type:"string" enum:"License"`
40351
40352	// The user's personal meeting PIN.
40353	PersonalPIN *string `type:"string"`
40354
40355	// The primary email address of the user.
40356	PrimaryEmail *string `type:"string" sensitive:"true"`
40357
40358	// The primary phone number associated with the user.
40359	PrimaryProvisionedNumber *string `type:"string" sensitive:"true"`
40360
40361	// Date and time when the user is registered, in ISO 8601 format.
40362	RegisteredOn *time.Time `type:"timestamp" timestampFormat:"iso8601"`
40363
40364	// The user ID.
40365	//
40366	// UserId is a required field
40367	UserId *string `type:"string" required:"true"`
40368
40369	// The user invite status.
40370	UserInvitationStatus *string `type:"string" enum:"InviteStatus"`
40371
40372	// The user registration status.
40373	UserRegistrationStatus *string `type:"string" enum:"RegistrationStatus"`
40374
40375	// The user type.
40376	UserType *string `type:"string" enum:"UserType"`
40377}
40378
40379// String returns the string representation
40380func (s User) String() string {
40381	return awsutil.Prettify(s)
40382}
40383
40384// GoString returns the string representation
40385func (s User) GoString() string {
40386	return s.String()
40387}
40388
40389// SetAccountId sets the AccountId field's value.
40390func (s *User) SetAccountId(v string) *User {
40391	s.AccountId = &v
40392	return s
40393}
40394
40395// SetAlexaForBusinessMetadata sets the AlexaForBusinessMetadata field's value.
40396func (s *User) SetAlexaForBusinessMetadata(v *AlexaForBusinessMetadata) *User {
40397	s.AlexaForBusinessMetadata = v
40398	return s
40399}
40400
40401// SetDisplayName sets the DisplayName field's value.
40402func (s *User) SetDisplayName(v string) *User {
40403	s.DisplayName = &v
40404	return s
40405}
40406
40407// SetInvitedOn sets the InvitedOn field's value.
40408func (s *User) SetInvitedOn(v time.Time) *User {
40409	s.InvitedOn = &v
40410	return s
40411}
40412
40413// SetLicenseType sets the LicenseType field's value.
40414func (s *User) SetLicenseType(v string) *User {
40415	s.LicenseType = &v
40416	return s
40417}
40418
40419// SetPersonalPIN sets the PersonalPIN field's value.
40420func (s *User) SetPersonalPIN(v string) *User {
40421	s.PersonalPIN = &v
40422	return s
40423}
40424
40425// SetPrimaryEmail sets the PrimaryEmail field's value.
40426func (s *User) SetPrimaryEmail(v string) *User {
40427	s.PrimaryEmail = &v
40428	return s
40429}
40430
40431// SetPrimaryProvisionedNumber sets the PrimaryProvisionedNumber field's value.
40432func (s *User) SetPrimaryProvisionedNumber(v string) *User {
40433	s.PrimaryProvisionedNumber = &v
40434	return s
40435}
40436
40437// SetRegisteredOn sets the RegisteredOn field's value.
40438func (s *User) SetRegisteredOn(v time.Time) *User {
40439	s.RegisteredOn = &v
40440	return s
40441}
40442
40443// SetUserId sets the UserId field's value.
40444func (s *User) SetUserId(v string) *User {
40445	s.UserId = &v
40446	return s
40447}
40448
40449// SetUserInvitationStatus sets the UserInvitationStatus field's value.
40450func (s *User) SetUserInvitationStatus(v string) *User {
40451	s.UserInvitationStatus = &v
40452	return s
40453}
40454
40455// SetUserRegistrationStatus sets the UserRegistrationStatus field's value.
40456func (s *User) SetUserRegistrationStatus(v string) *User {
40457	s.UserRegistrationStatus = &v
40458	return s
40459}
40460
40461// SetUserType sets the UserType field's value.
40462func (s *User) SetUserType(v string) *User {
40463	s.UserType = &v
40464	return s
40465}
40466
40467// The list of errors returned when errors are encountered during the BatchSuspendUser,
40468// BatchUnsuspendUser, or BatchUpdateUser actions. This includes user IDs, error
40469// codes, and error messages.
40470type UserError struct {
40471	_ struct{} `type:"structure"`
40472
40473	// The error code.
40474	ErrorCode *string `type:"string" enum:"ErrorCode"`
40475
40476	// The error message.
40477	ErrorMessage *string `type:"string"`
40478
40479	// The user ID for which the action failed.
40480	UserId *string `type:"string"`
40481}
40482
40483// String returns the string representation
40484func (s UserError) String() string {
40485	return awsutil.Prettify(s)
40486}
40487
40488// GoString returns the string representation
40489func (s UserError) GoString() string {
40490	return s.String()
40491}
40492
40493// SetErrorCode sets the ErrorCode field's value.
40494func (s *UserError) SetErrorCode(v string) *UserError {
40495	s.ErrorCode = &v
40496	return s
40497}
40498
40499// SetErrorMessage sets the ErrorMessage field's value.
40500func (s *UserError) SetErrorMessage(v string) *UserError {
40501	s.ErrorMessage = &v
40502	return s
40503}
40504
40505// SetUserId sets the UserId field's value.
40506func (s *UserError) SetUserId(v string) *UserError {
40507	s.UserId = &v
40508	return s
40509}
40510
40511// Settings associated with an Amazon Chime user, including inbound and outbound
40512// calling and text messaging.
40513type UserSettings struct {
40514	_ struct{} `type:"structure"`
40515
40516	// The telephony settings associated with the user.
40517	//
40518	// Telephony is a required field
40519	Telephony *TelephonySettings `type:"structure" required:"true"`
40520}
40521
40522// String returns the string representation
40523func (s UserSettings) String() string {
40524	return awsutil.Prettify(s)
40525}
40526
40527// GoString returns the string representation
40528func (s UserSettings) GoString() string {
40529	return s.String()
40530}
40531
40532// Validate inspects the fields of the type to determine if they are valid.
40533func (s *UserSettings) Validate() error {
40534	invalidParams := request.ErrInvalidParams{Context: "UserSettings"}
40535	if s.Telephony == nil {
40536		invalidParams.Add(request.NewErrParamRequired("Telephony"))
40537	}
40538	if s.Telephony != nil {
40539		if err := s.Telephony.Validate(); err != nil {
40540			invalidParams.AddNested("Telephony", err.(request.ErrInvalidParams))
40541		}
40542	}
40543
40544	if invalidParams.Len() > 0 {
40545		return invalidParams
40546	}
40547	return nil
40548}
40549
40550// SetTelephony sets the Telephony field's value.
40551func (s *UserSettings) SetTelephony(v *TelephonySettings) *UserSettings {
40552	s.Telephony = v
40553	return s
40554}
40555
40556// The Amazon Chime Voice Connector configuration, including outbound host name
40557// and encryption settings.
40558type VoiceConnector struct {
40559	_ struct{} `type:"structure"`
40560
40561	// The AWS Region in which the Amazon Chime Voice Connector is created. Default:
40562	// us-east-1.
40563	AwsRegion *string `type:"string" enum:"VoiceConnectorAwsRegion"`
40564
40565	// The Amazon Chime Voice Connector creation timestamp, in ISO 8601 format.
40566	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
40567
40568	// The name of the Amazon Chime Voice Connector.
40569	Name *string `min:"1" type:"string"`
40570
40571	// The outbound host name for the Amazon Chime Voice Connector.
40572	OutboundHostName *string `type:"string"`
40573
40574	// Designates whether encryption is required for the Amazon Chime Voice Connector.
40575	RequireEncryption *bool `type:"boolean"`
40576
40577	// The updated Amazon Chime Voice Connector timestamp, in ISO 8601 format.
40578	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
40579
40580	// The Amazon Chime Voice Connector ID.
40581	VoiceConnectorId *string `type:"string"`
40582}
40583
40584// String returns the string representation
40585func (s VoiceConnector) String() string {
40586	return awsutil.Prettify(s)
40587}
40588
40589// GoString returns the string representation
40590func (s VoiceConnector) GoString() string {
40591	return s.String()
40592}
40593
40594// SetAwsRegion sets the AwsRegion field's value.
40595func (s *VoiceConnector) SetAwsRegion(v string) *VoiceConnector {
40596	s.AwsRegion = &v
40597	return s
40598}
40599
40600// SetCreatedTimestamp sets the CreatedTimestamp field's value.
40601func (s *VoiceConnector) SetCreatedTimestamp(v time.Time) *VoiceConnector {
40602	s.CreatedTimestamp = &v
40603	return s
40604}
40605
40606// SetName sets the Name field's value.
40607func (s *VoiceConnector) SetName(v string) *VoiceConnector {
40608	s.Name = &v
40609	return s
40610}
40611
40612// SetOutboundHostName sets the OutboundHostName field's value.
40613func (s *VoiceConnector) SetOutboundHostName(v string) *VoiceConnector {
40614	s.OutboundHostName = &v
40615	return s
40616}
40617
40618// SetRequireEncryption sets the RequireEncryption field's value.
40619func (s *VoiceConnector) SetRequireEncryption(v bool) *VoiceConnector {
40620	s.RequireEncryption = &v
40621	return s
40622}
40623
40624// SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
40625func (s *VoiceConnector) SetUpdatedTimestamp(v time.Time) *VoiceConnector {
40626	s.UpdatedTimestamp = &v
40627	return s
40628}
40629
40630// SetVoiceConnectorId sets the VoiceConnectorId field's value.
40631func (s *VoiceConnector) SetVoiceConnectorId(v string) *VoiceConnector {
40632	s.VoiceConnectorId = &v
40633	return s
40634}
40635
40636// The Amazon Chime Voice Connector group configuration, including associated
40637// Amazon Chime Voice Connectors. You can include Amazon Chime Voice Connectors
40638// from different AWS Regions in your group. This creates a fault tolerant mechanism
40639// for fallback in case of availability events.
40640type VoiceConnectorGroup struct {
40641	_ struct{} `type:"structure"`
40642
40643	// The Amazon Chime Voice Connector group creation time stamp, in ISO 8601 format.
40644	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
40645
40646	// The name of the Amazon Chime Voice Connector group.
40647	Name *string `min:"1" type:"string"`
40648
40649	// The updated Amazon Chime Voice Connector group time stamp, in ISO 8601 format.
40650	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
40651
40652	// The Amazon Chime Voice Connector group ID.
40653	VoiceConnectorGroupId *string `type:"string"`
40654
40655	// The Amazon Chime Voice Connectors to which to route inbound calls.
40656	VoiceConnectorItems []*VoiceConnectorItem `type:"list"`
40657}
40658
40659// String returns the string representation
40660func (s VoiceConnectorGroup) String() string {
40661	return awsutil.Prettify(s)
40662}
40663
40664// GoString returns the string representation
40665func (s VoiceConnectorGroup) GoString() string {
40666	return s.String()
40667}
40668
40669// SetCreatedTimestamp sets the CreatedTimestamp field's value.
40670func (s *VoiceConnectorGroup) SetCreatedTimestamp(v time.Time) *VoiceConnectorGroup {
40671	s.CreatedTimestamp = &v
40672	return s
40673}
40674
40675// SetName sets the Name field's value.
40676func (s *VoiceConnectorGroup) SetName(v string) *VoiceConnectorGroup {
40677	s.Name = &v
40678	return s
40679}
40680
40681// SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
40682func (s *VoiceConnectorGroup) SetUpdatedTimestamp(v time.Time) *VoiceConnectorGroup {
40683	s.UpdatedTimestamp = &v
40684	return s
40685}
40686
40687// SetVoiceConnectorGroupId sets the VoiceConnectorGroupId field's value.
40688func (s *VoiceConnectorGroup) SetVoiceConnectorGroupId(v string) *VoiceConnectorGroup {
40689	s.VoiceConnectorGroupId = &v
40690	return s
40691}
40692
40693// SetVoiceConnectorItems sets the VoiceConnectorItems field's value.
40694func (s *VoiceConnectorGroup) SetVoiceConnectorItems(v []*VoiceConnectorItem) *VoiceConnectorGroup {
40695	s.VoiceConnectorItems = v
40696	return s
40697}
40698
40699// For Amazon Chime Voice Connector groups, the Amazon Chime Voice Connectors
40700// to which to route inbound calls. Includes priority configuration settings.
40701// Limit: 3 VoiceConnectorItems per Amazon Chime Voice Connector group.
40702type VoiceConnectorItem struct {
40703	_ struct{} `type:"structure"`
40704
40705	// The priority associated with the Amazon Chime Voice Connector, with 1 being
40706	// the highest priority. Higher priority Amazon Chime Voice Connectors are attempted
40707	// first.
40708	//
40709	// Priority is a required field
40710	Priority *int64 `min:"1" type:"integer" required:"true"`
40711
40712	// The Amazon Chime Voice Connector ID.
40713	//
40714	// VoiceConnectorId is a required field
40715	VoiceConnectorId *string `type:"string" required:"true"`
40716}
40717
40718// String returns the string representation
40719func (s VoiceConnectorItem) String() string {
40720	return awsutil.Prettify(s)
40721}
40722
40723// GoString returns the string representation
40724func (s VoiceConnectorItem) GoString() string {
40725	return s.String()
40726}
40727
40728// Validate inspects the fields of the type to determine if they are valid.
40729func (s *VoiceConnectorItem) Validate() error {
40730	invalidParams := request.ErrInvalidParams{Context: "VoiceConnectorItem"}
40731	if s.Priority == nil {
40732		invalidParams.Add(request.NewErrParamRequired("Priority"))
40733	}
40734	if s.Priority != nil && *s.Priority < 1 {
40735		invalidParams.Add(request.NewErrParamMinValue("Priority", 1))
40736	}
40737	if s.VoiceConnectorId == nil {
40738		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
40739	}
40740
40741	if invalidParams.Len() > 0 {
40742		return invalidParams
40743	}
40744	return nil
40745}
40746
40747// SetPriority sets the Priority field's value.
40748func (s *VoiceConnectorItem) SetPriority(v int64) *VoiceConnectorItem {
40749	s.Priority = &v
40750	return s
40751}
40752
40753// SetVoiceConnectorId sets the VoiceConnectorId field's value.
40754func (s *VoiceConnectorItem) SetVoiceConnectorId(v string) *VoiceConnectorItem {
40755	s.VoiceConnectorId = &v
40756	return s
40757}
40758
40759// The Amazon Chime Voice Connector settings. Includes any Amazon S3 buckets
40760// designated for storing call detail records.
40761type VoiceConnectorSettings struct {
40762	_ struct{} `type:"structure"`
40763
40764	// The Amazon S3 bucket designated for call detail record storage.
40765	CdrBucket *string `type:"string"`
40766}
40767
40768// String returns the string representation
40769func (s VoiceConnectorSettings) String() string {
40770	return awsutil.Prettify(s)
40771}
40772
40773// GoString returns the string representation
40774func (s VoiceConnectorSettings) GoString() string {
40775	return s.String()
40776}
40777
40778// SetCdrBucket sets the CdrBucket field's value.
40779func (s *VoiceConnectorSettings) SetCdrBucket(v string) *VoiceConnectorSettings {
40780	s.CdrBucket = &v
40781	return s
40782}
40783
40784const (
40785	// AccountTypeTeam is a AccountType enum value
40786	AccountTypeTeam = "Team"
40787
40788	// AccountTypeEnterpriseDirectory is a AccountType enum value
40789	AccountTypeEnterpriseDirectory = "EnterpriseDirectory"
40790
40791	// AccountTypeEnterpriseLwa is a AccountType enum value
40792	AccountTypeEnterpriseLwa = "EnterpriseLWA"
40793
40794	// AccountTypeEnterpriseOidc is a AccountType enum value
40795	AccountTypeEnterpriseOidc = "EnterpriseOIDC"
40796)
40797
40798// AccountType_Values returns all elements of the AccountType enum
40799func AccountType_Values() []string {
40800	return []string{
40801		AccountTypeTeam,
40802		AccountTypeEnterpriseDirectory,
40803		AccountTypeEnterpriseLwa,
40804		AccountTypeEnterpriseOidc,
40805	}
40806}
40807
40808const (
40809	// AppInstanceDataTypeChannel is a AppInstanceDataType enum value
40810	AppInstanceDataTypeChannel = "Channel"
40811
40812	// AppInstanceDataTypeChannelMessage is a AppInstanceDataType enum value
40813	AppInstanceDataTypeChannelMessage = "ChannelMessage"
40814)
40815
40816// AppInstanceDataType_Values returns all elements of the AppInstanceDataType enum
40817func AppInstanceDataType_Values() []string {
40818	return []string{
40819		AppInstanceDataTypeChannel,
40820		AppInstanceDataTypeChannelMessage,
40821	}
40822}
40823
40824const (
40825	// BotTypeChatBot is a BotType enum value
40826	BotTypeChatBot = "ChatBot"
40827)
40828
40829// BotType_Values returns all elements of the BotType enum
40830func BotType_Values() []string {
40831	return []string{
40832		BotTypeChatBot,
40833	}
40834}
40835
40836const (
40837	// CallingNameStatusUnassigned is a CallingNameStatus enum value
40838	CallingNameStatusUnassigned = "Unassigned"
40839
40840	// CallingNameStatusUpdateInProgress is a CallingNameStatus enum value
40841	CallingNameStatusUpdateInProgress = "UpdateInProgress"
40842
40843	// CallingNameStatusUpdateSucceeded is a CallingNameStatus enum value
40844	CallingNameStatusUpdateSucceeded = "UpdateSucceeded"
40845
40846	// CallingNameStatusUpdateFailed is a CallingNameStatus enum value
40847	CallingNameStatusUpdateFailed = "UpdateFailed"
40848)
40849
40850// CallingNameStatus_Values returns all elements of the CallingNameStatus enum
40851func CallingNameStatus_Values() []string {
40852	return []string{
40853		CallingNameStatusUnassigned,
40854		CallingNameStatusUpdateInProgress,
40855		CallingNameStatusUpdateSucceeded,
40856		CallingNameStatusUpdateFailed,
40857	}
40858}
40859
40860const (
40861	// CapabilityVoice is a Capability enum value
40862	CapabilityVoice = "Voice"
40863
40864	// CapabilitySms is a Capability enum value
40865	CapabilitySms = "SMS"
40866)
40867
40868// Capability_Values returns all elements of the Capability enum
40869func Capability_Values() []string {
40870	return []string{
40871		CapabilityVoice,
40872		CapabilitySms,
40873	}
40874}
40875
40876const (
40877	// ChannelMembershipTypeDefault is a ChannelMembershipType enum value
40878	ChannelMembershipTypeDefault = "DEFAULT"
40879
40880	// ChannelMembershipTypeHidden is a ChannelMembershipType enum value
40881	ChannelMembershipTypeHidden = "HIDDEN"
40882)
40883
40884// ChannelMembershipType_Values returns all elements of the ChannelMembershipType enum
40885func ChannelMembershipType_Values() []string {
40886	return []string{
40887		ChannelMembershipTypeDefault,
40888		ChannelMembershipTypeHidden,
40889	}
40890}
40891
40892const (
40893	// ChannelMessagePersistenceTypePersistent is a ChannelMessagePersistenceType enum value
40894	ChannelMessagePersistenceTypePersistent = "PERSISTENT"
40895
40896	// ChannelMessagePersistenceTypeNonPersistent is a ChannelMessagePersistenceType enum value
40897	ChannelMessagePersistenceTypeNonPersistent = "NON_PERSISTENT"
40898)
40899
40900// ChannelMessagePersistenceType_Values returns all elements of the ChannelMessagePersistenceType enum
40901func ChannelMessagePersistenceType_Values() []string {
40902	return []string{
40903		ChannelMessagePersistenceTypePersistent,
40904		ChannelMessagePersistenceTypeNonPersistent,
40905	}
40906}
40907
40908const (
40909	// ChannelMessageTypeStandard is a ChannelMessageType enum value
40910	ChannelMessageTypeStandard = "STANDARD"
40911
40912	// ChannelMessageTypeControl is a ChannelMessageType enum value
40913	ChannelMessageTypeControl = "CONTROL"
40914)
40915
40916// ChannelMessageType_Values returns all elements of the ChannelMessageType enum
40917func ChannelMessageType_Values() []string {
40918	return []string{
40919		ChannelMessageTypeStandard,
40920		ChannelMessageTypeControl,
40921	}
40922}
40923
40924const (
40925	// ChannelModeUnrestricted is a ChannelMode enum value
40926	ChannelModeUnrestricted = "UNRESTRICTED"
40927
40928	// ChannelModeRestricted is a ChannelMode enum value
40929	ChannelModeRestricted = "RESTRICTED"
40930)
40931
40932// ChannelMode_Values returns all elements of the ChannelMode enum
40933func ChannelMode_Values() []string {
40934	return []string{
40935		ChannelModeUnrestricted,
40936		ChannelModeRestricted,
40937	}
40938}
40939
40940const (
40941	// ChannelPrivacyPublic is a ChannelPrivacy enum value
40942	ChannelPrivacyPublic = "PUBLIC"
40943
40944	// ChannelPrivacyPrivate is a ChannelPrivacy enum value
40945	ChannelPrivacyPrivate = "PRIVATE"
40946)
40947
40948// ChannelPrivacy_Values returns all elements of the ChannelPrivacy enum
40949func ChannelPrivacy_Values() []string {
40950	return []string{
40951		ChannelPrivacyPublic,
40952		ChannelPrivacyPrivate,
40953	}
40954}
40955
40956const (
40957	// EmailStatusNotSent is a EmailStatus enum value
40958	EmailStatusNotSent = "NotSent"
40959
40960	// EmailStatusSent is a EmailStatus enum value
40961	EmailStatusSent = "Sent"
40962
40963	// EmailStatusFailed is a EmailStatus enum value
40964	EmailStatusFailed = "Failed"
40965)
40966
40967// EmailStatus_Values returns all elements of the EmailStatus enum
40968func EmailStatus_Values() []string {
40969	return []string{
40970		EmailStatusNotSent,
40971		EmailStatusSent,
40972		EmailStatusFailed,
40973	}
40974}
40975
40976const (
40977	// ErrorCodeBadRequest is a ErrorCode enum value
40978	ErrorCodeBadRequest = "BadRequest"
40979
40980	// ErrorCodeConflict is a ErrorCode enum value
40981	ErrorCodeConflict = "Conflict"
40982
40983	// ErrorCodeForbidden is a ErrorCode enum value
40984	ErrorCodeForbidden = "Forbidden"
40985
40986	// ErrorCodeNotFound is a ErrorCode enum value
40987	ErrorCodeNotFound = "NotFound"
40988
40989	// ErrorCodePreconditionFailed is a ErrorCode enum value
40990	ErrorCodePreconditionFailed = "PreconditionFailed"
40991
40992	// ErrorCodeResourceLimitExceeded is a ErrorCode enum value
40993	ErrorCodeResourceLimitExceeded = "ResourceLimitExceeded"
40994
40995	// ErrorCodeServiceFailure is a ErrorCode enum value
40996	ErrorCodeServiceFailure = "ServiceFailure"
40997
40998	// ErrorCodeAccessDenied is a ErrorCode enum value
40999	ErrorCodeAccessDenied = "AccessDenied"
41000
41001	// ErrorCodeServiceUnavailable is a ErrorCode enum value
41002	ErrorCodeServiceUnavailable = "ServiceUnavailable"
41003
41004	// ErrorCodeThrottled is a ErrorCode enum value
41005	ErrorCodeThrottled = "Throttled"
41006
41007	// ErrorCodeThrottling is a ErrorCode enum value
41008	ErrorCodeThrottling = "Throttling"
41009
41010	// ErrorCodeUnauthorized is a ErrorCode enum value
41011	ErrorCodeUnauthorized = "Unauthorized"
41012
41013	// ErrorCodeUnprocessable is a ErrorCode enum value
41014	ErrorCodeUnprocessable = "Unprocessable"
41015
41016	// ErrorCodeVoiceConnectorGroupAssociationsExist is a ErrorCode enum value
41017	ErrorCodeVoiceConnectorGroupAssociationsExist = "VoiceConnectorGroupAssociationsExist"
41018
41019	// ErrorCodePhoneNumberAssociationsExist is a ErrorCode enum value
41020	ErrorCodePhoneNumberAssociationsExist = "PhoneNumberAssociationsExist"
41021)
41022
41023// ErrorCode_Values returns all elements of the ErrorCode enum
41024func ErrorCode_Values() []string {
41025	return []string{
41026		ErrorCodeBadRequest,
41027		ErrorCodeConflict,
41028		ErrorCodeForbidden,
41029		ErrorCodeNotFound,
41030		ErrorCodePreconditionFailed,
41031		ErrorCodeResourceLimitExceeded,
41032		ErrorCodeServiceFailure,
41033		ErrorCodeAccessDenied,
41034		ErrorCodeServiceUnavailable,
41035		ErrorCodeThrottled,
41036		ErrorCodeThrottling,
41037		ErrorCodeUnauthorized,
41038		ErrorCodeUnprocessable,
41039		ErrorCodeVoiceConnectorGroupAssociationsExist,
41040		ErrorCodePhoneNumberAssociationsExist,
41041	}
41042}
41043
41044const (
41045	// GeoMatchLevelCountry is a GeoMatchLevel enum value
41046	GeoMatchLevelCountry = "Country"
41047
41048	// GeoMatchLevelAreaCode is a GeoMatchLevel enum value
41049	GeoMatchLevelAreaCode = "AreaCode"
41050)
41051
41052// GeoMatchLevel_Values returns all elements of the GeoMatchLevel enum
41053func GeoMatchLevel_Values() []string {
41054	return []string{
41055		GeoMatchLevelCountry,
41056		GeoMatchLevelAreaCode,
41057	}
41058}
41059
41060const (
41061	// InviteStatusPending is a InviteStatus enum value
41062	InviteStatusPending = "Pending"
41063
41064	// InviteStatusAccepted is a InviteStatus enum value
41065	InviteStatusAccepted = "Accepted"
41066
41067	// InviteStatusFailed is a InviteStatus enum value
41068	InviteStatusFailed = "Failed"
41069)
41070
41071// InviteStatus_Values returns all elements of the InviteStatus enum
41072func InviteStatus_Values() []string {
41073	return []string{
41074		InviteStatusPending,
41075		InviteStatusAccepted,
41076		InviteStatusFailed,
41077	}
41078}
41079
41080const (
41081	// LicenseBasic is a License enum value
41082	LicenseBasic = "Basic"
41083
41084	// LicensePlus is a License enum value
41085	LicensePlus = "Plus"
41086
41087	// LicensePro is a License enum value
41088	LicensePro = "Pro"
41089
41090	// LicenseProTrial is a License enum value
41091	LicenseProTrial = "ProTrial"
41092)
41093
41094// License_Values returns all elements of the License enum
41095func License_Values() []string {
41096	return []string{
41097		LicenseBasic,
41098		LicensePlus,
41099		LicensePro,
41100		LicenseProTrial,
41101	}
41102}
41103
41104const (
41105	// MemberTypeUser is a MemberType enum value
41106	MemberTypeUser = "User"
41107
41108	// MemberTypeBot is a MemberType enum value
41109	MemberTypeBot = "Bot"
41110
41111	// MemberTypeWebhook is a MemberType enum value
41112	MemberTypeWebhook = "Webhook"
41113)
41114
41115// MemberType_Values returns all elements of the MemberType enum
41116func MemberType_Values() []string {
41117	return []string{
41118		MemberTypeUser,
41119		MemberTypeBot,
41120		MemberTypeWebhook,
41121	}
41122}
41123
41124const (
41125	// NotificationTargetEventBridge is a NotificationTarget enum value
41126	NotificationTargetEventBridge = "EventBridge"
41127
41128	// NotificationTargetSns is a NotificationTarget enum value
41129	NotificationTargetSns = "SNS"
41130
41131	// NotificationTargetSqs is a NotificationTarget enum value
41132	NotificationTargetSqs = "SQS"
41133)
41134
41135// NotificationTarget_Values returns all elements of the NotificationTarget enum
41136func NotificationTarget_Values() []string {
41137	return []string{
41138		NotificationTargetEventBridge,
41139		NotificationTargetSns,
41140		NotificationTargetSqs,
41141	}
41142}
41143
41144const (
41145	// NumberSelectionBehaviorPreferSticky is a NumberSelectionBehavior enum value
41146	NumberSelectionBehaviorPreferSticky = "PreferSticky"
41147
41148	// NumberSelectionBehaviorAvoidSticky is a NumberSelectionBehavior enum value
41149	NumberSelectionBehaviorAvoidSticky = "AvoidSticky"
41150)
41151
41152// NumberSelectionBehavior_Values returns all elements of the NumberSelectionBehavior enum
41153func NumberSelectionBehavior_Values() []string {
41154	return []string{
41155		NumberSelectionBehaviorPreferSticky,
41156		NumberSelectionBehaviorAvoidSticky,
41157	}
41158}
41159
41160const (
41161	// OrderedPhoneNumberStatusProcessing is a OrderedPhoneNumberStatus enum value
41162	OrderedPhoneNumberStatusProcessing = "Processing"
41163
41164	// OrderedPhoneNumberStatusAcquired is a OrderedPhoneNumberStatus enum value
41165	OrderedPhoneNumberStatusAcquired = "Acquired"
41166
41167	// OrderedPhoneNumberStatusFailed is a OrderedPhoneNumberStatus enum value
41168	OrderedPhoneNumberStatusFailed = "Failed"
41169)
41170
41171// OrderedPhoneNumberStatus_Values returns all elements of the OrderedPhoneNumberStatus enum
41172func OrderedPhoneNumberStatus_Values() []string {
41173	return []string{
41174		OrderedPhoneNumberStatusProcessing,
41175		OrderedPhoneNumberStatusAcquired,
41176		OrderedPhoneNumberStatusFailed,
41177	}
41178}
41179
41180const (
41181	// OriginationRouteProtocolTcp is a OriginationRouteProtocol enum value
41182	OriginationRouteProtocolTcp = "TCP"
41183
41184	// OriginationRouteProtocolUdp is a OriginationRouteProtocol enum value
41185	OriginationRouteProtocolUdp = "UDP"
41186)
41187
41188// OriginationRouteProtocol_Values returns all elements of the OriginationRouteProtocol enum
41189func OriginationRouteProtocol_Values() []string {
41190	return []string{
41191		OriginationRouteProtocolTcp,
41192		OriginationRouteProtocolUdp,
41193	}
41194}
41195
41196const (
41197	// PhoneNumberAssociationNameAccountId is a PhoneNumberAssociationName enum value
41198	PhoneNumberAssociationNameAccountId = "AccountId"
41199
41200	// PhoneNumberAssociationNameUserId is a PhoneNumberAssociationName enum value
41201	PhoneNumberAssociationNameUserId = "UserId"
41202
41203	// PhoneNumberAssociationNameVoiceConnectorId is a PhoneNumberAssociationName enum value
41204	PhoneNumberAssociationNameVoiceConnectorId = "VoiceConnectorId"
41205
41206	// PhoneNumberAssociationNameVoiceConnectorGroupId is a PhoneNumberAssociationName enum value
41207	PhoneNumberAssociationNameVoiceConnectorGroupId = "VoiceConnectorGroupId"
41208
41209	// PhoneNumberAssociationNameSipRuleId is a PhoneNumberAssociationName enum value
41210	PhoneNumberAssociationNameSipRuleId = "SipRuleId"
41211)
41212
41213// PhoneNumberAssociationName_Values returns all elements of the PhoneNumberAssociationName enum
41214func PhoneNumberAssociationName_Values() []string {
41215	return []string{
41216		PhoneNumberAssociationNameAccountId,
41217		PhoneNumberAssociationNameUserId,
41218		PhoneNumberAssociationNameVoiceConnectorId,
41219		PhoneNumberAssociationNameVoiceConnectorGroupId,
41220		PhoneNumberAssociationNameSipRuleId,
41221	}
41222}
41223
41224const (
41225	// PhoneNumberOrderStatusProcessing is a PhoneNumberOrderStatus enum value
41226	PhoneNumberOrderStatusProcessing = "Processing"
41227
41228	// PhoneNumberOrderStatusSuccessful is a PhoneNumberOrderStatus enum value
41229	PhoneNumberOrderStatusSuccessful = "Successful"
41230
41231	// PhoneNumberOrderStatusFailed is a PhoneNumberOrderStatus enum value
41232	PhoneNumberOrderStatusFailed = "Failed"
41233
41234	// PhoneNumberOrderStatusPartial is a PhoneNumberOrderStatus enum value
41235	PhoneNumberOrderStatusPartial = "Partial"
41236)
41237
41238// PhoneNumberOrderStatus_Values returns all elements of the PhoneNumberOrderStatus enum
41239func PhoneNumberOrderStatus_Values() []string {
41240	return []string{
41241		PhoneNumberOrderStatusProcessing,
41242		PhoneNumberOrderStatusSuccessful,
41243		PhoneNumberOrderStatusFailed,
41244		PhoneNumberOrderStatusPartial,
41245	}
41246}
41247
41248const (
41249	// PhoneNumberProductTypeBusinessCalling is a PhoneNumberProductType enum value
41250	PhoneNumberProductTypeBusinessCalling = "BusinessCalling"
41251
41252	// PhoneNumberProductTypeVoiceConnector is a PhoneNumberProductType enum value
41253	PhoneNumberProductTypeVoiceConnector = "VoiceConnector"
41254
41255	// PhoneNumberProductTypeSipMediaApplicationDialIn is a PhoneNumberProductType enum value
41256	PhoneNumberProductTypeSipMediaApplicationDialIn = "SipMediaApplicationDialIn"
41257)
41258
41259// PhoneNumberProductType_Values returns all elements of the PhoneNumberProductType enum
41260func PhoneNumberProductType_Values() []string {
41261	return []string{
41262		PhoneNumberProductTypeBusinessCalling,
41263		PhoneNumberProductTypeVoiceConnector,
41264		PhoneNumberProductTypeSipMediaApplicationDialIn,
41265	}
41266}
41267
41268const (
41269	// PhoneNumberStatusAcquireInProgress is a PhoneNumberStatus enum value
41270	PhoneNumberStatusAcquireInProgress = "AcquireInProgress"
41271
41272	// PhoneNumberStatusAcquireFailed is a PhoneNumberStatus enum value
41273	PhoneNumberStatusAcquireFailed = "AcquireFailed"
41274
41275	// PhoneNumberStatusUnassigned is a PhoneNumberStatus enum value
41276	PhoneNumberStatusUnassigned = "Unassigned"
41277
41278	// PhoneNumberStatusAssigned is a PhoneNumberStatus enum value
41279	PhoneNumberStatusAssigned = "Assigned"
41280
41281	// PhoneNumberStatusReleaseInProgress is a PhoneNumberStatus enum value
41282	PhoneNumberStatusReleaseInProgress = "ReleaseInProgress"
41283
41284	// PhoneNumberStatusDeleteInProgress is a PhoneNumberStatus enum value
41285	PhoneNumberStatusDeleteInProgress = "DeleteInProgress"
41286
41287	// PhoneNumberStatusReleaseFailed is a PhoneNumberStatus enum value
41288	PhoneNumberStatusReleaseFailed = "ReleaseFailed"
41289
41290	// PhoneNumberStatusDeleteFailed is a PhoneNumberStatus enum value
41291	PhoneNumberStatusDeleteFailed = "DeleteFailed"
41292)
41293
41294// PhoneNumberStatus_Values returns all elements of the PhoneNumberStatus enum
41295func PhoneNumberStatus_Values() []string {
41296	return []string{
41297		PhoneNumberStatusAcquireInProgress,
41298		PhoneNumberStatusAcquireFailed,
41299		PhoneNumberStatusUnassigned,
41300		PhoneNumberStatusAssigned,
41301		PhoneNumberStatusReleaseInProgress,
41302		PhoneNumberStatusDeleteInProgress,
41303		PhoneNumberStatusReleaseFailed,
41304		PhoneNumberStatusDeleteFailed,
41305	}
41306}
41307
41308const (
41309	// PhoneNumberTypeLocal is a PhoneNumberType enum value
41310	PhoneNumberTypeLocal = "Local"
41311
41312	// PhoneNumberTypeTollFree is a PhoneNumberType enum value
41313	PhoneNumberTypeTollFree = "TollFree"
41314)
41315
41316// PhoneNumberType_Values returns all elements of the PhoneNumberType enum
41317func PhoneNumberType_Values() []string {
41318	return []string{
41319		PhoneNumberTypeLocal,
41320		PhoneNumberTypeTollFree,
41321	}
41322}
41323
41324const (
41325	// ProxySessionStatusOpen is a ProxySessionStatus enum value
41326	ProxySessionStatusOpen = "Open"
41327
41328	// ProxySessionStatusInProgress is a ProxySessionStatus enum value
41329	ProxySessionStatusInProgress = "InProgress"
41330
41331	// ProxySessionStatusClosed is a ProxySessionStatus enum value
41332	ProxySessionStatusClosed = "Closed"
41333)
41334
41335// ProxySessionStatus_Values returns all elements of the ProxySessionStatus enum
41336func ProxySessionStatus_Values() []string {
41337	return []string{
41338		ProxySessionStatusOpen,
41339		ProxySessionStatusInProgress,
41340		ProxySessionStatusClosed,
41341	}
41342}
41343
41344const (
41345	// RegistrationStatusUnregistered is a RegistrationStatus enum value
41346	RegistrationStatusUnregistered = "Unregistered"
41347
41348	// RegistrationStatusRegistered is a RegistrationStatus enum value
41349	RegistrationStatusRegistered = "Registered"
41350
41351	// RegistrationStatusSuspended is a RegistrationStatus enum value
41352	RegistrationStatusSuspended = "Suspended"
41353)
41354
41355// RegistrationStatus_Values returns all elements of the RegistrationStatus enum
41356func RegistrationStatus_Values() []string {
41357	return []string{
41358		RegistrationStatusUnregistered,
41359		RegistrationStatusRegistered,
41360		RegistrationStatusSuspended,
41361	}
41362}
41363
41364const (
41365	// RoomMembershipRoleAdministrator is a RoomMembershipRole enum value
41366	RoomMembershipRoleAdministrator = "Administrator"
41367
41368	// RoomMembershipRoleMember is a RoomMembershipRole enum value
41369	RoomMembershipRoleMember = "Member"
41370)
41371
41372// RoomMembershipRole_Values returns all elements of the RoomMembershipRole enum
41373func RoomMembershipRole_Values() []string {
41374	return []string{
41375		RoomMembershipRoleAdministrator,
41376		RoomMembershipRoleMember,
41377	}
41378}
41379
41380const (
41381	// SipRuleTriggerTypeToPhoneNumber is a SipRuleTriggerType enum value
41382	SipRuleTriggerTypeToPhoneNumber = "ToPhoneNumber"
41383
41384	// SipRuleTriggerTypeRequestUriHostname is a SipRuleTriggerType enum value
41385	SipRuleTriggerTypeRequestUriHostname = "RequestUriHostname"
41386)
41387
41388// SipRuleTriggerType_Values returns all elements of the SipRuleTriggerType enum
41389func SipRuleTriggerType_Values() []string {
41390	return []string{
41391		SipRuleTriggerTypeToPhoneNumber,
41392		SipRuleTriggerTypeRequestUriHostname,
41393	}
41394}
41395
41396const (
41397	// SortOrderAscending is a SortOrder enum value
41398	SortOrderAscending = "ASCENDING"
41399
41400	// SortOrderDescending is a SortOrder enum value
41401	SortOrderDescending = "DESCENDING"
41402)
41403
41404// SortOrder_Values returns all elements of the SortOrder enum
41405func SortOrder_Values() []string {
41406	return []string{
41407		SortOrderAscending,
41408		SortOrderDescending,
41409	}
41410}
41411
41412const (
41413	// UserTypePrivateUser is a UserType enum value
41414	UserTypePrivateUser = "PrivateUser"
41415
41416	// UserTypeSharedDevice is a UserType enum value
41417	UserTypeSharedDevice = "SharedDevice"
41418)
41419
41420// UserType_Values returns all elements of the UserType enum
41421func UserType_Values() []string {
41422	return []string{
41423		UserTypePrivateUser,
41424		UserTypeSharedDevice,
41425	}
41426}
41427
41428const (
41429	// VoiceConnectorAwsRegionUsEast1 is a VoiceConnectorAwsRegion enum value
41430	VoiceConnectorAwsRegionUsEast1 = "us-east-1"
41431
41432	// VoiceConnectorAwsRegionUsWest2 is a VoiceConnectorAwsRegion enum value
41433	VoiceConnectorAwsRegionUsWest2 = "us-west-2"
41434)
41435
41436// VoiceConnectorAwsRegion_Values returns all elements of the VoiceConnectorAwsRegion enum
41437func VoiceConnectorAwsRegion_Values() []string {
41438	return []string{
41439		VoiceConnectorAwsRegionUsEast1,
41440		VoiceConnectorAwsRegionUsWest2,
41441	}
41442}
41443